VideoHelp Forum




+ Reply to Thread
Results 1 to 12 of 12
  1. 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
    Quote Quote  
  2. aBigMeanie aedipuss's Avatar
    Join Date
    Oct 2005
    Location
    666th portal
    Search Comp PM
    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
    Quote Quote  
  3. 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)
    Quote Quote  
  4. 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,...
    Quote Quote  
  5. 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.
    Quote Quote  
  6. 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
    Quote Quote  
  7. 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?
    Quote Quote  
  8. 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)
    Image Attached Files
    Quote Quote  
  9. ehhh forget that , here is a mirror of fcchandler's site

    There is a 3.1 version there

    http://gral.y0.pl/~fcchandler/
    Quote Quote  
  10. 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.
    Quote Quote  
  11. You need a vfw decoder like ffdshow installed

    For aac you need aacacm (there is a link on that fcchandler page)

    Or the ffinputdriver will load basically anything without extra decoders (it comes with them)
    Quote Quote  
  12. 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.
    Quote Quote  



Similar Threads

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