What is the correct frame rate?

HandBrake for Windows support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
pfurrie
Posts: 30
Joined: Wed Sep 19, 2007 3:39 am

What is the correct frame rate?

Post by pfurrie »

So, minding my own business, happily transcoding DVD's using Handbrake. When I watch the fruits of my labor, I notice a strange jump in the video. Something isn't right. I'm viewing the file using the latest version of VLC (1.03), and I check out the file properties. Oddly, the frame rate reported by VLC is somewhere in the neighborhood of 11. What?! This is nuts. The original movie is a standard 24 frames per second affair. 11 isn't even close. Is this the cause of my strange jump (which turns out to happen often in the transcoded movie).

How does Handbrake determine frame rate, is it possible it could cause this sort of issue, and is there a solution? (btw, the "jump" in this case is a slight temporal skip of a frame, or so it seems. When you watch smooth pan or zoom or something like that, there is a bump in the scene, a discontinuity).
please_help
Posts: 29
Joined: Sun Jan 10, 2010 6:33 pm

Re: What is the correct frame rate?

Post by please_help »

So I’d first of all refer you here: http://forum.handbrake.fr/viewtopic.php?f=11&t=14494

Sorry if this doesn’t solve your problem but at least it’s a start (and I'm trying to help).
Deleted User 11865

Re: What is the correct frame rate?

Post by Deleted User 11865 »

pfurrie wrote:When I watch the fruits of my labor, I notice a strange jump in the video. Something isn't right. I'm viewing the file using the latest version of VLC (1.03), and I check out the file properties. Oddly, the frame rate reported by VLC is somewhere in the neighborhood of 11. What?! This is nuts. The original movie is a standard 24 frames per second affair. 11 isn't even close.
And (again) your log is nowhere to be seen. How do you expect us to determine anything about the settings you used and/or what could have happened during your encode without a log?
please_help
Posts: 29
Joined: Sun Jan 10, 2010 6:33 pm

Re: What is the correct frame rate?

Post by please_help »

I guess Rodeo is trying to say read the “How To Request Support for HandBrake” post.
tadhgadams
Posts: 33
Joined: Sat Dec 12, 2009 2:30 am

Re: What is the correct frame rate?

Post by tadhgadams »

pfurrie wrote: Oddly, the frame rate reported by VLC is somewhere in the neighborhood of 11. What?! This is nuts.
VLC is likely wrong. ETA: And this is not likely causing the issue you're seeing, so as Rodeo points out, a log is necessary.
pfurrie
Posts: 30
Joined: Wed Sep 19, 2007 3:39 am

Re: What is the correct frame rate?

Post by pfurrie »

Log missing = Damn!, I completely spaced the message in red at the top of the message edit screen

Here is the log:

Code: Select all

### CLI Query:  -i "E:\VIDEO_TS" -t 1 --angle 1 -c 1-32 -o "D:\dvd processing\CHARLIE_CHOCOLATE_FACTORY_D1-1.m4v" -f mp4 --strict-anamorphic  -e x264 -q 20 -a 1 -E faac -6 dpl2 -R 48 -B 160 -D 0.0 --markers="D:\Documents and Settings\Pat\Local Settings\Temp\CHARLIE_CHOCOLATE_FACTORY_D1-1-1-chapters.csv" -x ref=2:bframes=2:subq=6:mixed-refs=0:weightb=0:8x8dct=0:trellis=0 -v 1

### User Query: False

#########################################

[07:07:55] hb_init: checking cpu count
[07:07:55] hb_init: starting libhb thread
HandBrake 0.9.4 (2009112300) - MinGW i386 - http://handbrake.fr
1 CPU detected
Opening E:\VIDEO_TS...
[07:07:55] hb_scan: path=E:\VIDEO_TS, title_index=1
[07:07:55] scan: trying to open with libdvdread
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdread: Could not open input: Permission denied
libdvdread: Can't open E: for reading
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: Could not open input: Permission denied
libdvdread: Can't open E: for reading
libdvdread: Device (null) inaccessible, CSS authentication not available.
[07:07:55] scan: DVD has 7 title(s)
[07:07:55] scan: scanning title 1
[07:07:55] scan: opening IFO for VTS 1
[07:07:55] pgc_id: 1, pgn: 1: pgc: 0x153d9b8
[07:07:55] scan: vts=1, ttn=1, cells=0->32, blocks=62011->3186136, 3124126 blocks
[07:07:55] scan: duration is 01:54:46 (6886000 ms)
[07:07:55] scan: checking audio 1
[07:07:55] scan: id=80bd, lang=English (AC3), 3cc=eng ext=0
[07:07:55] scan: checking audio 2
[07:07:55] scan: id=81bd, lang=Francais (AC3), 3cc=fra ext=0
[07:07:55] scan: checking audio 3
[07:07:55] scan: id=82bd, lang=Espanol (AC3), 3cc=spa ext=0
[07:07:55] scan: checking audio 4
[07:07:55] scan: audio channel is not active
[07:07:55] scan: checking subtitle 1
[07:07:55] scan: id=21bd, lang=English, 3cc=eng
[07:07:55] scan: checking subtitle 2
[07:07:55] scan: id=23bd, lang=Francais, 3cc=fra
[07:07:55] scan: checking subtitle 3
[07:07:55] scan: id=25bd, lang=Espanol, 3cc=spa
[07:07:55] scan: title 1 has 32 chapters
[07:07:55] scan: chap 1 c=0->0, b=62011->171671 (109661), 253452 ms
[07:07:55] scan: chap 2 c=1->1, b=171672->274821 (103150), 220403 ms
[07:07:55] scan: chap 3 c=2->2, b=274822->326729 (51908), 119212 ms
[07:07:55] scan: chap 4 c=3->3, b=326730->421660 (94931), 218590 ms
[07:07:55] scan: chap 5 c=4->4, b=421661->511498 (89838), 193645 ms
[07:07:55] scan: chap 6 c=5->5, b=511499->601687 (90189), 186519 ms
[07:07:55] scan: chap 7 c=6->6, b=601688->656828 (55141), 128272 ms
[07:07:55] scan: chap 8 c=7->7, b=656829->736422 (79594), 168443 ms
[07:07:55] scan: chap 9 c=8->8, b=736423->810936 (74514), 168320 ms
[07:07:55] scan: chap 10 c=9->9, b=810937->911223 (100287), 227592 ms
[07:07:55] scan: chap 11 c=10->10, b=911224->952777 (41554), 97359 ms
[07:07:55] scan: chap 12 c=11->11, b=952778->1095921 (143144), 301538 ms
[07:07:55] scan: chap 13 c=12->12, b=1095922->1155740 (59819), 140426 ms
[07:07:55] scan: chap 14 c=13->13, b=1155741->1264683 (108943), 231599 ms
[07:07:55] scan: chap 15 c=14->15, b=1264684->1374671 (109988), 237620 ms
[07:07:55] scan: chap 16 c=16->16, b=1374672->1540211 (165540), 349800 ms
[07:07:55] scan: chap 17 c=17->17, b=1540212->1610662 (70451), 149276 ms
[07:07:55] scan: chap 18 c=18->18, b=1610663->1675885 (65223), 149442 ms
[07:07:55] scan: chap 19 c=19->19, b=1675886->1732486 (56601), 131234 ms
[07:07:55] scan: chap 20 c=20->20, b=1732487->1891779 (159293), 355688 ms
[07:07:55] scan: chap 21 c=21->21, b=1891780->1961093 (69314), 143566 ms
[07:07:55] scan: chap 22 c=22->22, b=1961094->2013978 (52885), 120234 ms
[07:07:55] scan: chap 23 c=23->23, b=2013979->2155880 (141902), 315563 ms
[07:07:55] scan: chap 24 c=24->24, b=2155881->2236960 (81080), 175366 ms
[07:07:55] scan: chap 25 c=25->25, b=2236961->2340390 (103430), 219692 ms
[07:07:55] scan: chap 26 c=26->26, b=2340391->2452541 (112151), 253638 ms
[07:07:55] scan: chap 27 c=27->27, b=2452542->2593461 (140920), 309739 ms
[07:07:55] scan: chap 28 c=28->28, b=2593462->2687508 (94047), 209550 ms
[07:07:55] scan: chap 29 c=29->29, b=2687509->2797247 (109739), 255466 ms
[07:07:55] scan: chap 30 c=30->30, b=2797248->2886923 (89676), 193355 ms
[07:07:55] scan: chap 31 c=31->31, b=2886924->3003115 (116192), 268665 ms
[07:07:55] scan: chap 32 c=32->32, b=3003116->3186136 (183021), 392721 ms
[07:07:55] scan: aspect = 0
[07:07:55] scan: decoding previews for title 1
[07:07:55] scan: title angle(s) 1
[07:07:55] scan: audio 0x82bd: AC-3, rate=48000Hz, bitrate=448000 Espanol (AC3) (5.1 ch)
[07:07:55] scan: audio 0x81bd: AC-3, rate=48000Hz, bitrate=448000 Francais (AC3) (5.1 ch)
[07:07:55] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
Scanning title 1[07:07:55] scan: 10 previews, 720x480, 23.976 fps, autocrop = 0/0/2/0, aspect 16:9, PAR 32:27
[07:07:55] scan: title (0) job->width:720, job->height:400
...
[07:07:55] libhb: scan thread found 1 valid title(s)
+ title 1:
  + vts 1, ttn 1, cells 0->32 (3124126 blocks)
  + angle(s) 1
  + duration: 01:54:46
  + size: 720x480, pixel aspect: 32/27, display aspect: 1.78, 23.976 fps
  + autocrop: 0/0/2/0
  + chapters:
    + 1: cells 0->0, 109661 blocks, duration 00:04:13
    + 2: cells 1->1, 103150 blocks, duration 00:03:40
    + 3: cells 2->2, 51908 blocks, duration 00:01:59
    + 4: cells 3->3, 94931 blocks, duration 00:03:39
    + 5: cells 4->4, 89838 blocks, duration 00:03:14
    + 6: cells 5->5, 90189 blocks, duration 00:03:07
    + 7: cells 6->6, 55141 blocks, duration 00:02:08
    + 8: cells 7->7, 79594 blocks, duration 00:02:48
    + 9: cells 8->8, 74514 blocks, duration 00:02:48
    + 10: cells 9->9, 100287 blocks, duration 00:03:48
    + 11: cells 10->10, 41554 blocks, duration 00:01:37
    + 12: cells 11->11, 143144 blocks, duration 00:05:02
    + 13: cells 12->12, 59819 blocks, duration 00:02:20
    + 14: cells 13->13, 108943 blocks, duration 00:03:52
    + 15: cells 14->15, 109988 blocks, duration 00:03:58
    + 16: cells 16->16, 165540 blocks, duration 00:05:50
    + 17: cells 17->17, 70451 blocks, duration 00:02:29
    + 18: cells 18->18, 65223 blocks, duration 00:02:29
    + 19: cells 19->19, 56601 blocks, duration 00:02:11
    + 20: cells 20->20, 159293 blocks, duration 00:05:56
    + 21: cells 21->21, 69314 blocks, duration 00:02:24
    + 22: cells 22->22, 52885 blocks, duration 00:02:00
    + 23: cells 23->23, 141902 blocks, duration 00:05:16
    + 24: cells 24->24, 81080 blocks, duration 00:02:55
    + 25: cells 25->25, 103430 blocks, duration 00:03:40
    + 26: cells 26->26, 112151 blocks, duration 00:04:14
    + 27: cells 27->27, 140920 blocks, duration 00:05:10
    + 28: cells 28->28, 94047 blocks, duration 00:03:30
    + 29: cells 29->29, 109739 blocks, duration 00:04:15
    + 30: cells 30->30, 89676 blocks, duration 00:03:13
    + 31: cells 31->31, 116192 blocks, duration 00:04:29
    + 32: cells 32->32, 183021 blocks, duration 00:06:33
  + audio tracks:
    + 1, English (AC3) (5.1 ch) (iso639-2: eng), 48000Hz, 448000bps
    + 2, Francais (AC3) (5.1 ch) (iso639-2: fra), 48000Hz, 448000bps
    + 3, Espanol (AC3) (5.1 ch) (iso639-2: spa), 48000Hz, 448000bps
  + subtitle tracks:
    + 1, English (iso639-2: eng) (Bitmap)
    + 2, Francais (iso639-2: fra) (Bitmap)
    + 3, Espanol (iso639-2: spa) (Bitmap)
    + 4, Closed Captions (iso639-2: eng) (Text)
Reading chapter markers from file D:\Documents and Settings\Pat\Local Settings\Temp\CHARLIE_CHOCOLATE_FACTORY_D1-1-1-chapters.csv
[07:07:55] 1 job(s) to process
[07:07:55] starting job
[07:07:55] job configuration:
[07:07:55]  * source
[07:07:55]    + E:\VIDEO_TS
[07:07:55]    + title 1, chapter(s) 1 to 32
[07:07:55]  * destination
[07:07:55]    + D:\dvd processing\CHARLIE_CHOCOLATE_FACTORY_D1-1.m4v
[07:07:55]    + container: MPEG-4 (.mp4 and .m4v)
[07:07:55]      + chapter markers
[07:07:55]  * video track
[07:07:55]    + decoder: mpeg2
[07:07:55]      + bitrate 8000 kbps
[07:07:55]    + frame rate: same as source (around 23.976 fps)
[07:07:55]    + strict anamorphic
[07:07:55]      + modulus: 0
[07:07:55]      + storage dimensions: 720 * 480 -> 718 * 480, crop 0/0/2/0
[07:07:55]      + pixel aspect ratio: 32 / 27
[07:07:55]      + display dimensions: 850 * 480
[07:07:55]    + encoder: x264
[07:07:55]      + options: ref=2:bframes=2:subq=6:mixed-refs=0:weightb=0:8x8dct=0:trellis=0
[07:07:55]      + quality: 20.00 (RF)
[07:07:55]  * audio track 0
[07:07:55]    + decoder: English (AC3) (5.1 ch) (track 1, id 80bd)
[07:07:55]      + bitrate: 448 kbps, samplerate: 48000 Hz
[07:07:55]    + mixdown: Dolby Pro Logic II
[07:07:55]    + encoder: faac
[07:07:55]      + bitrate: 160 kbps, samplerate: 48000 Hz
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdread: Could not open input: Permission denied
libdvdread: Can't open E: for reading
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: Could not open input: Permission denied
libdvdread: Can't open E: for reading
libdvdread: Device (null) inaccessible, CSS authentication not available.
[07:07:55] encx264: keyint-min: 24, keyint-max: 240
[07:07:55] encx264: encoding with stored aspect 32/27
[07:07:55] encx264: Encoding at constant RF 20.000000
x264 [info]: using SAR=32/27
x264 [info]: using cpu capabilities: MMX2 Cache64
x264 [info]: profile Main, level 3.0
No accelerated IMDCT transform found
[07:07:55] sync: expecting 165122 video frames
[07:07:58] reader: first SCR 146 id 224 DTS 1092
[07:07:58] mpeg2: "Chapter 1" (1) at frame 0 time 10510
[07:07:58] sync: first pts is 10510
[07:20:39] mpeg2: "Chapter 2" (2) at frame 6070 time 22795773
[07:30:21] mpeg2: "Chapter 3" (3) at frame 11358 time 42645603
[07:35:09] mpeg2: "Chapter 4" (4) at frame 14213 time 53361808
[07:43:29] mpeg2: "Chapter 5" (5) at frame 19451 time 73023951
[07:51:48] mpeg2: "Chapter 6" (6) at frame 24090 time 90438348
[07:59:26] mpeg2: "Chapter 7" (7) at frame 28574 time 107270163
[08:04:11] mpeg2: "Chapter 8" (8) at frame 31655 time 118834716
[08:11:11] mpeg2: "Chapter 9" (9) at frame 35697 time 134007373
[08:17:01] mpeg2: "Chapter 10" (10) at frame 39746 time 149207058
[08:26:01] mpeg2: "Chapter 11" (11) at frame 45214 time 169732563
[08:29:18] mpeg2: "Chapter 12" (12) at frame 47562 time 178546368
[08:42:10] mpeg2: "Chapter 13" (13) at frame 54785 time 205658953
[08:48:02] mpeg2: "Chapter 14" (14) at frame 58157 time 218316598
[08:57:30] mpeg2: "Chapter 15" (15) at frame 63722 time 239206968
[09:07:43] mpeg2: "Chapter 16" (16) at frame 69438 time 260663804
[09:22:42] mpeg2: "Chapter 17" (17) at frame 77825 time 292145754
[09:29:15] mpeg2: "Chapter 18" (18) at frame 81410 time 305603699
[09:34:55] mpeg2: "Chapter 19" (19) at frame 84997 time 319067649
[09:41:22] mpeg2: "Chapter 20" (20) at frame 88141 time 330869439
[09:56:04] mpeg2: "Chapter 21" (21) at frame 96679 time 362918957
[10:02:45] mpeg2: "Chapter 22" (22) at frame 100126 time 375858884
[10:08:24] mpeg2: "Chapter 23" (23) at frame 103022 time 386729744
[10:22:12] mpeg2: "Chapter 24" (24) at frame 110581 time 415103589
[10:29:13] mpeg2: "Chapter 25" (25) at frame 114799 time 430936907
[10:39:45] mpeg2: "Chapter 26" (26) at frame 120062 time 450693644
[10:51:21] mpeg2: "Chapter 27" (27) at frame 126154 time 473561489
[11:05:42] mpeg2: "Chapter 28" (28) at frame 133590 time 501474374
[11:15:36] mpeg2: "Chapter 29" (29) at frame 138617 time 520343724
[11:25:12] mpeg2: "Chapter 30" (30) at frame 144746 time 543351209
[11:32:19] mpeg2: "Chapter 31" (31) at frame 149386 time 560768609
[11:42:28] mpeg2: "Chapter 32" (32) at frame 155838 time 584987804
[11:52:22] reader: done. 1 scr changes
[11:52:25] sync: got 165259 frames, 165122 expected
[11:52:25] work: average encoding speed for job is 9.682920 fps
[11:52:32] mux: track 0, 165260 frames, 855406523 bytes, 992.80 kbps, fifo 64
[11:52:32] mux: track 1, 323104 frames, 137792042 bytes, 159.92 kbps, fifo 512
[11:52:32] mpeg2 done: 165260 frames
[11:52:32] render: lost time: 0 (0 frames)
[11:52:32] render: gained time: 0 (0 frames) (0 not accounted for)
[11:52:32] encx264: 1 frames had to be split (165259 in, 165298 out)
x264 [info]: frame I:2284  Avg QP:16.42  size: 38587  PSNR Mean Y:47.97 U:50.42 V:50.90 Avg:48.64 Global:48.13
x264 [info]: frame P:77273 Avg QP:20.47  size:  7982  PSNR Mean Y:44.52 U:47.88 V:48.49 Avg:45.29 Global:44.69
x264 [info]: frame B:85703 Avg QP:22.29  size:  1757  PSNR Mean Y:43.70 U:47.14 V:47.76 Avg:44.52 Global:43.94
x264 [info]: consecutive B-frames: 14.8% 25.2% 60.0%
x264 [info]: mb I  I16..4: 24.2%  0.0% 75.8%
x264 [info]: mb P  I16..4:  3.5%  0.0%  4.4%  P16..4: 50.8% 12.4%  7.0%  0.0%  0.0%    skip:21.9%
x264 [info]: mb B  I16..4:  3.2%  0.0%  0.7%  B16..8: 17.9%  1.1%  0.6%  direct: 9.2%  skip:67.3%  L0:33.4% L1:50.8% BI:15.8%
x264 [info]: coded y,uvDC,uvAC intra: 50.3% 68.0% 38.6% inter: 12.0% 20.5% 2.7%
x264 [info]: i16 v,h,dc,p: 39% 20% 20% 21%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 16% 19%  6%  7%  8%  6%  7%  5%
x264 [info]: Weighted P-Frames: Y:3.6%
x264 [info]: ref P L0: 61.5% 19.5% 19.0%
x264 [info]: SSIM Mean Y:0.9828817
x264 [info]: PSNR Mean Y:44.142 U:47.533 V:48.144 Avg:44.937 Global:44.316 kb/s:992.94
[11:52:32] libhb: work result = 0

Rip done!
HandBrake has exited.
Deleted User 11865

Re: What is the correct frame rate?

Post by Deleted User 11865 »

pfurrie wrote:How does Handbrake determine frame rate
It doesn't determine the frame rate at all, it just passes through the source timestamps (when using Same as source).
pfurrie wrote:

Code: Select all

[07:07:55] scan: scanning title 1
[07:07:55] scan: opening IFO for VTS 1
[07:07:55] pgc_id: 1, pgn: 1: pgc: 0x153d9b8
[07:07:55] scan: vts=1, ttn=1, cells=0->32, blocks=62011->3186136, 3124126 blocks
[07:07:55] scan: duration is 01:54:46 (6886000 ms)

[…]

[11:52:32] mux: track 0, 165260 frames, 855406523 bytes, 992.80 kbps, fifo 64
This encode has an average frame rate of ~24.00 fps.
Post Reply