'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.
Solution 1:[1]
Use the following code on google colab:
! ffmpeg -i "path_to_input.mkv" -codec copy "path_to_output.mp4"
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | himanshu_suman |