[Fixed] SVN7048 SSA subtille position shift left.

HandBrake for Windows support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
HandyMan
Bright Spark User
Posts: 169
Joined: Tue Aug 07, 2012 10:52 pm

[Fixed] SVN7048 SSA subtille position shift left.

Post by HandyMan »

I found that the location of subtitles from .ts file are either too far left or shifting to the left as subtitles progresses.

When viewed with VideoReDo TVSuiteV5, or with NextPVR, subtitles position seem more appropriate.
I also extracted the subtitles with CCextractor in snupng format, and the images of the subtitles look similar to what VideoReDo displayed.

And it looks like some subtiltles are not right aligned. The following text is right align, but the ASS generated by Handbrake are left aligned.

Code: Select all

@00:00:40.27
"Parce que je l'ai jugé.
Parce que je l'ai condamné.

Dialogue: 0,0:00:39.30,0:00:43.04,Default,,0,0,0,,{\a1\pos(211,624)}Parce que je l'ai jugé.\NParce que je l'ai condamné.
Here is a 1m12s sample : https://www.sendspace.com/file/seqs9j

Encode Log

Code: Select all

HandBrake svn7048 (Nightly Build) - 64bit Version
OS: Microsoft Windows NT 6.1.7601 Service Pack 1 - 64bit
CPU: Intel(R) Core(TM)2 CPU          6400  @ 2.13GHz
Ram: 3582 MB, 
GPU Information:
  RADEON X800 GTO (Microsoft Corporation - WDDM)  - 8.56.1.16
Screen: 1440x900
Temp Dir: C:\Users\Simon\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\Simon\AppData\Roaming\HandBrake\HandBrake\0.0.0.7048

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


# Starting Encode ...
[21:24:43] thread 999980 started ("work")
[21:24:43] 1 job(s) to process
[21:24:43] CPU: Intel(R) Core(TM)2 CPU          6400  @ 2.13GHz
[21:24:43]  - logical processor count: 2
[21:24:43] Intel Quick Sync Video support: no
[21:24:43] hb_scan: path=\\P8z68vpro\m tv\Radio Canada\Série Noire\Série Noire - S01E01 20150123_23000000.ts, title_index=1
[21:24:43] thread 993e70 started ("scan")
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening \\P8z68vpro\m tv\Radio Canada\Série Noire\Série Noire - S01E01 20150123_23000000.ts/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening \\P8z68vpro\m tv\Radio Canada\Série Noire\Série Noire - S01E01 20150123_23000000.ts/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(\\P8z68vpro\m tv\Radio Canada\Série Noire\Série Noire - S01E01 20150123_23000000.ts) failed
[21:24:43] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
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
[21:24:43] dvd: not a dvd - trying as a stream/file instead
[21:24:43] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[21:24:43] Found the following PIDS
[21:24:43]     Video PIDS : 
[21:24:43]       0x31 type MPEG2 (0x2) (PCR)
[21:24:43]     Audio PIDS : 
[21:24:43]       0x34 type AC3 (0x81)
[21:24:43]       0x35 type AC3 (0x81)
[21:24:43]     Subtitle PIDS : 
[21:24:43]     Other PIDS : 
[21:24:43] stream id 0x34 (type 0x81 substream 0x0) audio 0x34
[21:24:43] stream id 0x35 (type 0x81 substream 0x0) audio 0x35
[21:24:43] dxva2:DxFindVideoServiceConversion failed
[21:24:43] scan: decoding previews for title 1
[21:24:43] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[21:24:43] scan: preview 1
[21:24:43] fifo_close: trashing 0 buffer(s)
[21:24:43] scan: audio 0x34: ac3, rate=48000Hz, bitrate=384000 Francais (AC3) (5.1 ch)
[21:24:43] fifo_close: trashing 0 buffer(s)
[21:24:43] scan: audio 0x35: ac3, rate=48000Hz, bitrate=192000 Unknown (AC3) (2.0 ch)
[21:24:43] scan: preview 2
[21:24:43] scan: preview 3
[21:24:43] scan: preview 4
[21:24:43] scan: preview 5
[21:24:44] scan: preview 6
[21:24:44] scan: preview 7
[21:24:44] scan: preview 8
[21:24:44] scan: preview 9
[21:24:44] scan: preview 10
[21:24:44] stream: 20 good frames, 0 errors (0%)
[21:24:44] scan: 10 previews, 1280x720, 59.940 fps, autocrop = 40/38/0/0, aspect 16:9, PAR 1:1
[21:24:44] Freed 11 buffers of size 1024
[21:24:44] Freed 2 buffers of size 2048
[21:24:44] Freed 1 buffers of size 4096
[21:24:44] Freed 1 buffers of size 8192
[21:24:44] Freed 1 buffers of size 16384
[21:24:44] Freed 1 buffers of size 32768
[21:24:44] Freed 1 buffers of size 65536
[21:24:44] Freed 1 buffers of size 131072
[21:24:44] Freed 2 buffers of size 262144
[21:24:44] Freed 1 buffers of size 2097152
[21:24:44] Allocated 2894848 bytes of buffers on this pass and Freed 2894848 bytes, 0 bytes leaked
[21:24:44] thread 993e70 exited ("scan")
[21:24:44] thread 993e70 joined ("scan")
[21:24:44] libhb: scan thread found 1 valid title(s)
[21:24:44] starting job
[21:24:44] sync: expecting 153774 video frames
[21:24:44] job configuration:
[21:24:44]  * source
[21:24:44]    + \\P8z68vpro\m tv\Radio Canada\Série Noire\Série Noire - S01E01 20150123_23000000.ts
[21:24:44]    + title 1, chapter(s) 1 to 1
[21:24:44]  * destination
[21:24:44]    + \\P8z68vpro\m tv\Radio Canada\Série Noire\Série Noire - S01E01 20150123_23000000 rf40 (2015-04-04) svn7048.mkv
[21:24:44]    + container: Matroska (libavformat)
[21:24:44]  * video track
[21:24:44]    + decoder: mpeg2video
[21:24:44]      + bitrate 17200 kbps
[21:24:44]    + filters
[21:24:44]      + Framerate Shaper (1)
[21:24:44]        + frame rate: 59.940 fps -> constant 59.940 fps
[21:24:44]      + Crop and Scale (1280:640:40:40:0:0)
[21:24:44]        + source: 1280 * 720, crop (40/40/0/0): 1280 * 640, scale: 1280 * 640
[21:24:44]    + Output geometry
[21:24:44]      + storage dimensions: 1280 x 640
[21:24:44]      + pixel aspect ratio: 1 : 1
[21:24:44]      + display dimensions: 1280 x 640
[21:24:44]    + encoder: H.264 (libx264)
[21:24:44]      + preset:  ultrafast
[21:24:44]      + profile: auto
[21:24:44]      + level:   auto
[21:24:44]      + quality: 40.00 (RF)
[21:24:44]  * subtitle track 1, Closed Captions (track 0, id 0x0) Text [CC] -> Passthrough
[21:24:44]  * audio track 1
[21:24:44]    + decoder: Francais (AC3) (5.1 ch) (track 1, id 0x34)
[21:24:44]      + bitrate: 384 kbps, samplerate: 48000 Hz
[21:24:44]    + AC3 Passthru
[21:24:44] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[21:24:44] thread 993e70 started ("Reader")
[21:24:44] thread 9991c0 started ("Framerate Shaper")
[21:24:44] thread 23c0d260 started ("Crop and Scale")
[21:24:44] thread 23c0d400 started ("AudioSynchronization")
[21:24:44] thread 9b74e0 started ("Video decoder (libavcodec)")
[21:24:44] thread 9b8500 started ("Closed Caption (608) decoder")
[21:24:44] encx264: min-keyint: 60, keyint: 600
[21:24:44] encx264: encoding at constant RF 40.000000
[21:24:44] encx264: unparsed options: ref=1:mbtree=0:scenecut=0:bframes=0:no-deblock=1:cabac=0:rc-lookahead=0:analyse=none:8x8dct=0:aq-mode=0:subme=0:weightp=0:me=dia:mixed-refs=0:trellis=0
[21:24:44] encx264: opening libx264 (pass 0)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64 SlowShuffle
[21:24:44] reader: first SCR 914 id 0x31 DTS 37389
x264 [info]: profile Constrained Baseline, level 3.2
[21:24:44] thread 1c816190 started ("H.264/AVC encoder (libx264)")
[21:24:44] thread 1c816330 started ("Audio decoder (libavcodec)")
[21:24:44] thread 1c8164d0 started ("Video Synchronization")
[21:24:44] mpeg2video: "Chapter 1" (1) at frame 0 time 1501
[21:24:44] Writing Metadata to output file...
[21:24:44] sync: first pts is 1501
[21:24:44] thread 1c816670 started ("Muxer")
[21:24:44] thread 1c816810 started ("Muxer")
[21:48:43] hb_ts_stream_decode - eof
[21:48:43] reader: done. 1 scr changes
[21:48:43] thread 993e70 exited ("Reader")
[21:48:47] work: average encoding speed for job is 106.848473 fps
[21:48:47] thread 1c816810 exited ("Muxer")
[21:48:47] thread 1c8164d0 exited ("Video Synchronization")
[21:48:47] thread 1c8164d0 joined ("Video Synchronization")
[21:48:47] sync: got 153776 frames, 153774 expected
[21:48:47] thread 9991c0 exited ("Framerate Shaper")
[21:48:47] thread 9991c0 joined ("Framerate Shaper")
[21:48:47] render: 153776 frames output, 0 dropped and 0 duped for CFR/PFR
[21:48:47] render: lost time: 0 (0 frames)
[21:48:47] render: gained time: 0 (0 frames) (0 not accounted for)
[21:48:47] fifo_close: trashing 0 buffer(s)
[21:48:48] thread 23c0d260 exited ("Crop and Scale")
[21:48:48] thread 23c0d260 joined ("Crop and Scale")
[21:48:48] thread 9b8500 exited ("Closed Caption (608) decoder")
[21:48:48] thread 9b74e0 exited ("Video decoder (libavcodec)")
[21:48:48] thread 1c816190 exited ("H.264/AVC encoder (libx264)")
[21:48:48] thread 1c816330 exited ("Audio decoder (libavcodec)")
[21:48:48] thread 23c0d400 exited ("AudioSynchronization")
[21:48:48] thread 23c0d400 joined ("AudioSynchronization")
[21:48:48] thread 9b74e0 joined ("Video decoder (libavcodec)")
[21:48:48] mpeg2video-decoder done: 153776 frames, 0 decoder errors, 0 drops
[21:48:48] thread 9b8500 joined ("Closed Caption (608) decoder")
[21:48:48] thread 1c816190 joined ("H.264/AVC encoder (libx264)")
x264 [info]: frame I:257   Avg QP:36.97  size:  9669
x264 [info]: frame P:153519 Avg QP:39.90  size:   536
x264 [info]: mb I  I16..4: 100.0%  0.0%  0.0%
x264 [info]: mb P  I16..4:  2.2%  0.0%  0.0%  P16..4:  3.7%  0.0%  0.0%  0.0%  0.0%    skip:94.1%
x264 [info]: coded y,uvDC,uvAC intra: 4.5% 13.1% 0.9% inter: 0.4% 0.4% 0.0%
x264 [info]: i16 v,h,dc,p: 46% 28% 16% 10%
x264 [info]: i8c dc,h,v,p: 74% 12% 13%  1%
x264 [info]: kb/s:264.27
[21:48:48] thread 1c816330 joined ("Audio decoder (libavcodec)")
[21:48:48] ac3-decoder done: 0 frames, 0 decoder errors, 0 drops
[21:48:48] thread 1c816670 exited ("Muxer")
[21:48:48] thread 1c816670 joined ("Muxer")
[21:48:48] thread 1c816810 joined ("Muxer")
[21:48:48] mux: file size, 209563121 bytes
[21:48:48] mux: track 0, 153776 frames, 84736699 bytes, 264.24 kbps, fifo 16384
[21:48:48] mux: track 1, 80171 frames, 123142656 bytes, 384.00 kbps, fifo 8192
[21:48:48] mux: track 2, 734 frames, 56998 bytes, 0.18 kbps, fifo 128
[21:48:48] mux: overhead, 6.93 bytes per frame
[21:48:48] thread 993e70 joined ("Reader")
[21:48:48] stream: 153776 good frames, 0 errors (0%)
[21:48:48] fifo_close: trashing 0 buffer(s)
[21:48:48] fifo_close: trashing 0 buffer(s)
[21:48:48] fifo_close: trashing 0 buffer(s)
[21:48:48] fifo_close: trashing 0 buffer(s)
[21:48:48] fifo_close: trashing 0 buffer(s)
[21:48:48] fifo_close: trashing 0 buffer(s)
[21:48:48] fifo_close: trashing 0 buffer(s)
[21:48:48] fifo_close: trashing 0 buffer(s)
[21:48:48] fifo_close: trashing 0 buffer(s)
[21:48:48] fifo_close: trashing 0 buffer(s)
[21:48:48] fifo_close: trashing 0 buffer(s)
[21:48:48] fifo_close: trashing 0 buffer(s)
[21:48:48] fifo_close: trashing 0 buffer(s)
[21:48:48] fifo_close: trashing 0 buffer(s)
[21:48:48] Freed 320 buffers of size 1024
[21:48:48] Freed 32 buffers of size 2048
[21:48:48] Freed 32 buffers of size 4096
[21:48:48] Freed 32 buffers of size 8192
[21:48:48] Freed 32 buffers of size 16384
[21:48:48] Freed 17 buffers of size 32768
[21:48:48] Freed 32 buffers of size 65536
[21:48:48] Freed 12 buffers of size 131072
[21:48:48] Freed 5 buffers of size 262144
[21:48:48] Freed 4 buffers of size 524288
[21:48:48] Freed 32 buffers of size 2097152
[21:48:48] Allocated 76054528 bytes of buffers on this pass and Freed 76054528 bytes, 0 bytes leaked
[21:48:48] thread 999980 exited ("work")
[21:48:48] thread 999980 joined ("work")
[21:48:48] libhb: work result = 0
# Encode Completed ...
I also tested with SVN6510 and the ass subs behaves like SVN7048
Last edited by HandyMan on Wed Apr 08, 2015 9:03 pm, edited 1 time in total.
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: SVN7048 SSA subtille position shift left.

Post by JohnAStebbins »

I need a better description of what you think is wrong. I don't have any of the playback tools you are using, so can't look at the output they produce.

I've compared how vlc displays the subtitles with where HandBrake positions them. The main difference is that vlc does not use the full width of the image for placement. e.g. a CC specified to start in column 0 is displayed by vlc starting about 1/4 of the way across from the left edge of the video. HandBrake starts the same CC at the left edge plus a "safe zone" margin to make just enough from for TV overscan region.

Regarding alignment, I have a patch to fix that. We really weren't doing anything to try to keep the original alignment between CC rows. To fix this, I've changed the font to a fixed width font and inserted hard spaces where necessary. I've committed that, so maybe you can have a look when it hits the next nightly.
HandyMan
Bright Spark User
Posts: 169
Joined: Tue Aug 07, 2012 10:52 pm

Re: SVN7048 SSA subtille position shift left.

Post by HandyMan »

JohnAStebbins wrote:I need a better description of what you think is wrong. I don't have any of the playback tools you are using, so can't look at the output they produce.

I've compared how vlc displays the subtitles with where HandBrake positions them. The main difference is that vlc does not use the full width of the image for placement. e.g. a CC specified to start in column 0 is displayed by vlc starting about 1/4 of the way across from the left edge of the video. HandBrake starts the same CC at the left edge plus a "safe zone" margin to make just enough from for TV overscan region.
I compared VLC with NextPVR and VideoReDo and they have similar placement.

I generated subs with ccextractor in snupng format, all images are 544x390, 1.395 Ratio, not the 1.77 ratio of the native 1280x720 broadcast. Could this be a 'standard' somehow ?
snupng subs: https://www.sendspace.com/file/wkdb00
JohnAStebbins wrote:Regarding alignment, I have a patch to fix that. We really weren't doing anything to try to keep the original alignment between CC rows. To fix this, I've changed the font to a fixed width font and inserted hard spaces where necessary. I've committed that, so maybe you can have a look when it hits the next nightly.
Great, I will have a look at the fix when it becomes available.
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: SVN7048 SSA subtille position shift left.

Post by JohnAStebbins »

HandyMan wrote: I generated subs with ccextractor in snupng format, all images are 544x390, 1.395 Ratio, not the 1.77 ratio of the native 1280x720 broadcast. Could this be a 'standard' somehow ?
snupng subs: https://www.sendspace.com/file/wkdb00
Possibly, though I've never run across any spec for this. I'll experiment by setting the horizontal "safe zone" to a 4:3 region of the video centered horizontally and see what happens.
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: SVN7048 SSA subtille position shift left.

Post by JohnAStebbins »

I made some additional adjustments. Increased the size of the safe zone margin. And increased the font size a little.

I also effectively put the CC window in a 4:3 region centered on the 16:9 video. But I did it in a round-about way. The CEA-708 spec says that when the video aspect is 16:9, the number of text columns is 42 (instead of 32 for 4:3 aspect). CEA-608 only defines 32 columns and only expects 4:3 video. So I basically applied the CEA-708 definition by adding 5 to the CEA-608 column number (half of 42 - 32) and used a 42 column grid when the aspect is 16:9. Gets the job done and makes the calculations CEA-708 compliant if we ever get around to adding CEA-708 support.
HandyMan
Bright Spark User
Posts: 169
Joined: Tue Aug 07, 2012 10:52 pm

Re: SVN7048 SSA subtille position shift left.

Post by HandyMan »

Great ... and fast
dam you are good :-)
HandyMan
Bright Spark User
Posts: 169
Joined: Tue Aug 07, 2012 10:52 pm

Re: SVN7048 SSA subtille position shift left.

Post by HandyMan »

I tested SVN7063 this morning.
I tested replacing "Courrier" with "DejaVu Sans Mono" in the ass file and it does a better jobs. Maybe one day there could be an option to select the font :wink:

With NextPVR and VideoReDo and ccextractor, the subtitles placement are identical. I found that VLC does not exactly place the subs as the 3 others. And that may explain why your modifications are similar to VLC now :!: :roll:

As for the right align, it is not perfect, sometimes it seems to be missing 3 hardspaces, and some lines that right aligned with the 3 programs are not in VLC or with HB.

Code: Select all

[Script Info]
ScriptType: v4.00+
Collisions: Normal
PlayResX: 1280
PlayResY: 640
Timer: 100.0
WrapStyle: 0

[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: Default,Courier New,40,&H00FFFFFF,&H00FFFFFF,&H000F0F0F,&H000F0F0F,0,0,0,0,100,100,0,0.00,1,2,3,2,20,20,20,0

[Events]
Format: Layer, Start, End, Style, Actor, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 0,0:00:03.00,0:00:05.67,Default,,0,0,0,,{\a1\pos(344,608)}(Chants d'oiseaux)
Dialogue: 0,0:00:05.67,0:00:07.94,Default,,0,0,0,,{\a1\pos(488,608)}(Expiration)
Dialogue: 0,0:00:07.94,0:00:09.70,Default,,0,0,0,,{\a1\pos(248,608)}(Cri)
Dialogue: 0,0:00:09.71,0:00:12.15,Default,,0,0,0,,{\a1\pos(440,608)}(Cri de douleur)
Dialogue: 0,0:00:12.14,0:00:14.58,Default,,0,0,0,,{\a1\pos(392,608)}- {\i1}Tu sais, mon Paul,\N\h\h\h\htoute ma vie,
Dialogue: 0,0:00:14.58,0:00:16.64,Default,,0,0,0,,{\a1\pos(392,608)}\h\h\h{\i1}j'ai jugé puis\Ncondamné des gens...
Dialogue: 0,0:00:16.65,0:00:19.89,Default,,0,0,0,,{\a1\pos(488,608)}\h\h\hJ'ai jugé ma femme,\Nj'ai jugé mes enfants,

This one is not rigth aligned in HB
Dialogue: 0,0:00:19.88,0:00:22.95,Default,,0,0,0,,{\a1\pos(344,608)}j'ai jugé mon frère, je t'ai\Nmême jugé, toi, des fois.

Missing spaces to be right aligned
Dialogue: 0,0:00:22.95,0:00:25.22,Default,,0,0,0,,{\a1\pos(440,608)}\h\h\h\h\h\h\h\hPuis un jour,\Nsans qu'on te l'annonce,

Dialogue: 0,0:00:25.22,0:00:28.82,Default,,0,0,0,,{\a1\pos(272,608)}\h\h\h\h\h\h\h\h\hsans qu'on te prépare,\Ntu réalises que t'es tout seul.
Dialogue: 0,0:00:28.82,0:00:30.46,Default,,0,0,0,,{\a1\pos(344,608)}(Respiration haletante)
Dialogue: 0,0:00:32.36,0:00:36.60,Default,,0,0,0,,{\a1\pos(248,608)}- C'est le procès Tumblebeck\Nqui te met dans cet état-là.

Missing spaces to be right aligned
Dialogue: 0,0:00:36.60,0:00:39.30,Default,,0,0,0,,{\a1\pos(440,608)}\h\h\h\h\h\h\h\h- Ouais. Puis\Nveux-tu savoir pourquoi?

Dialogue: 0,0:00:39.30,0:00:43.04,Default,,0,0,0,,{\a1\pos(368,608)}\h\h\h\hParce que je l'ai jugé.\NParce que je l'ai condamné.
Dialogue: 0,0:00:43.04,0:00:46.47,Default,,0,0,0,,{\a1\pos(584,608)}\h\h\h\hPuis parce que\Nje me suis trompé.
Dialogue: 0,0:00:55.75,0:00:57.65,Default,,0,0,0,,{\a1\pos(632,608)}(Petits cris)
Dialogue: 0,0:00:57.65,0:00:59.49,Default,,0,0,0,,{\a1\pos(248,608)}(Gémissements)
Dialogue: 0,0:01:01.39,0:01:05.19,Default,,0,0,0,,{\a1\pos(248,608)}(Sirène de police au loin)
Dialogue: 0,0:01:05.19,0:01:07.43,Default,,0,0,0,,{\a1\pos(248,608)}Mademoiselle,\Npuis-je me permettre
Dialogue: 0,0:01:07.43,0:01:11.77,Default,,0,0,0,,{\a1\pos(248,608)}de solliciter votre compagnie\Npour une petite fin de semaine?
Dialogue: 0,0:01:11.77,0:01:11.80,Default,,0,0,0,,{\a1\pos(344,608)}(Respiration haletante)
I also found that HB loose track of italic
here is a sample https://www.sendspace.com/file/t7kmah
and the psupng subs https://www.sendspace.com/file/5as4su

Code: Select all

[Script Info]
ScriptType: v4.00+
Collisions: Normal
PlayResX: 1280
PlayResY: 640
Timer: 100.0
WrapStyle: 0

[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: Default,Courier New,40,&H00FFFFFF,&H00FFFFFF,&H000F0F0F,&H000F0F0F,0,0,0,0,100,100,0,0.00,1,2,3,2,20,20,20,0

[Events]
Format: Layer, Start, End, Style, Actor, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 0,0:00:03.32,0:00:06.26,Default,,0,0,0,,{\a1\pos(248,608)}(? Musique de générique ?)
Dialogue: 0,0:00:06.25,0:00:08.75,Default,,0,0,0,,{\a1\pos(488,608)}(Téléphone)
Dialogue: 0,0:00:13.06,0:00:15.93,Default,,0,0,0,,{\a1\pos(392,608)}- {\i1}Bonjour, vous êtes\N\hbien chez Patrick.
Dialogue: 0,0:00:15.93,0:00:16.86,Default,,0,0,0,,{\a1\pos(560,608)}(Bip)
Dialogue: 0,0:00:16.86,0:00:18.53,Default,,0,0,0,,{\a1\pos(368,608)}\h\h\h\h\h- (Femme):\N{\i1}Allô, mon grand!

Should be italic
Dialogue: 0,0:00:18.53,0:00:22.57,Default,,0,0,0,,{\a1\pos(296,608)}Hé, tu dois être en train de\Ncélébrer la fin de ta série,
Dialogue: 0,0:00:22.57,0:00:23.54,Default,,0,0,0,,{\a1\pos(464,608)}{\i1}ta belle série!

Should be italic
Dialogue: 0,0:00:23.54,0:00:25.30,Default,,0,0,0,,{\a1\pos(272,608)}J'appelais pour te féliciter.
Dialogue: 0,0:00:25.30,0:00:28.34,Default,,0,0,0,,{\a1\pos(272,608)}\h\h\h\h\h\h{\i1}Je viens d'écouter\Nla dernière, là, c'est...

Should be italic
Dialogue: 0,0:00:28.34,0:00:29.67,Default,,0,0,0,,{\a1\pos(272,608)}J'ai trouvé ça bon, moi.
Should be italic
Dialogue: 0,0:00:29.68,0:00:33.35,Default,,0,0,0,,{\a1\pos(248,608)}Ah, puis j'ai vu l'annonce\N\haussi, que je te disais,

Should be centered
Dialogue: 0,0:00:33.35,0:00:35.82,Default,,0,0,0,,{\a1\pos(248,608)}\h\h\h\h\h\h\h\h\h\h{\i1}tu sais avec\Nles petites bibittes, là?

Should be italic
Dialogue: 0,0:00:35.81,0:00:40.32,Default,,0,0,0,,{\a1\pos(272,608)}Elles sont assez drôles! C'est\Ndes drôles de petits cochons!
Dialogue: 0,0:00:43.06,0:00:46.00,Default,,0,0,0,,{\a1\pos(296,140)}- (Homme): {\i1}Voici l'histoire\N\h\h\h\hde Denis et Patrick,
Dialogue: 0,0:00:45.99,0:00:48.19,Default,,0,0,0,,{\a1\pos(392,140)}\h\h\h\h{\i1}2 scénaristes\Nà l'ambition infinie,

Should be italic
Dialogue: 0,0:00:48.19,0:00:49.69,Default,,0,0,0,,{\a1\pos(296,104)}mais au talent plus limité.

Should be italic
Dialogue: 0,0:00:49.70,0:00:52.27,Default,,0,0,0,,{\a1\pos(296,140)}En 2010, un populaire réseau\Nde télévision leur confiait

Should be italic
Dialogue: 0,0:00:52.26,0:00:54.63,Default,,0,0,0,,{\a1\pos(248,140)}l'écriture d'une nouvelle\Nsérie juridico-policière

First word should be italic
Dialogue: 0,0:00:54.63,0:00:56.63,Default,,0,0,0,,{\a1\pos(248,104)}intitulée La loi de la justice.

Should be centered 
Dialogue: 0,0:00:56.64,0:00:58.75,Default,,0,0,0,,{\a1\pos(368,140)}\h\h{\i1}Malgré un auditoire\Nplus qu'honorable

Should be centered 
Dialogue: 0,0:00:58.74,0:01:01.61,Default,,0,0,0,,{\a1\pos(248,140)}\h\h\h\h\h\h\h\h\h{\i1}et une part de\Nmarché de 25% en moyenne,

Missing italic for first phrase
Dialogue: 0,0:01:01.61,0:01:05.18,Default,,0,0,0,,{\a1\pos(272,140)}la série s'est avérée un échec\N\h\h\h\h{\i1}critique retentissant.
Dialogue: 0,0:01:05.18,0:01:07.08,Default,,0,0,0,,{\a1\pos(392,140)}\h{\i1}Même les critiques\Nles plus indulgentes

Missing italic for first phrase
Dialogue: 0,0:01:07.08,0:01:09.98,Default,,0,0,0,,{\a1\pos(272,140)}n'ont pas manqué de souligner\N\h\h\h\h{\i1}le caractère grotesque

Missing italic for first phrase
Dialogue: 0,0:01:09.98,0:01:12.45,Default,,0,0,0,,{\a1\pos(248,140)}et complètement invraisemblable\N\h\h\h\h\h{\i1}de la trame narrative.

Dialogue: 0,0:01:12.45,0:01:15.15,Default,,0,0,0,,{\a1\pos(416,140)}{\i1}Après la diffusion\Ndu dernier épisode,
Dialogue: 0,0:01:15.15,0:01:17.22,Default,,0,0,0,,{\a1\pos(368,140)}{\i1}Denis et Patrick,\Népuisés et amers,

Missing italic for first phrase, should be centered
Dialogue: 0,0:01:17.22,0:01:19.99,Default,,0,0,0,,{\a1\pos(248,140)}se sont donné rendez-vous\N\h\h\h\h\h{\i1}dans leur bar préféré,

Dialogue: 0,0:01:19.99,0:01:22.49,Default,,0,0,0,,{\a1\pos(392,140)}{\i1}question de célébrer\Nleur puissant ratage.

Not fully right aligned
Dialogue: 0,0:01:22.49,0:01:24.60,Default,,0,0,0,,{\a1\pos(440,140)}\h\h\h\h\h\h- Ah! On aurait dû\Nbeurrer ça de totons!
Dialogue: 0,0:01:24.60,0:01:27.03,Default,,0,0,0,,{\a1\pos(464,140)}\h\h\hLes petites avocates\Nqui plaident en totons,
Dialogue: 0,0:01:27.03,0:01:28.40,Default,,0,0,0,,{\a1\pos(656,140)}les assistantes\N\h\h\h\h\hen totons,

Not fully right aligned
Dialogue: 0,0:01:28.40,0:01:30.77,Default,,0,0,0,,{\a1\pos(344,140)}\h\h\h\h\hles... les juges, gars,\Nfilles, je m'en torche...

Dialogue: 0,0:01:30.77,0:01:34.21,Default,,0,0,0,,{\a1\pos(248,140)}Tout le monde en totons avec des\N\htrous dans leurs toges de marde
Dialogue: 0,0:01:34.21,0:01:36.31,Default,,0,0,0,,{\a1\pos(488,140)}\h\h\h\h\h\h\hpour qu'on voie\Nleurs totons de marde.
Dialogue: 0,0:01:36.31,0:01:38.78,Default,,0,0,0,,{\a1\pos(248,140)}- T'aimes ça\Ndire "totons".
Dialogue: 0,0:01:38.78,0:01:41.31,Default,,0,0,0,,{\a1\pos(584,140)}\h\h\h\h\h\h\h\h\h\h- Ouais,\Nj'aime ça. TOTONS!
Dialogue: 0,0:01:41.31,0:01:42.55,Default,,0,0,0,,{\a1\pos(248,104)}- Hé, hé!

Not fully right aligned
Dialogue: 0,0:01:42.55,0:01:42.55,Default,,0,0,0,,{\a1\pos(344,140)}\h\h\h\h\h- Ah... Tu vois ben que\Ntout le monde s'en sacre!
I also found that you are using only {\a1\pos(248,104)} positioning, it make it very difficult :? to edit in Subtille Edit which use {\an2} style of positionning. Could using that style of positioning simplify the subtitle generation in Handbrake ?
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: SVN7048 SSA subtille position shift left.

Post by JohnAStebbins »

Found the problem with the "3 spaces" alignment issue. There is a bug in the ccextractor code that we based our CC decoder on. It ignores the taboffset3 command. This probably explains why vlc has similar output to HandBrake. They probably inherited the same bug from the original ccextractor code.

Should be fixed in the next nightly build.
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: SVN7048 SSA subtille position shift left.

Post by JohnAStebbins »

The italic issue should be fixed in the next nightly as well.
HandyMan
Bright Spark User
Posts: 169
Joined: Tue Aug 07, 2012 10:52 pm

[Fixed] Re: SVN7048 SSA subtille position shift left.

Post by HandyMan »

I installed SVN7072 this morning and the italic issue and the alignement are now solved.
Great work, many thanks :D
HandyMan
Bright Spark User
Posts: 169
Joined: Tue Aug 07, 2012 10:52 pm

Re: [Fixed] SVN7048 SSA subtille position shift left.

Post by HandyMan »

I am taking a 1080i, crop and rescale to 1280x540, the ass extracted from the mkv has 1920x810 PlayRes?
I expected to see 1280x540 PlayRes :shock:

The player rescale to 1280x540 but the font are scaled scaled down when it does.

Code: Select all

[Script Info]
ScriptType: v4.00+
Collisions: Normal
PlayResX: 1920
PlayResY: 810
Timer: 100.0
WrapStyle: 0

[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: Default,DejaVu Sans Mono,51,&H00FFFFFF,&H00FFFFFF,&H000F0F0F,&H000F0F0F,0,0,0,0,100,100,0,0.00,1,2,3,2,20,20,20,0

[Events]
Format: Layer, Start, End, Style, Actor, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 0,0:01:17.01,0:01:19.14,Default,,0,0,0,,{\a1\pos(516,790)}[ On cogne à la porte ]
Dialogue: 0,0:01:21.21,0:01:23.01,Default,,0,0,0,,{\a1\pos(552,790)}[ Une porte s'ouvre ]
Dialogue: 0,0:03:16.13,0:03:17.37,Default,,0,0,0,,{\a1\pos(840,790)}- Hé!
Dialogue: 0,0:03:18.87,0:03:20.61,Default,,0,0,0,,{\a1\pos(372,790)}Que c'est que tu fais là?
Dialogue: 0,0:03:21.60,0:03:23.67,Default,,0,0,0,,{\a1\pos(372,790)}Que c'est qui\Nse passe, donc, là?
Dialogue: 0,0:03:23.67,0:03:25.20,Default,,0,0,0,,{\a1\pos(372,790)}Tu as arrêté le bull?
Dialogue: 0,0:03:25.21,0:03:27.48,Default,,0,0,0,,{\a1\pos(624,790)}À 350$ de l'heure!
Dialogue: 0,0:03:27.47,0:03:29.54,Default,,0,0,0,,{\a1\pos(372,790)}- Je faisais\Nune dernière vérification.

Code: Select all

HandBrake svn7072 (Nightly Build) - 64bit Version
OS: Microsoft Windows NT 6.1.7601 Service Pack 1 - 64bit
CPU: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
Ram: 8089 MB, 
GPU Information:
  Intel(R) HD Graphics 3000 - 9.17.10.4101
  AMD Radeon HD 6800 Series - 14.501.1003.0
Screen: 1920x1080
Temp Dir: C:\Users\Simon\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\Simon\AppData\Roaming\HandBrake\HandBrake\0.0.0.7072

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


# Starting Encode ...
[00:50:27] thread 249803c0 started ("work")
[00:50:27] 1 job(s) to process
[00:50:27] CPU: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
[00:50:27]  - Intel microarchitecture Sandy Bridge
[00:50:27]  - logical processor count: 8
[00:50:27] OpenCL device #1: Advanced Micro Devices, Inc. Barts
[00:50:27]  - OpenCL version: 1.2 AMD-APP (1642.5)
[00:50:27]  - driver version: 1642.5 (VM)
[00:50:27]  - device type:    GPU
[00:50:27]  - supported:      YES
[00:50:27] Intel Quick Sync Video support: yes
[00:50:27]  - Intel Media SDK hardware: API 1.4 (minimum: 1.3)
[00:50:27]  - H.264 encoder: yes
[00:50:27]     - preferred implementation: hardware (any)
[00:50:27]     - capabilities (hardware):  standard feature set
[00:50:27]  - H.265 encoder: no
[00:50:27] hb_scan: path=M:\TV\TéléQuébec\Films\Bluff (2007) 20150408 21002239.ts, title_index=1
[00:50:27] thread 39474da0 started ("scan")
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening M:\TV\TéléQuébec\Films\Bluff (2007) 20150408 21002239.ts/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening M:\TV\TéléQuébec\Films\Bluff (2007) 20150408 21002239.ts/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(M:\TV\TéléQuébec\Films\Bluff (2007) 20150408 21002239.ts) failed
[00:50:27] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
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
[00:50:27] dvd: not a dvd - trying as a stream/file instead
[00:50:27] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[00:50:27] Found the following PIDS
[00:50:27]     Video PIDS : 
[00:50:27]       0x31 type MPEG2 (0x2) (PCR)
[00:50:27]     Audio PIDS : 
[00:50:27]       0x34 type AC3 (0x81)
[00:50:27]       0x35 type AC3 (0x81)
[00:50:27]     Subtitle PIDS : 
[00:50:27]     Other PIDS : 
[00:50:27] stream id 0x34 (type 0x81 substream 0x0) audio 0x34
[00:50:27] stream id 0x35 (type 0x81 substream 0x0) audio 0x35
[00:50:27] scan: decoding previews for title 1
[00:50:27] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[00:50:27] scan: preview 1
[00:50:27] fifo_close: trashing 0 buffer(s)
[00:50:27] scan: audio 0x35: ac3, rate=48000Hz, bitrate=160000 Francais (AC3) (2.0 ch)
[00:50:27] fifo_close: trashing 0 buffer(s)
[00:50:27] scan: audio 0x34: ac3, rate=48000Hz, bitrate=384000 Francais (AC3) (3.0 ch)
[00:50:27] scan: preview 2
[00:50:27] scan: preview 3
[00:50:27] Interlacing detected in preview frame 3
[00:50:27] scan: preview 4
[00:50:27] scan: preview 5
[00:50:27] scan: preview 6
[00:50:27] scan: preview 7
[00:50:27] scan: preview 8
[00:50:27] scan: preview 9
[00:50:28] scan: preview 10
[00:50:28] stream: 20 good frames, 0 errors (0%)
[00:50:28] scan: 10 previews, 1920x1080, 29.970 fps, autocrop = 130/48/0/0, aspect 16:9, PAR 1:1
[00:50:28] Freed 11 buffers of size 1024
[00:50:28] Freed 2 buffers of size 2048
[00:50:28] Freed 1 buffers of size 65536
[00:50:28] Freed 1 buffers of size 131072
[00:50:28] Freed 2 buffers of size 262144
[00:50:28] Freed 1 buffers of size 4194304
[00:50:28] Allocated 4930560 bytes of buffers on this pass and Freed 4930560 bytes, 0 bytes leaked
[00:50:28] thread 39474da0 exited ("scan")
[00:50:28] thread 39474da0 joined ("scan")
[00:50:28] libhb: scan thread found 1 valid title(s)
[00:50:28] starting job
[00:50:28] work: track 2, dithering not supported by codec
[00:50:28] sync: expecting 158729 video frames
[00:50:28] job configuration:
[00:50:28]  * source
[00:50:28]    + M:\TV\TéléQuébec\Films\Bluff (2007) 20150408 21002239.ts
[00:50:28]    + title 1, chapter(s) 1 to 1
[00:50:28]  * destination
[00:50:28]    + U:\Utilisateurs\Simon\Documents\TV\TéléQuébec\Films\Bluff (2007)\Bluff (2007) 20150408 21002239 rf51 (2015-04-09) svn7072.mkv
[00:50:28]    + container: Matroska (libavformat)
[00:50:28]  * video track
[00:50:28]    + decoder: mpeg2video
[00:50:28]      + bitrate 17700 kbps
[00:50:28]    + filters
[00:50:28]      + Framerate Shaper (1)
[00:50:28]        + frame rate: 29.970 fps -> constant 29.970 fps
[00:50:28]      + Crop and Scale (1280:540:132:138:0:0)
[00:50:28]        + source: 1920 * 1080, crop (132/138/0/0): 1920 * 810, scale: 1280 * 540
[00:50:28]    + Output geometry
[00:50:28]      + storage dimensions: 1280 x 540
[00:50:28]      + pixel aspect ratio: 1 : 1
[00:50:28]      + display dimensions: 1280 x 540
[00:50:28]    + encoder: H.264 (libx264)
[00:50:28]      + preset:  ultrafast
[00:50:28]      + profile: auto
[00:50:28]      + level:   auto
[00:50:28]      + quality: 51.00 (RF)
[00:50:28]  * subtitle track 1, Closed Captions (track 0, id 0x0) Text [CC] -> Passthrough
[00:50:28]  * audio track 1
[00:50:28]    + decoder: Francais (AC3) (3.0 ch) (track 1, id 0x34)
[00:50:28]      + bitrate: 384 kbps, samplerate: 48000 Hz
[00:50:28]    + AC3 Passthru
[00:50:28]  * audio track 2
[00:50:28]    + decoder: Francais (AC3) (3.0 ch) (track 1, id 0x34)
[00:50:28]      + bitrate: 384 kbps, samplerate: 48000 Hz
[00:50:28]    + mixdown: Stereo
[00:50:28]    + encoder: AC3 (libavcodec)
[00:50:28]      + bitrate: 384 kbps, samplerate: 48000 Hz
[00:50:28]  * audio track 3
[00:50:28]    + decoder: Francais (AC3) (2.0 ch) (track 2, id 0x35)
[00:50:28]      + bitrate: 160 kbps, samplerate: 48000 Hz
[00:50:28]    + AC3 Passthru
[00:50:28] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[00:50:28] thread 24837c20 started ("Reader")
[00:50:28] thread 24980220 started ("Framerate Shaper")
[00:50:28] thread 24980d80 started ("Crop and Scale")
[00:50:28] thread 24837dc0 started ("AudioSynchronization")
[00:50:28] thread 24836d80 started ("AudioSynchronization")
[00:50:28] thread 394750e0 started ("AudioSynchronization")
[00:50:28] thread 3cb43590 started ("Video decoder (libavcodec)")
[00:50:28] thread 39474f40 started ("Closed Caption (608) decoder")
[00:50:28] encx264: min-keyint: 30, keyint: 300
[00:50:28] encx264: encoding at constant RF 51.000000
[00:50:28] encx264: unparsed options: mbtree=0:ref=1:cabac=0:mixed-refs=0:scenecut=0:weightp=0:trellis=0:subme=0:me=dia:bframes=0:analyse=none:no-deblock=1:8x8dct=0:aq-mode=0:rc-lookahead=0
[00:50:28] encx264: opening libx264 (pass 0)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile Constrained Baseline, level 3.1
[00:50:28] thread 24838100 started ("H.264/AVC encoder (libx264)")
[00:50:28] thread 24837740 started ("Audio decoder (libavcodec)")
[00:50:28] thread 24980080 started ("Audio decoder (libavcodec)")
[00:50:28] thread 248378e0 started ("AVCodec Audio encoder (libavcodec)")
[00:50:28] thread 248375a0 started ("Audio decoder (libavcodec)")
[00:50:28] thread 39474da0 started ("Video Synchronization")
[00:50:28] reader: first SCR 914 id 0x31 DTS 34114
[00:50:28] Writing Metadata to output file...
[00:50:28] thread 3cb43f50 started ("Muxer")
[00:50:28] thread 3cb43db0 started ("Muxer")
[00:50:28] thread 3cb43a70 started ("Muxer")
[00:50:28] thread 3cb43c10 started ("Muxer")
[00:50:28] mpeg2video: "Chapter 1" (1) at frame 0 time 3003
[00:50:28] sync: first pts is 3003
[00:50:28] sync: adding 118 ms of silence to audio 0x35  start 10678, next 0
[01:25:06] hb_ts_stream_decode - eof
[01:25:06] reader: done. 1 scr changes
[01:25:06] thread 24837c20 exited ("Reader")
[01:25:07] work: average encoding speed for job is 76.352997 fps
[01:25:07] thread 39474f40 exited ("Closed Caption (608) decoder")
[01:25:07] thread 24980220 exited ("Framerate Shaper")
[01:25:07] thread 3cb43590 exited ("Video decoder (libavcodec)")
[01:25:07] thread 24980080 exited ("Audio decoder (libavcodec)")
[01:25:07] thread 24837740 exited ("Audio decoder (libavcodec)")
[01:25:07] thread 24836d80 exited ("AudioSynchronization")
[01:25:07] thread 24980d80 exited ("Crop and Scale")
[01:25:07] thread 24838100 exited ("H.264/AVC encoder (libx264)")
[01:25:07] thread 248375a0 exited ("Audio decoder (libavcodec)")
[01:25:07] thread 3cb43a70 exited ("Muxer")
[01:25:07] thread 24837dc0 exited ("AudioSynchronization")
[01:25:07] thread 3cb43db0 exited ("Muxer")
[01:25:07] thread 248378e0 exited ("AVCodec Audio encoder (libavcodec)")
[01:25:07] thread 3cb43f50 exited ("Muxer")
[01:25:07] thread 394750e0 exited ("AudioSynchronization")
[01:25:07] thread 39474da0 exited ("Video Synchronization")
[01:25:07] thread 39474da0 joined ("Video Synchronization")
[01:25:07] sync: got 158726 frames, 158729 expected
[01:25:07] thread 24980220 joined ("Framerate Shaper")
[01:25:07] render: 158726 frames output, 0 dropped and 0 duped for CFR/PFR
[01:25:07] render: lost time: 0 (0 frames)
[01:25:07] render: gained time: 0 (0 frames) (0 not accounted for)
[01:25:07] fifo_close: trashing 0 buffer(s)
[01:25:07] thread 24980d80 joined ("Crop and Scale")
[01:25:07] thread 24837dc0 joined ("AudioSynchronization")
[01:25:07] thread 24836d80 joined ("AudioSynchronization")
[01:25:07] thread 394750e0 joined ("AudioSynchronization")
[01:25:07] thread 3cb43590 joined ("Video decoder (libavcodec)")
[01:25:07] mpeg2video-decoder done: 158726 frames, 0 decoder errors, 0 drops
[01:25:07] thread 3cb43c10 exited ("Muxer")
[01:25:07] thread 39474f40 joined ("Closed Caption (608) decoder")
[01:25:07] thread 24838100 joined ("H.264/AVC encoder (libx264)")
x264 [info]: frame I:530   Avg QP:47.58  size:  3871
x264 [info]: frame P:158196 Avg QP:50.21  size:   238
x264 [info]: mb I  I16..4: 100.0%  0.0%  0.0%
x264 [info]: mb P  I16..4:  2.2%  0.0%  0.0%  P16..4:  1.4%  0.0%  0.0%  0.0%  0.0%    skip:96.4%
x264 [info]: coded y,uvDC,uvAC intra: 1.1% 22.9% 0.5% inter: 0.1% 0.3% 0.0%
x264 [info]: i16 v,h,dc,p: 59% 23% 11%  7%
x264 [info]: i8c dc,h,v,p: 85%  6%  9%  0%
x264 [info]: kb/s:59.99
[01:25:07] thread 24837740 joined ("Audio decoder (libavcodec)")
[01:25:07] ac3-decoder done: 0 frames, 0 decoder errors, 0 drops
[01:25:07] thread 24980080 joined ("Audio decoder (libavcodec)")
[01:25:07] ac3-decoder done: 0 frames, 0 decoder errors, 0 drops
[01:25:07] thread 248378e0 joined ("AVCodec Audio encoder (libavcodec)")
[01:25:07] encavcodeca: closing libavcodec
[01:25:07] thread 248375a0 joined ("Audio decoder (libavcodec)")
[01:25:07] ac3-decoder done: 0 frames, 0 decoder errors, 0 drops
[01:25:07] thread 3cb43f50 joined ("Muxer")
[01:25:07] thread 3cb43db0 joined ("Muxer")
[01:25:07] thread 3cb43a70 joined ("Muxer")
[01:25:07] thread 3cb43c10 joined ("Muxer")
[01:25:07] mux: file size, 658727043 bytes
[01:25:07] mux: track 0, 158726 frames, 39691409 bytes, 59.95 kbps, fifo 4096
[01:25:07] mux: track 1, 165503 frames, 254212608 bytes, 383.99 kbps, fifo 4096
[01:25:07] mux: track 2, 165503 frames, 254212608 bytes, 383.99 kbps, fifo 4096
[01:25:07] mux: track 3, 165506 frames, 105923840 bytes, 160.00 kbps, fifo 4096
[01:25:07] mux: track 4, 1531 frames, 114817 bytes, 0.17 kbps, fifo 64
[01:25:07] mux: overhead, 6.96 bytes per frame
[01:25:07] thread 24837c20 joined ("Reader")
[01:25:07] stream: 158726 good frames, 0 errors (0%)
[01:25:07] fifo_close: trashing 0 buffer(s)
[01:25:07] fifo_close: trashing 0 buffer(s)
[01:25:07] fifo_close: trashing 0 buffer(s)
[01:25:07] fifo_close: trashing 0 buffer(s)
[01:25:07] fifo_close: trashing 0 buffer(s)
[01:25:07] fifo_close: trashing 0 buffer(s)
[01:25:07] fifo_close: trashing 0 buffer(s)
[01:25:07] fifo_close: trashing 0 buffer(s)
[01:25:07] fifo_close: trashing 0 buffer(s)
[01:25:07] fifo_close: trashing 0 buffer(s)
[01:25:07] fifo_close: trashing 0 buffer(s)
[01:25:07] fifo_close: trashing 0 buffer(s)
[01:25:07] fifo_close: trashing 0 buffer(s)
[01:25:07] fifo_close: trashing 0 buffer(s)
[01:25:07] fifo_close: trashing 0 buffer(s)
[01:25:07] fifo_close: trashing 0 buffer(s)
[01:25:07] fifo_close: trashing 0 buffer(s)
[01:25:07] fifo_close: trashing 0 buffer(s)
[01:25:07] fifo_close: trashing 0 buffer(s)
[01:25:07] fifo_close: trashing 0 buffer(s)
[01:25:07] fifo_close: trashing 0 buffer(s)
[01:25:07] fifo_close: trashing 0 buffer(s)
[01:25:07] Freed 320 buffers of size 1024
[01:25:07] Freed 32 buffers of size 2048
[01:25:07] Freed 32 buffers of size 4096
[01:25:07] Freed 12 buffers of size 8192
[01:25:07] Freed 27 buffers of size 16384
[01:25:07] Freed 32 buffers of size 32768
[01:25:07] Freed 23 buffers of size 65536
[01:25:07] Freed 32 buffers of size 131072
[01:25:07] Freed 5 buffers of size 262144
[01:25:07] Freed 3 buffers of size 524288
[01:25:07] Freed 32 buffers of size 2097152
[01:25:07] Freed 32 buffers of size 4194304
[01:25:07] Allocated 212025344 bytes of buffers on this pass and Freed 212025344 bytes, 0 bytes leaked
[01:25:07] thread 249803c0 exited ("work")
[01:25:07] thread 249803c0 joined ("work")
[01:25:07] libhb: work result = 0
# Encode Completed ...
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: [Fixed] SVN7048 SSA subtille position shift left.

Post by JohnAStebbins »

This is the expected behaviour. Is there a problem with having the player do the scaling here?
HandyMan
Bright Spark User
Posts: 169
Joined: Tue Aug 07, 2012 10:52 pm

Re: [Fixed] SVN7048 SSA subtille position shift left.

Post by HandyMan »

Not really, yesterday I had the feeling the font re-scaling was too small, but this morning it looks fine, still a little bit smaller than with a native 1280x720 resolution. I will see as I do more encode when re-scaling.

Where I have difficulties is when I edit the subtitles with Subtitle Edit, it doesn't handle the {\a1\pos(516,790)} style well, nor the italics it use <i></i> notation, it also display the \h instead of space, etc. So doing things like changing the font size would not really be possible with it. But that is not really an Handbrake issue.

I might have to use Aegisub instead, it does complain about the resolution of the subtitle not matching the resolution of the video, however it allow me to correct the resolution of the subtitles. It then change the font to 34 point, which is smaller to the HB 40 point of a 1280x720 source.

HB Subtitles

Code: Select all

[Script Info]
ScriptType: v4.00+
Collisions: Normal
PlayResX: 1920
PlayResY: 810
Timer: 100.0
WrapStyle: 0

[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: Default,DejaVu Sans Mono,51,&H00FFFFFF,&H00FFFFFF,&H000F0F0F,&H000F0F0F,0,0,0,0,100,100,0,0.00,1,2,3,2,20,20,20,0

[Events]
Format: Layer, Start, End, Style, Actor, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 0,0:01:16.88,0:01:19.02,Default,,0,0,0,,{\a1\pos(516,790)}[ On cogne à la porte ]
Dialogue: 0,0:01:21.08,0:01:22.88,Default,,0,0,0,,{\a1\pos(552,790)}[ Une porte s'ouvre ]
Dialogue: 0,0:03:16.00,0:03:17.24,Default,,0,0,0,,{\a1\pos(840,790)}- Hé!
Dialogue: 0,0:03:18.73,0:03:20.46,Default,,0,0,0,,{\a1\pos(372,790)}Que c'est que tu fais là?
Dialogue: 0,0:03:21.47,0:03:23.54,Default,,0,0,0,,{\a1\pos(372,790)}Que c'est qui\Nse passe, donc, là?
Dialogue: 0,0:03:23.54,0:03:25.08,Default,,0,0,0,,{\a1\pos(372,790)}Tu as arrêté le bull?
Dialogue: 0,0:03:25.07,0:03:27.34,Default,,0,0,0,,{\a1\pos(624,790)}À 350$ de l'heure!
Dialogue: 0,0:03:27.34,0:03:29.40,Default,,0,0,0,,{\a1\pos(372,790)}- Je faisais\Nune dernière vérification.
Dialogue: 0,0:03:29.41,0:03:30.88,Default,,0,0,0,,{\a1\pos(1128,790)}Venez voir.
Dialogue: 0,0:03:30.88,0:03:32.48,Default,,0,0,0,,{\a1\pos(372,790)}- Quoi? Qu'est-ce qu'il y a?
Dialogue: 0,0:03:38.82,0:03:40.23,Default,,0,0,0,,{\a1\pos(372,790)}[Murmurant]: {\i1}[Censored]!
Dialogue: 0,0:03:42.06,0:03:43.80,Default,,0,0,0,,{\a1\pos(372,790)}{\i1}Ah, [Censored]!
Dialogue: 0,0:03:43.79,0:03:46.02,Default,,0,0,0,,{\a1\pos(372,790)}Hé, ciboire...
Dialogue: 0,0:03:47.26,0:03:48.42,Default,,0,0,0,,{\a1\pos(840,790)}Ah...
Aegisub resolution modification

Code: Select all

[Script Info]
; Script generated by Aegisub 3.2.2
; http://www.aegisub.org/
ScriptType: v4.00+
PlayResX: 1280
PlayResY: 540
Timer: 100.0
WrapStyle: 0
YCbCr Matrix: TV.601

[Aegisub Project Garbage]
Audio File: Bluff (2007) - 720p HDTV x264-Handy.mkv
Video File: Bluff (2007) - 720p HDTV x264-Handy.mkv
Video AR Mode: 4
Video AR Value: 2.370370
Video Zoom Percent: 0.250000
Active Line: 19
Video Position: 5678

[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: Default,DejaVu Sans Mono,34,&H00FFFFFF,&H00FFFFFF,&H000F0F0F,&H000F0F0F,0,0,0,0,100,100,0,0,1,1.33333,2,2,13,13,13,0

[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 0,0:01:16.88,0:01:19.02,Default,,0,0,0,,{\a1\pos(344,526.667)}[ On cogne à la porte ]
Dialogue: 0,0:01:21.08,0:01:22.88,Default,,0,0,0,,{\a1\pos(368,526.667)}[ Une porte s'ouvre ]
Dialogue: 0,0:03:16.00,0:03:17.24,Default,,0,0,0,,{\a1\pos(560,526.667)}- Hé!
Dialogue: 0,0:03:18.73,0:03:20.46,Default,,0,0,0,,{\a1\pos(248,526.667)}Que c'est que tu fais là?
Dialogue: 0,0:03:21.47,0:03:23.54,Default,,0,0,0,,{\a1\pos(248,526.667)}Que c'est qui\Nse passe, donc, là?
Dialogue: 0,0:03:23.54,0:03:25.08,Default,,0,0,0,,{\a1\pos(248,526.667)}Tu as arrêté le bull?
Dialogue: 0,0:03:25.07,0:03:27.34,Default,,0,0,0,,{\a1\pos(416,526.667)}À 350$ de l'heure!
Dialogue: 0,0:03:27.34,0:03:29.40,Default,,0,0,0,,{\a1\pos(248,526.667)}- Je faisais\Nune dernière vérification.
Dialogue: 0,0:03:29.41,0:03:30.88,Default,,0,0,0,,{\a1\pos(752,526.667)}Venez voir.
Dialogue: 0,0:03:30.88,0:03:32.48,Default,,0,0,0,,{\a1\pos(248,526.667)}- Quoi? Qu'est-ce qu'il y a?
Dialogue: 0,0:03:38.82,0:03:40.23,Default,,0,0,0,,{\a1\pos(248,526.667)}[Murmurant]: {\i1}[Censored]!
Dialogue: 0,0:03:42.06,0:03:43.80,Default,,0,0,0,,{\a1\pos(248,526.667)}{\i1}Ah, [Censored]!
Dialogue: 0,0:03:43.79,0:03:46.02,Default,,0,0,0,,{\a1\pos(248,526.667)}Hé, ciboire...
Dialogue: 0,0:03:47.26,0:03:48.42,Default,,0,0,0,,{\a1\pos(560,526.667)}Ah...
So it looks like I might have to learn to use Aegisub if I have to modify the subtitles. :roll:
Last edited by HandyMan on Fri Apr 10, 2015 5:28 am, edited 1 time in total.
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: [Fixed] SVN7048 SSA subtille position shift left.

Post by JohnAStebbins »

A question about the font size. The value you are changing it to is closer to what I had originally used. But I increased it because vlc was using a larger font. So, why are you choosing a smaller font? I might change it back if there's a good reason.
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: [Fixed] SVN7048 SSA subtille position shift left.

Post by JohnAStebbins »

And FYI, if you don't want your player to strip out extra spaces at the beginning of a line in the subtitles, you must use the \h "hard space" tag.
HandyMan
Bright Spark User
Posts: 169
Joined: Tue Aug 07, 2012 10:52 pm

Re: [Fixed] SVN7048 SSA subtille position shift left.

Post by HandyMan »

JohnAStebbins wrote:A question about the font size. The value you are changing it to is closer to what I had originally used. But I increased it because vlc was using a larger font. So, why are you choosing a smaller font? I might change it back if there's a good reason.
I only changed the Courrier New to DejaVu Sans Mono keeping the rest of the file as it was generated by Handbrake SVN7072

Then when I opened the .ass with Aegisub, it readjust the PlayRes, font size, positions etc. It does put a floating point number :shock: while it should only put a integer for Y position. Not and Handbrake issue again.
Last edited by HandyMan on Thu Apr 09, 2015 10:36 pm, edited 1 time in total.
HandyMan
Bright Spark User
Posts: 169
Joined: Tue Aug 07, 2012 10:52 pm

Re: [Fixed] SVN7048 SSA subtille position shift left.

Post by HandyMan »

JohnAStebbins wrote:And FYI, if you don't want your player to strip out extra spaces at the beginning of a line in the subtitles, you must use the \h "hard space" tag.
Yup I understand the \h in the ass file, Subtitle edit doesn't seems to handle it well when it display the sub under the video, but they are fine in the player. Then again it's a Subtitle Edit issue.

Out of curiosity, I tested {\an9\pos(x,y)} style, and it does the right alignment without using \h :wink:

When looking at http://docs.aegisub.org/3.2/ASS_Tags/
Specify the alignment of the line using legacy alignment codes from SubStation Alpha. This tag is supported but considered deprecated; you should usually use \an in new scripts instead, as it is more intuitive.
Last edited by HandyMan on Thu Apr 09, 2015 11:32 pm, edited 1 time in total.
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: [Fixed] SVN7048 SSA subtille position shift left.

Post by JohnAStebbins »

I could use \an9 for the one special case where the lines are right justified. But that requires extra code to detect that special case and does not address the general case. There will still be many subtitles that require the \h to align the way the CC stream says. So there isn't really any advantage to doing that accept to make the subtitles more legable to a human.

I should however change my \a1 to \an7 since the former is the "old" way.
HandyMan
Bright Spark User
Posts: 169
Joined: Tue Aug 07, 2012 10:52 pm

Re: [Fixed] SVN7048 SSA subtille position shift left.

Post by HandyMan »

JohnAStebbins wrote:This is the expected behaviour. Is there a problem with having the player do the scaling here?
I did some test without re-scaling and no cropping, Handbrake select a 69 point font for 1920x1080
Then I only crop, Handbrake selected a 51 point font for a resolution of 1920x810.
It generate the same .ass as when I re-scale to 1280x540

sample: https://www.sendspace.com/file/ndfezw

1920x1080
Image
1920x810
Image

As you can see, the subtitles right margin are kinda shifted to the left due to the side effect of starting on the same left position with the font size being smaller. Also, when in the center position, subtitles feel like they are shifted left.

So I changed the 1920x810 .ass to 69 point and it look the same as 1920x1080 .ass on screen. :D
1280x540 69point
Image

It was kinda big, I then change it to 60 as a trade off between placement and font size. :roll:

1280x540 60point
Image

I guess using \anN would be more immune to font size change if specifing the left/middle/right anchor point with pos(x,y) override. But from what I understand about cc608, that's not how they are encoded in the stream. And they ask 200$ just to read the specification :o

1920x1080 log

Code: Select all

HandBrake svn7072 (Nightly Build) - 64bit Version
OS: Microsoft Windows NT 6.1.7601 Service Pack 1 - 64bit
CPU: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
Ram: 8089 MB, 
GPU Information:
  Intel(R) HD Graphics 3000 - 9.17.10.4101
  AMD Radeon HD 6800 Series - 14.501.1003.0
Screen: 1920x1080
Temp Dir: C:\Users\Simon\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\Simon\AppData\Roaming\HandBrake\HandBrake\0.0.0.7072

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


# Starting Encode ...
[22:29:57] thread 39474c00 started ("work")
[22:29:57] 1 job(s) to process
[22:29:57] CPU: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
[22:29:57]  - Intel microarchitecture Sandy Bridge
[22:29:57]  - logical processor count: 8
[22:29:57] OpenCL device #1: Advanced Micro Devices, Inc. Barts
[22:29:57]  - OpenCL version: 1.2 AMD-APP (1642.5)
[22:29:57]  - driver version: 1642.5 (VM)
[22:29:57]  - device type:    GPU
[22:29:57]  - supported:      YES
[22:29:57] Intel Quick Sync Video support: yes
[22:29:57]  - Intel Media SDK hardware: API 1.4 (minimum: 1.3)
[22:29:57]  - H.264 encoder: yes
[22:29:57]     - preferred implementation: hardware (any)
[22:29:57]     - capabilities (hardware):  standard feature set
[22:29:57]  - H.265 encoder: no
[22:29:57] hb_scan: path=M:\TV\TéléQuébec\Films\BluffSample34s.ts, title_index=1
[22:29:57] thread 24836d80 started ("scan")
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening M:\TV\TéléQuébec\Films\BluffSample34s.ts/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening M:\TV\TéléQuébec\Films\BluffSample34s.ts/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(M:\TV\TéléQuébec\Films\BluffSample34s.ts) failed
[22:29:57] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
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
[22:29:57] dvd: not a dvd - trying as a stream/file instead
[22:29:57] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[22:29:57] Found the following PIDS
[22:29:57]     Video PIDS : 
[22:29:57]       0x31 type MPEG2 (0x2) (PCR)
[22:29:57]     Audio PIDS : 
[22:29:57]       0x34 type AC3 (0x81)
[22:29:57]       0x35 type AC3 (0x81)
[22:29:57]     Subtitle PIDS : 
[22:29:57]     Other PIDS : 
[22:29:57] stream id 0x34 (type 0x81 substream 0x0) audio 0x34
[22:29:57] stream id 0x35 (type 0x81 substream 0x0) audio 0x35
[22:29:57] scan: decoding previews for title 1
[22:29:57] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[22:29:57] scan: preview 1
[22:29:57] fifo_close: trashing 0 buffer(s)
[22:29:57] scan: audio 0x34: ac3, rate=48000Hz, bitrate=384000 Francais (AC3) (3.0 ch)
[22:29:57] fifo_close: trashing 0 buffer(s)
[22:29:57] scan: audio 0x35: ac3, rate=48000Hz, bitrate=160000 Francais (AC3) (2.0 ch)
[22:29:57] scan: preview 2
[22:29:57] scan: preview 3
[22:29:57] scan: preview 4
[22:29:57] scan: preview 5
[22:29:57] scan: preview 6
[22:29:57] scan: preview 7
[22:29:57] scan: preview 8
[22:29:57] scan: preview 9
[22:29:57] scan: preview 10
[22:29:57] stream: 17 good frames, 0 errors (0%)
[22:29:57] scan: 10 previews, 1920x1080, 29.970 fps, autocrop = 130/48/0/0, aspect 16:9, PAR 1:1
[22:29:57] Freed 11 buffers of size 1024
[22:29:57] Freed 2 buffers of size 2048
[22:29:57] Freed 1 buffers of size 32768
[22:29:57] Freed 1 buffers of size 65536
[22:29:57] Freed 1 buffers of size 131072
[22:29:57] Freed 2 buffers of size 262144
[22:29:57] Freed 1 buffers of size 4194304
[22:29:57] Allocated 4963328 bytes of buffers on this pass and Freed 4963328 bytes, 0 bytes leaked
[22:29:57] thread 24836d80 exited ("scan")
[22:29:57] thread 24836d80 joined ("scan")
[22:29:57] libhb: scan thread found 1 valid title(s)
[22:29:57] starting job
[22:29:57] thread 3cb43590 started ("yadif_filter_segment")
[22:29:57] thread 24980d80 started ("yadif_filter_segment")
[22:29:57] thread 248385e0 started ("yadif_filter_segment")
[22:29:57] thread 24836a40 started ("yadif_filter_segment")
[22:29:57] thread 249803c0 started ("yadif_filter_segment")
[22:29:57] thread 248375a0 started ("yadif_filter_segment")
[22:29:57] thread 24980a40 started ("yadif_filter_segment")
[22:29:57] thread 39474da0 started ("yadif_filter_segment")
[22:29:57] work: track 1, dithering not supported by codec
[22:29:57] sync: expecting 1030 video frames
[22:29:57] job configuration:
[22:29:57]  * source
[22:29:57]    + M:\TV\TéléQuébec\Films\BluffSample34s.ts
[22:29:57]    + title 1, chapter(s) 1 to 1
[22:29:57]  * destination
[22:29:57]    + M:\TV\TéléQuébec\Films\BluffSample34s 1920x1080 rf20 (2015-04-09) svn7072.mkv
[22:29:57]    + container: Matroska (libavformat)
[22:29:57]  * video track
[22:29:57]    + decoder: mpeg2video
[22:29:57]      + bitrate 17700 kbps
[22:29:57]    + filters
[22:29:57]      + Deinterlace (3)
[22:29:57]      + Framerate Shaper (1)
[22:29:57]        + frame rate: 29.970 fps -> constant 29.970 fps
[22:29:57]      + Crop and Scale (1920:1080:0:0:0:0)
[22:29:57]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[22:29:57]    + Output geometry
[22:29:57]      + storage dimensions: 1920 x 1080
[22:29:57]      + pixel aspect ratio: 1 : 1
[22:29:57]      + display dimensions: 1920 x 1080
[22:29:57]    + encoder: H.264 (libx264)
[22:29:57]      + preset:  ultrafast
[22:29:57]      + profile: auto
[22:29:57]      + level:   auto
[22:29:57]      + quality: 20.00 (RF)
[22:29:57]  * subtitle track 1, Closed Captions (track 0, id 0x0) Text [CC] -> Passthrough
[22:29:57]  * audio track 1
[22:29:57]    + decoder: Francais (AC3) (3.0 ch) (track 1, id 0x34)
[22:29:57]      + bitrate: 384 kbps, samplerate: 48000 Hz
[22:29:57]    + mixdown: Stereo
[22:29:57]    + encoder: AC3 (libavcodec)
[22:29:57]      + bitrate: 384 kbps, samplerate: 48000 Hz
[22:29:57] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[22:29:57] thread 24837c20 started ("Reader")
[22:29:57] thread 3cb43c10 started ("Deinterlace")
[22:29:57] thread 24837dc0 started ("Framerate Shaper")
[22:29:57] thread 24837a80 started ("Crop and Scale")
[22:29:57] Yadif Deinterlace thread started for segment 0
[22:29:57] thread 39571e20 started ("AudioSynchronization")
[22:29:57] thread 24980220 started ("Video decoder (libavcodec)")
[22:29:57] thread 24837260 started ("Closed Caption (608) decoder")
[22:29:57] encx264: min-keyint: 30, keyint: 300
[22:29:57] encx264: encoding at constant RF 20.000000
[22:29:57] encx264: unparsed options: mbtree=0:ref=1:cabac=0:mixed-refs=0:scenecut=0:weightp=0:trellis=0:subme=0:me=dia:bframes=0:analyse=none:no-deblock=1:8x8dct=0:aq-mode=0:rc-lookahead=0
[22:29:57] encx264: opening libx264 (pass 0)
x264 [info]: using SAR=1/1
[22:29:57] Yadif Deinterlace thread started for segment 5
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[22:29:57] Yadif Deinterlace thread started for segment 2
[22:29:57] Yadif Deinterlace thread started for segment 6
[22:29:57] Yadif Deinterlace thread started for segment 1
[22:29:57] Yadif Deinterlace thread started for segment 7
[22:29:57] Yadif Deinterlace thread started for segment 3
x264 [info]: profile Constrained Baseline, level 4.0
[22:29:57] thread 24837f60 started ("H.264/AVC encoder (libx264)")
[22:29:57] thread 248382a0 started ("Audio decoder (libavcodec)")
[22:29:57] thread 248370c0 started ("AVCodec Audio encoder (libavcodec)")
[22:29:57] thread 3cb43f50 started ("Video Synchronization")
[22:29:57] Writing Metadata to output file...
[22:29:57] reader: first SCR 914 id 0x31 DTS 34114
[22:29:57] Yadif Deinterlace thread started for segment 4
[22:29:57] thread 39571940 started ("Muxer")
[22:29:57] thread 24836d80 started ("Muxer")
[22:29:57] mpeg2video: "Chapter 1" (1) at frame 0 time 3003
[22:29:57] sync: adding 76 ms of silence to audio 0x34  start 6898, next 0
[22:29:57] sync: first pts is 3003
[22:30:27] hb_ts_stream_decode - eof
[22:30:27] reader: done. 1 scr changes
[22:30:27] thread 24837c20 exited ("Reader")
[22:30:28] work: average encoding speed for job is 33.498299 fps
[22:30:28] thread 24980220 exited ("Video decoder (libavcodec)")
[22:30:28] thread 24837260 exited ("Closed Caption (608) decoder")
[22:30:28] thread 39571e20 exited ("AudioSynchronization")
[22:30:28] thread 248370c0 exited ("AVCodec Audio encoder (libavcodec)")
[22:30:28] thread 24837a80 exited ("Crop and Scale")
[22:30:28] thread 3cb43c10 exited ("Deinterlace")
[22:30:28] thread 248382a0 exited ("Audio decoder (libavcodec)")
[22:30:28] thread 24837dc0 exited ("Framerate Shaper")
[22:30:28] thread 24837f60 exited ("H.264/AVC encoder (libx264)")
[22:30:28] thread 39571940 exited ("Muxer")
[22:30:28] thread 24836d80 exited ("Muxer")
[22:30:28] thread 3cb43f50 exited ("Video Synchronization")
[22:30:28] thread 3cb43f50 joined ("Video Synchronization")
[22:30:28] sync: got 1029 frames, 1030 expected
[22:30:28] thread 3cb43c10 joined ("Deinterlace")
[22:30:28] thread 3cb43590 exited ("yadif_filter_segment")
[22:30:28] thread 24980a40 exited ("yadif_filter_segment")
[22:30:28] thread 39474da0 exited ("yadif_filter_segment")
[22:30:28] thread 248385e0 exited ("yadif_filter_segment")
[22:30:28] thread 24980d80 exited ("yadif_filter_segment")
[22:30:28] thread 249803c0 exited ("yadif_filter_segment")
[22:30:28] thread 248375a0 exited ("yadif_filter_segment")
[22:30:28] thread 3cb43590 joined ("yadif_filter_segment")
[22:30:28] thread 24980d80 joined ("yadif_filter_segment")
[22:30:28] thread 248385e0 joined ("yadif_filter_segment")
[22:30:28] thread 24836a40 exited ("yadif_filter_segment")
[22:30:28] thread 24836a40 joined ("yadif_filter_segment")
[22:30:28] thread 249803c0 joined ("yadif_filter_segment")
[22:30:28] thread 248375a0 joined ("yadif_filter_segment")
[22:30:28] thread 24980a40 joined ("yadif_filter_segment")
[22:30:28] thread 39474da0 joined ("yadif_filter_segment")
[22:30:28] thread 24837dc0 joined ("Framerate Shaper")
[22:30:28] render: 1028 frames output, 0 dropped and 0 duped for CFR/PFR
[22:30:28] render: lost time: 0 (0 frames)
[22:30:28] render: gained time: 0 (0 frames) (0 not accounted for)
[22:30:28] fifo_close: trashing 0 buffer(s)
[22:30:28] thread 24837a80 joined ("Crop and Scale")
[22:30:28] thread 39571e20 joined ("AudioSynchronization")
[22:30:28] thread 24980220 joined ("Video decoder (libavcodec)")
[22:30:28] mpeg2video-decoder done: 1029 frames, 0 decoder errors, 0 drops
[22:30:28] thread 24837260 joined ("Closed Caption (608) decoder")
[22:30:28] thread 24837f60 joined ("H.264/AVC encoder (libx264)")
x264 [info]: frame I:4     Avg QP:16.75  size:160506
x264 [info]: frame P:1024  Avg QP:19.26  size: 50967
x264 [info]: mb I  I16..4: 100.0%  0.0%  0.0%
x264 [info]: mb P  I16..4:  6.1%  0.0%  0.0%  P16..4: 53.6%  0.0%  0.0%  0.0%  0.0%    skip:40.3%
x264 [info]: coded y,uvDC,uvAC intra: 39.4% 76.4% 33.4% inter: 31.7% 33.5% 2.9%
x264 [info]: i16 v,h,dc,p: 49% 19% 21% 11%
x264 [info]: i8c dc,h,v,p: 32% 19% 38% 12%
x264 [info]: kb/s:12321.95
[22:30:28] thread 248382a0 joined ("Audio decoder (libavcodec)")
[22:30:28] ac3-decoder done: 0 frames, 0 decoder errors, 0 drops
[22:30:28] thread 248370c0 joined ("AVCodec Audio encoder (libavcodec)")
[22:30:28] encavcodeca: closing libavcodec
[22:30:28] thread 39571940 joined ("Muxer")
[22:30:28] thread 24836d80 joined ("Muxer")
[22:30:28] mux: file size, 54498719 bytes
[22:30:28] mux: track 0, 1028 frames, 52831636 bytes, 12321.91 kbps, fifo 256
[22:30:28] mux: track 1, 1073 frames, 1648128 bytes, 384.39 kbps, fifo 512
[22:30:28] mux: track 2, 17 frames, 1471 bytes, 0.34 kbps, fifo 8
[22:30:28] mux: overhead, 8.25 bytes per frame
[22:30:28] thread 24837c20 joined ("Reader")
[22:30:28] stream: 1029 good frames, 0 errors (0%)
[22:30:28] fifo_close: trashing 0 buffer(s)
[22:30:28] fifo_close: trashing 0 buffer(s)
[22:30:28] fifo_close: trashing 0 buffer(s)
[22:30:28] fifo_close: trashing 0 buffer(s)
[22:30:28] fifo_close: trashing 0 buffer(s)
[22:30:28] fifo_close: trashing 0 buffer(s)
[22:30:28] fifo_close: trashing 0 buffer(s)
[22:30:28] fifo_close: trashing 0 buffer(s)
[22:30:28] fifo_close: trashing 0 buffer(s)
[22:30:28] fifo_close: trashing 0 buffer(s)
[22:30:28] fifo_close: trashing 0 buffer(s)
[22:30:28] fifo_close: trashing 0 buffer(s)
[22:30:28] fifo_close: trashing 0 buffer(s)
[22:30:28] fifo_close: trashing 0 buffer(s)
[22:30:28] fifo_close: trashing 0 buffer(s)
[22:30:28] Freed 11 buffers of size 1024
[22:30:28] Freed 32 buffers of size 2048
[22:30:28] Freed 1 buffers of size 8192
[22:30:28] Freed 19 buffers of size 16384
[22:30:28] Freed 29 buffers of size 32768
[22:30:28] Freed 32 buffers of size 65536
[22:30:28] Freed 32 buffers of size 131072
[22:30:28] Freed 6 buffers of size 262144
[22:30:28] Freed 32 buffers of size 4194304
[22:30:28] Allocated 143428608 bytes of buffers on this pass and Freed 143428608 bytes, 0 bytes leaked
[22:30:28] thread 39474c00 exited ("work")
[22:30:29] thread 39474c00 joined ("work")
[22:30:29] libhb: work result = 0
# Encode Completed ...
1920x1080 .ass

Code: Select all

[Script Info]
ScriptType: v4.00+
Collisions: Normal
PlayResX: 1920
PlayResY: 1080
Timer: 100.0
WrapStyle: 0

[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: Default,Courier New,69,&H00FFFFFF,&H00FFFFFF,&H000F0F0F,&H000F0F0F,0,0,0,0,100,100,0,0.00,1,2,3,2,20,20,20,0

[Events]
Format: Layer, Start, End, Style, Actor, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 0,0:00:00.03,0:00:01.90,Default,,0,0,0,,{\a1\pos(372,216)}.
Dialogue: 0,0:00:01.90,0:00:03.90,Default,,0,0,0,,{\a1\pos(624,972)}\h\h\h\h\h\h\h\h\h\h\h- Oui, tantôt,\Nj'ai appelé la police là.
Dialogue: 0,0:00:03.90,0:00:05.87,Default,,0,0,0,,{\a1\pos(516,972)}\h\h- Il y a pas d'appel\Némis dans ton téléphone!
Dialogue: 0,0:00:05.87,0:00:09.37,Default,,0,0,0,,{\a1\pos(372,972)}\h\h\h\h\h\h\h- Ben voyons, tu l'as vu,\Nje l'ai fait devant toi, tantôt!
Dialogue: 0,0:00:09.38,0:00:10.98,Default,,0,0,0,,{\a1\pos(624,972)}- Tu as peut-être\N"pitonné" de quoi,
Dialogue: 0,0:00:10.98,0:00:12.75,Default,,0,0,0,,{\a1\pos(408,972)}mais tu as pas envoyé l'appel!
Dialogue: 0,0:00:12.75,0:00:14.15,Default,,0,0,0,,{\a1\pos(552,972)}Tu es mêlé à ça, toi!
Dialogue: 0,0:00:14.15,0:00:15.55,Default,,0,0,0,,{\a1\pos(624,972)}\h\h\h\h- Hé, wô!\N- Tu es mêlé à ça!
Dialogue: 0,0:00:15.55,0:00:18.02,Default,,0,0,0,,{\a1\pos(372,972)}\h\h\h\h\h\h\h- Attention, fais pas des\Naccusations, comme ça, en l'air!
Dialogue: 0,0:00:18.02,0:00:19.26,Default,,0,0,0,,{\a1\pos(480,972)}- Je vais l'appeler, moi!
Dialogue: 0,0:00:19.25,0:00:20.55,Default,,0,0,0,,{\a1\pos(840,972)}- Attends, attends!
Dialogue: 0,0:00:20.55,0:00:22.65,Default,,0,0,0,,{\a1\pos(552,972)}J'ai rien à voir là-dedans,\N\h\h\h\h\h\h\h\h\h\h\h\h\h\h\h\hje te jure.
Dialogue: 0,0:00:22.66,0:00:24.60,Default,,0,0,0,,{\a1\pos(552,972)}- Tu es pas mêlé à ça?\N\h\h\h\h\h\h\h\h- Non.
Dialogue: 0,0:00:24.59,0:00:26.29,Default,,0,0,0,,{\a1\pos(372,972)}- OK. Ça fait que,\Nce que tu dis,
Dialogue: 0,0:00:26.29,0:00:29.16,Default,,0,0,0,,{\a1\pos(372,972)}c'est que c'est écrit "épais"\Nici, dans mon front! C'est ça?
Dialogue: 0,0:00:29.16,0:00:31.03,Default,,0,0,0,,{\a1\pos(804,972)}- Regarde, OK, OK...
Dialogue: 0,0:00:31.03,0:00:34.16,Default,,0,0,0,,{\a1\pos(840,972)}Je vais te la dire,\N\h\h\h\h\hla vérité. OK?
1080x810 log

Code: Select all

HandBrake svn7072 (Nightly Build) - 64bit Version
OS: Microsoft Windows NT 6.1.7601 Service Pack 1 - 64bit
CPU: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
Ram: 8089 MB, 
GPU Information:
  Intel(R) HD Graphics 3000 - 9.17.10.4101
  AMD Radeon HD 6800 Series - 14.501.1003.0
Screen: 1920x1080
Temp Dir: C:\Users\Simon\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\Simon\AppData\Roaming\HandBrake\HandBrake\0.0.0.7072

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


# Starting Encode ...
[22:26:56] thread 3cb43f50 started ("work")
[22:26:56] 1 job(s) to process
[22:26:56] CPU: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
[22:26:56]  - Intel microarchitecture Sandy Bridge
[22:26:56]  - logical processor count: 8
[22:26:56] OpenCL device #1: Advanced Micro Devices, Inc. Barts
[22:26:56]  - OpenCL version: 1.2 AMD-APP (1642.5)
[22:26:56]  - driver version: 1642.5 (VM)
[22:26:56]  - device type:    GPU
[22:26:56]  - supported:      YES
[22:26:56] Intel Quick Sync Video support: yes
[22:26:56]  - Intel Media SDK hardware: API 1.4 (minimum: 1.3)
[22:26:56]  - H.264 encoder: yes
[22:26:56]     - preferred implementation: hardware (any)
[22:26:56]     - capabilities (hardware):  standard feature set
[22:26:56]  - H.265 encoder: no
[22:26:56] hb_scan: path=M:\TV\TéléQuébec\Films\BluffSample34s.ts, title_index=1
[22:26:56] thread 248382a0 started ("scan")
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening M:\TV\TéléQuébec\Films\BluffSample34s.ts/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening M:\TV\TéléQuébec\Films\BluffSample34s.ts/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(M:\TV\TéléQuébec\Films\BluffSample34s.ts) failed
[22:26:56] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
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
[22:26:56] dvd: not a dvd - trying as a stream/file instead
[22:26:56] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[22:26:56] Found the following PIDS
[22:26:56]     Video PIDS : 
[22:26:56]       0x31 type MPEG2 (0x2) (PCR)
[22:26:56]     Audio PIDS : 
[22:26:56]       0x34 type AC3 (0x81)
[22:26:56]       0x35 type AC3 (0x81)
[22:26:56]     Subtitle PIDS : 
[22:26:56]     Other PIDS : 
[22:26:56] stream id 0x34 (type 0x81 substream 0x0) audio 0x34
[22:26:56] stream id 0x35 (type 0x81 substream 0x0) audio 0x35
[22:26:56] scan: decoding previews for title 1
[22:26:56] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[22:26:56] scan: preview 1
[22:26:56] fifo_close: trashing 0 buffer(s)
[22:26:56] scan: audio 0x34: ac3, rate=48000Hz, bitrate=384000 Francais (AC3) (3.0 ch)
[22:26:56] fifo_close: trashing 0 buffer(s)
[22:26:56] scan: audio 0x35: ac3, rate=48000Hz, bitrate=160000 Francais (AC3) (2.0 ch)
[22:26:56] scan: preview 2
[22:26:56] scan: preview 3
[22:26:56] scan: preview 4
[22:26:56] scan: preview 5
[22:26:56] scan: preview 6
[22:26:56] scan: preview 7
[22:26:56] scan: preview 8
[22:26:56] scan: preview 9
[22:26:56] scan: preview 10
[22:26:56] stream: 17 good frames, 0 errors (0%)
[22:26:56] scan: 10 previews, 1920x1080, 29.970 fps, autocrop = 130/48/0/0, aspect 16:9, PAR 1:1
[22:26:56] Freed 11 buffers of size 1024
[22:26:56] Freed 2 buffers of size 2048
[22:26:56] Freed 1 buffers of size 32768
[22:26:56] Freed 1 buffers of size 65536
[22:26:56] Freed 1 buffers of size 131072
[22:26:56] Freed 2 buffers of size 262144
[22:26:56] Freed 1 buffers of size 4194304
[22:26:56] Allocated 4963328 bytes of buffers on this pass and Freed 4963328 bytes, 0 bytes leaked
[22:26:56] thread 248382a0 exited ("scan")
[22:26:56] thread 248382a0 joined ("scan")
[22:26:56] libhb: scan thread found 1 valid title(s)
[22:26:56] starting job
[22:26:56] thread 24836d80 started ("yadif_filter_segment")
[22:26:56] thread 3cb43590 started ("yadif_filter_segment")
[22:26:56] thread 24980d80 started ("yadif_filter_segment")
[22:26:56] thread 248385e0 started ("yadif_filter_segment")
[22:26:56] thread 24836a40 started ("yadif_filter_segment")
[22:26:56] thread 249803c0 started ("yadif_filter_segment")
[22:26:56] thread 248375a0 started ("yadif_filter_segment")
[22:26:56] thread 24980a40 started ("yadif_filter_segment")
[22:26:56] work: track 1, dithering not supported by codec
[22:26:56] sync: expecting 1030 video frames
[22:26:56] job configuration:
[22:26:56]  * source
[22:26:56]    + M:\TV\TéléQuébec\Films\BluffSample34s.ts
[22:26:56]    + title 1, chapter(s) 1 to 1
[22:26:56]  * destination
[22:26:56]    + M:\TV\TéléQuébec\Films\BluffSample34s 1920x810 rf20 (2015-04-09) svn7072.mkv
[22:26:56]    + container: Matroska (libavformat)
[22:26:56]  * video track
[22:26:56]    + decoder: mpeg2video
[22:26:56]      + bitrate 17700 kbps
[22:26:56]    + filters
[22:26:56]      + Deinterlace (3)
[22:26:56]      + Framerate Shaper (1)
[22:26:56]        + frame rate: 29.970 fps -> constant 29.970 fps
[22:26:56]      + Crop and Scale (1920:810:132:138:0:0)
[22:26:56]        + source: 1920 * 1080, crop (132/138/0/0): 1920 * 810, scale: 1920 * 810
[22:26:56]    + Output geometry
[22:26:56]      + storage dimensions: 1920 x 810
[22:26:56]      + pixel aspect ratio: 1 : 1
[22:26:56]      + display dimensions: 1920 x 810
[22:26:56]    + encoder: H.264 (libx264)
[22:26:56]      + preset:  ultrafast
[22:26:56]      + profile: auto
[22:26:56]      + level:   auto
[22:26:56]      + quality: 20.00 (RF)
[22:26:56]  * subtitle track 1, Closed Captions (track 0, id 0x0) Text [CC] -> Passthrough
[22:26:56]  * audio track 1
[22:26:56]    + decoder: Francais (AC3) (3.0 ch) (track 1, id 0x34)
[22:26:56]      + bitrate: 384 kbps, samplerate: 48000 Hz
[22:26:56]    + mixdown: Stereo
[22:26:56]    + encoder: AC3 (libavcodec)
[22:26:56]      + bitrate: 384 kbps, samplerate: 48000 Hz
[22:26:56] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[22:26:56] thread 248370c0 started ("Reader")
[22:26:56] thread 39474c00 started ("Deinterlace")
[22:26:56] thread 39474da0 started ("Framerate Shaper")
[22:26:56] thread 24837c20 started ("Crop and Scale")
[22:26:56] thread 3cb43c10 started ("AudioSynchronization")
[22:26:56] thread 24837dc0 started ("Video decoder (libavcodec)")
[22:26:56] thread 24837a80 started ("Closed Caption (608) decoder")
[22:26:56] encx264: min-keyint: 30, keyint: 300
[22:26:56] encx264: encoding at constant RF 20.000000
[22:26:56] encx264: unparsed options: mbtree=0:ref=1:cabac=0:mixed-refs=0:scenecut=0:weightp=0:trellis=0:subme=0:me=dia:bframes=0:analyse=none:no-deblock=1:8x8dct=0:aq-mode=0:rc-lookahead=0
[22:26:56] encx264: opening libx264 (pass 0)
x264 [info]: using SAR=1/1
[22:26:56] Yadif Deinterlace thread started for segment 5
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile Constrained Baseline, level 4.0
[22:26:56] thread 39571e20 started ("H.264/AVC encoder (libx264)")
[22:26:56] thread 39571c80 started ("Audio decoder (libavcodec)")
[22:26:56] thread 24838440 started ("AVCodec Audio encoder (libavcodec)")
[22:26:56] thread 249808a0 started ("Video Synchronization")
[22:26:56] Yadif Deinterlace thread started for segment 7
[22:26:56] Writing Metadata to output file...
[22:26:56] thread 24837f60 started ("Muxer")
[22:26:56] thread 248382a0 started ("Muxer")
[22:26:56] Yadif Deinterlace thread started for segment 4
[22:26:56] Yadif Deinterlace thread started for segment 0
[22:26:56] Yadif Deinterlace thread started for segment 2
[22:26:56] reader: first SCR 914 id 0x31 DTS 34114
[22:26:56] Yadif Deinterlace thread started for segment 1
[22:26:56] Yadif Deinterlace thread started for segment 3
[22:26:56] Yadif Deinterlace thread started for segment 6
[22:26:56] mpeg2video: "Chapter 1" (1) at frame 0 time 3003
[22:26:56] sync: adding 76 ms of silence to audio 0x34  start 6898, next 0
[22:26:56] sync: first pts is 3003
[22:27:22] hb_ts_stream_decode - eof
[22:27:22] reader: done. 1 scr changes
[22:27:22] thread 248370c0 exited ("Reader")
[22:27:24] work: average encoding speed for job is 38.084465 fps
[22:27:24] thread 248382a0 exited ("Muxer")
[22:27:24] thread 249808a0 exited ("Video Synchronization")
[22:27:24] thread 249808a0 joined ("Video Synchronization")
[22:27:24] sync: got 1029 frames, 1030 expected
[22:27:24] thread 24837f60 exited ("Muxer")
[22:27:24] thread 24838440 exited ("AVCodec Audio encoder (libavcodec)")
[22:27:24] thread 39571c80 exited ("Audio decoder (libavcodec)")
[22:27:24] thread 39474da0 exited ("Framerate Shaper")
[22:27:24] thread 24837a80 exited ("Closed Caption (608) decoder")
[22:27:24] thread 24837c20 exited ("Crop and Scale")
[22:27:24] thread 39474c00 exited ("Deinterlace")
[22:27:24] thread 39474c00 joined ("Deinterlace")
[22:27:24] thread 249803c0 exited ("yadif_filter_segment")
[22:27:24] thread 3cb43590 exited ("yadif_filter_segment")
[22:27:24] thread 24980d80 exited ("yadif_filter_segment")
[22:27:24] thread 24836a40 exited ("yadif_filter_segment")
[22:27:24] thread 248385e0 exited ("yadif_filter_segment")
[22:27:24] thread 24836d80 exited ("yadif_filter_segment")
[22:27:24] thread 24980a40 exited ("yadif_filter_segment")
[22:27:24] thread 248375a0 exited ("yadif_filter_segment")
[22:27:24] thread 24836d80 joined ("yadif_filter_segment")
[22:27:24] thread 3cb43590 joined ("yadif_filter_segment")
[22:27:24] thread 24980d80 joined ("yadif_filter_segment")
[22:27:24] thread 248385e0 joined ("yadif_filter_segment")
[22:27:24] thread 24836a40 joined ("yadif_filter_segment")
[22:27:24] thread 249803c0 joined ("yadif_filter_segment")
[22:27:24] thread 248375a0 joined ("yadif_filter_segment")
[22:27:24] thread 24980a40 joined ("yadif_filter_segment")
[22:27:24] thread 39474da0 joined ("Framerate Shaper")
[22:27:24] render: 1028 frames output, 0 dropped and 0 duped for CFR/PFR
[22:27:24] render: lost time: 0 (0 frames)
[22:27:24] render: gained time: 0 (0 frames) (0 not accounted for)
[22:27:24] fifo_close: trashing 0 buffer(s)
[22:27:24] thread 24837c20 joined ("Crop and Scale")
[22:27:24] thread 24837dc0 exited ("Video decoder (libavcodec)")
[22:27:24] thread 3cb43c10 exited ("AudioSynchronization")
[22:27:24] thread 39571e20 exited ("H.264/AVC encoder (libx264)")
[22:27:24] thread 3cb43c10 joined ("AudioSynchronization")
[22:27:24] thread 24837dc0 joined ("Video decoder (libavcodec)")
[22:27:24] mpeg2video-decoder done: 1029 frames, 0 decoder errors, 0 drops
[22:27:24] thread 24837a80 joined ("Closed Caption (608) decoder")
[22:27:24] thread 39571e20 joined ("H.264/AVC encoder (libx264)")
x264 [info]: frame I:4     Avg QP:17.50  size:141077
x264 [info]: frame P:1024  Avg QP:20.01  size: 43608
x264 [info]: mb I  I16..4: 100.0%  0.0%  0.0%
x264 [info]: mb P  I16..4:  8.5%  0.0%  0.0%  P16..4: 66.5%  0.0%  0.0%  0.0%  0.0%    skip:25.0%
x264 [info]: coded y,uvDC,uvAC intra: 36.7% 70.1% 32.4% inter: 39.2% 36.4% 2.7%
x264 [info]: i16 v,h,dc,p: 52% 16% 20% 11%
x264 [info]: i8c dc,h,v,p: 34% 15% 40% 11%
x264 [info]: kb/s:10546.51
[22:27:24] thread 39571c80 joined ("Audio decoder (libavcodec)")
[22:27:24] ac3-decoder done: 0 frames, 0 decoder errors, 0 drops
[22:27:24] thread 24838440 joined ("AVCodec Audio encoder (libavcodec)")
[22:27:24] encavcodeca: closing libavcodec
[22:27:24] thread 24837f60 joined ("Muxer")
[22:27:24] thread 248382a0 joined ("Muxer")
[22:27:24] mux: file size, 46886280 bytes
[22:27:24] mux: track 0, 1028 frames, 45219215 bytes, 10546.47 kbps, fifo 256
[22:27:24] mux: track 1, 1073 frames, 1648128 bytes, 384.39 kbps, fifo 512
[22:27:24] mux: track 2, 17 frames, 1470 bytes, 0.34 kbps, fifo 8
[22:27:24] mux: overhead, 8.25 bytes per frame
[22:27:24] thread 248370c0 joined ("Reader")
[22:27:24] stream: 1029 good frames, 0 errors (0%)
[22:27:24] fifo_close: trashing 0 buffer(s)
[22:27:24] fifo_close: trashing 0 buffer(s)
[22:27:24] fifo_close: trashing 0 buffer(s)
[22:27:24] fifo_close: trashing 0 buffer(s)
[22:27:24] fifo_close: trashing 0 buffer(s)
[22:27:24] fifo_close: trashing 0 buffer(s)
[22:27:24] fifo_close: trashing 0 buffer(s)
[22:27:24] fifo_close: trashing 0 buffer(s)
[22:27:24] fifo_close: trashing 0 buffer(s)
[22:27:24] fifo_close: trashing 0 buffer(s)
[22:27:24] fifo_close: trashing 0 buffer(s)
[22:27:24] fifo_close: trashing 0 buffer(s)
[22:27:24] fifo_close: trashing 0 buffer(s)
[22:27:24] fifo_close: trashing 0 buffer(s)
[22:27:24] fifo_close: trashing 0 buffer(s)
[22:27:24] Freed 12 buffers of size 1024
[22:27:24] Freed 32 buffers of size 2048
[22:27:24] Freed 1 buffers of size 8192
[22:27:24] Freed 20 buffers of size 16384
[22:27:24] Freed 32 buffers of size 32768
[22:27:24] Freed 32 buffers of size 65536
[22:27:24] Freed 32 buffers of size 131072
[22:27:24] Freed 5 buffers of size 262144
[22:27:24] Freed 32 buffers of size 4194304
[22:27:24] Allocated 143282176 bytes of buffers on this pass and Freed 143282176 bytes, 0 bytes leaked
[22:27:24] thread 3cb43f50 exited ("work")
[22:27:24] thread 3cb43f50 joined ("work")
[22:27:24] libhb: work result = 0
# Encode Completed ...
1080x810 .ass

Code: Select all

[Script Info]
ScriptType: v4.00+
Collisions: Normal
PlayResX: 1920
PlayResY: 810
Timer: 100.0
WrapStyle: 0

[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: Default,Courier New,51,&H00FFFFFF,&H00FFFFFF,&H000F0F0F,&H000F0F0F,0,0,0,0,100,100,0,0.00,1,2,3,2,20,20,20,0

[Events]
Format: Layer, Start, End, Style, Actor, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 0,0:00:00.03,0:00:01.90,Default,,0,0,0,,{\a1\pos(372,84)}.
Dialogue: 0,0:00:01.90,0:00:03.90,Default,,0,0,0,,{\a1\pos(624,790)}\h\h\h\h\h\h\h\h\h\h\h- Oui, tantôt,\Nj'ai appelé la police là.
Dialogue: 0,0:00:03.90,0:00:05.87,Default,,0,0,0,,{\a1\pos(516,790)}\h\h- Il y a pas d'appel\Némis dans ton téléphone!
Dialogue: 0,0:00:05.87,0:00:09.37,Default,,0,0,0,,{\a1\pos(372,790)}\h\h\h\h\h\h\h- Ben voyons, tu l'as vu,\Nje l'ai fait devant toi, tantôt!
Dialogue: 0,0:00:09.38,0:00:10.98,Default,,0,0,0,,{\a1\pos(624,790)}- Tu as peut-être\N"pitonné" de quoi,
Dialogue: 0,0:00:10.98,0:00:12.75,Default,,0,0,0,,{\a1\pos(408,790)}mais tu as pas envoyé l'appel!
Dialogue: 0,0:00:12.75,0:00:14.15,Default,,0,0,0,,{\a1\pos(552,790)}Tu es mêlé à ça, toi!
Dialogue: 0,0:00:14.15,0:00:15.55,Default,,0,0,0,,{\a1\pos(624,790)}\h\h\h\h- Hé, wô!\N- Tu es mêlé à ça!
Dialogue: 0,0:00:15.55,0:00:18.02,Default,,0,0,0,,{\a1\pos(372,790)}\h\h\h\h\h\h\h- Attention, fais pas des\Naccusations, comme ça, en l'air!
Dialogue: 0,0:00:18.02,0:00:19.26,Default,,0,0,0,,{\a1\pos(480,790)}- Je vais l'appeler, moi!
Dialogue: 0,0:00:19.25,0:00:20.55,Default,,0,0,0,,{\a1\pos(840,790)}- Attends, attends!
Dialogue: 0,0:00:20.55,0:00:22.65,Default,,0,0,0,,{\a1\pos(552,790)}J'ai rien à voir là-dedans,\N\h\h\h\h\h\h\h\h\h\h\h\h\h\h\h\hje te jure.
Dialogue: 0,0:00:22.66,0:00:24.60,Default,,0,0,0,,{\a1\pos(552,790)}- Tu es pas mêlé à ça?\N\h\h\h\h\h\h\h\h- Non.
Dialogue: 0,0:00:24.59,0:00:26.29,Default,,0,0,0,,{\a1\pos(372,790)}- OK. Ça fait que,\Nce que tu dis,
Dialogue: 0,0:00:26.29,0:00:29.16,Default,,0,0,0,,{\a1\pos(372,790)}c'est que c'est écrit "épais"\Nici, dans mon front! C'est ça?
Dialogue: 0,0:00:29.16,0:00:31.03,Default,,0,0,0,,{\a1\pos(804,790)}- Regarde, OK, OK...
Dialogue: 0,0:00:31.03,0:00:34.16,Default,,0,0,0,,{\a1\pos(840,790)}Je vais te la dire,\N\h\h\h\h\hla vérité. OK?
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: [Fixed] SVN7048 SSA subtille position shift left.

Post by JohnAStebbins »

Thanks for the info. I've made the font size independent of the amount of cropping and changed \a1 to \an1.
HandyMan
Bright Spark User
Posts: 169
Joined: Tue Aug 07, 2012 10:52 pm

Re: [Fixed] SVN7048 SSA subtille position shift left.

Post by HandyMan »

I tested SVN7084, default font size has changed: 1280x720 were 46 points, now they are 38, 1920x1080i were 69 now they are 57. However the pos(x,y) are identical to the ass generated with SVN7072.

Changing the font size to 46 brings back the subtitles to right place on the image.
HandyMan
Bright Spark User
Posts: 169
Joined: Tue Aug 07, 2012 10:52 pm

Re: [Fixed] SVN7048 SSA subtille position shift left.

Post by HandyMan »

With SVN7085 the font size is fine now.
Thanks you again sir.
Post Reply