I searched around a bit and found this syntax:
fmpeg -i $1 -vcodec libxvid -b 18000k -acodec libmp3lame -ac 2 -ab 192k -s 1280x720 $1.avi
The video played fine in mplayer, but after upload to youtube, the sound was off. Same with added
-async 48000parameters to ffmpeg.
Then I have read this blog post explaining how to convert the MTS format to mpeg4.
First I tried the
-acodec copy -vcodec copything, but the wideo can't be rewound in mplayer. Finally the syntax
ffmpeg -i $1 -sameq -f mp4 $1.mp4worked best for me.
Žiadne komentáre:
Zverejnenie komentára