Is it possible? i know it might be a silly question but i just want an exact copy from a mkv file to an avi without having to encode, because if i have to i rather record the video on bandicam. Its easier and would take much less time than encoding.
Thank you.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 19 of 19
Thread
-
-
why would you want to do this ? Are you asking to re-wrap into AVI container?
You can with something like ffmpeg or avc2avi, but if you are using AVC/h.264 compression in the mkv, you can get problems with the AVI container . Many devices have problems with it (can't play it at all) , and you can get studdery playback (b-frame decoder lag), and green or black frames -
You leave it in mkv container
You're probably experiencing one of the issues mentioned earlier with h.264 in AVI
Again , why are you doing this ? If you provided more context or information there might be other options -
Because i need an avi so i can edit in on virtualdub. I read it was possible to open mkvs on virtualdub but i cant. It says its an unsupported type. I tried on virtualdubmod but the program crashes as i try to save the video.
-
you can use the vdub mkv plugin or ffmpeg/ffinputdriver plugin to import mkv's into vdub
vdub mkv plugin
http://fcchandler.home.comcast.net/~fcchandler/Plugins/Matroska/
vdub ffinputdriver
http://codecpack.co/download/FFInputDriver.html -
Wow, i tried the vdub mkv plugin and now im able to open mkv files on virtualdub. Thank you. However i cant play them there. Is it normal?
-
Sorry for reopening this topic but i got another question that is still related. Now that i have opened the mkv file on virtualdub i added subtitles and logo filters. I want to compress but without losing any of the quality of the original video. Is there a way to have an exact copy of the source video except for the subtitles without being a stream copy? Im using x264 to compress and i tried to set it up in order to match the specs of the source like bitrate and all that but the output still differs from the source. The mkv source file has the following specs:
Overall bit rate : 3 195 Kbps
Encoded date : UTC 2012-04-04 22:24:19
Writing application : mkvmerge v5.2.0 ('I can't explain') built on Dec 18 2011 18:12:03
Writing library : libebml v1.2.3 + libmatroska v1.3.0
Attachment : Yes
Video
ID : 1 Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.0 Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 22mn 25s
Nominal bit rate : 3 072 Kbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 30.303 fps
Original frame rate : 29.970 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.049
Writing library : x264 core 120 r2120 0c7dab9
Encoding settings : cabac=1 / ref=4 / deblock=1:1:1 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=0.40:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=8 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / 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=50 / rc=2pass / mbtree=1 / bitrate=3072 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=6144 / vbv_bufsize=15360 / nal_hrd=none / ip_ratio=1.40 / aq=1:0.60 Default : Yes Forced : Yes
While the output avi file has the following:
File size : 489 MiB
Duration : 22mn 25s
Overall bit rate : 3 050 Kbps
Writing library : VirtualDub build 32842/release
Video
ID : 0
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 1 frame
Codec ID : H264
Duration : 22mn 25s
Bit rate : 2 911 Kbps Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 29.970 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.047
Stream size : 467 MiB (95%)
Writing library : x264 core 89 r1471kMod 1144615
Encoding settings : cabac=1 / ref=1 / deblock=1:0:0 / analyse=0x3:0x13 / me=umh / subme=7 / psy=1 / psy_rd=0.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=0 / wpredp=0 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc=crf / mbtree=0 / crf=26.0000 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00 / pulldown=0
As you may see, the oriignal has an overall bitrate of 3195 and a nominal bitrate of 3072 whereas the output has an overall bitrate of 3050 and a bitrate of 2911. Its close but not close enough, some quality was loss. I know i have to increase the bitrate in the x264 codec settings but i dont know how much exactly so i dont get any less or any more but the exact bitrate (if thats even possible). And i cant afford to be testing and testing because it takes so much time to compress. Is there a way to calculate it more precisely?
Thank you. -
Not possible unless you use a lossless format or uncompressed. You are hardcoding subtitles and logo, so you need to re-encode. Re-encoding with a lossy format means you always lose quality
Or you can use soft subs instead. No quality loss. Very fast. No re-encoding
As you may see, the oriignal has an overall bitrate of 3195 and a nominal bitrate of 3072 whereas the output has an overall bitrate of 3050 and a bitrate of 2911. Its close but not close enough, some quality was loss. I know i have to increase the bitrate in the x264 codec settings but i dont know how much exactly so i dont get any less or any more but the exact bitrate (if thats even possible). And i cant afford to be testing and testing because it takes so much time to compress. Is there a way to calculate it more precisely?
-
Thanks. Where do i change the reference frames? also, im using the smoother filter. Will that help make the video look like better quality?
-
You're re-encoding the video, you change it in the encoding settings
It's impossible to say anything about "quality" in filtering because that's quite subjective. One thing you can say for sure is smoothing filter will reduce bitrate requirements. Unless the video is very simple like cartoons, I can guess that the video looks poor at 1920x1080 3Mb/s . I would guess any smoothing filter would make things worse (it probably has low details to begin with) -
Yes, its cartoons so i dont really notice any major difference unless i use a magnifier glass, and if you do that you can see that the output is never as good as the original even if using the maximum quality settings.
-
-
Also are you noticing sync issues on the export ? or did you re-wrap the AVI after back to mkv and use timecodes
mediainfo says the souce is VFR
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 30.303 fps
Very few cartoons are 30 fps . This suggests there might be other problems, like duplicate frames choppy playback -
I havent noticed any sync issues. Or at least they are not very notorious. Maybe they are to an expert but not to me. All the cartoons videos i have seen so far are 30fps so thats the frame i always use. In fact the raws i got to make the subs are always 30fps so i stick to that frame rate. Is not good?
Also, about my old build of x264vfw. Im using Windows 7 x64 bit. where can i download the latest version from? sorry to ask but i really dont want to **** up. I would like also to use a better format than avi but since thats the format virtualdub is limited to its out of the question. I tried by frame serving to other programs but i got a lot of issues. Maybe you can recommend me a good program to use along with virtualdub so i can encode onto mkv or mp3?
Thanks
Similar Threads
-
MKV guide, Play MKV, MKV to AVI, MKV to DVD, MKV to MP4, MKV to Blu-ray
By Baldrick in forum Newbie / General discussionsReplies: 55Last Post: 29th Jun 2012, 11:19 -
MKV to AVI direct stream copy problem...
By zovx in forum Video ConversionReplies: 26Last Post: 25th May 2011, 08:14 -
Can't stream copy H.264/AC3 in .m2ts to .avi with Mediacoder. Suggestions?
By sincostan45 in forum Video ConversionReplies: 2Last Post: 19th Feb 2011, 17:42 -
direct stream copy of a mkv file Q
By Information in forum EditingReplies: 5Last Post: 20th Jul 2009, 14:06 -
Need confirmation of this SUPER settings to copy stream from FLV to AVI
By ohboy888 in forum Video ConversionReplies: 2Last Post: 20th Feb 2009, 04:59