Here's a 30s sample of the first 30 seconds of a show which reproduces the problem (47.7mb): https://dl.dropboxusercontent.com/u/147 ... _sample.ts
And here's my log from trying to encode the above sample:
Code: Select all
HandBrake svn5671 (Nightly Build) - 64bit Version
OS: Microsoft Windows NT 6.2.9200.0
CPU: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
Ram: 15313 MB, Screen: 1280x1024
Temp Dir: C:\Users\spooky\AppData\Local\Temp\
Install Dir: C:\Program Files\Video\Handbrake
Data Dir: C:\Users\spooky\AppData\Roaming\HandBrake\HandBrake\0.0.0.5671
-------------------------------------------
CLI Query: -i "C:\Users\spooky\Desktop\Loothor_sample.ts" -t 1 --angle 1 -c 1 -o "C:\PCH\_qsv\Loothor Sample-1.mkv" -f mkv -w 1280 --loose-anamorphic --modulus 16 -e qsv_h264 -b 3000 --cfr -a 1 -E copy -6 auto -R Auto -B 0 -D 0 --gain 0 --audio-fallback ac3 --h264-level="4.1" --h264-profile=high -x target-usage=2 --verbose=2
User Query: False
[12:33:09] Intel Quick Sync Video support: yes
[12:33:09] - 3rd gen. Intel Core processor
[12:33:09] - hardware name: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
[12:33:09] - hardware version: 1.7 (minimum: 1.3)
[12:33:09] hb_init: starting libhb thread
[12:33:09] thread 3b650e0 started ("libhb")
HandBrake svn5671 (2013072701) - MinGW x86_64 - http://handbrake.fr
8 CPUs detected
Opening C:\Users\spooky\Desktop\Loothor_sample.ts...
[12:33:09] hb_scan: path=C:\Users\spooky\Desktop\Loothor_sample.ts, title_index=1
[12:33:09] thread 3b65280 started ("scan")
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening C:\Users\spooky\Desktop\Loothor_sample.ts/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening C:\Users\spooky\Desktop\Loothor_sample.ts/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:1725: nav_get_title_list(C:\Users\spooky\Desktop\Loothor_sample.ts) failed (0000000003b65e00)
[12:33:09] 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
[12:33:09] dvd: not a dvd - trying as a stream/file instead
[12:33:09] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[12:33:09] Found the following PIDS
[12:33:09] Video PIDS :
[12:33:09] 0x30 type H.264 (0x1b) (PCR)
[12:33:09] Audio PIDS :
[12:33:09] 0x41 type AC3 (0x81)
[12:33:09] Subtitle PIDS :
[12:33:09] Other PIDS :
[12:33:09] 0x50 type DVB Subtitling (0x0)
[12:33:09] 0x63 type DVB Teletext (0x0)
[12:33:09] stream id 0x41 (type 0x81 substream 0x0) audio 0x41
[12:33:09] scan: decoding previews for title 1
[12:33:09] scan: preview 1
[12:33:09] fifo_close: trashing 0 buffer(s)
[12:33:09] scan: audio 0x41: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch)
[h264 @ 0000000003bd32a0] mmco: unref short failure
[12:33:09] scan: preview 2
[12:33:09] scan: preview 3
[12:33:09] scan: preview 4
[h264 @ 0000000003bd32a0] mmco: unref short failure
[12:33:09] scan: preview 5
[h264 @ 0000000003bd32a0] mmco: unref short failure
[h264 @ 0000000003bd32a0] mmco: unref short failure
[12:33:09] scan: preview 6
[12:33:10] scan: preview 7
Scanning title 1 of 1, preview 7, 70.00 %[12:33:10] scan: preview 8
[12:33:10] scan: preview 9
[12:33:10] scan: preview 10
[12:33:10] scan: 10 previews, 1920x1080, 25.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[12:33:10] stream: 9 good frames, 0 errors (0%)
[12:33:10] thread 3b65280 exited ("scan")
[12:33:10] thread 3b65280 joined ("scan")
[12:33:10] libhb: scan thread found 1 valid title(s)
+ title 1:
+ stream: C:\Users\spooky\Desktop\Loothor_sample.ts
+ duration: 00:00:28
+ size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 25.000 fps
+ autocrop: 0/0/0/0
+ chapters:
+ 1: cells 0->0, 0 blocks, duration 00:00:28
+ audio tracks:
+ 1, English (AC3) (2.0 ch) (iso639-2: eng), 48000Hz, 192000bps
+ subtitle tracks:
[12:33:10] thread 3b65280 started ("work")
[12:33:10] 1 job(s) to process
[12:33:10] starting job
[12:33:10] Auto Passthru: allowed codecs are AAC, AC3, DTS, DTS-HD, MP3
[12:33:10] Auto Passthru: fallback is AC3
[12:33:10] Auto Passthru: using AC3 Passthru for track 1
[12:33:10] sync: expecting 719 video frames
[12:33:10] job configuration:
[12:33:10] * source
[12:33:10] + C:\Users\spooky\Desktop\Loothor_sample.ts
[12:33:10] + title 1, chapter(s) 1 to 1
[12:33:10] * destination
[12:33:10] + C:\PCH\_qsv\Loothor Sample-1.mkv
[12:33:10] + container: Matroska (libmkv)
[12:33:10] * video track
[12:33:10] + decoder: h264
[12:33:10] + bitrate 200 kbps
[12:33:10] + filter
[12:33:10] + Quick Sync Video VPP (1280:720:0:0:0:0_dei:0)
[12:33:10] + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1280 * 720
[12:33:10] + loose anamorphic
[12:33:10] + storage dimensions: 1280 * 720, mod 16
[12:33:10] + pixel aspect ratio: 1 / 1
[12:33:10] + display dimensions: 1280 * 720
[12:33:10] + encoder: H.264 (Intel QSV)
[12:33:10] + options: target-usage=2
[12:33:10] + h264 profile: high
[12:33:10] + h264 level: 4.1
[12:33:10] + bitrate: 3000 kbps, pass: 0
[12:33:10] * audio track 1
[12:33:10] + decoder: English (AC3) (2.0 ch) (track 1, id 0x41)
[12:33:10] + bitrate: 192 kbps, samplerate: 48000 Hz
[12:33:10] + AC3 Passthru
[12:33:10] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[12:33:10] thread 3b794d0 started ("Reader")
[12:33:10] thread 3b68990 started ("Quick Sync Video VPP")
[12:33:10] thread 4a74130 started ("AudioSynchronization")
[12:33:10] reader: first SCR 914 id 0x41 DTS 18000
[12:33:10] thread 4a743f0 started ("Video decoder (libavcodec)")
[12:33:10] thread 4a75e90 started ("H.264/AVC encoder (Intel QSV)")
[12:33:10] thread 4a8b7d0 started ("AC3 decoder")
[12:33:10] thread 4a8b970 started ("Video Synchronization")
[12:33:10] thread 3c382b0 started ("Muxer")
[12:33:10] h264_qsv: "Chapter 1" (1) at frame 0 time 0
[12:33:10] qsv: Intel QSV/MediaSDK uses hardware implementation
[12:33:10] qsv: RateControlMethod:MFX_RATECONTROL_VBR TargetKbps:3000
[12:33:10] qsv: TargetUsage:2 AsyncDepth:4
[12:33:10] qsv: GopRefDist:4 GopPicSize:126 NumRefFrame:0
[12:33:10] sync: video time didn't advance - dropped 16 frames (delta 627 ms, current 74460, next 75600, dur 1140)
[12:33:11] sync: video time didn't advance - dropped 12 frames (delta 460 ms, current 369045, next 370800, dur 1755)
[12:33:11] sync: video time didn't advance - dropped 1 frames (delta 1 ms, current 1000953, next 1004400, dur 3447)
[12:33:11] sync: video time didn't advance - dropped 8 frames (delta 293 ms, current 1034430, next 1036800, dur 2370)
[12:33:12] sync: video time didn't advance - dropped 35 frames (delta 1378 ms, current 1834027, next 1836000, dur 1973)
[12:33:13] hb_ts_stream_decode - eof
[12:33:13] reader: done. 1 scr changes
[12:33:13] thread 3b794d0 exited ("Reader")
[12:33:13] work: average encoding speed for job is 0.000000 fps
[12:33:13] thread 4a8b7d0 exited ("AC3 decoder")
[12:33:13] thread 4a74130 exited ("AudioSynchronization")
[12:33:13] thread 3c382b0 exited ("Muxer")
[12:33:13] thread 4a8b970 exited ("Video Synchronization")
[12:33:13] thread 4a743f0 exited ("Video decoder (libavcodec)")
[12:33:13] thread 3b68990 exited ("Quick Sync Video VPP")
[12:33:13] thread 4a8b970 joined ("Video Synchronization")
[12:33:13] sync: got 704 frames, 719 expected
[12:33:13] thread 3b68990 joined ("Quick Sync Video VPP")
[12:33:13] qsv_filter[Default] done: max_surfaces: 12/32 , max_syncs: 7/32
[12:33:13] thread 4a74130 joined ("AudioSynchronization")
[12:33:13] thread 4a743f0 joined ("Video decoder (libavcodec)")
[12:33:13] h264_qsv-decoder done: 776 frames, 0 decoder errors, 0 drops
[12:33:13] thread 4a75e90 exited ("H.264/AVC encoder (Intel QSV)")
[12:33:13] thread 4a75e90 joined ("H.264/AVC encoder (Intel QSV)")
[12:33:13] enc_qsv done: frames: 704 in, 704 out
[12:33:14] thread 4a8b7d0 joined ("AC3 decoder")
[12:33:14] thread 3c382b0 joined ("Muxer")
[12:33:14] Writing Metadata to output file...
[12:33:14] mux: file size, 10778525 bytes
[12:33:14] mux: track 0, 704 frames, 10003327 bytes, 2564.96 kbps, fifo 1024
[12:33:14] mux: video bitrate error, -1696673 bytes
[12:33:14] mux: track 1, 975 frames, 748800 bytes, 192.00 kbps, fifo 1024
[12:33:14] mux: overhead, 15.72 bytes per frame
[12:33:14] thread 3b794d0 joined ("Reader")
[12:33:14] stream: 781 good frames, 0 errors (0%)
[12:33:14] fifo_close: trashing 0 buffer(s)
[12:33:14] fifo_close: trashing 0 buffer(s)
[12:33:14] fifo_close: trashing 0 buffer(s)
[12:33:14] fifo_close: trashing 0 buffer(s)
[12:33:14] fifo_close: trashing 0 buffer(s)
[12:33:14] fifo_close: trashing 0 buffer(s)
[12:33:14] fifo_close: trashing 0 buffer(s)
[12:33:14] fifo_close: trashing 0 buffer(s)
[12:33:14] fifo_close: trashing 0 buffer(s)
[12:33:14] Freed 32 buffers of size 1024
[12:33:14] Freed 5 buffers of size 2048
[12:33:14] Freed 18 buffers of size 4096
[12:33:14] Freed 32 buffers of size 8192
[12:33:14] Freed 32 buffers of size 16384
[12:33:14] Freed 32 buffers of size 32768
[12:33:14] Freed 17 buffers of size 65536
[12:33:14] Freed 6 buffers of size 131072
[12:33:14] Freed 2 buffers of size 262144
[12:33:14] Freed 2 buffers of size 524288
[12:33:14] Freed 9 buffers of size 2097152
[12:33:14] Freed 17 buffers of size 4194304
[12:33:14] Allocated 95602688 bytes of buffers on this pass and Freed 95602688 bytes, 0 bytes leaked
[12:33:14] thread 3b65280 exited ("work")
[12:33:14] thread 3b65280 joined ("work")
[12:33:14] libhb: work result = 0
Encode done!
[12:33:14] thread 3b650e0 exited ("libhb")
[12:33:14] thread 3b650e0 joined ("libhb")
HandBrake has exited.
Code: Select all
[12:33:10] sync: video time didn't advance - dropped 16 frames (delta 627 ms, current 74460, next 75600, dur 1140)
[12:33:11] sync: video time didn't advance - dropped 12 frames (delta 460 ms, current 369045, next 370800, dur 1755)
[12:33:11] sync: video time didn't advance - dropped 1 frames (delta 1 ms, current 1000953, next 1004400, dur 3447)
[12:33:11] sync: video time didn't advance - dropped 8 frames (delta 293 ms, current 1034430, next 1036800, dur 2370)
[12:33:12] sync: video time didn't advance - dropped 35 frames (delta 1378 ms, current 1834027, next 1836000, dur 1973)