VideoHelp Forum




+ Reply to Thread
Results 1 to 9 of 9
  1. Member
    Join Date
    Jul 2008
    Location
    Australia
    Search Comp PM
    I have about 60 different OGM files with external SSA subtitles. Each OGM has 2 audio streams (English and Japanese).

    What I want to do is convert them to RMVB but since I haven't found a direct converter for that, I'm using AllToAVI v4 r5394 to convert to AVI and then to RMVB.

    This is not the problem though.

    I have used the batch convert option ('Add Folder') in AllToAVI and these are the conversion options I have used:


    Each file took about 3-5 minutes and the video and audio quality were the same as the original OGM file (this was what I wanted).

    BUT, only 31 out of the 59 files converted successfully. There were no error messages or anything. Just the output size of the 28 unsuccessful conversions were under 100MB and ended after some minutes (the originals were ~20 min. - all unsuccessful conversions were <10 min. long).

    Any ideas why this happened?
    Quote Quote  
  2. Member
    Join Date
    Dec 2004
    Location
    Triptonia
    Search Comp PM
    been a long time since i tried alltoavi

    don;t know how it's come along,
    but i didn;t like it back then.


    i changed ogm2avi a bit
    https://forum.videohelp.com/topic334918.html#1739038

    in drag and drop style,
    but you can change it to batch a folder.

    could poossibly do it with ffmpeg too.
    my build though

    you could also halt mp3 conversion.
    no point in going vorbis->pcm->mp3->realaudio
    unless HD space is an issue.

    and if the realvideo converter took avs input,
    you could avoid avi creation.

    tripp
    "I'll give you five dollars if you let me throw a rock at you"
    Quote Quote  
  3. Member
    Join Date
    Jul 2008
    Location
    Australia
    Search Comp PM
    Thanks. I'll try it out and post the results of the conversion.
    Quote Quote  
  4. Member
    Join Date
    Jul 2008
    Location
    Australia
    Search Comp PM
    I tried it and it worked fine until it got to the AVImux stage. Once it opened AVImux, the window kind of froze and after about 5 seconds, the window closed and all of the Temp files were deleted. I used the OGM2AVI-A2.bat file.
    Quote Quote  
  5. Member
    Join Date
    Jul 2008
    Location
    Australia
    Search Comp PM
    OK. After some tweaking of the batch file I have got it to work. How do I change it to batch a folder?
    Quote Quote  
  6. Member
    Join Date
    Dec 2004
    Location
    Triptonia
    Search Comp PM
    Originally Posted by m93
    OK. After some tweaking of the batch file I have got it to work. How do I change it to batch a folder?
    tweaking?
    it was already in working order.


    i'll update the guide with this:

    ogm2avitweak.zip

    ogm-a1, ogm-a2, ogm-dual
    place ogm files in the same solder as the batch files.
    double click one.

    renamed previous batch files to have DND prefix. ,
    drag and drop.
    create shortcuts of them, place them anywhere,
    drag and drop one file at a time.


    tripp
    "I'll give you five dollars if you let me throw a rock at you"
    Quote Quote  
  7. Member
    Join Date
    Dec 2004
    Location
    Triptonia
    Search Comp PM
    oh and as you were using a2,
    and are using the avi as an intermediary,
    i did a version of it to mux the video with uncompressed audio,
    rather than compress to mp3.
    put the batch file with the rest.

    ogm-a2wav.bat

    tripp
    "I'll give you five dollars if you let me throw a rock at you"
    Quote Quote  
  8. Member
    Join Date
    Jul 2008
    Location
    Australia
    Search Comp PM
    I had to tweak it because I was using SSA subtitles. I kind of combined your version and the original because for some reason, the batch file didn't work. It is like this now:
    Code:
    @Echo Off
    If x%1x==xx Exit
    Cls
    Copy /Y %1 Temp\Temp.ogm
    OGMDemuxer\OGMDemuxer -a Temp\Temp.ogm
    Del Temp\Temp.ogm
    OGGDec\oggdec -o Temp\Temp.wav Temp\Temp_2.ogg
    Del Temp\Temp_1.ogg
    Del Temp\Temp_2.ogg
    LAME\LAME -b 112 -q 2 Temp\Temp.wav Temp\Temp.mp3
    Del Temp\Temp.wav
    avimux\AVIMux Temp\Temp_0.avi Temp\Out.avi Temp\Temp.mp3
    Move Temp\Out.avi %1.avi
    Del /Q Temp\*.*
    Exit
    This is pretty much all I need except I want to be able to convert multiple files (batch convert a folder).
    What do I have to change in the batch file to make it convert a folder?
    Quote Quote  
  9. Member
    Join Date
    Jul 2008
    Location
    Australia
    Search Comp PM
    Never mind the last post. I just had not read the instructions carefully. It's working fine now.
    Thanks for the help.
    Quote Quote  



Similar Threads

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