VideoHelp Forum
+ Reply to Thread
Results 1 to 2 of 2
Thread
  1. Member
    Join Date
    Sep 2012
    Location
    Richmond BC
    Search Comp PM
    Hi,

    Um, pretty much what it says on the title. When I try to run a 16:9 640x478 mkv through Tx264 with 10-bit I keep getting this error

    ffms [info]: 640x478p 853:640 @ 24000/1001 fps (vfr)
    x264 [error]: height not divisible by 4 (640x478)
    x264 [error]: x264_encoder_open failed

    I'm just trying to lower the bitrate in 10-bit. Just plain x264 8 bits gets the same error and trying to crop or resize at the same time doesn't help. Cropping and resizing beforehand in something like Mediacoder also doesn't help.

    Is there a way to get around this or something involving the advanced options that I screwed up maybe? Note: I don't really know how the options in the quantisizer and partition tabs work.


    Any help would be greatly appreciated. Thank you!

    P.S.

    Here's some additional info on the video files I'm working with (or at least what MediaInfo is giving me).

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : Baseline@L3.0
    Format settings, CABAC : No
    Format settings, ReFrames : 1 frame
    Format settings, GOP : N=1
    Muxing mode : Header stripping
    Codec ID : V_MPEG4/ISO/AVC
    Duration : 23mn 1s
    Width : 640 pixels
    Height : 478 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
    Language : English
    Default : Yes
    Forced : No
    Color primaries : BT.601 NTSC
    Transfer characteristics : BT.709
    Matrix coefficients : BT.601
    Quote Quote  
  2. The problem is exactly what the error message says: 478 isn't evenly divisible by 4. The codec requires mod4 frame dimensions. Use 480 or 476.
    Quote Quote  
Visit our sponsor! Try DVDFab and backup Blu-rays!