Opened 15 years ago
Last modified 5 years ago
#5 reopened defect
jp2k muxed into mov by FFmpeg can't be played by QuickTime
| Reported by: | Carl Eugen Hoyos | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | avformat |
| Version: | git-master | Keywords: | j2k mov roundup |
| Cc: | ami_stuff@o2.pl | Blocked By: | |
| Blocking: | Reproduced by developer: | no | |
| 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 (2)
Change History (14)
comment:1 by , 14 years ago
| Keywords: | j2k mov added |
|---|---|
| Status: | new → open |
by , 14 years ago
| Attachment: | bbb_jp2_qt_cut.mov added |
|---|
comment:2 by , 14 years ago
by , 14 years ago
comment:3 by , 14 years ago
| Cc: | added |
|---|
follow-up: 8 comment:4 by , 13 years ago
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
comment:5 by , 13 years ago
| Keywords: | roundup added |
|---|
comment:7 by , 10 years ago
| Owner: | removed |
|---|
comment:8 by , 9 years ago
Replying to 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
hmm currently quicktime doesn't like neither of this - black screen with everything
comment:9 by , 5 years ago
| Reproduced by developer: | unset |
|---|---|
| Resolution: | → worksforme |
| Status: | open → closed |
No Black screen anymore using recent version, can i just close such old tickets that are not reproduceable anymore and years old?
comment:10 by , 5 years ago
| Resolution: | worksforme |
|---|---|
| Status: | closed → reopened |
Reproduceable here. It also prints this:
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000274800ade80] Packet corrupt (stream = 0, dts = 31). bbb_jp2_qt_cut.mov: corrupt input packet in stream 0
The problem here is that windows QuickTime does not even play original file. So is VLC. Only MPC that is using ffmpeg can present the file.
comment:11 by , 5 years ago
| Resolution: | → fixed |
|---|---|
| Status: | reopened → closed |
comment:12 by , 5 years ago
| Resolution: | fixed |
|---|---|
| Status: | closed → reopened |
| Version: | git → git-master |
Still reproducible with current FFmpeg git head.



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)