Opened 7 years ago

Last modified 18 months ago

#5 open defect

jp2k muxed into mov by FFmpeg can't be played by QuickTime

Reported by: cehoyos Owned by:
Priority: normal Component: avformat
Version: git Keywords: j2k mov roundup
Cc: ami_stuff@o2.pl 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 (2)

bbb_jp2_qt_cut.mov (2.4 MB) - added by cehoyos 6 years ago.
j2k.mov (1.4 KB) - added by ami_stuff 6 years ago.

Change History (10)

comment:1 Changed 6 years ago by cehoyos

  • Keywords j2k mov added
  • Status changed from new to open

Changed 6 years ago by cehoyos

comment:2 Changed 6 years 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)

Changed 6 years ago by ami_stuff

comment:3 Changed 6 years ago by ami_stuff

  • Cc ami_stuff@o2.pl added

comment:4 follow-up: Changed 5 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 5 years ago by cehoyos

  • Keywords roundup added

comment:6 Changed 5 years ago by richardpl

This still happens? Why?

comment:7 Changed 2 years ago by michael

  • Owner michael deleted

comment:8 in reply to: ↑ 4 Changed 18 months 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

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