VideoHelp Forum
+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. I have various avi, mpg, vob, mp4, wmv, files in a folder. and i want to change them to mkv container (no re encoding).
    How can i do that?

    pls suggest me some .bat file or any other tool which can do this job.

    i tried MKVBatch but its not working with vob files..
    thank you in advance.!
    Last edited by LoverOfLove; 9th Dec 2016 at 06:02.
    Quote Quote  
  2. for %%a in (*.*) do mkvmerge -o "%%~na.mkv" "%%a"
    or
    for %%a in (*.*) do ffmpeg -i "%%a" -map 0 -c copy "%%~na.mkv"

    But:
    1. mkvmerge doesn't read wmv, don't know about ffmpeg's mkv muxing abilities
    2. splitted VOBs might require special handling (binary split requires binary merge)
    3. what are you trying to achieve? Make compatible with your mkv hardware player? You will probably not succeed without re-encoding. I recommend against this repacking.
    Quote Quote  
  3. thanks for your help...

    your code work great.

    although....
    1. mkvmerge is not able to change mpg and wmv. other works fine.
    2. ffmpeg is not able to change mpg. other works fine.
    3. avidemux is able to change mpg to mkv but outputed mkv have changed width height ratio.i dont know why.


    now the problem had solved but only one problem remains.... .mpg


    i dont know that how to change mpg to mkv in batch mode.?

    pls help me with that...


    and i want to change to mkv bcoz the video i have are music videos.. and most of them have 2 tracks (dts, ac3) of audio.i also made their subtitles files.so i think it will be easy with mkv for stripping additional audio tracks and merging subtitles in batch mode with some .bat files.
    Quote Quote  



Similar Threads

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