Quick Sync Problem with reduced resolution

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
Schero
Posts: 4
Joined: Tue Sep 17, 2013 7:59 am

Quick Sync Problem with reduced resolution

Post by Schero »

Hi!

By starting a job to reduce the resolution from 1920 to 1280 pixel, the job stops at 0,003%. The time goes on but nothing happens.
Without the QuickSync function, the job runs to the end.

Has anyone a solution for me?
The QuickSync feature gives me a lot of speed improvement. With an older nightly build the average fps was arounf 250 instead of 40 fps. Unfortunately the job runs to the end end by reaching the 100% mark nothing happens...

Code: Select all

HandBrake svn5782 (Nightly Build) - 64bit Version
OS: Microsoft Windows NT 6.1.7601 Service Pack 1
CPU: Intel(R) Core(TM) i5-3450 CPU @ 3.10GHz
Ram: 7623 MB, 
GPU Information:
  Intel(R) HD Graphics - 9.18.10.3257
Screen: 1440x900
Temp Dir: C:\Users\Patrick\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\Patrick\AppData\Roaming\HandBrake\HandBrake\0.0.0.5782

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

CLI Query:  -i "G:\Videos\The Fighter.mp4" -t 1 --angle 1 -c 1-14 -o "G:\Videos\fighter test.mp4"  -f mp4  --decomb -w 1280 --crop 0:0:0:0 --loose-anamorphic  --modulus 2 -e qsv_h264 -q 20 --cfr -a 1,1 -E av_aac,copy:ac3 -6 dpl2,auto -R Auto,Auto -B 160,0 -D 0,0 --gain 0,0 --audio-fallback ac3 --markers="C:\Users\Patrick\AppData\Local\Temp\fighter test-1-chapters.csv" --h264-level="4.1"  --h264-profile=high  -x target-usage=2:async-depth=4 --verbose=1
User Query: False

[13:30:17] hb_init: starting libhb thread
HandBrake svn5782 (2013091501) - MinGW x86_64 - http://handbrake.fr
4 CPUs detected
Opening G:\Videos\The Fighter.mp4...
[13:30:17] Intel Quick Sync Video support: yes
[13:30:17]  - Intel Media SDK hardware: API 1.7 (minimum: 1.3)
[13:30:17]  - Preferred implementation: hardware (any)
[13:30:17] hb_scan: CPU count: 4
[13:30:17] hb_scan: CPU name:  Intel(R) Core(TM) i5-3450 CPU @ 3.10GHz
[13:30:17] hb_scan: CPU type:  Intel microarchitecture Ivy Bridge
[13:30:17] hb_scan: path=G:\Videos\The Fighter.mp4, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening G:\Videos\The Fighter.mp4/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening G:\Videos\The Fighter.mp4/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:1725: nav_get_title_list(G:\Videos\The Fighter.mp4) failed (0000000001dd7fd0)
[13:30:17] 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
[13:30:17] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'G:\Videos\The Fighter.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42isomavc1
    creation_time   : 2013-09-03 21:06:16
    encoder         : HandBrake 0.9.8 2012071700
  Duration: 01:55:49.93, start: 0.000000, bitrate: 9412 kb/s
    Chapter #0.0: start -0.083000, end 455.538000
    Metadata:
      title           : Chapter 1
    Chapter #0.1: start 455.538000, end 1005.963000
    Metadata:
      title           : Chapter 2
    Chapter #0.2: start 1005.963000, end 1474.223000
    Metadata:
      title           : Chapter 3
    Chapter #0.3: start 1474.223000, end 1888.845000
    Metadata:
      title           : Chapter 4
    Chapter #0.4: start 1888.845000, end 2325.615000
    Metadata:
      title           : Chapter 5
    Chapter #0.5: start 2325.615000, end 2971.177000
    Metadata:
      title           : Chapter 6
    Chapter #0.6: start 2971.177000, end 3600.222000
    Metadata:
      title           : Chapter 7
    Chapter #0.7: start 3600.222000, end 4220.007000
    Metadata:
      title           : Chapter 8
    Chapter #0.8: start 4220.007000, end 4854.850000
    Metadata:
      title           : Chapter 9
    Chapter #0.9: start 4854.850000, end 5421.750000
    Metadata:
      title           : Chapter 10
    Chapter #0.10: start 5421.750000, end 5813.975000
    Metadata:
      title           : Chapter 11
    Chapter #0.11: start 5813.975000, end 6266.552000
    Metadata:
      title           : Chapter 12
    Chapter #0.12: start 6266.552000, end 6682.634000
    Metadata:
      title           : Chapter 13
    Chapter #0.13: start 6682.634000, end 6949.858700
    Metadata:
      title           : Chapter 14
    Stream #0.0(und): Video: h264 (High), yuv420p, 1920x800 [PAR 1:1 DAR 12:5], 9085 kb/s, 23.98 fps, 90k tbn, 180k tbc (default)
    Metadata:
      creation_time   : 2013-09-03 21:06:16
    Stream #0.1(deu): Audio: aac, 48000 Hz, stereo, fltp, 159 kb/s (default)
    Metadata:
      creation_time   : 2013-09-03 21:06:16
    Stream #0.2(eng): Audio: aac, 48000 Hz, stereo, fltp, 159 kb/s
    Metadata:
      creation_time   : 2013-09-03 21:06:16
    Stream #0.3(und): Subtitle: text / 0x74786574
    Metadata:
      creation_time   : 2013-09-03 21:06:16
[13:30:17] scan: decoding previews for title 1
[13:30:17] scan: audio 0x1: aac, rate=48000Hz, bitrate=159855 Deutsch (aac) (2.0 ch)
[13:30:17] scan: audio 0x2: aac, rate=48000Hz, bitrate=159851 English (aac) (2.0 ch)
Scanning title 1 of 1, preview 4, 40.00 %
Scanning title 1 of 1, preview 8, 80.00 %[13:30:17] scan: 10 previews, 1920x800, 23.976 fps, autocrop = 0/0/0/0, aspect 2.40:1, PAR 1:1
[13:30:17] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: G:\Videos\The Fighter.mp4
  + duration: 01:55:49
  + size: 1920x800, pixel aspect: 1/1, display aspect: 2.40, 23.976 fps
  + autocrop: 0/0/0/0
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:07:36
    + 2: cells 0->0, 0 blocks, duration 00:09:10
    + 3: cells 0->0, 0 blocks, duration 00:07:48
    + 4: cells 0->0, 0 blocks, duration 00:06:55
    + 5: cells 0->0, 0 blocks, duration 00:07:17
    + 6: cells 0->0, 0 blocks, duration 00:10:46
    + 7: cells 0->0, 0 blocks, duration 00:10:29
    + 8: cells 0->0, 0 blocks, duration 00:10:20
    + 9: cells 0->0, 0 blocks, duration 00:10:35
    + 10: cells 0->0, 0 blocks, duration 00:09:27
    + 11: cells 0->0, 0 blocks, duration 00:06:32
    + 12: cells 0->0, 0 blocks, duration 00:07:33
    + 13: cells 0->0, 0 blocks, duration 00:06:56
    + 14: cells 0->0, 0 blocks, duration 00:04:27
  + audio tracks:
    + 1, Deutsch (aac) (2.0 ch) (iso639-2: deu)
    + 2, English (aac) (2.0 ch) (iso639-2: eng)
  + subtitle tracks:
    + 1, Unknown (iso639-2: und) (Text)(TX3G)
Reading chapter markers from file C:\Users\Patrick\AppData\Local\Temp\fighter test-1-chapters.csv
AC3 Passthru requested and input codec is not compatible for track 2, using AC3 encoder
[13:30:17] 1 job(s) to process
[13:30:17] starting job
[13:30:17] do_job: full QSV path, removing unsupported filter 'Decomb'
[13:30:17] do_job: full QSV path, removing unsupported filter 'Framerate Shaper'
[13:30:17] work: sanitizing track 1 mixdown Dolby Pro Logic II to Stereo
[13:30:17] sync: expecting 166629 video frames
[13:30:17] job configuration:
[13:30:17]  * source
[13:30:17]    + G:\Videos\The Fighter.mp4
[13:30:17]    + title 1, chapter(s) 1 to 14
[13:30:17]    + container: mov,mp4,m4a,3gp,3g2,mj2
[13:30:17]    + data rate: 9412 kbps
[13:30:17]  * destination
[13:30:17]    + G:\Videos\fighter test.mp4
[13:30:17]    + container: MPEG-4 (avformat)
[13:30:17]      + chapter markers
[13:30:17]  * video track
[13:30:17]    + decoder: h264_qsv
[13:30:17]      + bitrate 9085 kbps
[13:30:17]    + filter
[13:30:17]      + Quick Sync Video VPP (1280:532:0:0:0:0_dei:0)
[13:30:17]        + source: 1920 * 800, crop (0/0/0/0): 1920 * 800, scale: 1280 * 532
[13:30:17]    + loose anamorphic
[13:30:17]      + storage dimensions: 1280 * 532, mod 2
[13:30:17]      + pixel aspect ratio: 399 / 400
[13:30:17]      + display dimensions: 1276 * 532
[13:30:17]    + encoder: H.264 (Intel QSV)
[13:30:17]      + options: target-usage=2:async-depth=4
[13:30:17]      + h264 profile: high
[13:30:17]      + h264 level: 4.1
[13:30:17]      + quality: 20.00 (QP)
[13:30:17]  * audio track 1
[13:30:17]    + decoder: Deutsch (aac) (2.0 ch) (track 1, id 0x1)
[13:30:17]      + bitrate: 159 kbps, samplerate: 48000 Hz
[13:30:17]    + mixdown: Stereo
[13:30:17]    + encoder: AAC (avcodec)
[13:30:17]      + bitrate: 160 kbps, samplerate: 48000 Hz
[13:30:17]  * audio track 2
[13:30:17]    + decoder: Deutsch (aac) (2.0 ch) (track 1, id 0x1)
[13:30:17]      + bitrate: 159 kbps, samplerate: 48000 Hz
[13:30:17]    + mixdown: Stereo
[13:30:17]    + encoder: AC3
[13:30:17]      + bitrate: 224 kbps, samplerate: 48000 Hz
[13:30:17] reader: first SCR 0 id 0x1 DTS 0
[13:30:17] encqsvInit: hb_qsv_param_parse: bad key async-depth
[13:30:18] encqsvInit: using full QSV path
[13:30:18] encqsvInit: TargetUsage 2 AsyncDepth 4
[13:30:18] encqsvInit: GopRefDist 3 GopPicSize 32 NumRefFrame 2
[13:30:18] encqsvInit: BFrames on BPyramid off
[13:30:18] encqsvInit: RateControlMethod CQP with QPI 20 QPP 22 QPB 24
[13:30:18] encqsvInit: PicStruct progressive
[13:30:18] encqsvInit: CAVLC off RateDistortionOpt off
[13:30:18] encqsvInit: MBBRC off ExtBRC off
[13:30:18] encqsvInit: H.264 profile High @ level 4.1
[13:30:18] qsv_enc_init: using 'hardware (1)' implementation, API: 1.7

Thanks for help
maxim_d33
Bright Spark User
Posts: 175
Joined: Mon Mar 21, 2011 12:02 pm

Re: Quick Sync Problem with reduced resolution

Post by maxim_d33 »

can you please try without resize?
Schero
Posts: 4
Joined: Tue Sep 17, 2013 7:59 am

Re: Quick Sync Problem with reduced resolution

Post by Schero »

Without resize all is fine and works very fast!
maxim_d33
Bright Spark User
Posts: 175
Joined: Mon Mar 21, 2011 12:02 pm

Re: Quick Sync Problem with reduced resolution

Post by maxim_d33 »

thanks for the confirmation,

let me see what is the issue now....

hmm, it doesnt looks that I have any sample that can help me to reproduce your case,

any option that you can share your sample?
or can you pls share mediainfo details of your sample?
Schero
Posts: 4
Joined: Tue Sep 17, 2013 7:59 am

Re: Quick Sync Problem with reduced resolution

Post by Schero »

Hello,

thanks for the reply!

Here comes the media info output.

Code: Select all

CompleteName                     : G:\Videos\The Fighter.mp4
Format                           : MPEG-4
Format_Profile                   : Base Media / Version 2
CodecID                          : mp42
FileSize/String                  : 7,62 GiB
Duration/String                  : 1h 55min
OverallBitRate_Mode/String       : variabel
OverallBitRate/String            : 9 412 Kbps
Encoded_Date                     : UTC 2013-09-03 21:06:16
Tagged_Date                      : UTC 2013-09-04 00:58:01
Encoded_Application              : HandBrake 0.9.8 2012071700

Video
ID/String                        : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format_Profile                   : High@L4.0
Format_Settings_CABAC/String     : Ja
Format_Settings_RefFrames/String : 4 frames
CodecID                          : avc1
CodecID/Info                     : Advanced Video Coding
Duration/String                  : 1h 55min
BitRate_Mode/String              : variabel
BitRate/String                   : 9 085 Kbps
Width/String                     : 1 920 Pixel
Height/String                    : 800 Pixel
DisplayAspectRatio/String        : 2,40:1
FrameRate_Mode/String            : variabel
FrameRate/String                 : 23,976 FPS
FrameRate_Minimum/String         : 23,810 FPS
FrameRate_Maximum/String         : 24,390 FPS
ColorSpace                       : YUV
ChromaSubsampling                : 4:2:0
BitDepth/String                  : 8 bits
ScanType/String                  : progressiv
Bits-(Pixel*Frame)               : 0.247
StreamSize/String                : 7,35 GiB (97%)
Encoded_Library/String           : x264 core 120
Encoded_Library_Settings         : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=3 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Encoded_Date                     : UTC 2013-09-03 21:06:16
Tagged_Date                      : UTC 2013-09-04 00:58:01
colour_primaries                 : BT.709
transfer_characteristics         : BT.709
matrix_coefficients              : BT.709

Audio #1
ID/String                        : 2
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format_Profile                   : LC
CodecID                          : 40
Duration/String                  : 1h 55min
BitRate_Mode/String              : variabel
BitRate/String                   : 160 Kbps
BitRate_Maximum/String           : 266 Kbps
Channel(s)/String                : 2 Kanäle
ChannelPositions                 : Front: L R
SamplingRate/String              : 48,0 KHz
Video_Delay/String               : 83ms
StreamSize/String                : 132 MiB (2%)
Language/String                  : Deutsch
Encoded_Date                     : UTC 2013-09-03 21:06:16
Tagged_Date                      : UTC 2013-09-04 00:58:00

Audio #2
ID/String                        : 3
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format_Profile                   : LC
CodecID                          : 40
Duration/String                  : 1h 55min
BitRate_Mode/String              : variabel
BitRate/String                   : 160 Kbps
BitRate_Maximum/String           : 318 Kbps
Channel(s)/String                : 2 Kanäle
ChannelPositions                 : Front: L R
SamplingRate/String              : 48,0 KHz
Video_Delay/String               : 83ms
StreamSize/String                : 132 MiB (2%)
Language/String                  : Englisch
Encoded_Date                     : UTC 2013-09-03 21:06:16
Tagged_Date                      : UTC 2013-09-04 00:58:00

Menü
ID/String                        : 4
CodecID                          : text
Duration/String                  : 1h 55min
Kodierungs-Datum                 : UTC 2013-09-03 21:06:16
Tagging-Datum                    : UTC 2013-09-04 00:58:01
Bitraten-Modus                   : VBR

maxim_d33
Bright Spark User
Posts: 175
Joined: Mon Mar 21, 2011 12:02 pm

Re: Quick Sync Problem with reduced resolution

Post by maxim_d33 »

ok, please check binaries at Nightly Builds starting from version 5799
Schero
Posts: 4
Joined: Tue Sep 17, 2013 7:59 am

Re: Quick Sync Problem with reduced resolution

Post by Schero »

I checked several versions and all the same.
If i reduce the resolution, the encoding stops.
Deleted User 11865

Re: Quick Sync Problem with reduced resolution

Post by Deleted User 11865 »

5799 is not released yet. Should be in tonight's build.
Post Reply