[SVN4959] Converting Blu-ray video to H.264 (MKV)

Archive of historical bug reports.
Please use the GitHub link above to report issues.
Forum rules
*******************************
Please be aware we are now using GitHub for issue tracking and feature requests.
- This section of the forum is now closed to new topics.

*******************************
Post Reply
marcoagpinto
Posts: 30
Joined: Mon Sep 03, 2012 10:21 pm

[SVN4959] Converting Blu-ray video to H.264 (MKV)

Post by marcoagpinto »

Hello!

I am converting a video I created using Nero Video in 1280x720p.

The video is around 19 minutes long and right now it is taking around an hour to convert.

It says in the "Picture" tab:
"Display Size: 1280x960"

How can it be 960 and not 720?

Here is the scan log:

Code: Select all

HandBrake svn4959 2012091201
OS: Microsoft Windows NT 6.1.7601 Service Pack 1
CPU: Pentium(R) Dual-Core CPU       T4300  @ 2.10GHz
Ram: 4061 MB, Screen: 1366x768
Temp Dir: C:\Users\marcoagpinto\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\marcoagpinto\AppData\Roaming\HandBrake\HandBrake\0.9.8.4959

-------------------------------------------
 -i "D:\Mestrado Ensaio 1280x720p_V3\Mestrado-Ensaio da Apresentação_VersFinal_1280x720p.m2ts" -t0  --min-duration=10 -v 
[23:31:35] hb_init: starting libhb thread
HandBrake svn4959 (2012091201) - MinGW x86_64 - http://handbrake.fr
2 CPUs detected
Opening D:\Mestrado Ensaio 1280x720p_V3\Mestrado-Ensaio da Apresentação_VersFinal_1280x720p.m2ts...
[23:31:35] hb_scan: path=D:\Mestrado Ensaio 1280x720p_V3\Mestrado-Ensaio da Apresentação_VersFinal_1280x720p.m2ts, title_index=0
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening D:\Mestrado Ensaio 1280x720p_V3\Mestrado-Ensaio da Apresentação_VersFinal_1280x720p.m2ts/BDMV/index.bdmv
libbluray/bluray.c:1471: nav_get_title_list(D:\Mestrado Ensaio 1280x720p_V3\Mestrado-Ensaio da Apresentação_VersFinal_1280x720p.m2ts) failed (0000000000305760)
[23:31:35] 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
[23:31:35] dvd: not a dvd - trying as a stream/file instead
[23:31:35] file is MPEG Transport Stream with 192 byte packets offset 4 bytes
[23:31:35] Found the following PIDS
[23:31:35]     Video PIDS : 
[23:31:35]       0x1011 type H.264 (0x1b)
[23:31:35]     Audio PIDS : 
[23:31:35]       0x1100 type AC3 (0x81)
[23:31:35]     Subtitle PIDS : 
[23:31:35]     Other PIDS : 
[23:31:35]       0x1001 type Unknown (0xff) (PCR)
[23:31:35] stream id 0x1100 (type 0x81 substream 0x0) audio 0x1100
[23:31:35] stream doesn't seem to have video IDR frames
[23:31:35] scan: decoding previews for title 1
[23:31:35] scan: audio 0x1100: AC-3, rate=48000Hz, bitrate=192000 Unknown (AC3) (2.0 ch)
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
Scanning title 1 of 1...
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
Scanning title 1 of 1...
Scanning title 1 of 1...
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
Scanning title 1 of 1...
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
Scanning title 1 of 1...
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
Scanning title 1 of 1...
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
Scanning title 1 of 1...
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
Scanning title 1 of 1...
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
Scanning title 1 of 1...
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
[h264 @ 00000000003713A0] non-existing PPS referenced
Scanning title 1 of 1...
[23:31:37] scan: 10 previews, 1280x720, 50.000 fps, autocrop = 0/0/160/160, aspect 16:9, PAR 1:1
[23:31:37] scan: title (0) job->width:960, job->height:720
[23:31:37] stream: 75 good frames, 0 errors (0%)
[23:31:37] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: D:\Mestrado Ensaio 1280x720p_V3\Mestrado-Ensaio da Apresentação_VersFinal_1280x720p.m2ts
  + duration: 00:18:44
  + size: 1280x720, pixel aspect: 1/1, display aspect: 1.78, 50.000 fps
  + autocrop: 0/0/160/160
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:18:44
  + audio tracks:
    + 1, Unknown (AC3) (2.0 ch) (iso639-2: und), 48000Hz, 192000bps
  + subtitle tracks:
HandBrake has exited.

And the encode log:

Code: Select all

HandBrake svn4959 2012091201
OS: Microsoft Windows NT 6.1.7601 Service Pack 1
CPU: Pentium(R) Dual-Core CPU       T4300  @ 2.10GHz
Ram: 4061 MB, Screen: 1366x768
Temp Dir: C:\Users\marcoagpinto\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\marcoagpinto\AppData\Roaming\HandBrake\HandBrake\0.9.8.4959

-------------------------------------------
CLI Query:  -i "D:\Mestrado Ensaio 1280x720p_V3\Mestrado-Ensaio da Apresentação_VersFinal_1280x720p.m2ts" -t 1 --angle 1 -c 1 -o "D:\Mestrado-ensaio Da Apresentação Versfinal 1280x720p-1.mkv"  -f mkv  --decomb -w 1280 --loose-anamorphic  --modulus 2 -e x264 -q 32 --cfr -a 1 -E copy:ac3 -6 auto -R Auto -B 0 -D 0 --gain 0 --audio-copy-mask none --audio-fallback ffac3 --markers="C:\Users\marcoagpinto\AppData\Local\Temp\Mestrado-ensaio Da Apresentação Versfinal 1280x720p-1-1-chapters.csv" -x b-adapt=2:rc-lookahead=50 --verbose=1
User Query: False

[23:36:17] hb_init: starting libhb thread
HandBrake svn4959 (2012091201) - MinGW x86_64 - http://handbrake.fr
2 CPUs detected
Opening D:\Mestrado Ensaio 1280x720p_V3\Mestrado-Ensaio da Apresentação_VersFinal_1280x720p.m2ts...
[23:36:17] hb_scan: path=D:\Mestrado Ensaio 1280x720p_V3\Mestrado-Ensaio da Apresentação_VersFinal_1280x720p.m2ts, title_index=1
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening D:\Mestrado Ensaio 1280x720p_V3\Mestrado-Ensaio da Apresentação_VersFinal_1280x720p.m2ts/BDMV/index.bdmv
libbluray/bluray.c:1471: nav_get_title_list(D:\Mestrado Ensaio 1280x720p_V3\Mestrado-Ensaio da Apresentação_VersFinal_1280x720p.m2ts) failed (00000000003067A0)
[23:36: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
[23:36:17] dvd: not a dvd - trying as a stream/file instead
[23:36:17] file is MPEG Transport Stream with 192 byte packets offset 4 bytes
[23:36:17] Found the following PIDS
[23:36:17]     Video PIDS : 
[23:36:17]       0x1011 type H.264 (0x1b)
[23:36:17]     Audio PIDS : 
[23:36:17]       0x1100 type AC3 (0x81)
[23:36:17]     Subtitle PIDS : 
[23:36:17]     Other PIDS : 
[23:36:17]       0x1001 type Unknown (0xff) (PCR)
[23:36:17] stream id 0x1100 (type 0x81 substream 0x0) audio 0x1100
[23:36:17] stream doesn't seem to have video IDR frames
[23:36:17] scan: decoding previews for title 1
[23:36:17] scan: audio 0x1100: AC-3, rate=48000Hz, bitrate=192000 Unknown (AC3) (2.0 ch)
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
Scanning title 1...
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
Scanning title 1...
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
Scanning title 1...
Scanning title 1...
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
Scanning title 1...
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
Scanning title 1...
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
Scanning title 1...
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
Scanning title 1...
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
Scanning title 1...
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
[h264 @ 0000000000372360] non-existing PPS referenced
Scanning title 1...
[23:36:19] scan: 10 previews, 1280x720, 50.000 fps, autocrop = 0/0/160/160, aspect 16:9, PAR 1:1
[23:36:19] scan: title (0) job->width:960, job->height:720
[23:36:19] stream: 75 good frames, 0 errors (0%)
[23:36:19] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: D:\Mestrado Ensaio 1280x720p_V3\Mestrado-Ensaio da Apresentação_VersFinal_1280x720p.m2ts
  + duration: 00:18:44
  + size: 1280x720, pixel aspect: 1/1, display aspect: 1.78, 50.000 fps
  + autocrop: 0/0/160/160
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:18:44
  + audio tracks:
    + 1, Unknown (AC3) (2.0 ch) (iso639-2: und), 48000Hz, 192000bps
  + subtitle tracks:
Reading chapter markers from file C:\Users\marcoagpinto\AppData\Local\Temp\Mestrado-ensaio Da Apresentação Versfinal 1280x720p-1-1-chapters.csv
[23:36:19] 1 job(s) to process
[23:36:19] starting job
[23:36:19] yadif thread started for segment 0
[23:36:19] yadif thread started for segment 1
[23:36:19] decomb filter thread started for segment 0
[23:36:19] decomb check thread started for segment 0
[23:36:19] mask filter thread started for segment 0
[23:36:19] decomb filter thread started for segment 1
[23:36:19] mask erode thread started for segment 0
[23:36:19] mask dilate thread started for segment 0
[23:36:19] decomb check thread started for segment 1
[23:36:19] mask filter thread started for segment 1
[23:36:19] mask erode thread started for segment 1
[23:36:19] sync: expecting 56248 video frames
[23:36:19] mask dilate thread started for segment 1
[23:36:19] work: only 1 chapter, disabling chapter markers
[23:36:19] job configuration:
[23:36:19]  * source
[23:36:19]    + D:\Mestrado Ensaio 1280x720p_V3\Mestrado-Ensaio da Apresentação_VersFinal_1280x720p.m2ts
[23:36:19]    + title 1, chapter(s) 1 to 1
[23:36:19]  * destination
[23:36:19]    + D:\Mestrado-ensaio Da Apresentação Versfinal 1280x720p-1.mkv
[23:36:19]    + container: Matroska (.mkv)
[23:36:19]  * video track
[23:36:19]    + decoder: h264
[23:36:19]      + bitrate 200 kbps
[23:36:19]    + frame rate: 50.000 fps -> constant 50.000 fps
[23:36:19]    + filters
[23:36:19]      + Decomb (default settings)
[23:36:19]      + Framerate Shaper (1:27000000:540000)
[23:36:19]        + frame rate: 50.000 fps -> constant 50.000 fps
[23:36:19]      + Crop and Scale (1280:960:0:0:160:160)
[23:36:19]        + source: 1280 * 720, crop (0/0/160/160): 960 * 720, scale: 1280 * 960
[23:36:19]    + loose anamorphic
[23:36:19]      + storage dimensions: 1280 * 960, mod 2
[23:36:19]      + pixel aspect ratio: 1 / 1
[23:36:19]      + display dimensions: 1280 * 960
[23:36:19]    + encoder: H.264 (x264)
[23:36:19]      + options: b-adapt=2:rc-lookahead=50
[23:36:19]      + quality: 32.00 (RF)
[23:36:19]  * audio track 1
[23:36:19]    + decoder: Unknown (AC3) (2.0 ch) (track 1, id 0x1100)
[23:36:19]      + bitrate: 192 kbps, samplerate: 48000 Hz
[23:36:19]    + AC3 Passthru
[23:36:19] file is MPEG Transport Stream with 192 byte packets offset 4 bytes
[23:36:19] encx264: min-keyint: 50, keyint: 500
[23:36:19] reader: first SCR 90016 id 0x1011 DTS 115200
[23:36:19] encx264: encoding with stored aspect 1/1
[23:36:19] encx264: Encoding at constant RF 32.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=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle Cache64
x264 [info]: profile High, level 4.0
[23:36:19] h264: "Chapter 1" (1) at frame 0 time 1800
[23:36:19] sync: first pts is 1800
Hope this is useful.

Kind regards,
>Marco A.G.Pinto
--------------------
Deleted User 11865

Re: [SVN4959] Converting Blu-ray video to H.264 (MKV)

Post by Deleted User 11865 »

marcoagpinto wrote:

Code: Select all

[23:31:37] scan: 10 previews, 1280x720, 50.000 fps, autocrop = 0/0/160/160, aspect 16:9, PAR 1:1
[…]
[23:36:19]      + Crop and Scale (1280:960:0:0:160:160)
[23:36:19]        + source: 1280 * 720, crop (0/0/160/160): 960 * 720, scale: 1280 * 960
User avatar
JohnAStebbins
HandBrake Team
Posts: 5725
Joined: Sat Feb 09, 2008 7:21 pm

Re: [SVN4959] Converting Blu-ray video to H.264 (MKV)

Post by JohnAStebbins »

To clarify, HandBrake autocropped 160 pixels from the left and right of your video reducing the resolution to 960x720. Then you asked HandBrake to scale up the width to 1280 (-w 1280 option in your CLI Query). The resulting size after scaling up is 1280x960 (multiply width and height by 1280/960)

e.g.
width = 960 * (1280 / 960) = 1280
height = 720 * (1280 / 960) = 960
marcoagpinto
Posts: 30
Joined: Mon Sep 03, 2012 10:21 pm

Re: [SVN4959] Converting Blu-ray video to H.264 (MKV)

Post by marcoagpinto »

JohnAStebbins wrote:To clarify, HandBrake autocropped 160 pixels from the left and right of your video reducing the resolution to 960x720. Then you asked HandBrake to scale up the width to 1280 (-w 1280 option in your CLI Query). The resulting size after scaling up is 1280x960 (multiply width and height by 1280/960)

e.g.
width = 960 * (1280 / 960) = 1280
height = 720 * (1280 / 960) = 960
But, I used the GUI not the CLI.

Today I tried to convert the Blu-ray file to 25 fps using the latest SVN and it worked in my FULLHD TV (USB slot) but it still messes the height, because HandBrake makes it 960 while it is 720p and the width appears stretched
Smithcraft
Veteran User
Posts: 2697
Joined: Thu Jan 22, 2009 8:04 pm

Re: [SVN4959] Converting Blu-ray video to H.264 (MKV)

Post by Smithcraft »

The Windows GUI for Handbrake is a wrapper for the CLI, that passes your settings to the CLI. While the GUI won't let you do everything the CLI can, it's not quite like the GUI for OS X.

SC
marcoagpinto
Posts: 30
Joined: Mon Sep 03, 2012 10:21 pm

Re: [SVN4959] Converting Blu-ray video to H.264 (MKV)

Post by marcoagpinto »

MediaInfo logs:

ORIGINAL M2TS (BLU-RAY) FILE:

Code: Select all

General
ID                                       : 0 (0x0)
Complete name                            : D:\Mestrado Ensaio 1280x720p_V3\Mestrado-Ensaio da Apresentação_VersFinal_1280x720p.m2ts
Format                                   : BDAV
Format/Info                              : Blu-ray Video
File size                                : 838 MiB
Duration                                 : 19mn 38s
Overall bit rate mode                    : Variable
Overall bit rate                         : 5 969 Kbps
Maximum Overall bit rate                 : 48.0 Mbps

Video
ID                                       : 4113 (0x1011)
Menu ID                                  : 1 (0x1)
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Main@L4.0
Format settings, CABAC                   : No
Format settings, ReFrames                : 2 frames
Format settings, GOP                     : M=3, N=12
Codec ID                                 : 27
Duration                                 : 19mn 37s
Bit rate mode                            : Variable
Bit rate                                 : 5 531 Kbps
Maximum bit rate                         : 20.0 Mbps
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 50.000 fps
Standard                                 : PAL
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.120
Stream size                              : 777 MiB (93%)
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio
ID                                       : 4352 (0x1100)
Menu ID                                  : 1 (0x1)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : 129
Duration                                 : 19mn 37s
Bit rate mode                            : Constant
Bit rate                                 : 192 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 27.0 MiB (3%)


MKV FILE USING SVN 4962 (h.264):

Code: Select all

General
Unique ID                                : 322816931391461955377691581127094480326 (0xF2DC478B7D7E3573F469AEEDFBF8ADC6)
Complete name                            : D:\Mestrado-ensaio Da Apresentação Versfinal 1280x720p-1_b.mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 37.8 MiB
Duration                                 : 19mn 37s
Overall bit rate                         : 269 Kbps
Writing application                      : HandBrake 4962svn
Writing library                          : libmkv 0.6.5

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L3.2
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 19mn 37s
Bit rate                                 : 71.8 Kbps
Width                                    : 1 280 pixels
Height                                   : 960 pixels
Display aspect ratio                     : 4:3
Frame rate mode                          : Constant
Frame rate                               : 25.000 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.002
Stream size                              : 10.1 MiB (27%)
Writing library                          : x264 core 125
Encoding 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=3 / lookahead_threads=1 / 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=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=32.0 / qcomp=0.60 / qpmin=3 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language                                 : English
Default                                  : Yes
Forced                                   : No
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio
ID                                       : 2
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : A_AC3
Duration                                 : 19mn 37s
Bit rate mode                            : Constant
Bit rate                                 : 192 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 27.0 MiB (71%)
Default                                  : Yes
Forced                                   : No
Deleted User 11865

Re: [SVN4959] Converting Blu-ray video to H.264 (MKV)

Post by Deleted User 11865 »

marcoagpinto wrote:Today I tried to convert the Blu-ray file to 25 fps using the latest SVN and it worked in my FULLHD TV (USB slot) but it still messes the height, because HandBrake makes it 960 while it is 720p and the width appears stretched
So you still don't understand what's going on, but you want to help write the HandBrake user guide?
marcoagpinto
Posts: 30
Joined: Mon Sep 03, 2012 10:21 pm

Re: [SVN4959] Converting Blu-ray video to H.264 (MKV)

Post by marcoagpinto »

Rodeo wrote: So you still don't understand what's going on, but you want to help write the HandBrake user guide?

Dear Rodeo,

What I don't understand is why it scaled the resolution height to 960 since it had already cropped it. If it was a 1920x1080p I would understand, but it is a 1280x720p.

Kind regards,
>Marco A.G.Pinto
-------------------
Satras
Enlightened
Posts: 103
Joined: Fri Jun 17, 2011 1:14 pm

Re: [SVN4959] Converting Blu-ray video to H.264 (MKV)

Post by Satras »

Post a screenshot of the Picture Tab plz
Ayoross
Novice
Posts: 51
Joined: Mon Jun 11, 2012 9:07 pm

Re: [SVN4959] Converting Blu-ray video to H.264 (MKV)

Post by Ayoross »

Use strict anamorphic and don't crop left and right, and your video resolution will be 1280x720.
marcoagpinto
Posts: 30
Joined: Mon Sep 03, 2012 10:21 pm

Re: [SVN4959] Converting Blu-ray video to H.264 (MKV)

Post by marcoagpinto »

If I use strict mode it will become the same resolution as DivX Plus Converter:
(MediaInfo log regarding the DivX Converter file)
Width : 960 pixels
Height : 720 pixels
Display aspect ratio : 4:3

But, if the converter does it correctly, can't there be made an improvement in HandBrake in order to work the same way?

I am using the High Profile with some changes, that use "Loose" instead of "Strict".

I used Nero Video to create a high definition version of the powerpoint which I have to defend within a couple of weeks. I used my webcam to capture the audio.

In simple words, I selected the resolution of PowerPoint 2010 to 1280x720p and then saved the 40 slides as PNGs.

Then I used Nero Video to join the slides and the audio to simulate my defence in order to help me remember some details.

Thanks for your time!

Kind regards from,
>Marco A.G.Pinto
--------------------
marcoagpinto
Posts: 30
Joined: Mon Sep 03, 2012 10:21 pm

Re: [SVN4959] Converting Blu-ray video to H.264 (MKV)

Post by marcoagpinto »

Satras wrote:Post a screenshot of the Picture Tab plz
Ahhh... sorry... I forgot it.

Here it is:
http://marcoagpinto.cidadevirtual.pt/im ... 120914.png

Please notice that I named the profile to "Ultra High (DVD)" but I am using the H.264 (x264) video compression.

I hope this can help!

Thanks!

Kind regards,
>Marco A.G.Pinto
--------------------
mduell
Veteran User
Posts: 8198
Joined: Sat Apr 21, 2007 8:54 pm

Re: [SVN4959] Converting Blu-ray video to H.264 (MKV)

Post by mduell »

JohnAStebbins wrote:To clarify, HandBrake autocropped 160 pixels from the left and right of your video reducing the resolution to 960x720. Then you asked HandBrake to scale up the width to 1280 (-w 1280 option in your CLI Query). The resulting size after scaling up is 1280x960 (multiply width and height by 1280/960)

e.g.
width = 960 * (1280 / 960) = 1280
height = 720 * (1280 / 960) = 960
The GUIs aren't supposed to allow upscaling, to prevent users from doing the stupid, like this.
Deleted User 11865

Re: [SVN4959] Converting Blu-ray video to H.264 (MKV)

Post by Deleted User 11865 »

mduell wrote:
JohnAStebbins wrote:To clarify, HandBrake autocropped 160 pixels from the left and right of your video reducing the resolution to 960x720. Then you asked HandBrake to scale up the width to 1280 (-w 1280 option in your CLI Query). The resulting size after scaling up is 1280x960 (multiply width and height by 1280/960)

e.g.
width = 960 * (1280 / 960) = 1280
height = 720 * (1280 / 960) = 960
The GUIs aren't supposed to allow upscaling, to prevent users from doing the stupid, like this.
Yes, but for some reason, the UIs won't let you scale paste the uncropped resolution.

I'd say that's a bug, but if you want to take a look at the MacGUI code which controls that, be my guest… not pretty :P
Post Reply