[FFmpeg-user] mlv demuxer fails to set codec?

Andrew Randrianasulu randrianasulu at gmail.com
Mon Oct 9 02:04:07 EEST 2023


I was playing around with raw2mlv utility and thus downloaded sample file
from this forum post:

https://www.magiclantern.fm/forum/index.php?topic=25945.0

https://www.dropbox.com/s/p2j112gyph5ywzu/ElgersburgBHF.zip?dl=0

around 20 mb.

relatively recent ffprobe from git (as part of Cinelerra-GG compilation)
showed this:


guest at slax:~/botva/src/src/MLV-App$
/dev/shm/tmp/cinelerra-goodguy-20231001/cinelerra-5.1/thirdparty/ffmpeg.git/ffprobe
/dev/shm/ElgersburgBHF/ElgersburgBHF.MLV               [mlv @ 0xcc1ea80]
unknown video class is not implemented. Update your FFmpeg version to the
newest one from Git. If the problem still occurs, it means that your file
has a feature which has not been implemented.
                                            [mlv @ 0xcc1ea80] If you want
to help, upload a sample of this file to
https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing
list. (ffmpeg-devel at ffmpeg.org)  Ignoring attempt to set invalid timebase
1/0 for st:1
 [mlv @ 0xcc1ea80] unsupported tag RAWC, size 16      [mlv @ 0xcc1ea80]
unsupported tag DISO, size 8            [mlv @ 0xcc1ea80] unsupported tag
DARK, size 7862468
[mlv @ 0xcc1ea80] unsupported tag VERS, size 102      [mlv @ 0xcc1ea80]
unsupported tag VERS, size 144      [mlv @ 0xcc1ea80] unsupported tag VERS,
size 172      [mlv @ 0xcc1ea80] unsupported tag VERS, size 132      [mlv @
0xcc1ea80] unsupported tag VERS, size 160    [mlv @ 0xcc1ea80] unsupported
tag VERS, size 140      [mlv @ 0xcc1ea80] unsupported tag VERS, size 164
  [mlv @ 0xcc1ea80] unsupported tag VERS, size 156      [mlv @ 0xcc1ea80]
unsupported tag VERS, size 144    [mlv @ 0xcc1ea80] unsupported tag VERS,
size 164      [mlv @ 0xcc1ea80] unsupported tag VERS, size 140    [mlv @
0xcc1ea80] Opening '/dev/shm/ElgersburgBHF/ElgersburgBHF.M00' for reading

 [mlv @ 0xcc1ea80] Stream #0: not enough frames to estimate rate; consider
increasing probesize
 [mlv @ 0xcc1ea80] Could not find codec parameters for stream 0 (Video:
none (BIT[16] / 0x10544942), bayer_rggb16le, 1920x2340): unknown codec
           Consider increasing the value for the 'analyzeduration' (0) and
'probesize' (5000000) options

 Input #0, mlv, from '/dev/shm/ElgersburgBHF/ElgersburgBHF.MLV':

Metadata:

guid            : 0x5de63cb3069b16ba
cameraName      : Canon EOS 5D Mark III
cameraModel     : 2147484293
cameraSerial    : 122A888172
 isoMode         : manual

  isoValue        : 1600

isoAnalog       : 104

digitalGain     : 0

 shutterValue    : 29982

 focalLength     : 50

focalDist       : 0

 aperture        : 140
 stabilizerMode  : 0

 autofocusMode   : 3

  flags           : 0

lensID          : 198

lensName        : EF50mm f/1.4 USM
lensSerial      : 000000000
  wb_mode         : 0
 kelvin          : 2500
 wbgain_r        : 491
wbgain_g        : 1024
wbgain_b        : 638
wbs_gm          : 0
             wbs_ba          : 0
                        time            : 2021-01-06 19:40:27
                         Duration: 00:00:00.21, start: 0.000000, bitrate:
1082282 kb/s
 Stream #0:0: Video: none (BIT[16] / 0x10544942), bayer_rggb16le,
1920x2340, 23.98 tbr, 23.98 tbn   Stream #0:1: Audio: pcm_s16le
([1][0][0][0] / 0x0001), 48000 Hz, 2 channels, s16, 1536 kb/s
Unsupported codec with id 0 for input stream 0              guest at slax
:~/botva/src/src/MLV-App$


ffmpeg was at version 3ba3e188b32a48cfca36f02ea9671e22f4c2482c


I guess new mlv definition lives somewhere inside MLV-App (compiled it too
from git, seems to works with this specific file)


More information about the ffmpeg-user mailing list