2
I am using GNU/Linux(Arch Linux), and i need to transcode some videos from .avi/.mov to .webm.
I don't have the original file for most videos, only the "very compressed" .avi, and i can't loose any quality (i will replace the older video, with the transcode). How can i do it?
I already tried ffmpeg (with "ffmpeg -i file.avi file.webm", but it reduces quality) and VLC (the video goes perfect, but the audio goes out of sync (I have "synchronize on audio track" on, but there is no improvement).)
I also tried many other programs like "Transmaggedon", "Arista", "Sinthgunt", "winFF" and "Handbrake" without good results(or results at all).
Thanks for your support
Note that the output is valid VP8 only if your source files already contain VP8 video and any audio is Vorbis.
ffmpeghas no problem with other formats, but browsers won't accept them since VP8 mandates those stream formats. – Mechanical snail – 2012-08-16T05:48:14.440Mostly they are encoded with MPEG-4 and MPGA I also need to use some of the files in <video> tags(HTML) and they should be .webm in my case. (bandwidth is not a problem(lan-only)) – SOMN – 2012-08-16T05:51:01.660
1@Claudiop: that is why i put the "note" there. you won't be able to create a "lossless"
.webmif you won't have vp8 video and vorbis audio. end of story. you can throw a lot of bits to the reencoder and hope for the best, but you have to reencode it to be a valid.webm. – akira – 2012-08-16T05:57:21.640@akira So if i change the "lossless" with "loss as less as possible"? VLC made a perfect "re-encode" with a good size, the only problem was the audio(out-of-sync). Is there any way to make the same with ffmpeg(but with everything in sync)? – SOMN – 2012-08-16T06:00:39.780
@Claudiop: what is your question? the ffmpeg-commandline with as much bitrate as possible to get the best looking
.webm? – akira – 2012-08-17T12:39:27.447@akira That should solve but im not sure, because increasing the bitrate will also increase the size, and VLC conversion didn't had a lot of increase. – SOMN – 2012-08-18T21:41:37.887