Ticket #5 (open defect)
jp2k muxed into mov by FFmpeg can't be played by QuickTime
| Reported by: | cehoyos | Owned by: | michael |
|---|---|---|---|
| Priority: | normal | Component: | avformat |
| Version: | git | Keywords: | j2k mov roundup |
| Cc: | ami_stuff@… | Blocked By: | |
| Blocking: | Reproduced by developer: | yes | |
| Analyzed by developer: | no |
Description
(issue 2656)
incoming/jpeg2000_to_quicktime_unplayable/bbb_jp2_qt.mov can be decoded with FFmpeg (and played with MPlayer, ffplay shows a black window for me), remuxing the video with FFmpeg leads to a file that can be decoded with FFmpeg (and played with MPlayer, ffplay shows a black window), but the original file plays fine with QuickTime?, the copy shows only a black window.
$ ffmpeg -i bbb_jp2_qt.mov -vcodec copy out.mov
FFmpeg version git-N-28405-gb33fa8a, Copyright (c) 2000-2011 the FFmpeg developers
built on Mar 11 2011 00:24:29 with gcc 4.4.5
configuration: --cc=/usr/local/gcc-4.4.5/bin/gcc --enable-gpl --enable-libopenjpeg
libavutil 50. 39. 0 / 50. 39. 0
libavcodec 52.113. 2 / 52.113. 2
libavformat 52.102. 0 / 52.102. 0
libavdevice 52. 3. 0 / 52. 3. 0
libavfilter 1. 76. 0 / 1. 76. 0
libswscale 0. 12. 0 / 0. 12. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'bbb_jp2_qt.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2011-03-09 22:39:50
Duration: 00:00:03.33, start: 0.000000, bitrate: 23584 kb/s
Stream #0.0(eng): Video: libopenjpeg, rgb24, 640x360, 23581 kb/s, 24 fps, 24 tbr, 24 tbn, 24 tbc
Metadata:
creation_time : 2011-03-09 22:39:50
Output #0, mov, to 'out.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2011-03-09 22:39:50
encoder : Lavf52.102.0
Stream #0.0(eng): Video: mjp2 / 0x32706A6D, rgb24, 640x360, q=2-31, 23581 kb/s, 24 tbn, 24 tbc
Metadata:
creation_time : 2011-03-09 22:39:50
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
frame= 80 fps= 0 q=-1.0 Lsize= 9597kB time=3.33 bitrate=23584.6kbits/s
video:9595kB audio:0kB global headers:0kB muxing overhead 0.013923%
Attachments
Change History
comment:2 Changed 13 months ago by ami_stuff
the same problem with attached j2k.mov file (less data to analize),
output from:
ffmpeg -i j2k.mov -vcodec copy j2k_ff.mov
is unplayable by qt (black window)
comment:4 Changed 9 months ago by ami_stuff
What's interesting the output from:
ffmpeg -i test.bmp -strict -2 -vcodec j2k out.mov
decodes correctly in QT, the same remuxed file:
ffmpeg -i out.mov -vcodec copy -strict -2 out2.mov
but libopenjpeg's output fails (black window):
ffmpeg -i test.bmp -vcodec libopenjpeg out.mov



