[invalid]Caption markup is missing on pass thru (burn in OK)

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

[invalid]Caption markup is missing on pass thru (burn in OK)

Post by PaulF »

When I pass thru DVD captions to an MP4 all of the captions are centered. If I do burn in, instead, the caption appears under the person speaking.

Is this a Handbrake "feature" or an MP4 limitation?

I have used burn in for a long time and I am very happy with the mark up. I am trying to help someone who may not want burn in.

I only do the scan(see log) and previews with VLC. No encoding log, so far.

Code: Select all

HandBrake Nightly 20160212152711-b7cb7d6-master (2016021301) - 64bit Version
OS: Microsoft Windows NT 6.1.7601 Service Pack 1 - 64bit
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 Team\HandBrake\0.0.0.0

-------------------------------------------
# Starting Scan ...
[20:34:18] CPU: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
[20:34:18]  - Intel microarchitecture Haswell
[20:34:18]  - logical processor count: 8
[20:34:19] OpenCL device #1: Intel(R) Corporation Intel(R) HD Graphics 4600
[20:34:19]  - OpenCL version: 1.2 
[20:34:19]  - driver version: 9.18.10.3257
[20:34:19]  - device type:    GPU
[20:34:19]  - supported:      YES
[20:34:19] Intel Quick Sync Video support: yes
[20:34:19]  - Intel Media SDK hardware: API 1.7 (minimum: 1.3)
[20:34:19]  - H.264 encoder: yes
[20:34:19]     - preferred implementation: hardware (any)
[20:34:19]     - capabilities (hardware):  bpyramid la vsinfo opt1 opt2+mbbrc+extbrc+trellis
[20:34:19]  - H.265 encoder: no
[20:34:19] hb_scan: path=C:\CaptainRon, title_index=0
[20:34:19] thread 24b190a0 started ("scan")
src/libbluray/disc/disc.c:332: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:332: error opening file BDMV\BACKUP\index.bdmv
[20:34:19] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread: Can't open C:\CaptainRon for reading
libdvdread: Device C:\CaptainRon inaccessible, CSS authentication not available.
libdvdnav: Unable to open device file C:\CaptainRon.
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
libdvdread: Can't open C:\CaptainRon for reading
libdvdread: Device C:\CaptainRon inaccessible, CSS authentication not available.
[20:34:19] scan: DVD has 7 title(s)
[20:34:19] scan: scanning title 1
[20:34:19] scan: opening IFO for VTS 1
[20:34:19] scan: duration is 01:39:58 (5998233 ms)
[20:34:19] pgc_id: 1, pgn: 1: pgc: 0000000024B1B770
[20:34:19] scan: vts=1, ttn=1, cells=0->14, blocks=13->400, 2264408 blocks
[20:34:19] scan: checking audio 1
[20:34:19] scan: id=0x80bd, lang=English (AC3), 3cc=eng ext=0
[20:34:19] scan: checking subtitle 1
[20:34:19] scan: id=0x20bd, lang=English (Closed Caption), 3cc=eng ext=5
[20:34:19] scan: title 1 has 13 chapters
[20:34:19] scan: chap 1 c=0->1, b=13->274512 (274215), 707533 ms
[20:34:19] scan: chap 2 c=2->2, b=274513->369989 (95477), 254133 ms
[20:34:19] scan: chap 3 c=3->3, b=369990->530272 (160283), 435500 ms
[20:34:19] scan: chap 4 c=4->4, b=530273->733656 (203384), 550166 ms
[20:34:19] scan: chap 5 c=5->5, b=733657->867343 (133687), 377166 ms
[20:34:19] scan: chap 6 c=6->6, b=867344->1066706 (199363), 508000 ms
[20:34:19] scan: chap 7 c=7->8, b=1066707->1279641 (212935), 577400 ms
[20:34:19] scan: chap 8 c=9->9, b=1279642->1466312 (186671), 506133 ms
[20:34:19] scan: chap 9 c=10->10, b=1466313->1683712 (217400), 555333 ms
[20:34:19] scan: chap 10 c=11->11, b=1683713->1920916 (237204), 656367 ms
[20:34:19] scan: chap 11 c=12->12, b=1920917->2100884 (179968), 495967 ms
[20:34:19] scan: chap 12 c=13->13, b=2100885->2264511 (163627), 374033 ms
[20:34:19] scan: chap 13 c=14->14, b=207->400 (194), 500 ms
[20:34:19] scan: aspect = 16:9
[20:34:19] scan: scanning title 2
[20:34:19] scan: opening IFO for VTS 1
[20:34:19] scan: duration is 00:00:00 (600 ms)
[20:34:19] scan: ignoring title (too short)
[20:34:19] scan: scanning title 3
[20:34:19] scan: opening IFO for VTS 1
[20:34:19] scan: duration is 00:00:00 (600 ms)
[20:34:19] scan: ignoring title (too short)
[20:34:19] scan: scanning title 4
[20:34:19] scan: opening IFO for VTS 1
[20:34:19] scan: duration is 00:00:00 (600 ms)
[20:34:19] scan: ignoring title (too short)
[20:34:19] scan: scanning title 5
[20:34:19] scan: opening IFO for VTS 2
[20:34:19] scan: duration is 00:00:11 (11033 ms)
[20:34:19] pgc_id: 1, pgn: 1: pgc: 0000000024B1B770
[20:34:19] scan: vts=2, ttn=1, cells=0->1, blocks=307->3043, 2737 blocks
[20:34:19] scan: checking audio 1
[20:34:19] scan: id=0x80bd, lang=Unknown (AC3), 3cc=und ext=0
[20:34:19] scan: checking subtitle 1
[20:34:19] scan: id=0x20bd, lang=Unknown, 3cc=und ext=0
[20:34:19] scan: title 5 has 2 chapters
[20:34:19] scan: chap 1 c=0->0, b=307->3023 (2717), 10433 ms
[20:34:19] scan: chap 2 c=1->1, b=3024->3043 (20), 600 ms
[20:34:19] scan: aspect = 4:3
[20:34:19] scan: scanning title 6
[20:34:19] scan: opening IFO for VTS 2
[20:34:19] scan: duration is 00:00:06 (6600 ms)
[20:34:19] scan: ignoring title (too short)
[20:34:19] scan: scanning title 7
[20:34:19] scan: opening IFO for VTS 3
[20:34:19] scan: duration is 00:00:00 (600 ms)
[20:34:19] scan: ignoring title (too short)
[20:34:19] dvdnav: Searching menus for main feature
[20:34:19] dvdnav: Longest title 1 duration 01:39:58
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[20:34:19] dvdnav: Found root title 1 duration 01:39:58
[20:34:19] scan: decoding previews for title 1
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[20:34:19] scan: title angle(s) 1
[20:34:19] scan: preview 1
[ac3 @ 0000000024afe060] frame sync error
[20:34:19] fifo_close: trashing 0 buffer(s)
[20:34:19] scan: audio 0x80bd: ac3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch) (Dolby Surround)
[20:34:19] scan: preview 2
[20:34:19] Broken timestamps detected.  Reordering.
[20:34:19] scan: preview 3
[20:34:19] scan: preview 4
[20:34:19] Interlacing detected in preview frame 4
[20:34:19] scan: preview 5
[20:34:19] scan: preview 6
[20:34:19] scan: preview 7
[20:34:19] scan: preview 8
[20:34:19] 457.099365s: Film -> Video
[20:34:19] 457.132751s: Video -> Film
[20:34:19] scan: preview 9
[20:34:19] scan: preview 10
[20:34:19] Pulldown detected, setting fps to 23.976
[20:34:19] scan: 10 previews, 720x480, 23.976 fps, autocrop = 6/8/8/4, aspect 16:9, PAR 32:27
[20:34:19] scan: supported video decoders: avcodec dxva2
[20:34:19] scan: decoding previews for title 5
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[20:34:19] scan: title angle(s) 1
[20:34:19] scan: preview 1
[ac3 @ 0000000024cbd4a0] frame sync error
[20:34:19] fifo_close: trashing 0 buffer(s)
[20:34:19] scan: audio 0x80bd: ac3, rate=48000Hz, bitrate=384000 Unknown (AC3) (5.1 ch)
[20:34:19] scan: preview 2
[20:34:19] scan: preview 3
[20:34:19] scan: preview 4
[20:34:19] scan: preview 5
[20:34:19] scan: preview 6
[20:34:19] scan: preview 7
[20:34:19] scan: preview 8
[20:34:19] scan: preview 9
[20:34:19] scan: preview 10
[20:34:19] Pulldown detected, setting fps to 23.976
[20:34:19] scan: 10 previews, 720x480, 23.976 fps, autocrop = 0/0/0/0, aspect 4:3, PAR 8:9
[20:34:19] scan: supported video decoders: avcodec dxva2
[20:34:19] Freed 1 buffers of size 1024
[20:34:19] Freed 1 buffers of size 2048
[20:34:19] Freed 1 buffers of size 4096
[20:34:19] Freed 1 buffers of size 1048576
[20:34:19] Allocated 1055744 bytes of buffers on this pass and Freed 1055744 bytes, 0 bytes leaked
[20:34:19] thread 24b190a0 exited ("scan")
[20:34:19] thread 24b190a0 joined ("scan")
[20:34:19] libhb: scan thread found 2 valid title(s)
# Scan Finished ...
 
Last edited by PaulF on Sun Feb 21, 2016 8:08 am, edited 1 time in total.
Deleted User 11865

Re: Caption markup is missing on pass thru (burn in OK)

Post by Deleted User 11865 »

With this build, subtitle positioning should be preserved, even when passing through to MP4. But not many players support MP4 Timed Text positioning flags, so it could be that your player is ignoring them…
PaulF
Novice
Posts: 58
Joined: Thu Nov 21, 2013 7:15 am

Re: Caption markup is missing on pass thru (burn in OK)

Post by PaulF »

Rodeo wrote:With this build, subtitle positioning should be preserved, even when passing through to MP4. But not many players support MP4 Timed Text positioning flags, so it could be that your player is ignoring them…
Thanks. I was guessing it had to be something to do with MP4. I didn't consider VLC not doing the positioning when play an MP4. VLC works wonderfully except for that minor limitation. I really like the chapter feature. It plays on win7 and android.
PaulF
Novice
Posts: 58
Joined: Thu Nov 21, 2013 7:15 am

Re: [invalid]Caption markup is missing on pass thru (burn in OK)

Post by PaulF »

I seemed to remember that in my test cases, generated MKV files did positioning correctly on VLC I tried an MKV preview and it played with positioning in VLC using the ssa codec. The tx3g codec used by VLC for MP4 caption streams apparently is the problem or tx3g format is the limiting factor.
Post Reply