Here's the info for the MKV. I want to break it into the parts I want and capture all of the frames from said part. Here's the full media info for it. I've tried using Avidemux which never really works well with h264. Also, if you are going to suggest Virtualdub then please tell me what Avisynth script I need to open the file with it.
General
Unique ID : 201623079665454274000258759527133321180 (0x97AF315236A25D54ADD1B205764797DC)
Complete name : C:\Video
Format : Matroska
Format version : Version 2
File size : 529 MiB
Duration : 23mn 9s
Overall bit rate : 3 193 Kbps
Encoded date : UTC 2012-12-13 18:46:35
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 : 23mn 9s
Nominal bit rate : 3 072 Kbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.062
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=23 / 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
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : A_AAC
Duration : 23mn 9s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 KHz
Compression mode : Lossy
Default : Yes
Forced : Yes
Text
ID : 3
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Compression mode : Lossless
Default : Yes
Forced : Yes
+ Reply to Thread
Results 1 to 12 of 12
-
-
since it's avc/264 video with gop of about 250 frames you are not going to get frame accurate cuts. you can only select the i frames and where they lie isn't up to you. if frame accurate cutting is needed you might re-encode it to a lossless avi and then cut that up.
--
"a lot of people are better dead" - prisoner KSC2-303 -
Clarify exactly what do you mean by "I want and capture all of the frames from said part" ?
Did you want an mkv, image sequence (like png, jpg) ?
Do you care if you re-encode ? (Avisynth frameserves uncompressed video, so you have to re-encode , unless you want to leave it uncompressed)
You can use a smart editor like solveigMM Video Splitter, which will be frame accurate (only re-encodes the few frames around the cutsite within a GOP)
There are no free tools are frame accurate for splitting h.264/mkv (in terms of direct stream copy) -
The alpha of MKV Cutter (tool I wrote a while back) should work for progressive avc material if he wants to cut the content frame-accurate.
If he wants to export png/jpg files from a specific region, Virtual Dub or ffmpeg should both be able to to it,... -
Sorry guys, let me clarify. I am looking to get an image sequence in png or jpg. I'm looking for something that can do that. Thanks for the tips on frame accurate splitting though, that's something else that I had been wondering about.
-
you don't need avisynth to load mkv into vdub, you can use the vdub mkv import plugin, or vdub ffinputdriver
http://fcchandler.home.comcast.net/%7Efcchandler/Plugins/Matroska/
http://code.google.com/p/ffinputdriver/downloads/list
But if you wanted to use avisynth use ffms2
http://code.google.com/p/ffmpegsource/
e.g
FFVideoSource("video.mkv")
ConvertToRGB(matrix="Rec709")
The avisynth method will give you "proper" colors from HD source, because the other vdub RGB conversion will use Rec601 (colors will be slightly off)
In vdub you mark in/mark out => file=> export image sequence
An alternate method - you can actually use imagewriter() if you want in avisynth/avspmod and use trim() to cut your segments (you don't actually need vdub)
http://avisynth.org/mediawiki/ImageWriter -
Thank,s I don't really need the colors to be that accurate for my needs so I'll go with the first method, but the first link is temporarily unavailable to me. Can you link to a mirror please?
-
Yes, it appears to be down
I don't know if this is the most current version, maybe someone has a newer one
Matroska Plugin Version 1.8 (December 24, 2010) -
ehhh forget that , here is a mirror of fcchandler's site
There is a 3.1 version there
http://gral.y0.pl/~fcchandler/ -
Thanks, I can open the file, but when I do it says missing codec and neither the audio or video plays. I also installed the mpeg-2 plugin, but the result is the same.
-
Thanks, I'll juts use the ffinputdriver then. Do you know where I place the two folders(.svn and ffdlls) that come with it? I assume they just go in vdub's directory and the plugin goes in the plugins folder. I also tried installing ffdshow, but it hasn't solved the problem.
Last edited by ROBO731; 15th Dec 2012 at 21:24.
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 24 frames to 25?
By bagmand22 in forum Video ConversionReplies: 0Last Post: 5th Apr 2011, 01:52 -
Loss of frames when playing mkv/mp4 etc
By periodrage in forum Software PlayingReplies: 6Last Post: 16th Jan 2011, 15:45 -
How Do I Get Still Frames from a .mkv File?
By Tchail in forum Video ConversionReplies: 3Last Post: 18th Sep 2009, 08:56 -
MKV to MPEG2 - Not dropping frames, but not smooth - think it's audio
By Shade00 in forum Video ConversionReplies: 11Last Post: 18th Feb 2008, 13:20