Missing colorspace/bit depth from DPX/TIFF in Matroska
Hi,
I rewrapped some DPX and TIFF files to MAtroska.
I am uploading two files that were created with these command lines.
$ ./ffmpeg -f lavfi -i testsrc -c:v tiff -compression_algo raw -y -vframes 1 1_fr_tiff.mkv
$ ./ffmpeg -f lavfi -i testsrc -c:v dpx -y -t 1 1_dpx.mkv
I wonder if a deeper probe is needed as there is no bit depth or colorspace information in mediainfo.
$ mediainfo '/home/kieranjol/tests/bla/1_fr_dpx.mkv' '/home/kieranjol/tests/bla/1_fr_tiff.mkv'
General
Unique ID : 300213139506483052944100045529200075466 (0xE1DAF28FD86034470B42E287819622CA)
Complete name : /home/kieranjol/tests/bla/1_fr_dpx.mkv
Format : Matroska
Format version : Version 4
File size : 227 KiB
Duration : 40 ms
Overall bit rate : 46.6 Mb/s
Writing application : Lavf58.23.100
Writing library : Lavf58.23.100
ErrorDetectionType : Per level 1
Video
ID : 1
Format : V_MS/VFW/FOURCC / dpx
Codec ID : V_MS/VFW/FOURCC / dpx
Duration : 40 ms
Width : 320 pixels
Height : 240 pixels
Display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 25.000 FPS
Writing library : Lavc58.40.100 dpx
Default : Yes
Forced : No
General
Unique ID : 231401273719528541286481016060778822836 (0xAE1643A4174671893AD9EF7F6BD2BCB4)
Complete name : /home/kieranjol/tests/bla/1_fr_tiff.mkv
Format : Matroska
Format version : Version 4
File size : 226 KiB
Duration : 40 ms
Overall bit rate : 46.3 Mb/s
Writing application : Lavf58.23.100
Writing library : Lavf58.23.100
ErrorDetectionType : Per level 1
Video
ID : 1
Format : V_QUICKTIME
Codec ID : V_QUICKTIME
Duration : 40 ms
Width : 320 pixels
Height : 240 pixels
Display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 25.000 FPS
Writing library : Lavc58.40.100 tiff
Default : Yes
Forced : No
I wonder if a deeper probe is needed
Exactly, I need to map the "dpx " CodecID from AVI (!!!) to DPX parser, same for TIFF + parsing the private data "V_QUICKTIME" (not yet parsed). Note difficult, but not yet implemented.
ha wow, i'd love to know who took the time to map DPX to AVI. Anyhow this would ve great to have implemented. I'm posting to cellar about this file format combination now as well..
Right, maybe is worth it to just map V_DPX and V_TIFF :).
There were a lot of fixes in December 2020. https://github.com/FFmpeg/FFmpeg/search?q=DPX&type=commits
That is range, color info, SMPTE 12-1 (0x0110?) timecode, alternate frame rate from television header and B&W film scans from Lasergraphics Inc scaner.
That is range, color info, SMPTE 0110 timecode, alternate frame rate from television header.
Ho, interesting to use latest FFmpeg for having a more precise MKV!