Incompatible with ffmpeg 7
Author: avibrazilCreated Jun 17, 2025Updated Aug 28, 2026
My code used to work flawlessly on Fedora 40 with its ffmpeg 6. Now, migrated to Fedora 42 and ffmpeg 7 and command line generated by ffmpeg-python breaks ffmpeg.
This is the command line generated:
ffmpeg -i input.MOV -i input.srt -map 0 -map 1 -acodec copy -map -0:d -map_metadata 0 -metadata:s:s:0 "title=Wall clock" -metadata:s:v rotate=0 -movflags faststart+use_metadata_tags -scodec mov_text -tag:s:s:0 tx3g -vcodec copy output.mov -hide_bannerAnd this it the ffmpeg error:
Stream type specified multiple times
Error parsing options for output file output.mov.
Error opening output files: Invalid argumentSource: kkroening/ffmpeg-python