[FFmpeg-user] ffplay and j2k and mxf

Donald McLachlan Donald.McLachlan at crc.ca
Wed Feb 8 20:32:47 CET 2012


Hi Carl,

I had missed that configure had failed because it could not find 
<openjpeg.h>.  I had to add --extra-cflags to get it to build (as can be 
seen below)
It is now building and I can view the img-000000.j2k.  THANKS!

Next problem is with an mxf file containing a j2k video.

>  ffplay -fs -autoexit -strict -2 speedday*
ffplay version 0.10 Copyright (c) 2003-2012 the FFmpeg developers
   built on Feb  8 2012 14:14:05 with gcc 4.5.1 20101208 [gcc-4_5-branch revision 167585]
   configuration: --enable-libopenjpeg --extra-cflags=-I/usr/local/include --extra-cflags=-I/usr/local/include/openjpeg-1.5
   libavutil      51. 34.101 / 51. 34.101
   libavcodec     53. 60.100 / 53. 60.100
   libavformat    53. 31.100 / 53. 31.100
   libavdevice    53.  4.100 / 53.  4.100
   libavfilter     2. 60.100 /  2. 60.100
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0.  6.100 /  0.  6.100
[mxf @ 0x1413600] "OPAtom" with 2 ECs - assuming OP1a
Input #0, mxf, from 'speedday_4k_V1.mxf':
   Duration: 00:02:04.87, start: 0.000000, bitrate: 238875 kb/s
     Stream #0:0: Video: j2k, rgb48le, 4096x2160, 24 tbr, 24 tbn, 24 tbc
[buffersink @ 0x7f4108000e80] auto-inserting filter 'auto-inserted scale 0' between the filter 'src' and the filter 'out'
[scale @ 0x7f41080016c0] w:4096 h:2160 fmt:rgb48le ->  w:4096 h:2160 fmt:yuv420p flags:0x4
    1.70 A-V:  0.000 fd=   0 aq=    0KB vq= 5228KB sq=    0B f=0/0   0/0

Only a black screen is displayed.  How does one resolve this?
(Presumably to do with the OPAtom message above).

Thanks,
Don



More information about the ffmpeg-user mailing list