>From: [email protected]
>To: [email protected]
>Date: Thu, 3 Dec 2015 23:32:36 +0800
>Subject: [Libav-user] How to Demux mp4 to video/audio stream and Remux them    
>back to mp4 using API?
>
>Hi, I'm newbie to FFmpeg, could anyone tell how to demux a mp4 file to:
>video stream:  .h264
>audio stream: .aac
>then remux them back using C/C++ API, not the command tools.
>
>equivalent to command:
>ffmpeg -i media\input.mp4 -vn -f aac media\output.aac
>ffmpeg -i media\input.mp4 -an media\video_only.mp4
>ffmpeg -i media\video_only.mp4 -i media\audio_only.aac  media\restore.mp4
>
>Thanks a lot!

this example  from the ffmpeg site do exactly what you want with an additional 
filtering stage.
Regards.                                          
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to