Convert Videos To MP3 with FFmpeg in Python

Convert Videos To MP3 with FFmpeg in Python

NeuralNine

1 год назад

16,831 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Chefdenker
Chefdenker - 13.08.2023 10:35

Hey thanks for your tutorial.

I have a question though, maybe you have a good solution.

I need to manipulate the audio files in my app. In Python you usually require the pydub module, which is based on ffmpeg encodings. However, the ffmpeg binaries have a size of 20 MB, which would significantly increase the size of my app on Android.

Do you have any good solution for that? Is there a way to add only part of the ffmpeg binaries? Or are there Python libraries that don't require ffmpeg to manipulate audio files such as joining them? Or is there a way to compress the binaries and decompress them when I need them? Hmm...

Ответить
M.E Pictures
M.E Pictures - 15.07.2023 22:48

Thanks for sharing this. I get a error when I run - [WinError 2] The system cannot find the file specified
the file in question does exist. any ideas?

Ответить
noertri
noertri - 30.05.2023 20:23

Why dont use ctypes??

Ответить
Sergey Samoylov
Sergey Samoylov - 30.05.2023 18:47

Thank you! Like these Python automation tools. Please create and post more like this one.

Ответить
raj majumdar
raj majumdar - 30.05.2023 18:06

Okay, but how to add command line arguments from these like ask the video name, and the output name, without hard coding the input and the output files?
Also how can I add a thumbnail, metadata etc etc?

Ответить
Farzad Majidfayyaz
Farzad Majidfayyaz - 30.05.2023 18:06

I really like your videos, but I have to say, the title of this video is very misleading. It's basically wrapping a shell command, so it's not converting video to audio "in Python"

Ответить
Seshu Sai
Seshu Sai - 30.05.2023 17:24

How to create a telegram bot using pyrogram

Ответить
Nati Adonay
Nati Adonay - 30.05.2023 17:20

can you please post about controling windows settings in python

Ответить