VideoHelp Forum
+ Reply to Thread
Results 1 to 5 of 5
Thread
  1. Hi.

    I have an AVC video in an mp4 container with variable frame rate that I want to clip with Avidemux without re-encoding. I extracted the timecodes from it with Avisynth and attached them with mkvmerge. According to MediaInfo, it seems to be at a constant frame rate, but the problem now is that it won't decode properly in Avidemux. All I get is a green screen, and the slider won't move. I should mention it runs perfectly fine in MPC. Any thoughts?

    MediaInfo:

    Code:
    General
    Unique ID                        : 254048518794086192186076406982705474807 (0xBF1FF708186994808B9F6726B32CECF7)
    Complete name                    : C:\Users\Josh\Desktop\Video.mkv
    Format                           : Matroska
    File size                        : 328 MiB
    Duration                         : 23mn 24s
    Overall bit rate                 : 1 957 Kbps
    Encoded date                     : UTC 2011-04-02 19:23:25
    Writing application              : mkvmerge v4.6.0 ('Still Crazy After All These Years') built on Mar 10 2011 02:50:32
    Writing library                  : libebml v1.2.0 + libmatroska v1.1.0
    
    Video
    ID                               : 1
    Format                           : AVC
    Format/Info                      : Advanced Video Codec
    Format profile                   : High@L4.0
    Format settings, CABAC           : Yes
    Format settings, ReFrames        : 8 frames
    Format settings, GOP             : N=1
    Muxing mode                      : Header stripping
    Codec ID                         : V_MPEG4/ISO/AVC
    Duration                         : 23mn 24s
    Nominal bit rate                 : 1 650 Kbps
    Width                            : 1 280 pixels
    Height                           : 720 pixels
    Display aspect ratio             : 16:9
    Frame rate                       : 23.976 fps
    Original frame rate              : 24.000 fps
    Color space                      : YUV
    Chroma subsampling               : 4:2:0
    Bit depth                        : 8 bits
    Scan type                        : Progressive
    Bits/(Pixel*Frame)               : 0.075
    Writing library                  : x264 core 78 r1310 ec46ace
    Encoding settings                : cabac=1 / ref=8 / deblock=1:1:1 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=0.5:0.0 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=6 / nr=0 / decimate=1 / mbaff=0 / constrained_intra=0 / bframes=16 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=3 / wpredb=0 / keyint=250 / keyint_min=25 / scenecut=40 / rc=2pass / mbtree=0 / bitrate=1650 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00
    
    Audio
    ID                               : 2
    Format                           : AAC
    Format/Info                      : Advanced Audio Codec
    Format profile                   : LC
    Codec ID                         : A_AAC
    Duration                         : 23mn 24s
    Channel(s)                       : 2 channels
    Channel positions                : Front: L R
    Sampling rate                    : 48.0 KHz
    Compression mode                 : Lossy
    Delay relative to video          : -42ms
    Quote Quote  
  2. are you sure it's vfr?

    you can't edit vfr video in avidemux

    cuts would require editing the timecode file, and remuxing each one into each segment (not easy to do)
    Quote Quote  
  3. I'm pretty sure the source video is VFR. Here's the MediaInfo file:
    Code:
    General
    Complete name                    : C:\Users\Josh\Videos\Anime\Naruto Shippuden\Video.mp4
    Format                           : MPEG-4
    Format profile                   : Base Media
    Codec ID                         : isom
    File size                        : 328 MiB
    Duration                         : 23mn 24s
    Overall bit rate                 : 1 957 Kbps
    Encoded date                     : UTC 2009-11-26 06:29:13
    Tagged date                      : UTC 2009-11-26 06:29:13
    
    Video
    ID                               : 1
    Format                           : AVC
    Format/Info                      : Advanced Video Codec
    Format profile                   : High@L4.0
    Format settings, CABAC           : Yes
    Format settings, ReFrames        : 8 frames
    Format settings, GOP             : N=1
    Codec ID                         : avc1
    Codec ID/Info                    : Advanced Video Coding
    Duration                         : 23mn 24s
    Bit rate mode                    : Variable
    Bit rate                         : 1 760 Kbps
    Nominal bit rate                 : 1 650 Kbps
    Maximum bit rate                 : 7 289 Kbps
    Width                            : 1 280 pixels
    Height                           : 720 pixels
    Display aspect ratio             : 16:9
    Frame rate mode                  : Variable
    Frame rate                       : 25.598 fps
    Original frame rate              : 24.000 fps
    Minimum frame rate               : 17.982 fps
    Maximum frame rate               : 29.970 fps
    Color space                      : YUV
    Chroma subsampling               : 4:2:0
    Bit depth                        : 8 bits
    Scan type                        : Progressive
    Bits/(Pixel*Frame)               : 0.075
    Stream size                      : 295 MiB (90%)
    Writing library                  : x264 core 78 r1310 ec46ace
    Encoding settings                : cabac=1 / ref=8 / deblock=1:1:1 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=0.5:0.0 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=6 / nr=0 / decimate=1 / mbaff=0 / constrained_intra=0 / bframes=16 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=3 / wpredb=0 / keyint=250 / keyint_min=25 / scenecut=40 / rc=2pass / mbtree=0 / bitrate=1650 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00
    Encoded date                     : UTC 2009-11-26 06:29:13
    Tagged date                      : UTC 2009-11-26 06:29:33
    
    Audio
    ID                               : 2
    Format                           : AAC
    Format/Info                      : Advanced Audio Codec
    Format profile                   : LC
    Codec ID                         : 40
    Duration                         : 23mn 24s
    Bit rate mode                    : Variable
    Bit rate                         : 192 Kbps
    Maximum bit rate                 : 233 Kbps
    Channel(s)                       : 2 channels
    Channel positions                : Front: L R
    Sampling rate                    : 48.0 KHz
    Compression mode                 : Lossy
    Stream size                      : 32.5 MiB (10%)
    Encoded date                     : UTC 2009-11-26 06:29:30
    Tagged date                      : UTC 2009-11-26 06:29:33
    So is there no way to convert a VFR video into CFR without re-encoding? I was under the assumption extracting the timecodes and reintegrating them would do the job. MediaInfo seems to show the resulting video is CFR, is this wrong?
    Quote Quote  
  4. You might have done it incorrectly; regardless, mediainfo isn't necessarily correct (it just reads header information)

    Also there is no way to edit VFR video without re-encoding (very easily), and there is no way to convert VFR to CFR without re-encoding.

    You lose the timecode information when you do cuts = sync issues. You need an editor that preserves timecode information while cutting, but there is no such thing that I know of

    The bottom line is you're going to have to re-encode if this is truly VFR video , otherwise you will sync issues



    The green screen is another issue , but you can try older mkvtoolix builds or other avidemux builds (incl the nightly builds which handle h.264 better)
    Last edited by poisondeathray; 2nd Apr 2011 at 15:20.
    Quote Quote  
  5. Ok, thanks for the info.
    Quote Quote  



Similar Threads

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