Daniel Omiyale
Daniel Omiyale

Reputation: 1

How to convert movies in mkv to mp4 in colab

I tried converting a mkv movie in my Google drive to mp4 so I can stream play it with Google drive player, so I used a popular ffmpeg colab note book and I got a response saying the file is not supported. Is there a way around this a and can I also use colab to convert the video in another way.

Upvotes: 0

Views: 1159

Answers (1)

himanshu_suman
himanshu_suman

Reputation: 1

Use the following code on google colab:

! ffmpeg -i "path_to_input.mkv" -codec copy "path_to_output.mp4"

Upvotes: 0

Related Questions