VideoHelp Forum




+ Reply to Thread
Results 1 to 15 of 15
  1. i have a load of .mkv files that i need to convert to .avi with mp3 audio. some of them have .ogg audio and some have .acc. ive gotten to the point where i can load the files up in vdubmod and direct stream copy the video but when it doesnt encode the audio, it just drops it completly. i dont want to reencode the video, just the audio and put it in an .avi container for my phillips 642. what am i missing?
    Quote Quote  
  2. Member
    Join Date
    May 2006
    Location
    United States
    Search Comp PM
    Audacity is a great freeware audio editing software. You can Demux the audio from the streamlist in VitualDubMod, load the OGG into Audacity, Export as MP3 (you'll need the lame encoder but I'm sure you can find it)... I'm not sure, however, if you can have an AVI (which is Audio Video Interleave (edit DOH!)...) that only has audio.
    "Watch the Weather Change..."
    Quote Quote  
  3. yeah, there are over 100 files that i need to convert, so that isnt going to happen. plus i think i did something like that and had sync issues.

    i guess that last part was unclear, i want the orignal video stream and the new mp3 audio in an avi container.

    btw, AVI = Audio Video Interleave
    Quote Quote  
  4. VH Wanderer Ai Haibara's Avatar
    Join Date
    Jan 2006
    Location
    Somewhere on VideoHelp...
    Search Comp PM
    Do the MKV files have only one audio stream, and no subtitles? If so, you can always try converting them with SUPER. Maybe MKVMagic... I don't know; I haven't tried that one.

    If you have more than one audio stream and/or subtitles in any of the MKVs, however, you'll probably end up having to demux them, or only picking the stream(s) you want when processing the MKV into an AVI using VirtualDubMod.
    If cameras add ten pounds, why would people want to eat them?
    Quote Quote  
  5. Member
    Join Date
    Dec 2004
    Location
    Australia
    Search Comp PM
    I'd just use mencoder directly. "-ovc copy -oac mp3lame". You can use -aid # or -alang eng|jap|ger|etc. to specify an audio language if there is more than one.

    Checkout -lameopts help for lame encoding options. Also -noskip if it is dropping frames.
    Quote Quote  
  6. VH Wanderer Ai Haibara's Avatar
    Join Date
    Jan 2006
    Location
    Somewhere on VideoHelp...
    Search Comp PM
    True, but I wasn't sure if the OP wanted to try batch converting that way (especially since I had no way of knowing if all the movies had the same number of streams).
    If cameras add ten pounds, why would people want to eat them?
    Quote Quote  
  7. i must have forgot to add that the files all have been stripped of text streams and jap audio stream, only eng remains. ill have to try that mencoder and ghettorig some batch file to work it out.
    Quote Quote  
  8. ok the mencoder with teh afformentioned switches works great. now how do i batch process a whole bunch of files.
    Quote Quote  
  9. Member
    Join Date
    Dec 2004
    Location
    Australia
    Search Comp PM
    Add something like:
    for %%f in (*.mkv) DO (mencoder.exe -ovc copy -oac mp3lame -lameopts preset=standard:fast -noskip "%%f" -o "%%~nf.avi")

    to a batch file, then it will process all mkv's to avi's in a given dir.
    Quote Quote  
  10. Hello, when i convert from mkv to avi by virtrua dub mod the audio and subtitles plays in different times from the video, the subtitles and audio mtach together but the video different in timing how to fix this problem ?
    Quote Quote  
  11. Member
    Join Date
    Dec 2004
    Location
    Australia
    Search Comp PM
    Could be that the video is VFR. When you assume that something is CFR when it is infact VFR, its length changes. avi doesn't support VFR.
    Quote Quote  
  12. Then What shall we do with the length problem ?
    Quote Quote  
  13. Member
    Join Date
    Dec 2004
    Location
    Australia
    Search Comp PM
    Well if it is the case, then you need to convert to CFR, not just assume that the video is CFR.
    Quote Quote  
  14. what program i need to convert it to CFR ?
    Quote Quote  
  15. Member
    Join Date
    Dec 2004
    Location
    Australia
    Search Comp PM
    Probably should start with the timecode's from the mkv and AVISynth. AVISynth's directshowsource() is another option.

    From the AVISynth docs:
    Code:
    convertfps = false (in v2.56): It turns variable framerate video (vfr) into constant framerate video (cfr) by duplicating or skipping frames. This is useful when you want to open vfr video (for example mkv, rmvb, mp4, asf or wmv with hybrid video) in AviSynth. It is most useful when the fps parameter is set to the least common multiple of the component vfr rates, e.g. 120 or 119.880.
    Quote Quote  



Similar Threads

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