"parser not found for codec ffv1" ? Maybe something else ? export fails

Hi,
I’ve had to correct an ffv1 video produced by kdenlive, so I imported the BIG file by breaking it in peace, it went swimmingly. No error. It’s just normal sized for an uncompressed file.
so now I try and export it and there are several apparently distinct errors, so I don’t know what does what. I think someone here could tell with a glace ?

Mouthpiece of an error log

mlt_repository_init: failed to dlopen /usr/lib/mlt-7/libmltopencv.so
(libopencv_tracking.so.4.5: Ne peut ouvrir le fichier d’objet partagé: Aucun fichier ou dossier de ce type)
mlt_repository_init: failed to dlopen /usr/lib/mlt-7/libmltsox.so
(libsox.so.3: Ne peut ouvrir le fichier d’objet partagé: Aucun fichier ou dossier de ce type)
plugin_mgr_get_object_file_plugins: error opening shared object file ‘/usr/lib/ladspa/ladspa-rubberband.cat’: /usr/lib/ladspa/ladspa-rubberband.cat: en-tête ELF invalide
Plugin 2979 exists in both ‘/usr/lib/ladspa/ladspa-rubberband.so’ and ‘/usr/lib64/ladspa/ladspa-rubberband.so’; using version in ‘/usr/lib/ladspa/ladspa-rubberband.so’
Plugin 9792 exists in both ‘/usr/lib/ladspa/ladspa-rubberband.so’ and ‘/usr/lib64/ladspa/ladspa-rubberband.so’; using version in ‘/usr/lib/ladspa/ladspa-rubberband.so’
Plugin 1041 exists in both ‘/usr/lib/ladspa/filter.so’ and ‘/usr/lib64/ladspa/filter.so’; using version in ‘/usr/lib/ladspa/filter.so’
Plugin 1042 exists in both ‘/usr/lib/ladspa/filter.so’ and ‘/usr/lib64/ladspa/filter.so’; using version in ‘/usr/lib/ladspa/filter.so’
Plugin 1048 exists in both ‘/usr/lib/ladspa/amp.so’ and ‘/usr/lib64/ladspa/amp.so’; using version in ‘/usr/lib/ladspa/amp.so’
Plugin 1049 exists in both ‘/usr/lib/ladspa/amp.so’ and ‘/usr/lib64/ladspa/amp.so’; using version in ‘/usr/lib/ladspa/amp.so’
plugin_mgr_get_object_file_plugins: error opening shared object file ‘/usr/lib64/ladspa/ladspa-rubberband.cat’: /usr/lib64/ladspa/ladspa-rubberband.cat: en-tête ELF invalide
Plugin 1050 exists in both ‘/usr/lib/ladspa/noise.so’ and ‘/usr/lib64/ladspa/noise.so’; using version in ‘/usr/lib/ladspa/noise.so’
Plugin 1044 exists in both ‘/usr/lib/ladspa/sine.so’ and ‘/usr/lib64/ladspa/sine.so’; using version in ‘/usr/lib/ladspa/sine.so’
Plugin 1045 exists in both ‘/usr/lib/ladspa/sine.so’ and ‘/usr/lib64/ladspa/sine.so’; using version in ‘/usr/lib/ladspa/sine.so’
Plugin 1046 exists in both ‘/usr/lib/ladspa/sine.so’ and ‘/usr/lib64/ladspa/sine.so’; using version in ‘/usr/lib/ladspa/sine.so’
Plugin 1047 exists in both ‘/usr/lib/ladspa/sine.so’ and ‘/usr/lib64/ladspa/sine.so’; using version in ‘/usr/lib/ladspa/sine.so’
Plugin 1043 exists in both ‘/usr/lib/ladspa/delay.so’ and ‘/usr/lib64/ladspa/delay.so’; using version in ‘/usr/lib/ladspa/delay.so’
mlt_repository_init: failed to dlopen /usr/lib/mlt-7/libmltrtaudio.so
(librtaudio.so.6: Ne peut ouvrir le fichier d’objet partagé: Aucun fichier ou dossier de ce type)
mlt_repository_init: failed to dlopen /usr/lib/mlt-7/libmltsdl.so
(libSDL-1.2.so.0: Ne peut ouvrir le fichier d’objet partagé: Aucun fichier ou dossier de ce type)
[h264 @ 0x5595d06fc600] Reinit context to 1280x720, pix_fmt: yuv420p
[h264 @ 0x5595d0701580] Reinit context to 1280x720, pix_fmt: yuv420p
[h264 @ 0x5595d0700ac0] Reinit context to 1280x720, pix_fmt: yuv420p
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[AVIOContext @ 0x5595d07037c0] Statistics: 98304 bytes read, 0 seeks
[AVIOContext @ 0x5595d08459c0] Statistics: 98304 bytes read, 0 seeks
[AVIOContext @ 0x5595d0702ac0] Statistics: 98304 bytes read, 0 seeks
x265 [info]: HEVC encoder version 3.5
x265 [info]: build info [Linux][GCC 10.2.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 2 threads
x265 [info]: Slices : 1
x265 [info]: frame threads / pool features : 1 / wpp(17 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 3
x265 [info]: Keyframe min / max / scenecut / bias : 14 / 149 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt : 20 / 3 / 2
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0
x265 [info]: References / ref-limit cu / depth : 3 / off / on
x265 [info]: AQ: mode / str / qg-size / cu-tree : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-28.0 / 0.60
x265 [info]: VBV/HRD buffer / max-rate / init : 12000 / 5000 / 0.768
x265 [info]: tools: rd=3 psy-rd=2.00 early-skip rskip mode=1 signhide tmvp
x265 [info]: tools: b-intra strong-intra-smoothing lslices=6 deblock sao
x265 [info]: tools: stats-write
[matroska,webm @ 0x7fb4c8008b40] parser not found for codec ffv1, packets or times may be invalid.
[matroska,webm @ 0x7fb4c8008b40] parser not found for codec ffv1, packets or times may be invalid.
[matroska,webm @ 0x7fb4c80d36c0] parser not found for codec ffv1, packets or times may be invalid.
[matroska,webm @ 0x7fb4c80d36c0] parser not found for codec ffv1, packets or times may be invalid.
[matroska,webm @ 0x7fb4c8130700] parser not found for codec ffv1, packets or times may be invalid.
[matroska,webm @ 0x7fb4c8130700] parser not found for codec ffv1, packets or times may be invalid.
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[AVIOContext @ 0x7fb4c8011b40] Statistics: 674258 bytes read, 3 seeks
[matroska,webm @ 0x7fb4c8160a40] parser not found for codec ffv1, packets or times may be invalid.
[matroska,webm @ 0x7fb4c8160a40] parser not found for codec ffv1, packets or times may be invalid.
[matroska,webm @ 0x7fb4c83ad1c0] parser not found for codec ffv1, packets or times may be invalid.
[matroska,webm @ 0x7fb4c83ad1c0] parser not found for codec ffv1, packets or times may be invalid.
[matroska,webm @ 0x7fb4c8325c80] parser not found for codec ffv1, packets or times may be invalid.
[matroska,webm @ 0x7fb4c8325c80] parser not found for codec ffv1, packets or times may be invalid.
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[AVIOContext @ 0x7fb4c81bb440] Statistics: 674258 bytes read, 3 seeks
[chain avformat-novalidate] /home/mengele/Vidéos_Travail/essai_découpe/Récapitulation_instincto 1.mkv
checking VFR: pkt.duration 33
[chain avformat-novalidate] /home/mengele/Vidéos_Travail/essai_découpe/Récapitulation_instincto 1.mkv
checking VFR: pkt.duration 33

How did you get Shotcut? Did you download the official release version from the Shotcut download page?
https://shotcut.org/download/

Or did you install from a package manager? If from a package manager, please try the package from the Shotcut website.

I did now. Same error. Regardless of the chosen container.

errors
[matroska,webm @ 0x7fc42031e600] parser not found for codec ffv1, packets or times may be invalid.
[matroska,webm @ 0x7fc42031e600] parser not found for codec ffv1, packets or times may be invalid.
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[AVIOContext @ 0x7fc4200d2800] Statistics: 674258 bytes read, 3 seeks
[chain avformat-novalidate] /home/mengele/Vidéos_Travail/essai_découpe/Récapitulation_instincto 1.mkv
    checking VFR: pkt.duration 33
[chain avformat-novalidate] /home/mengele/Vidéos_Travail/essai_découpe/Récapitulation_instincto 1.mkv
    checking VFR: pkt.duration 33

This is what Nicholas George, one of the maintainers of ffmpeg said about these errors over 10 years ago:

The warning says that the packets or time may be invalid, not that they
actually will be.

It seems that your setting does not actually need the information found by
the parser. For PCM, that could be expected. For ffv1, I guess there are no
B-frames.

This warning seemed like a good idea at the time, but now I realize that
there are lots of codecs that work fine without a parser even if the format
thinks it needs one. I will think about it some more.

In the meantime, just ignore the warning: if it works, then it means it was
harmless.

https://ffmpeg-user.ffmpeg.narkive.com/ch31pAZR/parser-not-found-for-codec-pcm-s16le-packets-or-times-may-be-invalid

A similar query (with a possible solution) was documented in this thread:

Also, are your original sources Variable Frame Rate (VFR)? If so have you tried converting them to edit-friendly first?

So I should ignore it…
Yes it’s VFR, I didn’t convert it because it wasn’t asked.
It does seem to work, with frame processing showing.
It still felt like it hasn’t been unfolding exactly as normally… More slowly.

The messages that you see may not be indicating what the problem is, as indicated by the maintainer in his post 10 years ago.

Regarding VFR, I always convert VFR footage before I use it in Shotcut. I have had problems in the past not doing that, and so have many others.

My suggestion would be to make a copy of your project file (.mlt) so if anything goes wrong you can always fallback to the original. Then convert your videos to edit-friendly and see if the problem is fixed. If it is, then great. If it isn’t, then at least you’ve shown the problem isn’t related to VFR footage.

Ok !

How would an export from Kdenlive produce a VFR file? This file is probably fine as-is. Parser errors can be ignored in this case.

FFV1 is an archive format with many single-threaded bottlenecks during decoding. It will be excruciatingly slow at playback. It was never intended to be used in an editing real-time preview environment.

For real-time editing, use proxies. Or, convert the FFV1 files to Ut Video if you want a faster playback file that doesn’t lose any data from the conversion.

There are many messages in the log that are not errors. This is normal. If you are happy with the result in the export file, then there is no reason to go looking for problems in the log.

Is your export file good? Or do you see a problem in the export that you are trying to solve?

I always use proxies, it’s fine. As to why it’s VFR (as stated by mediainfo), your guess is a good as mine.
It feels like it’s awfully slow. It takes more than three hours for a quite light (it’s subjective, I know) editing of the original file.
I’ll tell when it’s done… in a few hours !

@brian, I thought the same since the description did not mention that the export was bad - until I read the title of the thread which said “export fails”.

@Austin I too can’t see how Kdenlive produced a VFR file, but the OP’s Shotcut log states this and his mediainfo output confirms that,

unless the files are post processed prior to inputting to Shotcut, since I don’t quite understand the statement:

That message is not saying “this file is VFR”. It simply stating that it is checking for VFR. This is a normal message. People are reading into the log messages too much.

If an export fails, there is an error code in the export log. Neither of the logs that OP has provided show an error code. So I am not sure what “export fails” means in this conversation.

@sentinel166, please perform the following:

  1. Open the project using the Shotcut package provided from the Shotcut download page
  2. Perform an export
  3. Provide a screenshot of the export panel after the export is complete
  4. Attach the full log of the export to this thread (do not leave anything out)

Thanks for the clarifaction. When I asked the OP if his original sources were VFR he said that they were (as stated by mediainfo), which is why I suggested converting to edit-friendly as that has fixed VFR problems for me in the past.

VFR can cause synchronization problems, but it rarely causes an export failure.

The clarity of this report is still low. Hopefully @sentinel166 will be able to provide some more detail about what is failing.

This topic was automatically closed after 90 days. New replies are no longer allowed.