VideoHelp Forum
+ Reply to Thread
Results 1 to 5 of 5
Thread
  1. hi all..
    i want to add a audio track to .mpg file.
    the present file has its own audio, i wanna set it as audio track 1 and add mine own track to dat same file as audio track 2.
    sync is not problem here. and i don't want to convert the video.
    just wanna add 1 more audio track so dat v can choose anyone [track 1 r 2] while playing it.

    help me out..
    Quote Quote  
  2. Code:
    ffmpeg -i video.avi -i audio1.mp3 -i audio2.mp3 -map 0 -map 1 -map 2 -codec copy output
    http://superuser.com/questions/508331/ffmpeg-add-two-audio-streams-to-video

    In your case something like this should work:
    Code:
    ffmpeg -i videoaudio -i audio -map 0 -map 1 -codec copy output
    btw mpg container have limit for audio tracks (AFAIR 16) - not directly your problem but perhaps someone may have similar issue in future.
    Quote Quote  
  3. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Quote Quote  
  4. Or tmpgenc 2.5x http://www.tmpgenc.net/en/download.html - not many people knows that it is equipped with nice and unrestricted mpg muxer (license limitations apply only to MPEG-2 encoding, MPEG-1 and muxing are free, also it has very nice interactive sequence editor that allow to manually mark and modify parameters of every frame in sequence (type, quantization etc).
    Quote Quote  
  5. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Yep, in the old tmpgenc under file->mpeg tools can you find the multiplexers and demultiplexers. Also cutting and merging.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!