Hi,
I've got a video file with
0.0 video
0.1 ger audio
0.2 eng audio
I want to change this to
0.0 video
0.1 eng audio
0.2 ger audio
I tried this:
"path\to\ffmpeg.exe" -vcodec copy -acodec copy -i in.avi out.avi -map 0.0 -map 0.2 -map 0.1 -newaudio
Now, in the output file, the order of streams is as desired, but the first audio stream (eng) is all messed up, the second (ger) works and the output file is 10 mb smaller then the input file.
What am I doing wrong?
Win7x64, Zeranoe FFmpeg git-58257ea 64-bit Static (Latest) (2011-07-08)
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 7 of 7
Thread
-
-
Thanks for the tip - the app for the source avi is virtualdub.
But I don't care if it's avi, mkv or whatever.
So I tried this
"ffmpeg.exe" -i in.avi -vcodec copy -acodec copy out.mkv -acodec copy -newaudio -map 0.0 -map 0.2 -map 0.1
with this result:
[matroska @ 00000000002E15C0] Can't write packet with unknown timestamp
av_interleaved_write_frame(): Invalid argument -
Even better!
[matroska @ 00000000002E15C0] Can't write packet with unknown timestamp
Similar Threads
-
VDub & AviSynth: Errors with ffmpeg and VBR audio streams
By klischee in forum Software PlayingReplies: 8Last Post: 20th Aug 2011, 20:13 -
FFMPeg Issue : Codec ID#
By Bonie81 in forum Newbie / General discussionsReplies: 0Last Post: 23rd Oct 2010, 16:10 -
ffmpeg cut mpeg2 video issue
By santhoshv in forum EditingReplies: 2Last Post: 28th Oct 2009, 02:11 -
Using ffmpeg to mux an arbitrary number of streams from multiple files
By punmaster in forum Video ConversionReplies: 5Last Post: 4th Aug 2008, 01:14 -
gotsent issue (cant find ffmpeg)
By X400 in forum Video ConversionReplies: 1Last Post: 6th Nov 2007, 03:59