[SOLVED] ffmpeg on colab,Any help?!

Hello,
Can you help me with a script that allows me to setup ffmpeg tool on google colab and deal with drive files and work with it “ffmpeg” as it is installed on PC. that’s it in short words.Thanks in advance.
update: I can’t use cmd codes via python and I don’t know any code language so to get it straight …I do videos from images using this line in windows cmd " ffmpeg -loop 1 -framerate 1 -i name.jpg -i name.mp3 -c:v libx264 -tune stillimage -c:a aac -b:a 64k -pix_fmt yuv420p -shortest out.mp4 " and I need to write this line in python so I get to do encodes via colab…???

pmd u :wink:

1 Like

Pming is not a solution. Solution should be here so others having the same problem can also take advantage from it.

4 Likes

If you don’t mind I will reply with the solution

1 Like

For now here is what I got, I will try it soon for any further help please comment below

1 Like

can we use ffmpeg in All_in_One_1_9_1 ?
is it safe to use in colab?

To run Terminal Commands in Google Colab use ‘!’
FFmpeg is already present in Colab. To use that , use “!ffmpeg” followed by the options you want.

2 Likes