Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python .flv media file conversion

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

like image 626
Israel ANY Avatar asked Jul 10 '26 16:07

Israel ANY


1 Answers

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.

like image 114
gnud Avatar answered Jul 13 '26 16:07

gnud



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!