23.976 constant frame rate chosen, but produces variable framerate

Dec 15, 2013 at 3:09 AM
Edited Dec 15, 2013 at 4:41 AM
Hi! I am testing VidCoder 1.4.25 to encode a couple of DVDs (ripped to hdd with DVDFab). In VidCoder settings, 23.976 and constant frame rate are selected. After encoding to mp4, mediainfo shows the video frame rate is variable. Is there another setting I should change to make it use constant frame rate? I think the source is constant, but I'm not sure.

I also tested 1.5.14 beta and 1.3.4 and the same thing happens.

The two DVDs I am testing are The Simpsons season 1, disc 1 and Arrested Development season 1, disc 1.

UPDATE: I changed the frame rate setting to 29.97. After encoding, MediaInfo reports constant frame rate @ 29.97. Would there be any issues if I continue using 29.97 fps instead of 23.976 fps? Both MediaInfo and VidCoder are reporting 23.976 fps for the vob source.

Mediainfo of one of the DVD vob:

ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, BVOP : Yes
Format settings, Matrix : Custom
Format settings, GOP : Variable
Duration : 4mn 12s
Bit rate mode : Variable
Bit rate : 33.1 Mbps
Maximum bit rate : 9 800 Kbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Scan order : 2:3 Pulldown
Compression mode : Lossy
Bits/(Pixel*Frame) : 3.999
Stream size : 998 MiB (97%)
Color primaries : BT.601 NTSC
Transfer characteristics : BT.601
Matrix coefficients : BT.601
Coordinator
Dec 15, 2013 at 4:33 AM
Can you post a log? And see if you get the same result with HandBrake? If I recall correctly MediaInfo has some problem correctly detecting VFR.
Dec 15, 2013 at 5:09 AM
Edited Dec 15, 2013 at 5:11 AM
Log below. (Thanks for the great program, btw.) I haven't tried Handbrake, but I suspect the same result would happen.

VidCoder 1.4.25.0 (x64)
Starting job 1/1
Path: C:\DVDFab9\FullDisc\ARRESTED_D1
Title: 1
Chapters: 1-1
Worker ready: Service state is Opened on pipe VidCoderWorker.f7ab33a0-573f-4729-9f68-b24f2ba00059
Connecting to process 1224 on pipe VidCoderWorker.f7ab33a0-573f-4729-9f68-b24f2ba00059
[23:57:45] hb_init: starting libhb thread
[23:57:45] hb_scan: path=C:\ARRESTED_D1, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening C:\DVDFab9\FullDisc\ARRESTED_D1/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening C:\DVDFab9\FullDisc\ARRESTED_D1/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:1725: nav_get_title_list(C:\DVDFab9\FullDisc\ARRESTED_D1) failed (0000000000918270)
[23:57:45] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdread: Device (null) inaccessible, CSS authentication not available.
NAME OPEN FAILED
libdvdnav: Unable to find home directorylibdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
libdvdread: Device (null) inaccessible, CSS authentication not available.
[23:57:45] scan: DVD has 14 title(s)
[23:57:45] scan: scanning title 1
[23:57:45] scan: opening IFO for VTS 3
[23:57:45] scan: duration is 00:28:33 (1713176 ms)
[23:57:45] pgc_id: 2, pgn: 1: pgc: 00000000009207C0
[23:57:45] scan: vts=3, ttn=2, cells=0->8, blocks=0->527405, 527401 blocks
[23:57:45] scan: checking audio 1
[23:57:45] scan: id=0x80bd, lang=English (AC3), 3cc=eng ext=1
[23:57:45] scan: checking audio 2
[23:57:45] scan: id=0x81bd, lang=English (AC3), 3cc=eng ext=1
[23:57:45] scan: checking subtitle 1
[23:57:45] scan: id=0x21bd, lang=English, 3cc=eng ext=1
[23:57:45] scan: checking subtitle 2
[23:57:45] scan: id=0x23bd, lang=Espanol, 3cc=spa ext=1
[23:57:45] scan: checking subtitle 3
[23:57:45] scan: id=0x25bd, lang=Francais, 3cc=fra ext=1
[23:57:45] scan: title 1 has 6 chapters
[23:57:45] scan: chap 1 c=0->0, b=0->49236 (49237), 161121 ms
[23:57:45] scan: chap 2 c=1->2, b=49237->245478 (196242), 637657 ms
[23:57:45] scan: chap 3 c=3->4, b=245479->373324 (127846), 410520 ms
[23:57:45] scan: chap 4 c=5->6, b=373325->522862 (149538), 466661 ms
[23:57:45] scan: chap 5 c=7->7, b=522863->527395 (4533), 37037 ms
[23:57:45] scan: chap 6 c=8->8, b=527401->527405 (5), 176 ms
[23:57:45] scan: aspect = 1.77778
[23:57:45] scan: decoding previews for title 1
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[23:57:45] scan: title angle(s) 1
[23:57:45] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (Dolby Surround)
[23:57:45] scan: audio 0x81bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch)
[23:57:45] scan: 10 previews, 720x480, 23.976 fps, autocrop = 0/0/2/2, aspect 16:9, PAR 32:27
[23:57:45] libhb: scan thread found 1 valid title(s)
[23:57:45] 1 job(s) to process
[23:57:45] starting job
[23:57:45] work: track 1, compression level not supported by codec
[23:57:45] work: track 1, quality mode not supported by codec
[23:57:45] work: track 1, dithering not supported by codec
[23:57:45] sync: expecting 3863 video frames
[23:57:45] job configuration:
[23:57:45] * source
[23:57:45] + C:\DVDFab9\FullDisc\ARRESTED_D1
[23:57:45] + title 1, chapter(s) 1 to 1
[23:57:45] * destination
[23:57:45] + C:\Arrested D1 - Title 1 - Chapter 1.mp4
[23:57:45] + container: MPEG-4 (.mp4 and .m4v)
[23:57:45] * video track
[23:57:45] + decoder: mpeg2
[23:57:45] + bitrate 9800 kbps
[23:57:45] + frame rate: 23.976 fps -> constant 23.976 fps
[23:57:45] + filters
[23:57:45] + Detelecine (pullup) (default settings)
[23:57:45] + Decomb (default settings)
[23:57:45] + Framerate Shaper (1:27000000:1126125)
[23:57:45] + frame rate: 23.976 fps -> constant 23.976 fps
[23:57:45] + Crop and Scale (716:480:0:0:2:2)
[23:57:45] + source: 720 * 480, crop (0/0/2/2): 716 * 480, scale: 716 * 480
[23:57:45] + loose anamorphic
[23:57:45] + storage dimensions: 716 * 480, mod 2
[23:57:45] + pixel aspect ratio: 32 / 27
[23:57:45] + display dimensions: 848 * 480
[23:57:45] + encoder: H.264 (x264)
[23:57:45] + x264 preset: veryfast
[23:57:45] + h264 profile: main
[23:57:45] + h264 level: 4.0
[23:57:45] + quality: 20.00 (RF)
[23:57:45] * audio track 1
[23:57:45] + decoder: English (AC3) (Dolby Surround) (track 1, id 0x80bd)
[23:57:45] + bitrate: 192 kbps, samplerate: 48000 Hz
[23:57:45] + mixdown: Stereo
[23:57:45] + encoder: AAC (faac)
[23:57:45] + bitrate: 160 kbps, samplerate: 48000 Hz
libdvdnav: Using dvdnav version 4.1.3
[23:57:45] yadif thread started for segment 1
[23:57:45] yadif thread started for segment 0
[23:57:45] decomb filter thread started for segment 0
[23:57:45] decomb check thread started for segment 0
[23:57:45] mask filter thread started for segment 0
[23:57:45] mask erode thread started for segment 0
[23:57:45] mask dilate thread started for segment 0
libdvdread: Encrypted DVD support unavailable.
libdvdread: Device (null) inaccessible, CSS authentication not available.
[23:57:45] decomb check thread started for segment 1
NAME OPEN FAILED
libdvdnav: Unable to find home directorylibdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[23:57:45] mask filter thread started for segment 1
libdvdread: Encrypted DVD support unavailable.
libdvdread: Device (null) inaccessible, CSS authentication not available.
[23:57:45] mask dilate thread started for segment 1
[23:57:45] decomb filter thread started for segment 1
[23:57:45] mask erode thread started for segment 1
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[23:57:45] encx264: min-keyint: 24, keyint: 240
[23:57:45] encx264: encoding with stored aspect 32/27
[23:57:45] encx264: Encoding at constant RF 20.000000
x264 [warning]: --psnr used with psy on: results will be invalid!
x264 [warning]: --tune psnr should be used if attempting to benchmark psnr!
x264 [info]: using SAR=32/27
[23:57:45] reader: first SCR 146 id 0xe0 DTS 13915
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64
[23:57:45] mpeg2: "Chapter 1" (1) at frame 0 time 3003
x264 [info]: profile Main, level 4.0
[23:57:45] sync: first pts is 3003
[00:00:29] reader: end of chapter 1 (media 1) reached at media chapter 2
[00:00:29] reader: done. 1 scr changes
[00:00:30] work: average encoding speed for job is 23.417055 fps
[00:00:31] sync: got 3863 frames, 3863 expected
[00:00:31] decomb: deinterlaced 0 | blended 0 | unfiltered 3860 | total 3860
[00:00:31] render: 3861 frames output, 0 dropped and 1 duped for CFR/PFR
[00:00:31] render: lost time: 6006 (0 frames)
[00:00:31] render: gained time: 6006 (8 frames) (0 not accounted for)
[00:00:31] mpeg2 done: 3863 frames
x264 [info]: frame I:46 Avg QP:18.37 size: 47749 PSNR Mean Y:45.56 U:48.14 V:48.57 Avg:46.29 Global:44.65
x264 [info]: frame P:1877 Avg QP:21.72 size: 14828 PSNR Mean Y:41.20 U:44.72 V:45.12 Avg:42.09 Global:41.25
x264 [info]: frame B:1938 Avg QP:23.77 size: 3722 PSNR Mean Y:41.03 U:45.42 V:45.70 Avg:42.04 Global:40.35
x264 [info]: consecutive B-frames: 8.4% 71.8% 6.1% 13.6%
x264 [info]: mb I I16..4: 26.3% 0.0% 73.7%
x264 [info]: mb P I16..4: 10.9% 0.0% 2.6% P16..4: 37.4% 20.0% 15.7% 0.0% 0.0% skip:13.5%
x264 [info]: mb B I16..4: 2.0% 0.0% 0.2% B16..8: 21.8% 8.5% 1.7% direct:12.5% skip:53.4% L0:25.1% L1:41.9% BI:33.0%
x264 [info]: coded y,uvDC,uvAC intra: 51.5% 61.9% 26.8% inter: 27.6% 20.8% 2.3%
x264 [info]: i16 v,h,dc,p: 45% 21% 26% 8%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 18% 17% 6% 6% 7% 6% 7% 6%
x264 [info]: i8c dc,h,v,p: 54% 18% 24% 4%
x264 [info]: Weighted P-Frames: Y:7.0% UV:5.0%
x264 [info]: SSIM Mean Y:0.9749586 (16.013db)
x264 [info]: PSNR Mean Y:41.166 U:45.115 V:45.454 Avg:42.116 Global:40.800 kb/s:1850.09
[00:00:31] mux: track 0, 3861 frames, 37239564 bytes, 1850.00 kbps, fifo 2048
[00:00:31] mux: track 1, 7528 frames, 3212484 bytes, 159.59 kbps, fifo 4096
[00:00:31] libhb: work result = 0
Job completed
Queue completed
Coordinator
Dec 15, 2013 at 5:15 AM
Yeah I use HandBrake's engine so any problems it has, I have. I'd see if it happens on their GUI and if it does ask them about it.
Dec 15, 2013 at 5:18 AM
Thanks. I should have asked them first. Thanks for taking the time.