[Fixed] burned CC cropped

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
PaulF
Novice
Posts: 58
Joined: Thu Nov 21, 2013 7:15 am

[Fixed] burned CC cropped

Post by PaulF »

Code: Select all

HandBrake svn6164 (Nightly Build) - 64bit Version
OS: Microsoft Windows NT 6.1.7601 Service Pack 1
CPU: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
Ram: 16061 MB, 
GPU Information:
  Intel(R) HD Graphics 4600 - 9.18.10.3257
Screen: 1920x1080
Temp Dir: C:\Users\PAUL\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\PAUL\AppData\Roaming\HandBrake\HandBrake\0.0.0.6164

-------------------------------------------
CLI Query:  -i "C:\Users\Public\Documents\SnapStream\Beyond TV\shows\Masterpiece Mystery!-(Foyle's War, Series VII_ Sunflower)-2014-04-25-0.tp" -t 1 --angle 1 -c 1 -o "C:\Users\Public\Documents\SnapStream\Beyond TV\shows\Masterpiece Mystery!-(foyle's War, Series Vii Sunflower)-2014-04-25-0.mp4"  -f mp4  --detelecine="" --deinterlace="fast" -w 704 --crop 58:18:0:0 --loose-anamorphic  --modulus 2 -e x264 -q 20 --cfr -a 1 -E av_aac -6 dpl2 -R Auto -B 160 -D 0 --gain 0 --audio-fallback ac3 --subtitle 1 --subtitle-burned=1 --markers="C:\Users\PAUL\AppData\Local\Temp\Masterpiece Mystery!-(foyle's War, Series Vii Sunflower)-2014-04-25-0-1-chapters.csv" --encoder-preset=veryfast  --encoder-level="4.0"  --encoder-profile=main  --verbose=1

[19:30:24] hb_init: starting libhb thread
HandBrake svn6164 (2014041501) - MinGW x86_64 - http://handbrake.fr
8 CPUs detected
Opening C:\Users\Public\Documents\SnapStream\Beyond TV\shows\Masterpiece Mystery!-(Foyle's War, Series VII_ Sunflower)-2014-04-25-0.tp...
[19:30:24] CPU: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
[19:30:24]  - Intel microarchitecture Haswell
[19:30:24]  - logical processor count: 8
[19:30:24] OpenCL device #1: Intel(R) Corporation Intel(R) HD Graphics 4600
[19:30:24]  - OpenCL version: 1.2 
[19:30:24]  - driver version: 9.18.10.3257
[19:30:24]  - device type:    GPU
[19:30:24]  - supported:      YES
[19:30:24] Intel Quick Sync Video support: yes
[19:30:24]  - Intel Media SDK hardware: API 1.7 (minimum: 1.3)
[19:30:24]  - Intel Media SDK software: API 1.8 (minimum: 1.3)
[19:30:24]  - H.264 encoder: yes
[19:30:24]     - preferred implementation: hardware (any)
[19:30:24]  - H.265 encoder: no
[19:30:24] hb_scan: path=C:\Users\Public\Documents\SnapStream\Beyond TV\shows\Masterpiece Mystery!-(Foyle's War, Series VII_ Sunflower)-2014-04-25-0.tp, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening C:\Users\Public\Documents\SnapStream\Beyond TV\shows\Masterpiece Mystery!-(Foyle's War, Series VII_ Sunflower)-2014-04-25-0.tp/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening C:\Users\Public\Documents\SnapStream\Beyond TV\shows\Masterpiece Mystery!-(Foyle's War, Series VII_ Sunflower)-2014-04-25-0.tp/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(C:\Users\Public\Documents\SnapStream\Beyond TV\shows\Masterpiece Mystery!-(Foyle's War, Series VII_ Sunflower)-2014-04-25-0.tp) failed
[19:30:24] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.0
libdvdread: Encrypted DVD support unavailable.
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
[19:30:24] dvd: not a dvd - trying as a stream/file instead
[19:30:24] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[19:30:24] Found the following PIDS
[19:30:24]     Video PIDS : 
[19:30:24]       0xe76 type MPEG2 (0x2) (PCR)
[19:30:24]     Audio PIDS : 
[19:30:24]       0xe77 type AC3 (0x81)
[19:30:24]       0xe78 type AC3 (0x81)
[19:30:24]       0xe79 type AC3 (0x81)
[19:30:24]     Subtitle PIDS : 
[19:30:24]     Other PIDS : 
[19:30:24] stream id 0xe77 (type 0x81 substream 0x0) audio 0xe77
[19:30:24] stream id 0xe78 (type 0x81 substream 0x0) audio 0xe78
[19:30:24] stream id 0xe79 (type 0x81 substream 0x0) audio 0xe79
[19:30:24] transport stream missing PCRs - using video DTS instead
[19:30:24] scan: decoding previews for title 1
[19:30:24] stream: error near frame 0: missing start code
[19:30:24] scan: audio 0xe79: ac3, rate=48000Hz, bitrate=128000 Espanol (AC3) (1.0 ch)
[19:30:24] scan: audio 0xe77: ac3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch)
[19:30:24] scan: audio 0xe78: ac3, rate=48000Hz, bitrate=128000 English (AC3) (1.0 ch)
[19:30:24] scan: 10 previews, 704x480, 29.970 fps, autocrop = 58/18/0/0, aspect 4:3, PAR 10:11
[19:30:24] stream: 41 good frames, 0 errors (0%)
[19:30:24] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: C:\Users\Public\Documents\SnapStream\Beyond TV\shows\Masterpiece Mystery!-(Foyle's War, Series VII_ Sunflower)-2014-04-25-0.tp
  + duration: 01:35:10
  + size: 704x480, pixel aspect: 10/11, display aspect: 1.33, 29.970 fps
  + autocrop: 58/18/0/0
  + support opencl: yes
  + support hwd: yes
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 01:35:10
  + audio tracks:
    + 1, English (AC3) (2.0 ch) (iso639-2: eng), 48000Hz, 192000bps
    + 2, English (AC3) (1.0 ch) (iso639-2: eng), 48000Hz, 128000bps
    + 3, Espanol (AC3) (1.0 ch) (iso639-2: spa), 48000Hz, 128000bps
  + subtitle tracks:
    + 1, Closed Captions (iso639-2: eng) (Text)(CC)
Reading chapter markers from file C:\Users\PAUL\AppData\Local\Temp\Masterpiece Mystery!-(foyle's War, Series Vii Sunflower)-2014-04-25-0-1-chapters.csv
[19:30:24] 1 job(s) to process
[19:30:24] starting job
[19:30:24] Fast Deinterlace thread started for segment 0
[19:30:24] Fast Deinterlace thread started for segment 1
[19:30:24] Fast Deinterlace thread started for segment 2
[19:30:24] Fast Deinterlace thread started for segment 3
[19:30:24] Fast Deinterlace thread started for segment 4
[19:30:24] Fast Deinterlace thread started for segment 6
[19:30:24] Fast Deinterlace thread started for segment 5
[19:30:24] Fast Deinterlace thread started for segment 7
[19:30:24] work: sanitizing track 1 mixdown Dolby Pro Logic II to Stereo
[19:30:24] sync: expecting 171147 video frames
[19:30:24] work: only 1 chapter, disabling chapter markers
[19:30:24] job configuration:
[19:30:24]  * source
[19:30:24]    + C:\Users\Public\Documents\SnapStream\Beyond TV\shows\Masterpiece Mystery!-(Foyle's War, Series VII_ Sunflower)-2014-04-25-0.tp
[19:30:24]    + title 1, chapter(s) 1 to 1
[19:30:24]  * destination
[19:30:24]    + C:\Users\Public\Documents\SnapStream\Beyond TV\shows\Masterpiece Mystery!-(foyle's War, Series Vii Sunflower)-2014-04-25-0.mp4
[19:30:24]    + container: MPEG-4 (libavformat)
[19:30:24]  * video track
[19:30:24]    + decoder: mpeg2video
[19:30:24]      + bitrate 15000 kbps
[19:30:24]    + filters
[19:30:24]      + Detelecine (pullup) ()
[19:30:24]      + Deinterlace (0)
[19:30:24]      + Framerate Shaper (1:27000000:900900)
[19:30:24]        + frame rate: 29.970 fps -> constant 29.970 fps
[19:30:24]      + Subtitle renderer (58:18:0:0)
[19:30:24]      + Crop and Scale (704:404:58:18:0:0)
[19:30:24]        + source: 704 * 480, crop (58/18/0/0): 704 * 404, scale: 704 * 404
[19:30:24]    + loose anamorphic
[19:30:24]      + storage dimensions: 704 * 404, mod 2
[19:30:24]      + pixel aspect ratio: 10 / 11
[19:30:24]      + display dimensions: 640 * 404
[19:30:24]    + encoder: H.264 (libx264)
[19:30:24]      + preset:  veryfast
[19:30:24]      + profile: main
[19:30:24]      + level:   4.0
[19:30:24]      + quality: 20.00 (RF)
[19:30:24]  * subtitle track 1, Closed Captions (track 0, id 0x0) Text [CC] -> Render/Burn-in
[19:30:24]  * audio track 1
[19:30:24]    + decoder: English (AC3) (2.0 ch) (track 1, id 0xe77)
[19:30:24]      + bitrate: 192 kbps, samplerate: 48000 Hz
[19:30:24]    + mixdown: Stereo
[19:30:24]    + encoder: AAC (libavcodec)
[19:30:24]      + bitrate: 160 kbps, samplerate: 48000 Hz
[19:30:24] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[19:30:24] stream: error near frame 0: missing start code
[19:30:24] reader: first SCR 3341065866 id 0xe76 DTS 3341065866
[19:30:24] encx264: min-keyint: 30, keyint: 300
[19:30:24] encx264: encoding at constant RF 20.000000
[19:30:24] encx264: unparsed options: level=4.0:ref=1:8x8dct=0:weightp=1:subme=2:mixed-refs=0:trellis=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=10
x264 [info]: using SAR=10/11
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
[19:30:24] mpeg2video: "Chapter 1" (1) at frame 0 time 69069
x264 [info]: profile Main, level 4.0
[19:30:24] sync: first pts is 69069
Letter box TV recording autocrops out the black bars(lower black bar has the station watermark so less cropping). The burned in CC's sometimes get the tops chopped off on the upper part of the picture.
PaulF
Novice
Posts: 58
Joined: Thu Nov 21, 2013 7:15 am

Re: burned CC cropped

Post by PaulF »

I suppose you can change autocrop to scan a captioned screen or change CC burning to be aware of cropping. I've found that I prefer a user fix where I select --crop 0:0:0:0. The captions look good on the black stripe. So, in my case, you can ignore this thread.
Deleted User 11865

Re: burned CC cropped

Post by Deleted User 11865 »

This is still likely a bug, thanks for reporting.
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: burned CC cropped

Post by JohnAStebbins »

Would it be possible to get a short sample that can be used to reproduce the problem? I believe your tp file is a transport stream which can be easily clipped with any binariy file splitting tool (like dd on *nix).
PaulF
Novice
Posts: 58
Joined: Thu Nov 21, 2013 7:15 am

Re: burned CC cropped

Post by PaulF »

I made a small 3 minute clip using cygwin's dd. I forget how you upload clips.

Side note: While using tab to complete the file name I found the GUI changed the name part of my mp4
Masterpiece Mystery!-(Foyle's War, Series VII_ Sunflower)-2014-04-25-0.tp
Masterpiece Mystery!-(foyle's War, Series Vii Sunflower)-2014-04-25-0.mp4

Caps and underscore changed
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: burned CC cropped

Post by JohnAStebbins »

any free file uploader service will do. but it's preferrable to use something that isn't a maze of advertising.
PaulF
Novice
Posts: 58
Joined: Thu Nov 21, 2013 7:15 am

Re: burned CC cropped

Post by PaulF »

JohnAStebbins wrote:any free file uploader service will do. but it's preferrable to use something that isn't a maze of advertising.
I have friends that use drop box so let's give it shot.

At the end of the tp file there is a station watermark. The auto crop didn't find it so it cropped it out. The full show file log above shows the auto crop found the watermark and left it in. Even though the bottom is cropped more, the captions are fine only the top of the screen captions get cropped.

https://www.dropbox.com/sh/kfsn5s3dpbjkelx/mCS0vMQlTs
User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: burned CC cropped

Post by s55 »

Masterpiece Mystery!-(Foyle's War, Series VII_ Sunflower)-2014-04-25-0.tp
Masterpiece Mystery!-(foyle's War, Series Vii Sunflower)-2014-04-25-0.mp4
Yup, you have auto-naming turned on. This seems normal.
PaulF
Novice
Posts: 58
Joined: Thu Nov 21, 2013 7:15 am

Re: burned CC cropped

Post by PaulF »

s55 wrote:
Masterpiece Mystery!-(Foyle's War, Series VII_ Sunflower)-2014-04-25-0.tp
Masterpiece Mystery!-(foyle's War, Series Vii Sunflower)-2014-04-25-0.mp4
Yup, you have auto-naming turned on. This seems normal.
OOPs I seem to remember checking auto-naming, but I don't remember checking "Replace underscores with a space" and "Change case to Title Case" . duh
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: burned CC cropped

Post by JohnAStebbins »

Should be fixed in the next nightly build https://trac.handbrake.fr/changeset/6172
PaulF
Novice
Posts: 58
Joined: Thu Nov 21, 2013 7:15 am

Re: burned CC cropped

Post by PaulF »

JohnAStebbins wrote:Should be fixed in the next nightly build https://trac.handbrake.fr/changeset/6172
Just in case you are not aware, the nightly build isn't updating.
User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: burned CC cropped

Post by s55 »

We know. I've just been too busy with real life to properly investigate why it wasn't working. I think I fixed it yesterday though
Post Reply