Black border NOT cut

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
linuxuser
Bright Spark User
Posts: 184
Joined: Fri Jan 06, 2012 7:47 pm

Black border NOT cut

Post by linuxuser »

I had a similar behavior with the development version too. I set a small size to cut the border, it is shown in the queue, but the video shows the black border.
[18:02:24] gtkgui: HandBrake 0.10.1 (2015030800) - Linux x86_64 - https://handbrake.fr
[18:02:25] hb_init: starting libhb thread
[18:02:25] hb_init: starting libhb thread

(ghb:15854): Gdk-WARNING **: gdk_window_set_icon_list: icons too large
[18:03:58] CPU:
[18:03:58] - logical processor count: 8
[18:03:58] OpenCL: library not available
[18:03:58] hb_scan: path=/tapes/tempmkvsource/20150411-2016---br-sued-hd---flucht-in-die-dolomiten~16.9_1280x720p_v_13.2mbps_vmpg4_mp3_48khz_1h19mn.mkv, title_index=0
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /tapes/tempmkvsource/20150411-2016---br-sued-hd---flucht-in-die-dolomiten~16.9_1280x720p_v_13.2mbps_vmpg4_mp3_48khz_1h19mn.mkv/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /tapes/tempmkvsource/20150411-2016---br-sued-hd---flucht-in-die-dolomiten~16.9_1280x720p_v_13.2mbps_vmpg4_mp3_48khz_1h19mn.mkv/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(/tapes/tempmkvsource/20150411-2016---br-sued-hd---flucht-in-die-dolomiten~16.9_1280x720p_v_13.2mbps_vmpg4_mp3_48khz_1h19mn.mkv) failed
[18:03:58] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[18:03:58] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/tapes/tempmkvsource/20150411-2016---br-sued-hd---flucht-in-die-dolomiten~16.9_1280x720p_v_13.2mbps_vmpg4_mp3_48khz_1h19mn.mkv':
Duration: 01:19:26.92, start: 0.000000, bitrate: N/A
Stream #0.0: Video: h264 (High), yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 50 fps, 1k tbn, 100 tbc (default)
Stream #0.1(ger): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s (default)
Stream #0.2(mis): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s
Stream #0.3(ger): Audio: ac3, 48000 Hz, stereo, fltp, 448 kb/s
[18:03:58] scan: decoding previews for title 1
[18:03:58] scan: audio 0x3: ac3, rate=48000Hz, bitrate=448000 Deutsch (AC3) (2.0 ch)
[18:03:58] scan: audio 0x1: mp2, rate=48000Hz, bitrate=192000 Deutsch (MPEG) (2.0 ch)
[18:03:58] scan: audio 0x2: mp2, rate=48000Hz, bitrate=192000 Unknown (MPEG) (2.0 ch)
[18:04:04] scan: 10 previews, 1280x720, 50,000 fps, autocrop = 14/12/18/14, aspect 16:9, PAR 1:1
[18:04:04] libhb: scan thread found 1 valid title(s)

** (ghb:15854): WARNING **: Inhibit failed: The name org.freedesktop.PowerManagement was not provided by any .service files
[18:09:55] CPU:
[18:09:55] - logical processor count: 8
[18:09:55] OpenCL: library not available
[18:09:55] hb_scan: path=/tapes/tempmkvsource/20150411-2016---br-sued-hd---flucht-in-die-dolomiten~16.9_1280x720p_v_13.2mbps_vmpg4_mp3_48khz_1h19mn.mkv, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /tapes/tempmkvsource/20150411-2016---br-sued-hd---flucht-in-die-dolomiten~16.9_1280x720p_v_13.2mbps_vmpg4_mp3_48khz_1h19mn.mkv/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /tapes/tempmkvsource/20150411-2016---br-sued-hd---flucht-in-die-dolomiten~16.9_1280x720p_v_13.2mbps_vmpg4_mp3_48khz_1h19mn.mkv/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(/tapes/tempmkvsource/20150411-2016---br-sued-hd---flucht-in-die-dolomiten~16.9_1280x720p_v_13.2mbps_vmpg4_mp3_48khz_1h19mn.mkv) failed
[18:09:55] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[18:09:55] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/tapes/tempmkvsource/20150411-2016---br-sued-hd---flucht-in-die-dolomiten~16.9_1280x720p_v_13.2mbps_vmpg4_mp3_48khz_1h19mn.mkv':
Duration: 01:19:26.92, start: 0.000000, bitrate: N/A
Stream #0.0: Video: h264 (High), yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 50 fps, 1k tbn, 100 tbc (default)
Stream #0.1(ger): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s (default)
Stream #0.2(mis): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s
Stream #0.3(ger): Audio: ac3, 48000 Hz, stereo, fltp, 448 kb/s
[18:09:55] scan: decoding previews for title 1
[18:09:55] scan: audio 0x3: ac3, rate=48000Hz, bitrate=448000 Deutsch (AC3) (2.0 ch)
[18:09:55] scan: audio 0x1: mp2, rate=48000Hz, bitrate=192000 Deutsch (MPEG) (2.0 ch)
[18:09:55] scan: audio 0x2: mp2, rate=48000Hz, bitrate=192000 Unknown (MPEG) (2.0 ch)
[18:09:58] scan: 10 previews, 1280x720, 50,000 fps, autocrop = 14/12/18/14, aspect 16:9, PAR 1:1
[18:09:58] libhb: scan thread found 1 valid title(s)
[18:10:00] gtkgui: Modified Custom Preset: DVB 50-25fps col
[18:10:00] 1 job(s) to process
[18:10:00] starting job
[18:10:00] sync: expecting 238200 video frames
[18:10:00] job configuration:
[18:10:00] * source
[18:10:00] + /tapes/tempmkvsource/20150411-2016---br-sued-hd---flucht-in-die-dolomiten~16.9_1280x720p_v_13.2mbps_vmpg4_mp3_48khz_1h19mn.mkv
[18:10:00] + title 1, start 00:00:3,00 stop 01:19:26,00
[18:10:00] + container: matroska,webm
[18:10:00] * destination
[18:10:00] + /videos/movies/20150411-2016---br-sued-hd---flucht-in-die-dolomiten~16.9_1280x720p_v_13.2mbps_vmpg4_mp3_48khz_1h19mn.mkv
[18:10:00] + container: Matroska (libavformat)
[18:10:00] * video track
[18:10:00] + decoder: h264
[18:10:00] + filters
[18:10:00] + Decomb (default settings)
[18:10:00] + Framerate Shaper (1:27000000:1080000)
[18:10:00] + frame rate: 50,000 fps -> constant 25,000 fps
[18:10:00] + Denoise (nlmeans) (default settings)
[18:10:00] + Crop and Scale (1280:720:18:16:30:30)
[18:10:00] + source: 1280 * 720, crop (18/16/30/30): 1220 * 686, scale: 1280 * 720
[18:10:00] + dimensions: 1280 * 720, mod 2
[18:10:00] + encoder: H.264 (libx264)
[18:10:00] + preset: medium
[18:10:00] + tune: film
[18:10:00] + quality: 25,00 (RF)
[18:10:00] * audio track 1
[18:10:00] + decoder: Deutsch (MPEG) (2.0 ch) (track 1, id 0x1)
[18:10:00] + bitrate: 192 kbps, samplerate: 48000 Hz
[18:10:00] + mixdown: Stereo
[18:10:00] + encoder: AAC (libavcodec)
[18:10:00] + bitrate: 160 kbps, samplerate: 48000 Hz
[18:10:00] yadif thread started for segment 0
[18:10:00] yadif thread started for segment 1
[18:10:00] yadif thread started for segment 2
[18:10:00] yadif thread started for segment 3
[18:10:00] yadif thread started for segment 4
[18:10:00] yadif thread started for segment 5
[18:10:00] yadif thread started for segment 6
[18:10:00] mask erode thread started for segment 5
[18:10:00] mask dilate thread started for segment 0
[18:10:00] mask erode thread started for segment 7
[18:10:00] mask dilate thread started for segment 1
[18:10:00] mask dilate thread started for segment 2
[18:10:00] mask dilate thread started for segment 3
[18:10:00] mask dilate thread started for segment 4
[18:10:00] mask dilate thread started for segment 5
[18:10:00] mask dilate thread started for segment 6
[18:10:00] mask erode thread started for segment 4
[18:10:00] mask erode thread started for segment 6
[18:10:00] mask erode thread started for segment 1
[18:10:00] mask erode thread started for segment 0
[18:10:00] mask erode thread started for segment 2
[18:10:00] NLMeans Denoise thread started for segment 5
[18:10:00] NLMeans Denoise thread started for segment 6
[18:10:00] NLMeans Denoise thread started for segment 7
[18:10:00] NLMeans Denoise thread started for segment 3
[18:10:00] NLMeans Denoise thread started for segment 4
[18:10:00] NLMeans Denoise thread started for segment 1
[18:10:00] NLMeans Denoise thread started for segment 2
[18:10:00] NLMeans Denoise thread started for segment 0
[18:10:00] mask dilate thread started for segment 7
[18:10:00] decomb filter thread started for segment 6
[18:10:00] decomb filter thread started for segment 7
[18:10:00] decomb check thread started for segment 0
[18:10:00] decomb check thread started for segment 1
[18:10:00] decomb check thread started for segment 2
[18:10:00] mask erode thread started for segment 3
[18:10:00] yadif thread started for segment 7
[18:10:00] decomb check thread started for segment 3
[18:10:00] decomb filter thread started for segment 1
[18:10:00] decomb check thread started for segment 4
[18:10:00] decomb filter thread started for segment 2
[18:10:00] decomb filter thread started for segment 3
[18:10:00] decomb check thread started for segment 5
[18:10:00] decomb filter thread started for segment 0
[18:10:00] decomb filter thread started for segment 4
[18:10:00] decomb check thread started for segment 6
[18:10:00] decomb filter thread started for segment 5
[18:10:00] decomb check thread started for segment 7
[18:10:00] mask filter thread started for segment 0
[18:10:00] mask filter thread started for segment 4
[18:10:00] mask filter thread started for segment 5
[18:10:00] mask filter thread started for segment 6
[18:10:00] mask filter thread started for segment 7
[18:10:00] encx264: encoding at constant RF 25,000000
[18:10:00] encx264: unparsed options: deblock=-1,-1:psy-rd=1,00,0,15
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX XOP FMA4 FMA3 LZCNT BMI1
[18:10:00] reader: first SCR 238050 id 0x0 DTS 238050
[18:10:00] mask filter thread started for segment 3
[18:10:00] mask filter thread started for segment 2
[18:10:00] mask filter thread started for segment 1
x264 [info]: profile High, level 3.1
[18:10:00] sync: adding 778 ms of silence to audio 0x1 start 70020, next 0
[18:10:00] sync: first pts is 32400
[22:54:21] reader: done. 1 scr changes
[22:54:22] sync: reached pts 428670000, exiting early
[22:54:24] work: average encoding speed for job is 13,957650 fps
[22:54:24] sync: got 238150 frames, 238200 expected
[22:54:24] decomb: deinterlaced 2 | blended 286 | unfiltered 237861 | total 238149
[22:54:24] render: 119075 frames output, 119074 dropped and 0 duped for CFR/PFR
[22:54:24] render: lost time: 0 (0 frames)
[22:54:24] render: gained time: 0 (0 frames) (0 not accounted for)
[22:54:24] h264-decoder done: 238214 frames, 0 decoder errors, 0 drops
x264 [info]: frame I:688 Avg QP:24,18 size: 61733
x264 [info]: frame P:61148 Avg QP:27,01 size: 17477
x264 [info]: frame B:57239 Avg QP:30,16 size: 4094
x264 [info]: consecutive B-frames: 7,7% 80,6% 11,5% 0,1%
x264 [info]: mb I I16..4: 7,2% 79,0% 13,7%
x264 [info]: mb P I16..4: 0,6% 4,8% 0,5% P16..4: 49,7% 17,0% 8,1% 0,0% 0,0% skip:19,1%
x264 [info]: mb B I16..4: 0,0% 0,4% 0,0% B16..8: 36,5% 3,6% 0,7% direct: 1,4% skip:57,3% L0:28,0% L1:64,0% BI: 8,0%
x264 [info]: 8x8 transform intra:80,4% inter:79,7%
x264 [info]: coded y,uvDC,uvAC intra: 75,1% 59,8% 11,3% inter: 22,6% 20,1% 0,0%
x264 [info]: i16 v,h,dc,p: 30% 42% 5% 23%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 18% 12% 6% 10% 10% 11% 8% 9%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 20% 10% 6% 12% 10% 10% 7% 6%
x264 [info]: i8c dc,h,v,p: 56% 19% 19% 6%
x264 [info]: Weighted P-Frames: Y:22,6% UV:7,0%
x264 [info]: ref P L0: 60,4% 21,4% 11,4% 5,5% 1,3%
x264 [info]: ref B L0: 91,8% 7,8% 0,4%
x264 [info]: ref B L1: 99,2% 0,8%
x264 [info]: kb/s:2259,86
[22:54:24] mp2-decoder done: 0 frames, 0 decoder errors, 0 drops
[22:54:24] mux: track 0, 119075 frames, 1345436084 bytes, 2259,81 kbps, fifo 2048
[22:54:24] mux: track 1, 223250 frames, 95517705 bytes, 160,43 kbps, fifo 4096
[22:54:25] libhb: work result = 0
mduell
Veteran User
Posts: 7258
Joined: Sat Apr 21, 2007 8:54 pm

Re: Black border NOT cut

Post by mduell »

You can try increasing the number of previews it uses for autocrop in settings, or set cropping manually if autocrop can't get it right on a particular file.
Woodstock
Veteran User
Posts: 3843
Joined: Tue Aug 27, 2013 6:39 am

Re: Black border NOT cut

Post by Woodstock »

I may be looking at this wrong, but...

Code: Select all

[18:10:00] + source: 1280 * 720, crop (18/16/30/30): 1220 * 686, scale: 1280 * 720
You're telling handbrake to crop the image to 1220x686, then scale it back up to 1280x720. Maintaining the aspect ratio, that's going to put a black bar top and bottom, unless I totally misunderstand the scaling.
User avatar
Rodeo
HandBrake Team
Posts: 12619
Joined: Tue Mar 03, 2009 8:55 pm

Re: Black border NOT cut

Post by Rodeo »

We don't do padding. If the input is wider than 1.77:1, the borders are misdetected though.
linuxuser
Bright Spark User
Posts: 184
Joined: Fri Jan 06, 2012 7:47 pm

Re: Black border NOT cut

Post by linuxuser »

This is a DVB-recording with black borders on all 4 sides, Autocrop doesn't it perfect, so I changed the values manually in a way, that the crop has a 16:9 aspect ratio with no black border. The result is 1220 * 686. To get a standard size I scale it to 1280 * 720. This works fine nearly 99% At the same time there was a 2nd handbrake running with the same strategy, cutting black borders with manual values and scaling it to a default size, it worked perfectly.

Code: Select all

If the input is wider than 1.77:1, the borders are misdetected though.
The 2nd encoding used a very wide format and it was perfect.
[00:47:00] gtkgui: HandBrake 0.10.1 (2015030800) - Linux x86_64 - https://handbrake.fr
[00:47:00] hb_init: starting libhb thread
[00:47:00] hb_init: starting libhb thread

(ghb:7000): Gdk-WARNING **: gdk_window_set_icon_list: icons too large
[00:47:34] CPU:
[00:47:34] - logical processor count: 8
[00:47:34] OpenCL: library not available
[00:47:34] hb_scan: path=/tapes/tempmkvsource/20150412-0530---mdr-s-anhalt-hd---lausbubengeschichten~16.9_1280x720p_v_11.5mbps_vmpg4_mp3_48khz_1h35mn.mkv, title_index=0
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /tapes/tempmkvsource/20150412-0530---mdr-s-anhalt-hd---lausbubengeschichten~16.9_1280x720p_v_11.5mbps_vmpg4_mp3_48khz_1h35mn.mkv/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /tapes/tempmkvsource/20150412-0530---mdr-s-anhalt-hd---lausbubengeschichten~16.9_1280x720p_v_11.5mbps_vmpg4_mp3_48khz_1h35mn.mkv/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(/tapes/tempmkvsource/20150412-0530---mdr-s-anhalt-hd---lausbubengeschichten~16.9_1280x720p_v_11.5mbps_vmpg4_mp3_48khz_1h35mn.mkv) failed
[00:47:34] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[00:47:34] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/tapes/tempmkvsource/20150412-0530---mdr-s-anhalt-hd---lausbubengeschichten~16.9_1280x720p_v_11.5mbps_vmpg4_mp3_48khz_1h35mn.mkv':
Duration: 01:35:31.29, start: 0.000000, bitrate: N/A
Stream #0.0: Video: h264 (High), yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 50 fps, 1k tbn, 100 tbc (default)
Stream #0.1(ger): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s (default)
Stream #0.2(mis): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s
Stream #0.3(ger): Audio: ac3, 48000 Hz, stereo, fltp, 448 kb/s
[00:47:34] scan: decoding previews for title 1
[00:47:34] scan: audio 0x3: ac3, rate=48000Hz, bitrate=448000 Deutsch (AC3) (2.0 ch)
[00:47:34] scan: audio 0x1: mp2, rate=48000Hz, bitrate=192000 Deutsch (MPEG) (2.0 ch)
[00:47:34] scan: audio 0x2: mp2, rate=48000Hz, bitrate=192000 Unknown (MPEG) (2.0 ch)
[00:47:35] scan: 10 previews, 1280x720, 50,000 fps, autocrop = 88/86/0/0, aspect 16:9, PAR 1:1
[00:47:35] libhb: scan thread found 1 valid title(s)
This is a screenshot of the encoded video (where it didn't work) and it looks like the source:
Image
musicvid
Veteran User
Posts: 3757
Joined: Sat Jun 27, 2009 1:19 am

Re: Black border NOT cut

Post by musicvid »

Do you have a Player where you can change the screen background color? VLC won't do it AFAIK.

[EDIT]
When you are able to do that, you will find that the analog camera noise extends all the way to the bottom edge, meaning it is part of your source. Handbrake did exactly as it should in detecting it and setting the aspect accordingly.
Tht's my guess, anyway.

This should lead you to a solution, whether it be manual cropping or better preprocessing.
Best.
Image
linuxuser
Bright Spark User
Posts: 184
Joined: Fri Jan 06, 2012 7:47 pm

Re: Black border NOT cut

Post by linuxuser »

When you are able to do that, you will find that the analog camera noise extends all the way to the bottom edge,
Are you talking of the automatic cut off? I entered manual values as you see in the log. So I am not sure, if I misunderstood something. The posted picture is 1280x720, so it shold cut off borders as mentioned in the log and when it scales back to 720p there should not be borders anymroe. Itg doesn't matter if it is part of the movie or really black. As mentioned already, it works most times. I didn't rry it again after a reboot, but I think it would do everything correctly as I noticed with other movies.
musicvid
Veteran User
Posts: 3757
Joined: Sat Jun 27, 2009 1:19 am

Re: Black border NOT cut

Post by musicvid »

Only thing I can suggest is take a closer look at your source.
That would need to be done on a screen background that is not black.
linuxuser
Bright Spark User
Posts: 184
Joined: Fri Jan 06, 2012 7:47 pm

Re: Black border NOT cut

Post by linuxuser »

I tried it again and it worked perfectly. I encoded 1 minute only. Can you see in the log what is the difference? As mentioned already, I noticed, that after a reboot it could work.

Code: Select all

[12:38:02] gtkgui: HandBrake 0.10.1 (2015030800) - Linux x86_64 - https://handbrake.fr
[12:38:03] hb_init: starting libhb thread
[12:38:03] hb_init: starting libhb thread

(ghb:5034): Gdk-WARNING **: gdk_window_set_icon_list: icons too large
[12:38:33] CPU: 
[12:38:33]  - logical processor count: 8
[12:38:33] OpenCL: library not available
[12:38:33] hb_scan: path=/tapes/20150411 2016 - BR Süd HD - Flucht in die Dolomiten.ts, title_index=0
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /tapes/20150411 2016 - BR Süd HD - Flucht in die Dolomiten.ts/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /tapes/20150411 2016 - BR Süd HD - Flucht in die Dolomiten.ts/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(/tapes/20150411 2016 - BR Süd HD - Flucht in die Dolomiten.ts) failed
[12:38:33] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread: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:38:33] dvd: not a dvd - trying as a stream/file instead
[12:38:33] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[12:38:33] Found the following PIDS
[12:38:33]     Video PIDS : 
[12:38:33]       0x1451 type H.264 (0x1b) (PCR)
[12:38:33]     Audio PIDS : 
[12:38:33]       0x1452 type MPEG1 (0x3)
[12:38:33]       0x1453 type MPEG1 (0x3)
[12:38:33]       0x1456 type AC3 (0x81)
[12:38:33]     Subtitle PIDS : 
[12:38:33]     Other PIDS : 
[12:38:33]       0x622 type ISO 13818-1 private section (0x5)
[12:38:33]       0x87b type ISO 13818-6 DSM-CC U-N msgs (0xb)
[12:38:33]       0x1454 type DVB Teletext (0x0)
[12:38:33]       0x1455 type DVB Subtitling (0x0)
[12:38:33] stream id 0x1452 (type 0x3 substream 0x0) audio 0x1452
[12:38:33] stream id 0x1453 (type 0x3 substream 0x0) audio 0x1453
[12:38:33] stream id 0x1456 (type 0x81 substream 0x0) audio 0x1456
[12:38:35] stream doesn't seem to have video IDR frames
[12:38:35] scan: decoding previews for title 1
[12:38:35] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[12:38:35] scan: audio 0x1456: ac3, rate=48000Hz, bitrate=448000 Deutsch (AC3) (2.0 ch)
[12:38:35] scan: audio 0x1453: mp2, rate=48000Hz, bitrate=200000 Unknown (MPEG) (2.0 ch)
[12:38:35] scan: audio 0x1452: mp2, rate=48000Hz, bitrate=200000 Deutsch (MPEG) (2.0 ch)
[12:38:37] stream: 52 good frames, 0 errors (0%)
[12:38:37] scan: 10 previews, 1280x720, 50,000 fps, autocrop = 14/14/18/14, aspect 16:9, PAR 1:1
[12:38:37] libhb: scan thread found 1 valid title(s)

** (ghb:5034): WARNING **: Inhibit failed: The name org.freedesktop.PowerManagement was not provided by any .service files
[12:42:16] CPU: 
[12:42:16]  - logical processor count: 8
[12:42:16] OpenCL: library not available
[12:42:16] hb_scan: path=/tapes/20150411 2016 - BR Süd HD - Flucht in die Dolomiten.ts, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /tapes/20150411 2016 - BR Süd HD - Flucht in die Dolomiten.ts/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /tapes/20150411 2016 - BR Süd HD - Flucht in die Dolomiten.ts/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(/tapes/20150411 2016 - BR Süd HD - Flucht in die Dolomiten.ts) failed
[12:42:16] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread: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:42:16] dvd: not a dvd - trying as a stream/file instead
[12:42:16] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[12:42:16] Found the following PIDS
[12:42:16]     Video PIDS : 
[12:42:16]       0x1451 type H.264 (0x1b) (PCR)
[12:42:16]     Audio PIDS : 
[12:42:16]       0x1452 type MPEG1 (0x3)
[12:42:16]       0x1453 type MPEG1 (0x3)
[12:42:16]       0x1456 type AC3 (0x81)
[12:42:16]     Subtitle PIDS : 
[12:42:16]     Other PIDS : 
[12:42:16]       0x622 type ISO 13818-1 private section (0x5)
[12:42:16]       0x87b type ISO 13818-6 DSM-CC U-N msgs (0xb)
[12:42:16]       0x1454 type DVB Teletext (0x0)
[12:42:16]       0x1455 type DVB Subtitling (0x0)
[12:42:16] stream id 0x1452 (type 0x3 substream 0x0) audio 0x1452
[12:42:16] stream id 0x1453 (type 0x3 substream 0x0) audio 0x1453
[12:42:16] stream id 0x1456 (type 0x81 substream 0x0) audio 0x1456
[12:42:17] stream doesn't seem to have video IDR frames
[12:42:17] scan: decoding previews for title 1
[12:42:17] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[12:42:17] scan: audio 0x1456: ac3, rate=48000Hz, bitrate=448000 Deutsch (AC3) (2.0 ch)
[12:42:17] scan: audio 0x1453: mp2, rate=48000Hz, bitrate=200000 Unknown (MPEG) (2.0 ch)
[12:42:17] scan: audio 0x1452: mp2, rate=48000Hz, bitrate=200000 Deutsch (MPEG) (2.0 ch)
[12:42:19] stream: 52 good frames, 0 errors (0%)
[12:42:19] scan: 10 previews, 1280x720, 50,000 fps, autocrop = 14/14/18/14, aspect 16:9, PAR 1:1
[12:42:19] libhb: scan thread found 1 valid title(s)
[12:42:21] gtkgui: Modified Custom Preset: DVB 50-25fps col
[12:42:21] 1 job(s) to process
[12:42:21] starting job
[12:42:21] yadif thread started for segment 2
[12:42:21] yadif thread started for segment 0
[12:42:21] yadif thread started for segment 1
[12:42:21] yadif thread started for segment 3
[12:42:21] yadif thread started for segment 4
[12:42:21] yadif thread started for segment 7
[12:42:21] decomb filter thread started for segment 0
[12:42:21] decomb filter thread started for segment 1
[12:42:21] yadif thread started for segment 5
[12:42:21] yadif thread started for segment 6
[12:42:21] decomb filter thread started for segment 2
[12:42:21] decomb filter thread started for segment 3
[12:42:21] decomb filter thread started for segment 4
[12:42:21] decomb check thread started for segment 0
[12:42:21] decomb filter thread started for segment 6
[12:42:21] decomb check thread started for segment 2
[12:42:21] decomb check thread started for segment 4
[12:42:21] decomb check thread started for segment 5
[12:42:21] decomb check thread started for segment 7
[12:42:21] mask filter thread started for segment 0
[12:42:21] decomb filter thread started for segment 5
[12:42:21] mask filter thread started for segment 5
[12:42:21] decomb check thread started for segment 6
[12:42:21] mask erode thread started for segment 0
[12:42:21] decomb filter thread started for segment 7
[12:42:21] mask filter thread started for segment 1
[12:42:21] mask filter thread started for segment 2
[12:42:21] mask filter thread started for segment 3
[12:42:21] mask dilate thread started for segment 1
[12:42:21] decomb check thread started for segment 1
[12:42:21] mask filter thread started for segment 6
[12:42:21] mask filter thread started for segment 7
[12:42:21] decomb check thread started for segment 3
[12:42:21] mask erode thread started for segment 1
[12:42:21] mask erode thread started for segment 2
[12:42:21] mask erode thread started for segment 3
[12:42:21] NLMeans Denoise thread started for segment 3
[12:42:21] NLMeans Denoise thread started for segment 4
[12:42:21] NLMeans Denoise thread started for segment 7
[12:42:21] mask erode thread started for segment 7
[12:42:21] mask dilate thread started for segment 0
[12:42:21] mask filter thread started for segment 4
[12:42:21] mask dilate thread started for segment 2
[12:42:21] mask dilate thread started for segment 3
[12:42:21] mask dilate thread started for segment 4
[12:42:21] mask dilate thread started for segment 5
[12:42:21] mask dilate thread started for segment 6
[12:42:21] mask dilate thread started for segment 7
[12:42:21] NLMeans Denoise thread started for segment 0
[12:42:21] NLMeans Denoise thread started for segment 1
[12:42:21] NLMeans Denoise thread started for segment 2
[12:42:21] mask erode thread started for segment 4
[12:42:21] mask erode thread started for segment 5
[12:42:21] NLMeans Denoise thread started for segment 5
[12:42:21] NLMeans Denoise thread started for segment 6
[12:42:21] mask erode thread started for segment 6
[12:42:21] sync: expecting 4100 video frames
[12:42:21] job configuration:
[12:42:21]  * source
[12:42:21]    + /tapes/20150411 2016 - BR Süd HD - Flucht in die Dolomiten.ts
[12:42:21]    + title 1, start 00:52:0,00 stop 00:53:21,00
[12:42:21]  * destination
[12:42:21]    + /videos/movies/20150411 2016 - BR Süd HD - Flucht in die Dolomiten.mkv
[12:42:21]    + container: Matroska (libavformat)
[12:42:21]  * video track
[12:42:21]    + decoder: h264
[12:42:21]      + bitrate 200 kbps
[12:42:21]    + filters
[12:42:21]      + Decomb (default settings)
[12:42:21]      + Framerate Shaper (1:27000000:1080000)
[12:42:21]        + frame rate: 50,000 fps -> constant 25,000 fps
[12:42:21]      + Denoise (nlmeans) (default settings)
[12:42:21]      + Crop and Scale (1280:720:18:16:30:30)
[12:42:21]        + source: 1280 * 720, crop (18/16/30/30): 1220 * 686, scale: 1280 * 720
[12:42:21]    + dimensions: 1280 * 720, mod 2
[12:42:21]    + encoder: H.264 (libx264)
[12:42:21]      + preset:  medium
[12:42:21]      + tune:    film
[12:42:21]      + quality: 25,00 (RF)
[12:42:21]  * audio track 1
[12:42:21]    + decoder: Deutsch (MPEG) (2.0 ch) (track 1, id 0x1452)
[12:42:21]      + bitrate: 200 kbps, samplerate: 48000 Hz
[12:42:21]    + mixdown: Stereo
[12:42:21]    + encoder: AAC (libavcodec)
[12:42:21]      + bitrate: 160 kbps, samplerate: 48000 Hz
[12:42:21] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[12:42:21] reader: first SCR 6478108274 id 0x1451 DTS 6478108274
[12:42:21] encx264: encoding at constant RF 25,000000
[12:42:21] encx264: unparsed options: deblock=-1,-1:psy-rd=1,00,0,15
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX XOP FMA4 FMA3 LZCNT BMI1
x264 [info]: profile High, level 3.1
[12:43:26] h264: "Chapter 1" (1) at frame 0 time 279862143
[12:43:28] sync: first pts is 280801743
[12:45:55] sync: reached pts 7290000, exiting early
[12:45:59] work: average encoding speed for job is 27,482584 fps
[12:45:59] sync: got 4050 frames, 4100 expected
[12:45:59] decomb: deinterlaced 0 | blended 1 | unfiltered 4048 | total 4049
[12:45:59] render: 2025 frames output, 2024 dropped and 0 duped for CFR/PFR
[12:45:59] render: lost time: 0 (0 frames)
[12:45:59] render: gained time: 0 (0 frames) (0 not accounted for)
[12:45:59] h264-decoder done: 5276 frames, 0 decoder errors, 0 drops
x264 [info]: frame I:12    Avg QP:24,45  size: 62830
x264 [info]: frame P:1018  Avg QP:27,24  size: 17703
x264 [info]: frame B:995   Avg QP:30,97  size:  3649
x264 [info]: consecutive B-frames:  1,9% 97,5%  0,6%  0,0%
x264 [info]: mb I  I16..4:  2,3% 84,9% 12,7%
x264 [info]: mb P  I16..4:  0,2%  3,4%  0,4%  P16..4: 52,8% 19,9%  8,7%  0,0%  0,0%    skip:14,6%
x264 [info]: mb B  I16..4:  0,0%  0,2%  0,0%  B16..8: 37,8%  3,2%  0,6%  direct: 1,1%  skip:57,1%  L0:24,4% L1:69,1% BI: 6,5%
x264 [info]: 8x8 transform intra:85,5% inter:78,9%
x264 [info]: coded y,uvDC,uvAC intra: 84,3% 70,8% 20,3% inter: 23,4% 21,4% 0,1%
x264 [info]: i16 v,h,dc,p: 17% 34%  6% 44%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 17% 10%  6% 10% 11% 12%  9% 10%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 19% 10%  6% 12% 11% 11%  7%  6%
x264 [info]: i8c dc,h,v,p: 54% 17% 21%  8%
x264 [info]: Weighted P-Frames: Y:26,6% UV:3,7%
x264 [info]: ref P L0: 60,6% 22,6% 10,5%  5,0%  1,4%
x264 [info]: ref B L0: 96,2%  3,8%  0,0%
x264 [info]: ref B L1: 100,0%  0,0%
x264 [info]: kb/s:2212,92
[12:45:59] mp2-decoder done: 0 frames, 0 decoder errors, 0 drops
[12:45:59] mux: track 0, 2025 frames, 22405333 bytes, 2212,87 kbps, fifo 1024
[12:45:59] mux: track 1, 3795 frames, 1623482 bytes, 160,34 kbps, fifo 2048
[12:46:00] reader: done. 2 scr changes
[12:46:00] stream: 160761 good frames, 0 errors (0%)
[12:46:00] libhb: work result = 0
linuxuser
Bright Spark User
Posts: 184
Joined: Fri Jan 06, 2012 7:47 pm

Re: Black border NOT cut

Post by linuxuser »

Again a sample, where cut did not du what it should, but only left and right. See image below. The autmatic values of handbrake say for left and right 42, which I used, for top and botootm to get 16:9 I cut off 24 at top and bottom and scaled it to the orginal size 1280x720. Source and encoded video look the same at the borders.

Code: Select all

 + Crop and Scale (1280:720:24:24:42:42)

Code: Select all

[15:07:43] gtkgui: HandBrake 0.10.1 (2015030800) - Linux x86_64 - https://handbrake.fr
[15:07:43] hb_init: starting libhb thread
[15:07:43] hb_init: starting libhb thread

(ghb:4768): Gdk-WARNING **: gdk_window_set_icon_list: icons too large
[15:12:43] CPU: 
[15:12:43]  - logical processor count: 8
[15:12:43] OpenCL: library not available
[15:12:43] hb_scan: path=/tapes/tempmkvsource/20150419-1310---swr-bw-hd---bei-der-blonden-kathrein~16.9_1280x720p_v_10.2mbps_vmpg4_mp3_48khz_1h21mn.mkv, title_index=0
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /tapes/tempmkvsource/20150419-1310---swr-bw-hd---bei-der-blonden-kathrein~16.9_1280x720p_v_10.2mbps_vmpg4_mp3_48khz_1h21mn.mkv/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /tapes/tempmkvsource/20150419-1310---swr-bw-hd---bei-der-blonden-kathrein~16.9_1280x720p_v_10.2mbps_vmpg4_mp3_48khz_1h21mn.mkv/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(/tapes/tempmkvsource/20150419-1310---swr-bw-hd---bei-der-blonden-kathrein~16.9_1280x720p_v_10.2mbps_vmpg4_mp3_48khz_1h21mn.mkv) failed
[15:12:43] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[15:12:43] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/tapes/tempmkvsource/20150419-1310---swr-bw-hd---bei-der-blonden-kathrein~16.9_1280x720p_v_10.2mbps_vmpg4_mp3_48khz_1h21mn.mkv':
  Duration: 01:21:20.04, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: h264 (High), yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 50 fps, 1k tbn, 100 tbc (default)
    Stream #0.1(ger): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s (default)
    Stream #0.2(mis): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s
    Stream #0.3(ger): Audio: ac3, 48000 Hz, stereo, fltp, 448 kb/s
[15:12:43] scan: decoding previews for title 1
[15:12:43] scan: audio 0x3: ac3, rate=48000Hz, bitrate=448000 Deutsch (AC3) (2.0 ch)
[15:12:43] scan: audio 0x1: mp2, rate=48000Hz, bitrate=192000 Deutsch (MPEG) (2.0 ch)
[15:12:43] scan: audio 0x2: mp2, rate=48000Hz, bitrate=192000 Unknown (MPEG) (2.0 ch)
[15:12:45] scan: 10 previews, 1280x720, 50,000 fps, autocrop = 0/0/42/42, aspect 16:9, PAR 1:1
[15:12:45] libhb: scan thread found 1 valid title(s)

** (ghb:4768): WARNING **: Inhibit failed: The name org.freedesktop.PowerManagement was not provided by any .service files
[15:16:15] CPU: 
[15:16:15]  - logical processor count: 8
[15:16:15] OpenCL: library not available
[15:16:15] hb_scan: path=/tapes/tempmkvsource/20150419-1310---swr-bw-hd---bei-der-blonden-kathrein~16.9_1280x720p_v_10.2mbps_vmpg4_mp3_48khz_1h21mn.mkv, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /tapes/tempmkvsource/20150419-1310---swr-bw-hd---bei-der-blonden-kathrein~16.9_1280x720p_v_10.2mbps_vmpg4_mp3_48khz_1h21mn.mkv/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /tapes/tempmkvsource/20150419-1310---swr-bw-hd---bei-der-blonden-kathrein~16.9_1280x720p_v_10.2mbps_vmpg4_mp3_48khz_1h21mn.mkv/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(/tapes/tempmkvsource/20150419-1310---swr-bw-hd---bei-der-blonden-kathrein~16.9_1280x720p_v_10.2mbps_vmpg4_mp3_48khz_1h21mn.mkv) failed
[15:16:15] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[15:16:15] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/tapes/tempmkvsource/20150419-1310---swr-bw-hd---bei-der-blonden-kathrein~16.9_1280x720p_v_10.2mbps_vmpg4_mp3_48khz_1h21mn.mkv':
  Duration: 01:21:20.04, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: h264 (High), yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 50 fps, 1k tbn, 100 tbc (default)
    Stream #0.1(ger): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s (default)
    Stream #0.2(mis): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s
    Stream #0.3(ger): Audio: ac3, 48000 Hz, stereo, fltp, 448 kb/s
[15:16:15] scan: decoding previews for title 1
[15:16:15] scan: audio 0x3: ac3, rate=48000Hz, bitrate=448000 Deutsch (AC3) (2.0 ch)
[15:16:15] scan: audio 0x1: mp2, rate=48000Hz, bitrate=192000 Deutsch (MPEG) (2.0 ch)
[15:16:15] scan: audio 0x2: mp2, rate=48000Hz, bitrate=192000 Unknown (MPEG) (2.0 ch)
[15:16:16] scan: 10 previews, 1280x720, 50,000 fps, autocrop = 0/0/42/42, aspect 16:9, PAR 1:1
[15:16:16] libhb: scan thread found 1 valid title(s)
[15:16:18] gtkgui: Modified Custom Preset: DVB 50-25fps col
[15:16:18] 1 job(s) to process
[15:16:18] starting job
[15:16:18] yadif thread started for segment 0
[15:16:18] yadif thread started for segment 1
[15:16:18] yadif thread started for segment 2
[15:16:18] yadif thread started for segment 3
[15:16:18] yadif thread started for segment 4
[15:16:18] yadif thread started for segment 5
[15:16:18] yadif thread started for segment 6
[15:16:18] yadif thread started for segment 7
[15:16:18] decomb filter thread started for segment 2
[15:16:18] decomb filter thread started for segment 1
[15:16:18] decomb filter thread started for segment 4
[15:16:18] decomb filter thread started for segment 3
[15:16:18] decomb filter thread started for segment 0
[15:16:18] decomb filter thread started for segment 5
[15:16:18] decomb filter thread started for segment 6
[15:16:18] decomb filter thread started for segment 7
[15:16:18] decomb check thread started for segment 0
[15:16:18] decomb check thread started for segment 1
[15:16:18] decomb check thread started for segment 2
[15:16:18] decomb check thread started for segment 3
[15:16:18] decomb check thread started for segment 4
[15:16:18] decomb check thread started for segment 5
[15:16:18] mask filter thread started for segment 1
[15:16:18] mask filter thread started for segment 2
[15:16:18] mask filter thread started for segment 0
[15:16:18] decomb check thread started for segment 6
[15:16:18] decomb check thread started for segment 7
[15:16:18] mask filter thread started for segment 3
[15:16:18] mask filter thread started for segment 4
[15:16:18] mask filter thread started for segment 5
[15:16:18] mask filter thread started for segment 6
[15:16:18] mask filter thread started for segment 7
[15:16:18] mask erode thread started for segment 0
[15:16:18] mask erode thread started for segment 1
[15:16:18] mask erode thread started for segment 6
[15:16:18] mask erode thread started for segment 3
[15:16:18] mask erode thread started for segment 4
[15:16:18] mask erode thread started for segment 5
[15:16:18] mask erode thread started for segment 2
[15:16:18] mask erode thread started for segment 7
[15:16:18] mask dilate thread started for segment 0
[15:16:18] mask dilate thread started for segment 1
[15:16:18] mask dilate thread started for segment 2
[15:16:18] mask dilate thread started for segment 3
[15:16:18] mask dilate thread started for segment 4
[15:16:18] mask dilate thread started for segment 5
[15:16:18] mask dilate thread started for segment 6
[15:16:18] NLMeans Denoise thread started for segment 3
[15:16:18] NLMeans Denoise thread started for segment 0
[15:16:18] NLMeans Denoise thread started for segment 1
[15:16:18] NLMeans Denoise thread started for segment 7
[15:16:18] sync: expecting 243900 video frames
[15:16:18] NLMeans Denoise thread started for segment 4
[15:16:18] NLMeans Denoise thread started for segment 5
[15:16:18] NLMeans Denoise thread started for segment 6
[15:16:18] NLMeans Denoise thread started for segment 2
[15:16:18] mask dilate thread started for segment 7
[15:16:18] job configuration:
[15:16:18]  * source
[15:16:18]    + /tapes/tempmkvsource/20150419-1310---swr-bw-hd---bei-der-blonden-kathrein~16.9_1280x720p_v_10.2mbps_vmpg4_mp3_48khz_1h21mn.mkv
[15:16:18]    + title 1, start 00:00:3,00 stop 01:21:20,00
[15:16:18]    + container: matroska,webm
[15:16:18]  * destination
[15:16:18]    + /videos/movies/20150419-1310---swr-bw-hd---bei-der-blonden-kathrein~16.9_1280x720p_v_10.2mbps_vmpg4_mp3_48khz_1h21mn.mkv
[15:16:18]    + container: Matroska (libavformat)
[15:16:18]  * video track
[15:16:18]    + decoder: h264
[15:16:18]    + filters
[15:16:18]      + Decomb (default settings)
[15:16:18]      + Framerate Shaper (1:27000000:1080000)
[15:16:18]        + frame rate: 50,000 fps -> constant 25,000 fps
[15:16:18]      + Denoise (nlmeans) (default settings)
[15:16:18]      + Crop and Scale (1280:720:24:24:42:42)
[15:16:18]        + source: 1280 * 720, crop (24/24/42/42): 1196 * 672, scale: 1280 * 720
[15:16:18]    + dimensions: 1280 * 720, mod 2
[15:16:18]    + encoder: H.264 (libx264)
[15:16:18]      + preset:  medium
[15:16:18]      + tune:    film
[15:16:18]      + quality: 25,00 (RF)
[15:16:18]  * audio track 1
[15:16:18]    + decoder: Deutsch (MPEG) (2.0 ch) (track 1, id 0x1)
[15:16:18]      + bitrate: 192 kbps, samplerate: 48000 Hz
[15:16:18]    + mixdown: Stereo
[15:16:18]    + encoder: AAC (libavcodec)
[15:16:18]      + bitrate: 160 kbps, samplerate: 48000 Hz
[15:16:18] encx264: encoding at constant RF 25,000000
[15:16:18] encx264: unparsed options: deblock=-1,-1:psy-rd=1,00,0,15
[15:16:18] reader: first SCR 264330 id 0x0 DTS 264330
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX XOP FMA4 FMA3 LZCNT BMI1
x264 [info]: profile High, level 3.1
[15:16:18] sync: first pts is 21600
[17:59:08] reader: done. 1 scr changes
[17:59:11] sync: reached pts 438930000, exiting early
[17:59:12] work: average encoding speed for job is 24,952581 fps
[17:59:12] sync: got 243850 frames, 243900 expected
[17:59:13] decomb: deinterlaced 0 | blended 29 | unfiltered 243820 | total 243849
[17:59:13] render: 121925 frames output, 121924 dropped and 0 duped for CFR/PFR
[17:59:13] render: lost time: 0 (0 frames)
[17:59:13] render: gained time: 0 (0 frames) (0 not accounted for)
[17:59:13] h264-decoder done: 243861 frames, 0 decoder errors, 0 drops
x264 [info]: frame I:665   Avg QP:22,43  size: 60502
x264 [info]: frame P:64115 Avg QP:25,58  size: 10736
x264 [info]: frame B:57145 Avg QP:27,72  size:  2485
x264 [info]: consecutive B-frames: 24,4% 33,0% 19,2% 23,5%
x264 [info]: mb I  I16..4: 10,4% 72,1% 17,5%
x264 [info]: mb P  I16..4:  1,0%  3,2%  0,4%  P16..4: 38,6%  9,7%  5,7%  0,0%  0,0%    skip:41,3%
x264 [info]: mb B  I16..4:  0,0%  0,2%  0,0%  B16..8: 29,0%  2,0%  0,4%  direct: 0,7%  skip:67,7%  L0:31,0% L1:63,9% BI: 5,1%
x264 [info]: 8x8 transform intra:69,9% inter:80,9%
x264 [info]: coded y,uvDC,uvAC intra: 55,6% 56,8% 16,1% inter: 12,0% 14,4% 0,2%
x264 [info]: i16 v,h,dc,p: 42% 26%  6% 26%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 16% 22%  5%  7%  8%  7%  8%  6%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 19% 12%  5%  8%  9%  7%  7%  5%
x264 [info]: i8c dc,h,v,p: 56% 16% 23%  5%
x264 [info]: Weighted P-Frames: Y:4,7% UV:1,6%
x264 [info]: ref P L0: 64,3% 19,7% 11,1%  4,7%  0,2%
x264 [info]: ref B L0: 91,8%  6,9%  1,3%
x264 [info]: ref B L1: 97,8%  2,2%
x264 [info]: kb/s:1428,04
[17:59:13] mp2-decoder done: 0 frames, 0 decoder errors, 0 drops
[17:59:13] mux: track 0, 121925 frames, 870541236 bytes, 1427,99 kbps, fifo 4096
[17:59:13] mux: track 1, 228551 frames, 97798915 bytes, 160,42 kbps, fifo 8192
[17:59:13] libhb: work result = 0
Image
linuxuser
Bright Spark User
Posts: 184
Joined: Fri Jan 06, 2012 7:47 pm

Re: Black border NOT cut

Post by linuxuser »

Only a quick info. It looks good with svn7109 (2015042101), normally when it is ok at the beginning for a while, it is ok for the whole movie. The log ist after a few minutes of encoding and the borders are cut as desired.

Code: Select all

[11:46:49]      + Crop and Scale (1280:720:24:24:42:42)
[11:46:49]        + source: 1280 * 720, crop (24/24/42/42): 1196 * 672, scale: 1280 * 720

Code: Select all

[11:39:39] gtkgui: HandBrake svn7109 (2015042101) - Linux x86_64 - https://handbrake.fr
[11:39:39] hb_init: starting libhb thread
[11:39:39] hb_init: starting libhb thread
[11:39:39] hb_init: starting libhb thread
[11:39:46] CPU: 
[11:39:46]  - logical processor count: 8
[11:39:46] OpenCL: library not available
[11:39:46] hb_scan: path=/tapes/20150419-1310---swr-bw-hd---bei-der-blonden-kathrein~16.9_1280x720p_v_10.2mbps_vmpg4_mp3_48khz_1h21mn.mkv, title_index=0
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /tapes/20150419-1310---swr-bw-hd---bei-der-blonden-kathrein~16.9_1280x720p_v_10.2mbps_vmpg4_mp3_48khz_1h21mn.mkv/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /tapes/20150419-1310---swr-bw-hd---bei-der-blonden-kathrein~16.9_1280x720p_v_10.2mbps_vmpg4_mp3_48khz_1h21mn.mkv/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(/tapes/20150419-1310---swr-bw-hd---bei-der-blonden-kathrein~16.9_1280x720p_v_10.2mbps_vmpg4_mp3_48khz_1h21mn.mkv) failed
[11:39:46] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[11:39:46] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/tapes/20150419-1310---swr-bw-hd---bei-der-blonden-kathrein~16.9_1280x720p_v_10.2mbps_vmpg4_mp3_48khz_1h21mn.mkv':
  Duration: 01:21:20.04, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: h264 (High), yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 50 fps, 1k tbn, 100 tbc (default)
    Stream #0.1(ger): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s (default)
    Stream #0.2(mis): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s
    Stream #0.3(ger): Audio: ac3, 48000 Hz, stereo, fltp, 448 kb/s
[11:39:46] scan: decoding previews for title 1
[11:39:46] scan: audio 0x3: ac3, rate=48000Hz, bitrate=448000 Deutsch (AC3) (2.0 ch)
[11:39:46] scan: audio 0x1: mp2, rate=48000Hz, bitrate=192000 Deutsch (MPEG) (2.0 ch)
[11:39:46] scan: audio 0x2: mp2, rate=48000Hz, bitrate=192000 Unknown (MPEG) (2.0 ch)
[11:39:50] scan: 30 previews, 1280x720, 50,000 fps, autocrop = 0/0/42/42, aspect 16:9, PAR 1:1
[11:39:50] libhb: scan thread found 1 valid title(s)

** (ghb:4911): WARNING **: Inhibit failed: The name org.freedesktop.PowerManagement was not provided by any .service files
[11:46:48] gtkgui: Modified Custom Preset: dvb50

** (ghb:4911): WARNING **: Invalid NLMeans preset light and/or tune film
[11:46:48] 1 job(s) to process
[11:46:48] CPU: 
[11:46:48]  - logical processor count: 8
[11:46:48] OpenCL: library not available
[11:46:48] hb_scan: path=/tapes/20150419-1310---swr-bw-hd---bei-der-blonden-kathrein~16.9_1280x720p_v_10.2mbps_vmpg4_mp3_48khz_1h21mn.mkv, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /tapes/20150419-1310---swr-bw-hd---bei-der-blonden-kathrein~16.9_1280x720p_v_10.2mbps_vmpg4_mp3_48khz_1h21mn.mkv/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /tapes/20150419-1310---swr-bw-hd---bei-der-blonden-kathrein~16.9_1280x720p_v_10.2mbps_vmpg4_mp3_48khz_1h21mn.mkv/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(/tapes/20150419-1310---swr-bw-hd---bei-der-blonden-kathrein~16.9_1280x720p_v_10.2mbps_vmpg4_mp3_48khz_1h21mn.mkv) failed
[11:46:48] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[11:46:48] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/tapes/20150419-1310---swr-bw-hd---bei-der-blonden-kathrein~16.9_1280x720p_v_10.2mbps_vmpg4_mp3_48khz_1h21mn.mkv':
  Duration: 01:21:20.04, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: h264 (High), yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 50 fps, 1k tbn, 100 tbc (default)
    Stream #0.1(ger): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s (default)
    Stream #0.2(mis): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s
    Stream #0.3(ger): Audio: ac3, 48000 Hz, stereo, fltp, 448 kb/s
[11:46:48] scan: decoding previews for title 1
[11:46:48] scan: audio 0x3: ac3, rate=48000Hz, bitrate=448000 Deutsch (AC3) (2.0 ch)
[11:46:48] scan: audio 0x1: mp2, rate=48000Hz, bitrate=192000 Deutsch (MPEG) (2.0 ch)
[11:46:48] scan: audio 0x2: mp2, rate=48000Hz, bitrate=192000 Unknown (MPEG) (2.0 ch)
[11:46:49] scan: 10 previews, 1280x720, 50,000 fps, autocrop = 0/0/42/42, aspect 16:9, PAR 1:1
[11:46:49] libhb: scan thread found 1 valid title(s)
[11:46:49] starting job
[11:46:49] yadif thread started for segment 0
[11:46:49] yadif thread started for segment 1
[11:46:49] yadif thread started for segment 3
[11:46:49] yadif thread started for segment 4
[11:46:49] yadif thread started for segment 2
[11:46:49] decomb filter thread started for segment 0
[11:46:49] decomb filter thread started for segment 1
[11:46:49] yadif thread started for segment 7
[11:46:49] yadif thread started for segment 5
[11:46:49] decomb filter thread started for segment 6
[11:46:49] decomb filter thread started for segment 2
[11:46:49] decomb filter thread started for segment 3
[11:46:49] decomb check thread started for segment 0
[11:46:49] decomb filter thread started for segment 5
[11:46:49] yadif thread started for segment 6
[11:46:49] decomb filter thread started for segment 7
[11:46:49] decomb filter thread started for segment 4
[11:46:49] decomb check thread started for segment 1
[11:46:49] mask filter thread started for segment 3
[11:46:49] decomb check thread started for segment 3
[11:46:49] decomb check thread started for segment 4
[11:46:49] decomb check thread started for segment 5
[11:46:49] mask erode thread started for segment 2
[11:46:49] mask erode thread started for segment 3
[11:46:49] mask filter thread started for segment 0
[11:46:49] mask filter thread started for segment 1
[11:46:49] mask filter thread started for segment 2
[11:46:49] mask dilate thread started for segment 4
[11:46:49] mask filter thread started for segment 4
[11:46:49] mask filter thread started for segment 5
[11:46:49] mask filter thread started for segment 6
[11:46:49] mask filter thread started for segment 7
[11:46:49] mask erode thread started for segment 0
[11:46:49] mask erode thread started for segment 1
[11:46:49] decomb check thread started for segment 6
[11:46:49] decomb check thread started for segment 7
[11:46:49] mask erode thread started for segment 4
[11:46:49] mask erode thread started for segment 5
[11:46:49] mask erode thread started for segment 6
[11:46:49] mask erode thread started for segment 7
[11:46:49] mask dilate thread started for segment 0
[11:46:49] mask dilate thread started for segment 1
[11:46:49] mask dilate thread started for segment 2
[11:46:49] mask dilate thread started for segment 3
[11:46:49] decomb check thread started for segment 2
[11:46:49] mask dilate thread started for segment 5
[11:46:49] mask dilate thread started for segment 6
[11:46:49] mask dilate thread started for segment 7
[11:46:49] NLMeans using SSE2 optimizations
[11:46:49] NLMeans thread started for segment 0
[11:46:49] NLMeans thread started for segment 1
[11:46:49] NLMeans thread started for segment 3
[11:46:49] NLMeans thread started for segment 2
[11:46:49] NLMeans thread started for segment 4
[11:46:49] NLMeans thread started for segment 5
[11:46:49] NLMeans thread started for segment 6
[11:46:49] NLMeans thread started for segment 7
[11:46:49] sync: expecting 243900 video frames
[11:46:49] work: only 1 chapter, disabling chapter markers
[11:46:49] job configuration:
[11:46:49]  * source
[11:46:49]    + /tapes/20150419-1310---swr-bw-hd---bei-der-blonden-kathrein~16.9_1280x720p_v_10.2mbps_vmpg4_mp3_48khz_1h21mn.mkv
[11:46:49]    + title 1, start 00:00:3,00 stop 01:21:20,00
[11:46:49]    + container: matroska,webm
[11:46:49]  * destination
[11:46:49]    + /videos/movies/20150419-1310---swr-bw-hd---bei-der-blonden-kathrein~16.9_1280x720p_v_10.2mbps_vmpg4_mp3_48khz_1h21mn.mkv
[11:46:49]    + container: Matroska (libavformat)
[11:46:49]  * video track
[11:46:49]    + decoder: h264
[11:46:49]    + filters
[11:46:49]      + Decomb (default settings)
[11:46:49]      + Framerate Shaper (1:27000000:1080000)
[11:46:49]        + frame rate: 50,000 fps -> constant 25,000 fps
[11:46:49]      + Denoise (nlmeans) (default settings)
[11:46:49]      + Crop and Scale (1280:720:24:24:42:42)
[11:46:49]        + source: 1280 * 720, crop (24/24/42/42): 1196 * 672, scale: 1280 * 720
[11:46:49]    + Output geometry
[11:46:49]      + storage dimensions: 1280 x 720
[11:46:49]      + pixel aspect ratio: 1 : 1
[11:46:49]      + display dimensions: 1280 x 720
[11:46:49]    + encoder: H.264 (libx264)
[11:46:49]      + preset:  medium
[11:46:49]      + tune:    film
[11:46:49]      + quality: 25,00 (RF)
[11:46:49]  * audio track 1
[11:46:49]    + decoder: Deutsch (MPEG) (2.0 ch) (track 1, id 0x1)
[11:46:49]      + bitrate: 192 kbps, samplerate: 48000 Hz
[11:46:49]    + mixdown: Stereo
[11:46:49]    + encoder: AAC (libavcodec)
[11:46:49]      + bitrate: 160 kbps, samplerate: 48000 Hz
[11:46:49] encx264: encoding at constant RF 25,000000
[11:46:49] encx264: unparsed options: deblock=-1,-1:psy-rd=1,0,15
[11:46:49] reader: first SCR 264330 id 0x0 DTS 264330
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX XOP FMA4 FMA3 LZCNT BMI1
x264 [info]: profile High, level 3.1
[11:46:50] sync: first pts is 21600
linuxuser
Bright Spark User
Posts: 184
Joined: Fri Jan 06, 2012 7:47 pm

Re: Black border NOT cut

Post by linuxuser »

Code: Select all

** (ghb:4911): WARNING **: Invalid NLMeans preset light and/or tune film
What does this mean? Sometimes I think with "light denoise" there is too much denoise.
User avatar
JohnAStebbins
HandBrake Team
Posts: 5583
Joined: Sat Feb 09, 2008 7:21 pm

Re: Black border NOT cut

Post by JohnAStebbins »

I added logging to catch cases that *shouldn't* be happening. This is telling me that the code that generates the filter settings from the preset/tune names is returning a NULL value. This was the reason it exited with a failure for you in earlier versions. Now, instead of failing, it is using the default values for the filter.

I added this extra verification and message so we could advance with this problem and get a better idea what is behind it. One of the other developers mentioned on IRC that this might be related to localization. I.e. ',' as the decimal separator is breaking the validation that we do of the filter settings (we naively expect '.' currently). I'll fix that and when the next nightly build comes out, please try it again and see if this message goes away.
linuxuser
Bright Spark User
Posts: 184
Joined: Fri Jan 06, 2012 7:47 pm

Re: Black border NOT cut

Post by linuxuser »

Thanks, I will try the same source tomorrow again.
linuxuser
Bright Spark User
Posts: 184
Joined: Fri Jan 06, 2012 7:47 pm

Re: Black border NOT cut

Post by linuxuser »

Log with HandBrake svn7121 (2015042301

Code: Select all

[10:32:21] gtkgui: HandBrake svn7121 (2015042301) - Linux x86_64 - https://handbrake.fr
[10:32:21] hb_init: starting libhb thread
[10:32:21] hb_init: starting libhb thread
[10:32:21] hb_init: starting libhb thread
[10:32:33] CPU: 
[10:32:33]  - logical processor count: 8
[10:32:33] OpenCL: library not available
[10:32:33] hb_scan: path=/tapes/20150419-1310---swr-bw-hd---bei-der-blonden-kathrein~16.9_1280x720p_v_10.2mbps_vmpg4_mp3_48khz_1h21mn.mkv, title_index=0
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /tapes/20150419-1310---swr-bw-hd---bei-der-blonden-kathrein~16.9_1280x720p_v_10.2mbps_vmpg4_mp3_48khz_1h21mn.mkv/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /tapes/20150419-1310---swr-bw-hd---bei-der-blonden-kathrein~16.9_1280x720p_v_10.2mbps_vmpg4_mp3_48khz_1h21mn.mkv/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(/tapes/20150419-1310---swr-bw-hd---bei-der-blonden-kathrein~16.9_1280x720p_v_10.2mbps_vmpg4_mp3_48khz_1h21mn.mkv) failed
[10:32:33] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[10:32:33] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/tapes/20150419-1310---swr-bw-hd---bei-der-blonden-kathrein~16.9_1280x720p_v_10.2mbps_vmpg4_mp3_48khz_1h21mn.mkv':
  Duration: 01:21:20.04, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: h264 (High), yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 50 fps, 1k tbn, 100 tbc (default)
    Stream #0.1(ger): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s (default)
    Stream #0.2(mis): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s
    Stream #0.3(ger): Audio: ac3, 48000 Hz, stereo, fltp, 448 kb/s
[10:32:33] scan: decoding previews for title 1
[10:32:33] scan: audio 0x3: ac3, rate=48000Hz, bitrate=448000 Deutsch (AC3) (2.0 ch)
[10:32:33] scan: audio 0x1: mp2, rate=48000Hz, bitrate=192000 Deutsch (MPEG) (2.0 ch)
[10:32:33] scan: audio 0x2: mp2, rate=48000Hz, bitrate=192000 Unknown (MPEG) (2.0 ch)
[10:32:36] scan: 30 previews, 1280x720, 50,000 fps, autocrop = 0/0/42/42, aspect 16:9, PAR 1:1
[10:32:36] libhb: scan thread found 1 valid title(s)

** (ghb:5494): WARNING **: Inhibit failed: The name org.freedesktop.PowerManagement was not provided by any .service files
[10:36:25] gtkgui: Modified Custom Preset: dvb50
[10:36:25] 1 job(s) to process
[10:36:25] CPU: 
[10:36:25]  - logical processor count: 8
[10:36:25] OpenCL: library not available
[10:36:25] hb_scan: path=/tapes/20150419-1310---swr-bw-hd---bei-der-blonden-kathrein~16.9_1280x720p_v_10.2mbps_vmpg4_mp3_48khz_1h21mn.mkv, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /tapes/20150419-1310---swr-bw-hd---bei-der-blonden-kathrein~16.9_1280x720p_v_10.2mbps_vmpg4_mp3_48khz_1h21mn.mkv/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /tapes/20150419-1310---swr-bw-hd---bei-der-blonden-kathrein~16.9_1280x720p_v_10.2mbps_vmpg4_mp3_48khz_1h21mn.mkv/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(/tapes/20150419-1310---swr-bw-hd---bei-der-blonden-kathrein~16.9_1280x720p_v_10.2mbps_vmpg4_mp3_48khz_1h21mn.mkv) failed
[10:36:25] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[10:36:25] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/tapes/20150419-1310---swr-bw-hd---bei-der-blonden-kathrein~16.9_1280x720p_v_10.2mbps_vmpg4_mp3_48khz_1h21mn.mkv':
  Duration: 01:21:20.04, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: h264 (High), yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 50 fps, 1k tbn, 100 tbc (default)
    Stream #0.1(ger): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s (default)
    Stream #0.2(mis): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s
    Stream #0.3(ger): Audio: ac3, 48000 Hz, stereo, fltp, 448 kb/s
[10:36:25] scan: decoding previews for title 1
[10:36:25] scan: audio 0x3: ac3, rate=48000Hz, bitrate=448000 Deutsch (AC3) (2.0 ch)
[10:36:25] scan: audio 0x1: mp2, rate=48000Hz, bitrate=192000 Deutsch (MPEG) (2.0 ch)
[10:36:25] scan: audio 0x2: mp2, rate=48000Hz, bitrate=192000 Unknown (MPEG) (2.0 ch)
[10:36:26] scan: 10 previews, 1280x720, 50,000 fps, autocrop = 0/0/42/42, aspect 16:9, PAR 1:1
[10:36:26] libhb: scan thread found 1 valid title(s)
[10:36:26] starting job
[10:36:26] yadif thread started for segment 0
[10:36:26] yadif thread started for segment 1
[10:36:26] yadif thread started for segment 2
[10:36:26] yadif thread started for segment 4
[10:36:26] yadif thread started for segment 3
[10:36:26] yadif thread started for segment 5
[10:36:26] yadif thread started for segment 6
[10:36:26] decomb filter thread started for segment 0
[10:36:26] decomb filter thread started for segment 1
[10:36:26] yadif thread started for segment 7
[10:36:26] decomb filter thread started for segment 2
[10:36:26] decomb filter thread started for segment 3
[10:36:26] decomb filter thread started for segment 4
[10:36:26] decomb filter thread started for segment 6
[10:36:26] decomb filter thread started for segment 5
[10:36:26] decomb filter thread started for segment 7
[10:36:26] decomb check thread started for segment 0
[10:36:26] decomb check thread started for segment 5
[10:36:26] decomb check thread started for segment 7
[10:36:26] decomb check thread started for segment 2
[10:36:26] decomb check thread started for segment 4
[10:36:26] decomb check thread started for segment 1
[10:36:26] mask filter thread started for segment 7
[10:36:26] decomb check thread started for segment 3
[10:36:26] mask erode thread started for segment 2
[10:36:26] mask filter thread started for segment 1
[10:36:26] mask erode thread started for segment 6
[10:36:26] mask filter thread started for segment 3
[10:36:26] mask filter thread started for segment 4
[10:36:26] mask dilate thread started for segment 3
[10:36:26] mask dilate thread started for segment 5
[10:36:26] decomb check thread started for segment 6
[10:36:26] mask erode thread started for segment 0
[10:36:26] NLMeans using SSE2 optimizations
[10:36:26] mask erode thread started for segment 1
[10:36:26] mask filter thread started for segment 0
[10:36:26] mask erode thread started for segment 3
[10:36:26] NLMeans thread started for segment 4
[10:36:26] mask erode thread started for segment 5
[10:36:26] mask erode thread started for segment 7
[10:36:26] mask filter thread started for segment 2
[10:36:26] mask dilate thread started for segment 0
[10:36:26] mask dilate thread started for segment 1
[10:36:26] mask dilate thread started for segment 2
[10:36:26] mask filter thread started for segment 5
[10:36:26] mask dilate thread started for segment 4
[10:36:26] mask filter thread started for segment 6
[10:36:26] mask dilate thread started for segment 6
[10:36:26] mask dilate thread started for segment 7
[10:36:26] NLMeans thread started for segment 0
[10:36:26] NLMeans thread started for segment 1
[10:36:26] NLMeans thread started for segment 2
[10:36:26] NLMeans thread started for segment 3
[10:36:26] mask erode thread started for segment 4
[10:36:26] NLMeans thread started for segment 5
[10:36:26] NLMeans thread started for segment 6
[10:36:26] NLMeans thread started for segment 7
[10:36:26] sync: expecting 243900 video frames
[10:36:26] work: only 1 chapter, disabling chapter markers
[10:36:26] job configuration:
[10:36:26]  * source
[10:36:26]    + /tapes/20150419-1310---swr-bw-hd---bei-der-blonden-kathrein~16.9_1280x720p_v_10.2mbps_vmpg4_mp3_48khz_1h21mn.mkv
[10:36:26]    + title 1, start 00:00:3,00 stop 01:21:20,00
[10:36:26]    + container: matroska,webm
[10:36:26]  * destination
[10:36:26]    + /videos/movies/20150419-1310---swr-bw-hd---bei-der-blonden-kathrein~16.9_1280x720p_v_10.2mbps_vmpg4_mp3_48khz_1h21mn.mkv
[10:36:26]    + container: Matroska (libavformat)
[10:36:26]  * video track
[10:36:26]    + decoder: h264
[10:36:26]    + filters
[10:36:26]      + Decomb (default settings)
[10:36:26]      + Framerate Shaper (1:27000000:1080000)
[10:36:26]        + frame rate: 50,000 fps -> constant 25,000 fps
[10:36:26]      + Denoise (nlmeans) (3,000000:0,900000:7:3:2:0:4,000000:0,900000:7:3:2:0)
[10:36:26]      + Crop and Scale (1280:720:24:24:42:42)
[10:36:26]        + source: 1280 * 720, crop (24/24/42/42): 1196 * 672, scale: 1280 * 720
[10:36:26]    + Output geometry
[10:36:26]      + storage dimensions: 1280 x 720
[10:36:26]      + pixel aspect ratio: 1 : 1
[10:36:26]      + display dimensions: 1280 x 720
[10:36:26]    + encoder: H.264 (libx264)
[10:36:26]      + preset:  medium
[10:36:26]      + tune:    film
[10:36:26]      + quality: 25,00 (RF)
[10:36:26]  * audio track 1
[10:36:26]    + decoder: Deutsch (MPEG) (2.0 ch) (track 1, id 0x1)
[10:36:26]      + bitrate: 192 kbps, samplerate: 48000 Hz
[10:36:26]    + mixdown: Stereo
[10:36:26]    + encoder: AAC (libavcodec)
[10:36:26]      + bitrate: 160 kbps, samplerate: 48000 Hz
[10:36:26] encx264: encoding at constant RF 25,000000
[10:36:26] encx264: unparsed options: deblock=-1,-1:psy-rd=1,0,15
[10:36:26] reader: first SCR 264330 id 0x0 DTS 264330
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX XOP FMA4 FMA3 LZCNT BMI1
x264 [info]: profile High, level 3.1
[10:36:26] sync: first pts is 21600
[13:23:14] reader: done. 1 scr changes
[13:23:17] sync: reached pts 438930000, exiting early
[13:23:19] work: average encoding speed for job is 24,357292 fps
[13:23:19] sync: got 243850 frames, 243900 expected
[13:23:19] decomb: deinterlaced 0 | blended 29 | unfiltered 243820 | total 243849
[13:23:19] render: 121925 frames output, 121924 dropped and 0 duped for CFR/PFR
[13:23:19] render: lost time: 0 (0 frames)
[13:23:19] render: gained time: 0 (0 frames) (0 not accounted for)
[13:23:19] h264-decoder done: 243861 frames, 0 decoder errors, 0 drops
x264 [info]: frame I:669   Avg QP:23,16  size: 65494
x264 [info]: frame P:58703 Avg QP:25,87  size: 13153
x264 [info]: frame B:62553 Avg QP:28,79  size:  2755
x264 [info]: consecutive B-frames: 14,2% 45,0% 21,9% 18,9%
x264 [info]: mb I  I16..4:  7,4% 75,5% 17,1%
x264 [info]: mb P  I16..4:  1,0%  3,7%  0,5%  P16..4: 43,4% 11,8%  6,9%  0,0%  0,0%    skip:32,7%
x264 [info]: mb B  I16..4:  0,0%  0,2%  0,0%  B16..8: 33,1%  2,0%  0,4%  direct: 0,7%  skip:63,5%  L0:31,8% L1:64,2% BI: 4,0%
x264 [info]: 8x8 transform intra:72,4% inter:77,8%
x264 [info]: coded y,uvDC,uvAC intra: 60,3% 57,0% 16,8% inter: 14,0% 14,9% 0,2%
x264 [info]: i16 v,h,dc,p: 40% 21%  8% 31%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 15% 20%  6%  7%  9%  7%  8%  7%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 18% 12%  6%  9% 10%  7%  7%  5%
x264 [info]: i8c dc,h,v,p: 58% 16% 21%  5%
x264 [info]: Weighted P-Frames: Y:6,2% UV:2,0%
x264 [info]: ref P L0: 63,3% 20,3% 11,5%  4,6%  0,3%
x264 [info]: ref B L0: 91,6%  7,5%  0,9%
x264 [info]: ref B L1: 97,7%  2,3%
x264 [info]: kb/s:1621,13
[13:23:19] mp2-decoder done: 0 frames, 0 decoder errors, 0 drops
[13:23:19] mux: track 0, 121925 frames, 988254580 bytes, 1621,09 kbps, fifo 4096
[13:23:19] mux: track 1, 228551 frames, 97797482 bytes, 160,42 kbps, fifo 8192
[13:23:19] libhb: work result = 0
User avatar
JohnAStebbins
HandBrake Team
Posts: 5583
Joined: Sat Feb 09, 2008 7:21 pm

Re: Black border NOT cut

Post by JohnAStebbins »

Thanks. It looks like it did the right thing this time.

Code: Select all

[10:36:26]      + Denoise (nlmeans) (3,000000:0,900000:7:3:2:0:4,000000:0,900000:7:3:2:0)
Your persistence is much appreciated.
linuxuser
Bright Spark User
Posts: 184
Joined: Fri Jan 06, 2012 7:47 pm

Re: Black border NOT cut

Post by linuxuser »

It's my pleasure.
Post Reply