[MEncoder-users] knowhow: convert flash h264/aac video (e.g. from Youtube) to workable formats
Carl Eugen Hoyos
cehoyos at ag.or.at
Tue Mar 1 17:37:35 CET 2011
Miroslav Rovis <m.rovis <at> inet.hr> writes:
> ffmpeg -i FILE.flv FILE.aac
Shouldn't this be
ffmpeg -i FILE.flv -acodec copy FILE.aac
?
> This gives you fine FILE.aac advanced audio codec file that feeds
> readily into MP4Box or mkvmerge.
> ffmpeg -i FILE.flv -vcodec copy -vbsf h264_mp4toannexb -an FILE.h264
> This gives you the video h264 stream for MP4Box or mkvmerge.
> If the file is 25fps then leave out "-fps 23.976" from the MP4Box and
> " --default-duration 0:23.976fps" from mkvmerge line below.
> MP4Box -add FILE.h264 -fps 23.976 -add FILE.aac FILE.mp4
> mkvmerge -o FILE.mkv --default-duration 0:23.976fps FILE.h264 FILE.aac
What's wrong with
ffmpeg -i FILE.flv -acodec copy -vcodec copy FILE.mp4
or
ffmpeg -i FILE.flv -acodec copy -vcodec copy FILE.mkv
?
Carl Eugen
More information about the MEncoder-users
mailing list