VideoHelp Forum




+ Reply to Thread
Results 1 to 22 of 22
  1. Member
    Join Date
    Jun 2013
    Location
    Chicago
    Search Comp PM
    Anyone know a simple program that turn mkv to avi without quality losses and minimum size gain? Please post a tutorial
    Quote Quote  
  2. Banned
    Join Date
    Oct 2004
    Location
    Freedonia
    Search Comp PM
    It is theoretically possible to demux an MKV file into separate video and audio files and possibly mux them together into an AVI file with no quality loss ("possibly" because AVI must support the video and audio codecs), but with a "simple program"? Nope. Playback devices other than PCs will likely refuse to play such AVIs, which means you will have to convert and lose quality.

    Tutorial? Ha ha ha ha ha. Yeah, right. Please give me a cashier's check for $10,000 and I'll post a tutorial once I have your money.
    Quote Quote  
  3. Member
    Join Date
    Nov 2003
    Location
    West Texas
    Search PM
    Avidemux can take the video and audio streams in your mkv file and remux them into an avi file. The likely outcome is a file that doesn't play well, or isn't recognized by many players.

    MKV files usually have H264 video and AAC or AC3 audio these days. H264 in an avi file is possible, but not optimal. So if you absolutely have to have an avi container format, you might want to convert to xvid and MP3 audio. Avidemux can do this conversion for you, but it isn't the only choice. There are any number of converters that can do this, like Xvid4PSP or Video to Video Converter.

    Check the mkv file that you have now with MediaInfo and find out what codecs are used in them.

    If you are going to use Avidemux, set the Video to Mpeg4 ASP (xvid). In the audio control, mp3 is usually a safe choice of format for audio in avi files. If you are starting with multichannel audio, you might have to go into Filters in the Audio output and remix down to stereo sound. Output format set to AVI Muxer, and when you create a name for you new video, make sure to use an .avi extension.

    No guarantees on file size or loss of quality. When converting, you'll lose a bit, but may not be noticeable. Xvid will have inferior compression, so its very likely to increase in size.
    Last edited by Kerry56; 9th Jul 2013 at 19:08.
    Quote Quote  
  4. Member
    Join Date
    Jun 2013
    Location
    Chicago
    Search Comp PM
    Originally Posted by Kerry56 View Post
    Avidemux can take the video and audio files in your mkv file and mux them into an avi file. The likely outcome is a file that doesn't play well, or isn't recognized by many players.

    MKV files usually have H264 video and AAC or AC3 audio these days. H264 in an avi file is possible, but not optimal. So if you absolutely have to have an avi container format, you might want to convert to xvid and AC3 or MP3 audio. Avidemux can do this conversion for you, but it isn't the only choice. There are any number of converters that can do this, like Xvid4PSP or Video to Video Converter.

    Check the mkv file that you have now with MediaInfo and find out what codecs are used in them.

    If you are going to use Avidemux, set the Video to Mpeg4 ASP (xvid). In the audio control, mp3 is usually a safe choice of format for audio in avi files. If you are starting with multichannel audio, you might have to go into Filters in the Audio output and remix down to stereo sound.
    I don't care about the audio, I just want the video format to avi I try using Avidemux but it didn't work.

    Format : Matroska
    Format version : Version 2
    File size : 72.0 MiB
    Duration : 23mn 4s
    Overall bit rate : 436 Kbps
    Encoded date : UTC 2012-11-09 20:38:36
    Writing application : mkvmerge v4.9.1 ('Ich will') built on Jul 11 2011 23:53:15
    Writing library : libebml v1.2.1 + libmatroska v1.1.1
    Attachment : Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High 10@L5.0
    Format settings, CABAC : Yes
    Format settings, ReFrames : 16 frames
    Muxing mode : Header stripping
    Codec ID : V_MPEG4/ISO/AVC
    Duration : 23mn 4s
    Width : 1 280 pixels
    Height : 720 pixels
    Display aspect ratio : 16:9
    Frame rate mode : Constant
    Frame rate : 29.970 fps
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 10 bits
    Scan type : Progressive
    Writing library : x264 core 125 r2208 d9d2288
    Encoding settings : cabac=1 / ref=16 / deblock=1:1:2 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / psy_rd=0.40:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=24.0 / qcomp=0.60 / qpmin=0 / qpmax=81 / qpstep=4 / ip_ratio=1.40 / aq=1:0.60
    Language : English
    Default : Yes
    Forced : No
    Quote Quote  
  5. Originally Posted by Choey View Post
    I just want the video format (AVC) to avi I try using Avidemux but it didn't work.
    What do you mean by "it didn't work"? AviDemux couldn't open the file? It opened the file but failed writing the AVI? It succeeded in writing the AVI but you weren't able to use the AVI in some other program? Did you get any error messages?
    Quote Quote  
  6. Member
    Join Date
    Nov 2003
    Location
    West Texas
    Search PM
    Like I said, remuxing it straight into avi format wasn't likely to work well. Or in this case, at all.
    Quote Quote  
  7. Try MKVCleaver. It has an option when extracting the video from an MKV file to also remux it as an AVI. It's always worked successfully for me. It requires MKVToolNix to be installed.

    VirtualDub should be able to do it. You'll need this plugin so it can open MKV files, then disable the audio and save the video as an AVI using direct stream copy as the video compression method.

    When you open a file for conversion using Video To Video Converter, one of the conversion presets is "remuxing". You should be able to select AVI as the output container.

    All the above methods will take the original video and put it in an AVI container. The video isn't converted. If you want to convert the video to an AVI friendly format (most hardware players probably won't play the video in question in an AVI) that's a different story. Video To Video Converter is simple to use and will also convert the video.
    Last edited by hello_hello; 9th Jul 2013 at 19:36.
    Quote Quote  
  8. Member
    Join Date
    Jun 2013
    Location
    Chicago
    Search Comp PM
    Originally Posted by jagabo View Post
    Originally Posted by Choey View Post
    I just want the video format (AVC) to avi I try using Avidemux but it didn't work.
    What do you mean by "it didn't work"? AviDemux couldn't open the file? It opened the file but failed writing the AVI? It succeeded in writing the AVI but you weren't able to use the AVI in some other program? Did you get any error messages?
    Give me a green screen and unknown frame type
    Quote Quote  
  9. Originally Posted by Choey View Post
    Originally Posted by jagabo View Post
    Originally Posted by Choey View Post
    I just want the video format (AVC) to avi I try using Avidemux but it didn't work.
    What do you mean by "it didn't work"? AviDemux couldn't open the file? It opened the file but failed writing the AVI? It succeeded in writing the AVI but you weren't able to use the AVI in some other program? Did you get any error messages?
    Give me a green screen and unknown frame type
    What gave you that symptom? AviDemux? The AVI it made? In what Program? I can't read your mind. You have to put it in writing.
    Quote Quote  
  10. Member
    Join Date
    Jun 2013
    Location
    Chicago
    Search Comp PM
    Originally Posted by jagabo View Post
    Originally Posted by Choey View Post
    Originally Posted by jagabo View Post
    Originally Posted by Choey View Post
    I just want the video format (AVC) to avi I try using Avidemux but it didn't work.
    What do you mean by "it didn't work"? AviDemux couldn't open the file? It opened the file but failed writing the AVI? It succeeded in writing the AVI but you weren't able to use the AVI in some other program? Did you get any error messages?
    Give me a green screen and unknown frame type
    What gave you that symptom? AviDemux? The AVI it made? In what Program? I can't read your mind. You have to put it in writing.
    OK the file I want to turn to avi is this, I open it when AviDemux I make the video output Mpeg4 AVC (x264) when I hit save it saved in 1 second and I can't open it
    Format : Matroska
    Format version : Version 2
    File size : 72.0 MiB
    Duration : 23mn 4s
    Overall bit rate : 436 Kbps
    Encoded date : UTC 2012-11-09 20:38:36
    Writing application : mkvmerge v4.9.1 ('Ich will') built on Jul 11 2011 23:53:15
    Writing library : libebml v1.2.1 + libmatroska v1.1.1
    Attachment : Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High 10@L5.0
    Format settings, CABAC : Yes
    Format settings, ReFrames : 16 frames
    Muxing mode : Header stripping
    Codec ID : V_MPEG4/ISO/AVC
    Duration : 23mn 4s
    Width : 1 280 pixels
    Height : 720 pixels
    Display aspect ratio : 16:9
    Frame rate mode : Constant
    Frame rate : 29.970 fps
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 10 bits
    Scan type : Progressive
    Writing library : x264 core 125 r2208 d9d2288
    Encoding settings : cabac=1 / ref=16 / deblock=1:1:2 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / psy_rd=0.40:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=24.0 / qcomp=0.60 / qpmin=0 / qpmax=81 / qpstep=4 / ip_ratio=1.40 / aq=1:0.60
    Language : English
    Default : Yes
    Forced : No
    Quote Quote  
  11. Member
    Join Date
    Nov 2003
    Location
    West Texas
    Search PM
    Try putting the Video and Audio on Copy. Leave the Output to AVI Mixer.

    I still don't think this will play well.
    Quote Quote  
  12. Originally Posted by Choey View Post
    OK the file I want to turn to avi is this, I open it when AviDemux I make the video output Mpeg4 AVC (x264) when I hit save it saved in 1 second and I can't open it
    Your source video is already AVC. Leave Video Output and Audio Output set to Copy. Set the Output Format to AVI Muxer. That will also be very fast because all it is doing is taking the audio and video out of one container (MKV) and putting it into another (AVI). Like taking a cake out of one box and putting it in another.

    As others have noted though, some programs (and hardware media players) can't handle AVC in AVI.
    Quote Quote  
  13. In direct response to your question you're getting a lot of good advice about how to create files that won't work. Maybe if you would explain WHY you're trying to do this, what you're hoping to accomplish, there would be some workable solutions.
    Quote Quote  
  14. Member
    Join Date
    Jun 2013
    Location
    Chicago
    Search Comp PM
    Originally Posted by smrpix View Post
    In direct response to your question you're getting a lot of good advice about how to create files that won't work. Maybe if you would explain WHY you're trying to do this, what you're hoping to accomplish, there would be some workable solutions.
    Trying to turn the mkv to avi because I found a program that removed subtitles from avi format only.
    Quote Quote  
  15. Seriously? That's like buying a new car to fix a flat tire. Use mkvtoolnix, uncheck the subtitles and remux. Done.
    Quote Quote  
  16. Originally Posted by smrpix View Post
    Seriously? That's like buying a new car to fix a flat tire. Use mkvtoolnix, uncheck the subtitles and remux. Done.
    The subs are burned into the video.
    https://forum.videohelp.com/threads/357282-How-to-remove-hard-sub-from-mp4?p=2253068#post2253068
    Quote Quote  
  17. Choey, the mkv file has Bit depth : 10 bits according to the mediainfo you posted, Which media player can play it successfully on your PC? Except for broadcast we do not encode anything with 10 bits bit-depth, unless and until you have professional broadcast grade decoder.
    Last edited by enim; 9th Jul 2013 at 23:44.
    Quote Quote  
  18. Member
    Join Date
    Jun 2003
    Location
    United Kingdom
    Search Comp PM
    Originally Posted by enim View Post
    Choey, the mkv file has Bit depth : 10 bits according to the mediainfo you posted, Which media player can play it successfully on your PC? Except for broadcast we do not encode anything with 10 bits bit-depth, unless and until you have professional broadcast grade decoder.
    Many anime are now encoded "10 bit" for fansub release. MPC-HC plays them fine.

    To OP - If the subs are burned into the video, you cannot remove them. You can blur them, cover them up, crop them away (all of which will require re-encoding - and incidentaly ruin the movie), but you won't satisfactorily remove them.
    If the subs are soft subs contained in the MKV container, either de-select "subtitles ON"/select "subtitles OFF" in whatever you're playing this on, or demux then remux without the subtitle stream.
    Quote Quote  
  19. Many anime are now encoded "10 bit" for fansub release. MPC-HC plays them fine.
    FFMPEG or Mencoder will convert into AVI for sure. OMG! one more conversion either to 8bit mkv or avi for making it compatible with stand-alone players.
    Last edited by enim; 10th Jul 2013 at 14:35.
    Quote Quote  
  20. Member
    Join Date
    Jan 2007
    Location
    United States
    Search Comp PM
    useless comment follows

    all of this is why i stay away from MKV files
    Quote Quote  
  21. How does anything in this thread reflect badly on using an MKV container?
    Quote Quote  
  22. useless comment follows
    Not to me! If it could have been nice 8bit mkv or XViD-HD, it could have save lot of time of OP and all other members who offered help, plus time and loss of quality in Re-Encode, that's what I really HATE! I thought I am the only ...... here, I mean stupid, referring to those smart ... who encode 10bits for personal use. Defintely @@@@ @@@@ @@ is more than @@@@ @@@@, plus visually it looks better as well, but, who knows when it comes to the performance on real-world stage.
    Last edited by enim; 10th Jul 2013 at 15:31.
    Quote Quote  



Similar Threads

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