Python .flv media file conversion
-
20-09-2019 - |
Question
I'm looking for a library similar to FFDshow to help me convert .flv to .avi format and possibly do more. I understand that I can do this via VLC player, but I'd rather do it manually with Python (and in bulk).
Similar to:
media conversion library/plugin preferably php
python automate ffmpeg conversion from upload directory
Solution
Use ffmpeg
. You can invoke it from python, if you want to.
ffmpeg -i in.flv -f avi -vcodec mpeg4 -acodec libmp3lame out.avi
Full ducumentation for converting files with ffmpeg can be found here.
OTHER TIPS
pygst
with the right plugins can read .flv files (and write other formats).
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow