VideoHelp Forum




+ Reply to Thread
Results 1 to 8 of 8
  1. Member
    Join Date
    Oct 2005
    Location
    Australia
    Search Comp PM
    OK - I'm not even sure if there's a tool that will do this, but I'll ask anyway.

    I've basically got over 100 individual clips, each consisting of an m2v file and an ac3 file. Each video and audio file have identical names with the exception of the extensions, of course.

    What I need to do is combine/join those separate clips and make new mpg or wmv clips.

    I would REALLY prefer not to do it all from the timeline of premiere again, so was wondering if there is any tool that can do this in a batch processing environment.

    Thanks in advance!
    Quote Quote  
  2. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    No problemo, as long as the file names don't have spaces in them. Gimme a sec to write out the script.

    Edit - Here you go.
    mux.zip

    Make sure there's a 1:1 correspondence between the video and audio names. Again, no spaces in the names.

    Place the 3 files that are in the zip into the same folder as your m2v and ac3 files. Double Click Mux.bat to run

    file1.m2v and file1.ac3 will mux into file1.mpg
    Quote Quote  
  3. Member
    Join Date
    Oct 2005
    Location
    Australia
    Search Comp PM
    Many thanks for that - much appreciated.

    P.S. Unforunately a lot of the files do have spaces in them, so I'll try to work around it somehow...
    Quote Quote  
  4. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    See the instructions above - I was editing at the same time you were reading


    Waitasec - I might have a program to remove file spaces.
    Quote Quote  
  5. Member
    Join Date
    Oct 2005
    Location
    Australia
    Search Comp PM
    yep - have taken out previous questions.

    haven't tried it yet (have to move it to another machine), but is there any way of setting dimension parameters?
    Quote Quote  
  6. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    Dimension parameters as far as 720x480 720x576 etc? http://www.wincesoft.de/html/dvdpatcher.html


    Here's the little app which will remove the spaces from your file name:

    1) You MUST create a folder on your C drive called mpgfiles

    2) Copy your files with the spaces in them to c:\mpgfiles

    3) Copy the Removespc.exe into the same folder and click to start.

    removespc.zip
    Quote Quote  
  7. Member
    Join Date
    Oct 2005
    Location
    Australia
    Search Comp PM
    Wow - this is service. Thanks so much.

    Yes, that's the dimensions I was talking about. The video files are 720x576 at the moment, and I want them to be a small size, say 352x288 or something like that.

    Do you know if anything like that's possible within the script?
    Quote Quote  
  8. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    Ah, gotcha. You might have to re-encode to do that, but I dunno for sure. Try this on one of your MPG files. If it doesn't work, it is easy to batch re-encode using ffmpeg. Do you want PAL or NTSC format?




    http://www.wincesoft.de/html/dvdpatcher.html


    To convert (and mux at the same time), save the following into a batch file. Call it Process.bat

    for %%a in (*.m2v) do ffmpeg -i "%%a" -i "%%~na.ac3" -acodec copy -vcodec mpeg2video -s 352x288 -sameq -y "%%~na.mpg"


    Actually, no need. Here it is with a copy of ffmpeg



    process.zip


    Try it on a single m2v and ac3 file (one that has no spaces in it)
    Quote Quote  



Similar Threads

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