Reputation: 6334
The issue with ffmpeg.
Any idea?
Here is my FFMPEGargs
ffmpeg -i video.webm -c:v copy -c:a copy output.mp4
Upvotes: 0
Views: 399
Reputation: 5992
How to extract the audio: First, get the duration of the video with following command:
$ ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 -sexagesimal input.webm
Sample output:
01:28:33.52
Then, use ffmpeg's -ss option to stop there:
$ ffmpeg -i video.webm -ss TIMECODE -c:v copy -c:a copy output.mp4
where TIMECODE
must be replaced with the time from the first command.
Upvotes: 1