Opened 10 years ago
Last modified 2 months ago
#5 reopened defect
jp2k muxed into mov by FFmpeg can't be played by QuickTime
Reported by: | cehoyos | 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 Changed 9 years ago by cehoyos
- Keywords j2k mov added
- Status changed from new to open
Changed 9 years ago by cehoyos
comment:2 Changed 9 years ago by ami_stuff
Changed 9 years ago by ami_stuff
comment:3 Changed 9 years ago by ami_stuff
- Cc ami_stuff@o2.pl added
comment:4 follow-up: ↓ 8 Changed 8 years 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
comment:5 Changed 8 years ago by cehoyos
- Keywords roundup added
comment:6 Changed 8 years ago by richardpl
This still happens? Why?
comment:7 Changed 6 years ago by michael
- Owner michael deleted
comment:8 in reply to: ↑ 4 Changed 5 years ago by ami_stuff
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 Changed 2 months ago by emcodem
- Reproduced by developer unset
- Resolution set to worksforme
- Status changed from open to 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 Changed 2 months ago by Balling
- Resolution worksforme deleted
- Status changed from closed to 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 Changed 2 months ago by richardpl
- Resolution set to fixed
- Status changed from reopened to closed
comment:12 Changed 2 months ago by cehoyos
- Resolution fixed deleted
- Status changed from closed to reopened
- Version changed from git to 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)