Opened 12 years ago

Closed 12 years ago

#840 closed defect (fixed)

green color with png (gray) to 10bit yuv

Reported by: ami_stuff Owned by:
Priority: normal Component: swscale
Version: git-master Keywords: gray
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

C:\>ffmpeg -i gray.png -vcodec prores out.mov
ffmpeg version N-36193-gf514695, Copyright (c) 2000-2011 the FFmpeg developers
  built on Dec 26 2011 17:50:37 with gcc 4.6.2
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
  libavutil      51. 33.100 / 51. 33.100
  libavcodec     53. 48.100 / 53. 48.100
  libavformat    53. 28.100 / 53. 28.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 54.100 /  2. 54.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  5.100 /  0.  5.100
  libpostproc    51.  2.100 / 51.  2.100
Input #0, image2, from 'gray.png':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: png, gray, 1024x768, 25 tbr, 25 tbn, 25 tbc
Incompatible pixel format 'gray' for codec 'prores', auto-selecting format 'yuv4
22p10le'
[buffer @ 020F1340] w:1024 h:768 pixfmt:gray tb:1/1000000 sar:0/1 sws_param:
[buffersink @ 020F15C0] auto-inserting filter 'auto-inserted scale 0' between th
e filter 'src' and the filter 'out'
[scale @ 020F1A40] w:1024 h:768 fmt:gray -> w:1024 h:768 fmt:yuv422p10le flags:0
x4
[prores @ 020E9E80] encoding with ProRes standard (apcn) profile
Output #0, mov, to 'out.mov':
  Metadata:
    encoder         : Lavf53.28.100
    Stream #0:0: Video: prores (apcn) (apcn / 0x6E637061), yuv422p10le, 1024x768
, q=2-31, 200 kb/s, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (png -> prores)
Press [q] to stop, [?] for help
frame=    1 fps=  0 q=0.0 Lsize=     340kB time=00:00:00.04 bitrate=69549.2kbits
/s
video:339kB audio:0kB global headers:0kB muxing overhead 0.206322%

Change History (4)

comment:1 by ami_stuff, 12 years ago

similar problem with v210/v410

comment:2 by Carl Eugen Hoyos, 12 years ago

Component: undeterminedswscale
Keywords: gray added
Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

Also reproducible with
$ ffmpeg -i gray.png -vcodec rawvideo -pix_fmt yuv420p10 out.nut
$ ffmpeg -i gray.png -vcodec rawvideo -pix_fmt yuv422p10 out.nut
$ ffmpeg -i gray.png -vcodec rawvideo -pix_fmt yuv444p10 out.nut

comment:3 by Carl Eugen Hoyos, 12 years ago

Summary: green color with png (gray) to proresgreen color with png (gray) to 10bit yuv

comment:4 by Michael Niedermayer, 12 years ago

Resolution: fixed
Status: openclosed

Locally fixed

Note: See TracTickets for help on using tickets.