VideoHelp Forum
+ Reply to Thread
Results 1 to 4 of 4
Thread
  1. Hi,
    I've got a couple of video files whose audio I want to convert to AC3

    The files are mpeg-4/xvid and MP3. I don't want to touch the video codec.

    What would be the best, not too hard solution that supports batch conversion?

    I used AVItoac3 to get the audio to ac3 but am not sure how to get the ac3-files back in the avi-file or if this is the best way to get the whole thing done.
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    You can use avimuxgui or virtualdubmod to add/multiplex the ac3 to the old avi file. In virtualdubmod open the avi, under video choose direct stream copy and under streams add the ac3 file , save as a new avi.
    Quote Quote  
  3. I think I just wrote my first workin ffmpeg script...
    for %i in (*) do "path\to\ffmpeg.exe" -vcodec copy -i "%i" -acodec copy -i audio/"%i" arf/"%i"

    All I had to to is rename to .ac3 files to .avi

    Will try you solution though, the renaming makes this script kinda impractical.
    Quote Quote  
  4. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Yep, ffmpeg works fine too.
    Quote Quote  



Similar Threads

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