Hi, I remember that older versions of ffmpeg would detect a pix_fmt of xyz12le when a jpeg2000/MXF file from a DCP was passed as input. Now I see a value of: rgb48le(12 bpc, progressive)
Was this intentional, and if so, why did the behaviour change? I tried looking at the commit history for jpeg2000dec.c but couldn't find the answer.. You can find some sample DCPs here: https://www.charbon-studio.com/resources $ ffmpeg -i video1.mxf ffmpeg version 4.0.2 Copyright (c) 2000-2018 the FFmpeg developers built with Apple LLVM version 8.0.0 (clang-800.0.42.1) configuration: --prefix=/usr/local/Cellar/ffmpeg/4.0.2 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-gpl --enable-ffplay --enable-libass --enable-libfreetype --enable-libmp3lame --enable-libtesseract --enable-libx264 --enable-libxvid --enable-opencl --enable-videotoolbox --disable-lzma --enable-libopenjpeg --disable-decoder=jpeg2000 --extra-cflags=-I/usr/local/Cellar/openjpeg/2.3.0/include/openjpeg-2.3 libavutil 56. 14.100 / 56. 14.100 libavcodec 58. 18.100 / 58. 18.100 libavformat 58. 12.100 / 58. 12.100 libavdevice 58. 3.100 / 58. 3.100 libavfilter 7. 16.100 / 7. 16.100 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 1.100 / 5. 1.100 libswresample 3. 1.100 / 3. 1.100 libpostproc 55. 1.100 / 55. 1.100 [mxf @ 0x7fee8c00c800] "OPAtom" with 2 ECs - assuming OP1a Input #0, mxf, from 'video1.mxf': Metadata: uid : 0cabf88b-e592-4bd2-814a-8bc05c8f619d generation_uid : ea6c96ea-bab7-40bf-be6d-2fb9e2154edd company_name : OpenDCP product_name : OpenDCP product_version : 0.27.1 product_uid : 43059a1d-0432-4101-b83f-736815acf31d modification_date: 2013-03-07T10:12:52.000000Z application_platform: osx material_package_umid: 0x060A2B340101010501010F20130000002602B03533D14F53A6A5569ABC47D86B material_package_name: AS-DCP Material Package timecode : 00:00:00:00 Duration: 00:00:12.50, start: 0.000000, bitrate: 95987 kb/s Stream #0:0: Video: jpeg2000, rgb48le(12 bpc, progressive), 2048x858, SAR 1:1 DAR 1024:429, 24 tbr, 24 tbn, 24 tbc Metadata: file_package_umid: 0x060A2B340101010501010F2013000000E8211854E0EE480A84333AB990F30D15 file_package_name: File Package: SMPTE 429-4 frame wrapping of JPEG 2000 codestreams track_name : Picture Track At least one output file must be specified Best, Kieran. _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
