All other input streams are in essence discarded.
You can play concatenated video file with Flash Player Projector:Ĭ:\herong>\local\bin\flashplayer_13_sa Anchor_and_Spider_Man. The default behavior of ffmpeg is to choose the best video and audio stream in a file and drop the rest. Global headers:0kB muxing overhead: 1.442786% Video:1294kB audio:617kB subtitle:0kB other streams:0kB Output #0, swf, to 'Anchor_and_Spider_Man.swf': The option -c copy tells FFmpeg to use copy on all streams. Note that we specified all the input streams, but in the reverse order, which causes that order to be respected in the output. i Anchor_Great_Escape.swf -i Spider_Man.swf This can simply be done using the following command line: ffmpeg -i input.mkv -map 0:3 -map 0:2 -map 0:1 -map 0:0 -c copy output.mkv. Now I am ready to merge two SWF video files into a longer video file: The following illustration may help to understand the above command:
FFMPEG MAP FIRST VIDEO AND AUDIO HOW TO
This section provides a tutorial example on how to concatenate two short video files into a longer video file with 'ffmpeg' using '-complex_filter' option and 'concat' filter. Flash Tutorials - Herong's Tutorial Examples