Reputation: 6790
I have upgrade to the latest ffmpeg which supports webm, but I can't seem to convert webm to mp4
ffmpeg -i filea.webM -sameq filea.flv
I am getting this error
swScaler: Unknown format is not supported as input pixel format
Cannot get resampling context
I am not sure what to do.
Upvotes: 3
Views: 19580
Reputation: 100175
You are asking to convert to mp4 but have added .flv output format in your command, try:
ffmpeg -i your_input_filename.webm -qscale 0 your_outfile_name.mp4
Upvotes: 3
Reputation: 503
In newer ffmpeg versions, "-sameq" option has been removed, you have to use "-qscale" instead.
ffmpeg -i your_input_filename.webm -qscale 0 your_outfile_name.mp4
Upvotes: 2
Reputation: 39
ffmpeg -i file.webm -strict -2 file.mp4
seems to be OK.
I use ffmpeg version 0.10.9-7:0.10.9-1~lucid1.
Upvotes: 3
Reputation: 2460
The late ffmpeg just need -i param
ffmpeg -i input_file.webm output_file.mp4
Upvotes: 4