VideoHelp Forum




+ Reply to Thread
Results 1 to 3 of 3
  1. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    First, I appoligies if this has been asked before.

    * looking for freeware tools for this function

    Ok. So a few days ago, I did some searching around for a transcoder that can take an audio file and *insert* it into an already encoded MPEG-2 file.

    Often times, whenever I am capturing/editing/encoding, I dont' have the luxury of including the audio during the mpeg encoding phase. For instance, sometimes I an avisynth script w/ no audio during encoding, and sometimes its just the nature or order of things I'm doing at the time. Re-encoding is almost certainly out of the question. But the missing audio aspects is usually because I'm editing the video via a script and either forget to consider the audio or can't (because of the unique circumstance) but in some cases, I can sneak in the audio (later) using the same position of the avs script and the virtualdub .vdr (which has the audio) and then mux a separate audio ( *.mp2 ) from it. Then, I using MPEG Tools in tmpgenc, I will multiplex the A/V into a new MPEG-2 source.

    The problem with the above is that it creates a second source file. I am often very low on HDD space during these pressing times. So, having searched around for the right tool, I haven't been able to find one that can do the job need--to mux (insert, without intermediate file creation) the audio into the existing .mpg file.

    I did try ffmpeg, (hoping that it muxes w/ insertion in mind) but even though it seemed to work, (though creating a new file) there was no sound to be heard--very frustrating.

    --> ffmpeg -i file.mpg -vcodec copy -i audio.mp2 copy -ar 48000 -ab 384 -ac 2 -y new_mpeg.mpg

    So, my question is:

    Are there any tools that can insert audio (mp2 or ac3) into an existing .mpg file without creating a 2nd or new source file ?

    Thanks,

    -vhelp 4953

    :P *~*!*~*!~* HaPpY HoLiDaY *~*!*~*!~*
    Quote Quote  
  2. Mod Neophyte redwudz's Avatar
    Join Date
    Sep 2002
    Location
    USA
    Search Comp PM
    You could try ImagoMPEG-Muxer or maybe tsMuxeR. I've never used the first one and tsMuxeR may be overkill.
    Quote Quote  
  3. There is no such tool. Why don't create video only file in .m2v / .mpv format, and then mux it with audio?
    Quote Quote  



Similar Threads

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