Opened 13 months ago

Last modified 13 months ago

#5928 open defect

qt targa: rgb555 mov file encoded by ffmpeg is incompatible with quicktime

Reported by: ami_stuff Owned by:
Priority: important Component: ffmpeg
Version: git-master Keywords: mov regression
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

this is because ffmpeg-produced file is identified by quicktime as 24bit

attached is what produces qt and what ffmpeg

hicol_qt.mov - file encoded by qt (decodes correctly with qt)
hicol_ffmpeg.mov - file encoded by ffmpeg (broken output with quicktime)

C:\>ffmpeg -i 160.png -vcodec targa -pix_fmt rgb555 hicol_ffmpeg.mov
ffmpeg version N-81755-g267da70 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-pthreads --enable-memalign-hack --enable-runtime-cpudetect --
enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -lw
inmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snapsh
ots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/sna
pshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3 --
enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-li
bvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-li
bopencore-amrwb --enable-libmp3lame --enable-libfreetype --enable-libvpx --disab
le-decoder=libvpx
  libavutil      55. 30.100 / 55. 30.100
  libavcodec     57. 58.100 / 57. 58.100
  libavformat    57. 50.100 / 57. 50.100
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 63.100 /  6. 63.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
Input #0, png_pipe, from '160.png':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: png, rgb24(pc), 160x120 [SAR 2835:2835 DAR 4:3], 25 tbr,
 25 tbn, 25 tbc
[swscaler @ 0x2cc3020] full chroma interpolation for destination format 'rgb555l
e' not yet implemented
Output #0, mov, to 'hicol_ffmpeg.mov':
  Metadata:
    encoder         : Lavf57.50.100
    Stream #0:0: Video: targa (tga  / 0x20616774), rgb555le, 160x120 [SAR 1:1 DA
R 4:3], q=2-31, 200 kb/s, 25 fps, 12800 tbn, 25 tbc
    Metadata:
      encoder         : Lavc57.58.100 targa
Stream mapping:
  Stream #0:0 -> #0:0 (png (native) -> targa (native))
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=-0.0 Lsize=      38kB time=00:00:00.00 bitrate=3996000.0kb
its/s speed=0.00166x
video:37kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing ov
erhead: 1.941443%

Attachments (3)

hicol_qt.mov (35.6 KB) - added by ami_stuff 13 months ago.
hicol_ffmpeg.mov (38.0 KB) - added by ami_stuff 13 months ago.
160.png (37.2 KB) - added by ami_stuff 13 months ago.

Download all attachments as: .zip

Change History (6)

Changed 13 months ago by ami_stuff

Changed 13 months ago by ami_stuff

Changed 13 months ago by ami_stuff

comment:1 Changed 13 months ago by ami_stuff

also unrelated: https://lists.ffmpeg.org/pipermail/ffmpeg-cvslog/2016-November/102729.html

the same probably should be done for monow/monob

comment:2 Changed 13 months ago by ami_stuff

and looks like the same problem with "-vcodec targa/tiff -pix_fmt monow/monob out.mov" (output file identified as 24bit by quicktime)

comment:3 Changed 13 months ago by cehoyos

  • Component changed from undetermined to ffmpeg
  • Keywords mov regression added
  • Priority changed from normal to important
  • Status changed from new to open
  • Version changed from unspecified to git-master

Regression since 862120f9, see also ab75ad0116b4dfbab640b93833192fb1095bc83e and ticket #1191.

Last edited 13 months ago by cehoyos (previous) (diff)
Note: See TracTickets for help on using tickets.