demultiplex mp4 and remultiplex to FLV
Hi, I'd need to reconvert a video (mpeg-4 container, h264 video, aac audio) into a FLV container. Is it possible to do with one ffmpeg line only, or I need to demultiplex first? Thanks in advance Bye
2008/9/25 emanuele fumagalli <emanuele.fumagalli at babelgum.com>
Hi,
I'd need to reconvert a video (mpeg-4 container, h264 video, aac audio) into a FLV container.
Is it possible to do with one ffmpeg line only, or I need to demultiplex first?
Thanks in advance
Bye
_______________________________________________ ffmpeg-user mailing list ffmpeg-user at mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
if you don't need HE-AAC then it should be one line.ffmpeg -i inputfile -acodec -vcodec outputfile. Tyrael
Thanks, it worked using: ffmpeg.exe -i c:\input.mp4 -vcodec copy -acodec copy c:\out.flv What if I wanted to use HE_AAC?
2008/9/25 emanuele fumagalli <emanuele.fumagalli at babelgum.com>
Thanks, it worked using: ffmpeg.exe -i c:\input.mp4 -vcodec copy -acodec copy c:\out.flv
What if I wanted to use HE_AAC?
_______________________________________________ ffmpeg-user mailing list ffmpeg-user at mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
Maybe you can decode he-aac audio stream to the supported output formats, but ffmpeg doesn't support encoding to it, because the faac library doesn't support it.If you want to encode HE-AAC then you need to demux the audio, and use the aacplusenc and aacplusdec binaries from the mp4tools package and mux the flv like ffmpeg -y -i "$1.mp4" -i "$1.aac" -acodec copy -vcodec copy -f flv "$2";. Tyrael
2008/9/25 Ferenc Kovacs <tyrael at tyrael.hu>
2008/9/25 emanuele fumagalli <emanuele.fumagalli at babelgum.com>
Thanks, it worked using:
ffmpeg.exe -i c:\input.mp4 -vcodec copy -acodec copy c:\out.flv
What if I wanted to use HE_AAC?
_______________________________________________ ffmpeg-user mailing list ffmpeg-user at mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
Maybe you can decode he-aac audio stream to the supported output formats, but ffmpeg doesn't support encoding to it, because the faac library doesn't support it.If you want to encode HE-AAC then you need to demux the audio, and use the aacplusenc and aacplusdec binaries from the mp4tools package and mux the flv like ffmpeg -y -i "$1.mp4" -i "$1.aac" -acodec copy -vcodec copy -f flv "$2";.
Tyrael
its for linux, maybe they have windows binaries, if not, then I saw some he-aac encoder (as I read, that is the best avaiable he-aac encoder) from ahead.http://www.nero.com/eng/nero-aac-codec.html Tyrael
participants (2)
-
emanuele.fumagalli@babelgum.com -
tyrael@tyrael.hu