Problems with Handbrake Again!

ComputerWizKid

Golden Member
Apr 28, 2004
1,187
0
76
I am having another with Handbrake this time after it updated to the new version. This time it is dropping frames in the encode. I don't know if I missed a setting some where or if the input file is bad. It says something about an Mpeg2 tag botch (Which I have no idea to what that means) So is there a way to get it to work properly again? I am using MPEG Video Wizard DVD 5.0 to edit out the commercials.
Thanks

Here is one encode log

Code:
HandBrake 0.9.9.5470 - 32bit Version
OS: Microsoft Windows NT 6.1.7601 Service Pack 1
CPU: AMD Athlon(tm) II X4 635 Processor
Ram: 12284 MB, Screen: 1920x1080
Temp Dir: C:\Users\My Name\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\My Name\AppData\Roaming\HandBrake\HandBrake\0.9.9.5470

-------------------------------------------

CLI Query:  -i "D:\Video Data\Recorded TV Shows\Safe Deposit Krabs (2).mpg" -t 8 --angle 1 -c 1 -o "D:\Encoded Videos\Safe Deposit Krabs (2).mkv"  -f mkv  --deinterlace="slower" --denoise="weak" --deblock=5 --strict-anamorphic  --modulus 16 -e x264 -q 20 --vfr -a 1 -E faac -6 dpl2 -R Auto -B 160 -D 0 --gain 0 --audio-copy-mask none --audio-fallback ffac3 -x ref=2:bframes=2:subq=6:mixed-refs=0:weightb=0:8x8dct=0:trellis=0 --verbose=1
User Query: False

[22:53:07] hb_init: starting libhb thread
HandBrake 0.9.9 (2013051800) - MinGW i686 - http://handbrake.fr
4 CPUs detected
Opening D:\Video Data\Recorded TV Shows\Safe Deposit Krabs (2).mpg...
[22:53:07] hb_scan: path=D:\Video Data\Recorded TV Shows\Safe Deposit Krabs (2).mpg, title_index=8
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening D:\Video Data\Recorded TV Shows\Safe Deposit Krabs (2).mpg/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening D:\Video Data\Recorded TV Shows\Safe Deposit Krabs (2).mpg/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:1725: nav_get_title_list(D:\Video Data\Recorded TV Shows\Safe Deposit Krabs (2).mpg) failed (01A905F8)
[22:53:07] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[22:53:07] dvd: not a dvd - trying as a stream/file instead
[22:53:07] file is MPEG Program Stream
[22:53:07] Probing 1 unknown stream
[22:53:07]     Probe: Found stream mpeg2video. stream id 0xe0-0x0
[22:53:07] Found the following streams
[22:53:07]     Video Streams : 
[22:53:07]       0xe0-0x0 type MPEG2 (0x2)
[22:53:07]     Audio Streams : 
[22:53:07]       0xc0-0x0 type MPEG2 (0x4)
[22:53:07]     Subtitle Streams : 
[22:53:07]     Other Streams : 
[22:53:07] stream id 0xc0 (type 0x4 substream 0x0) audio 0xc0
[22:53:07] scan: decoding previews for title 1
[22:53:07] scan: audio 0xc0: mp2, rate=48000Hz, bitrate=200000 Unknown (MPEG2) (2.0 ch)
[22:53:07] scan: 10 previews, 704x480, 29.970 fps, autocrop = 56/60/2/0, aspect 4:3, PAR 10:11
[22:53:07] stream: 63 good frames, 0 errors (0%)
Scanning title 1 of 1, preview 10, 100.00 %[22:53:07] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: D:\Video Data\Recorded TV Shows\Safe Deposit Krabs (2).mpg
  + duration: 00:10:58
  + size: 704x480, pixel aspect: 10/11, display aspect: 1.33, 29.970 fps
  + autocrop: 56/60/2/0
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:10:58
  + audio tracks:
    + 1, Unknown (MPEG2) (2.0 ch) (iso639-2: und)
  + subtitle tracks:
[22:53:07] 1 job(s) to process
[22:53:07] starting job
[22:53:07] Yadif Deinterlace thread started for segment 0
[22:53:07] Yadif Deinterlace thread started for segment 1
[22:53:07] Yadif Deinterlace thread started for segment 2
[22:53:07] Yadif Deinterlace thread started for segment 3
[22:53:07] work: sanitizing track 1 mixdown Dolby Pro Logic II to Stereo
[22:53:07] sync: expecting 19743 video frames
[22:53:07] job configuration:
[22:53:07]  * source
[22:53:07]    + D:\Video Data\Recorded TV Shows\Safe Deposit Krabs (2).mpg
[22:53:07]    + title 1, chapter(s) 1 to 1
[22:53:07]  * destination
[22:53:07]    + D:\Encoded Videos\Safe Deposit Krabs (2).mkv
[22:53:07]    + container: Matroska (.mkv)
[22:53:07]  * video track
[22:53:07]    + decoder: mpeg2
[22:53:07]      + bitrate 6000 kbps
[22:53:07]    + frame rate: same as source (around 29.970 fps)
[22:53:07]    + filters
[22:53:07]      + Deinterlace (ffmpeg or yadif/mcdeint) (3)
[22:53:07]      + Framerate Shaper (0:27000000:900900)
[22:53:07]        + frame rate: same as source (around 29.970 fps)
[22:53:07]      + Deblock (pp7) (5)
[22:53:07]      + Denoise (hqdn3d) (2:1:2:3)
[22:53:07]      + Crop and Scale (702:364:56:60:2:0)
[22:53:07]        + source: 704 * 480, crop (56/60/2/0): 702 * 364, scale: 702 * 364
[22:53:07]    + strict anamorphic
[22:53:07]      + storage dimensions: 702 * 364, mod 0
[22:53:07]      + pixel aspect ratio: 10 / 11
[22:53:07]      + display dimensions: 638 * 364
[22:53:07]    + encoder: H.264 (x264)
[22:53:07]      + options: ref=2:bframes=2:subq=6:mixed-refs=0:weightb=0:8x8dct=0:trellis=0
[22:53:07]      + quality: 20.00 (RF)
[22:53:07]  * audio track 1
[22:53:07]    + decoder: Unknown (MPEG2) (2.0 ch) (track 1, id 0xc0)
[22:53:07]      + bitrate: 200 kbps, samplerate: 48000 Hz
[22:53:07]    + mixdown: Stereo
[22:53:07]    + encoder: AAC (faac)
[22:53:07]      + bitrate: 160 kbps, samplerate: 48000 Hz
[22:53:07] file is MPEG Program Stream
[22:53:07] Probing 1 unknown stream
[22:53:07]     Probe: Found stream mpeg2video. stream id 0xe0-0x0
[22:53:07] reader: first SCR 146 id 0xe0 DTS 12288
[22:53:07] encx264: min-keyint: 30, keyint: 300
[22:53:07] encx264: encoding with stored aspect 10/11
[22:53:07] 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=10/11
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSEMisalign LZCNT
[22:53:07] mpeg2: "Chapter 1" (1) at frame 0 time 3003
x264 [info]: profile Main, level 3.0
[22:53:07] sync: first pts is 3003
[22:54:56] mpeg2 tag botch: pts 8093085, tag pts 8060052 buf 00000000
[22:55:02] mpeg2 tag botch: pts 8582574, tag pts 8549541 buf 00000000
[22:55:03] mpeg2 tag botch: pts 8639631, tag pts 8606598 buf 00000000
[22:55:09] mpeg2 tag botch: pts 9072063, tag pts 9048039 buf 00000000
[22:55:14] mpeg2 tag botch: pts 9429420, tag pts 9396387 buf 00000000
[22:55:55] mpeg2 tag botch: pts 12408396, tag pts 12375363 buf 00000000
[22:55:55] mpeg2 tag botch: pts 12477465, tag pts 12450438 buf 00000000
[22:57:48] mpeg2 tag botch: pts 20606586, tag pts 20573553 buf 00000000
[22:58:12] mpeg2 tag botch: pts 22384362, tag pts 22360338 buf 00000000
[22:58:15] mpeg2 tag botch: pts 22564542, tag pts 22540518 buf 00000000
[22:58:35] mpeg2 tag botch: pts 23993970, tag pts 23966943 buf 00000000
[22:59:31] mpeg2 tag botch: pts 28129101, tag pts 28096068 buf 00000000
[23:00:11] mpeg2 tag botch: pts 30933903, tag pts 30909879 buf 00000000
[23:00:22] sync: video time didn't advance - dropped 1 frames (delta 0 ms, current 31750719, next 31753722, dur 3003)
[23:00:29] mpeg2 tag botch: pts 32279247, tag pts 32246214 buf 00000000
[23:00:40] mpeg2 tag botch: pts 33090057, tag pts 33063030 buf 00000000
[23:00:57] mpeg2 tag botch: pts 34366332, tag pts 34333299 buf 00000000
[23:01:03] mpeg2 tag botch: pts 34798764, tag pts 34774740 buf 00000000
[23:01:45] mpeg2 tag botch: pts 37741704, tag pts 37717680 buf 00000000
[23:02:21] mpeg2 tag botch: pts 40468428, tag pts 40441401 buf 00000000
[23:02:53] mpeg2 tag botch: pts 42972930, tag pts 42948906 buf 00000000
[23:03:13] mpeg2 tag botch: pts 44498454, tag pts 44465421 buf 00000000
[23:03:32] mpeg2 tag botch: pts 45822777, tag pts 45798753 buf 00000000
[23:04:08] mpeg2 tag botch: pts 48423375, tag pts 48399351 buf 00000000
[23:04:25] mpeg2 tag botch: pts 49690641, tag pts 49657608 buf 00000000
[23:04:38] mpeg2 tag botch: pts 50657607, tag pts 50630580 buf 00000000
[23:04:53] mpeg2 tag botch: pts 51765714, tag pts 51741690 buf 00000000
[23:05:06] mpeg2 tag botch: pts 52762710, tag pts 52729677 buf 00000000
[23:05:16] mpeg2 tag botch: pts 53486433, tag pts 53453400 buf 00000000
[23:05:37] mpeg2 tag botch: pts 54966912, tag pts 54942888 buf 00000000
[23:06:04] mpeg2 tag botch: pts 57020964, tag pts 56993937 buf 00000000
[23:06:29] mpeg2 tag botch: pts 58885827, tag pts 58861803 buf 00000000
[23:06:35] reader: done. 1 scr changes
[23:06:37] work: average encoding speed for job is 24.420879 fps
[23:06:37] sync: got 19742 frames, 19743 expected
[23:06:37] render: lost time: 0 (0 frames)
[23:06:37] render: gained time: 0 (0 frames) (0 not accounted for)
[23:06:37] mpeg2 done: 19743 frames
x264 [info]: frame I:208   Avg QP:18.35  size: 29720  PSNR Mean Y:46.22 U:49.51 V:49.97 Avg:47.07 Global:46.33
x264 [info]: frame P:8169  Avg QP:21.09  size:  5855  PSNR Mean Y:43.13 U:47.42 V:47.81 Avg:44.16 Global:43.71
x264 [info]: frame B:11364 Avg QP:23.55  size:   671  PSNR Mean Y:42.88 U:47.60 V:47.92 Avg:43.97 Global:43.60
x264 [info]: consecutive B-frames:  9.1% 18.3% 72.6%
x264 [info]: mb I  I16..4: 19.8%  0.0% 80.2%
x264 [info]: mb P  I16..4:  1.5%  0.0%  4.1%  P16..4: 38.2%  8.9%  6.6%  0.0%  0.0%    skip:40.6%
x264 [info]: mb B  I16..4:  0.7%  0.0%  0.2%  B16..8:  7.5%  2.7%  0.2%  direct: 3.3%  skip:85.3%  L0:37.2% L1:55.6% BI: 7.2%
x264 [info]: coded y,uvDC,uvAC intra: 62.9% 82.1% 56.3% inter: 9.1% 11.9% 1.5%
x264 [info]: i16 v,h,dc,p: 29% 39% 16% 16%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 26% 15%  5%  6%  6%  7%  5%  7%
x264 [info]: i8c dc,h,v,p: 32% 33% 22% 13%
x264 [info]: Weighted P-Frames: Y:0.4% UV:0.4%
x264 [info]: ref P L0: 76.8%  5.3% 17.9%  0.0%
x264 [info]: ref B L0: 73.2% 26.8%
x264 [info]: ref B L1: 91.6%  8.4%
x264 [info]: SSIM Mean Y:0.9888737 (19.536db)
x264 [info]: PSNR Mean Y:43.020 U:47.550 V:47.896 Avg:44.081 Global:43.666 kb/s:748.52
[23:06:37] mp2-decoder done: 0 frames, 0 decoder errors, 0 drops
[23:06:37] mux: track 0, 19741 frames, 61626286 bytes, 748.39 kbps, fifo 4096
[23:06:37] mux: track 1, 30880 frames, 13174208 bytes, 159.99 kbps, fifo 8192
[23:06:37] stream: 244842 good frames, 0 errors (0%)
[23:06:37] libhb: work result = 0
Encode done!
HandBrake has exited.
 

MontyAC

Diamond Member
Feb 28, 2004
4,123
1
81
After using the latest version, I reverted back to the previous version.
 

bbhaag

Diamond Member
Jul 2, 2011
6,645
2,036
146
^^^I did the same. Once they dropped the ability to choose my own file size I couldn't take it. I will use 0.9.5 for as long as it is useful. They can go screw themselves with that "constant quality" bs.
 

jkauff

Senior member
Oct 4, 2012
583
13
81
Adobe Premiere CS2 is now a free download (or it was recently, anyway). You could use that to check the integrity of the source file.
 

RadiclDreamer

Diamond Member
Aug 8, 2004
8,622
40
91
Adobe Premiere CS2 is now a free download (or it was recently, anyway). You could use that to check the integrity of the source file.

It isn't free, its just they shut down the license servers, if you aren't licensed legally you shouldn't be installing it.
 

deltaforce

Member
Sep 1, 2012
69
0
0
I don't remember the update number but then it gave me too much of headache. Nobody on Handbrake forum could solve the problem either. I switched to VidCoder, never looked back.