Page 1 of 1

Subtitles not showing in Preview

Posted: Tue Aug 12, 2014 8:51 pm
by OriginalRebel
I searched the forums and found no answers regarding subtitles showing or not showing in Preview.

Is not showing subtitles a default in HandBreak?

If not, then what am I doing wrong?

After encoding, the subtitles are not the language I selected.

Thank you for your help.

Tom

Code: Select all

"HandBrake 0.9.9.5530 - 32bit Version
OS: Microsoft Windows NT 6.1.7601 Service Pack 1
CPU: Intel(R) Core(TM) i5 CPU       M 460  @ 2.53GHz
Ram: 5941 MB, Screen: 1600x900
Temp Dir: C:\Users\Tom\AppData\Local\Temp\
Install Dir: C:\Program Files (x86)\Handbrake
Data Dir: C:\Users\Tom\AppData\Roaming\HandBrake\HandBrake\0.9.9.5530

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

CLI Query:  -i "C:\Users\Tom\Downloads\Maladolescenza.1977.Uncut.avi" -t 1 --angle 1 -c 1 -o "C:\Users\Tom\Downloads\Video\Maladolescenza.1977.uncut.mp4"  -f mp4  -w 672 --loose-anamorphic  --modulus 2 -e x264 -b 1500 --vfr -a 1 -E faac -6 dpl2 -R Auto -B 160 -D 0 --gain 0 --audio-fallback ffac3 --srt-file "C:\Users\Tom\Downloads\Maladolescenza.srt" --srt-codeset UTF-8 --srt-offset 0 --srt-lang eng --markers="C:\Users\Tom\AppData\Local\Temp\Maladolescenza.1977.uncut-1-chapters.csv" --x264-preset=veryfast  --x264-profile=main  --h264-level="4.0"  --verbose=1
User Query: False

[15:40:08] hb_init: starting libhb thread
HandBrake 0.9.9 (2013052900) - MinGW i686 - http://handbrake.fr
4 CPUs detected
Opening C:\Users\Tom\Downloads\Maladolescenza.1977.Uncut.avi...
[15:40:08] hb_scan: path=C:\Users\Tom\Downloads\Maladolescenza.1977.Uncut.avi, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening C:\Users\Tom\Downloads\Maladolescenza.1977.Uncut.avi/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening C:\Users\Tom\Downloads\Maladolescenza.1977.Uncut.avi/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:1725: nav_get_title_list(C:\Users\Tom\Downloads\Maladolescenza.1977.Uncut.avi) failed (01A91130)
[15:40:08] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[15:40:08] dvd: not a dvd - trying as a stream/file instead
Input #0, avi, from 'C:\Users\Tom\Downloads\Maladolescenza.1977.Uncut.avi':
  Metadata:
    encoder         : VirtualDubMod 1.5.10.1 (build 2439/release)
  Duration: 01:30:59.48, start: 0.000000, bitrate: 2012 kb/s
    Stream #0.0: Video: mpeg4 (Simple Profile), yuv420p, 672x352 [PAR 1:1 DAR 21:11], 25 tbn, 25 tbc
    Stream #0.1: Audio: mp3, 48000 Hz, 2 channels, s16p, 192 kb/s
    Stream #0.2: Audio: mp3, 48000 Hz, 2 channels, s16p, 192 kb/s
[15:40:08] scan: decoding previews for title 1
[15:40:08] scan: audio 0x1: mp3, rate=48000Hz, bitrate=192000 Unknown (mp3) (2.0 ch)
[15:40:08] scan: audio 0x2: mp3, rate=48000Hz, bitrate=192000 Unknown (mp3) (2.0 ch)
Scanning title 1 of 1, preview 1, 10.00 %[15:40:08] scan: 10 previews, 672x352, 25.000 fps, autocrop = 0/0/0/0, aspect 1.91:1, PAR 1:1
[15:40:08] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: C:\Users\Tom\Downloads\Maladolescenza.1977.Uncut.avi
  + duration: 01:30:59
  + size: 672x352, pixel aspect: 1/1, display aspect: 1.91, 25.000 fps
  + autocrop: 0/0/0/0
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 01:30:59
  + audio tracks:
    + 1, Unknown (mp3) (2.0 ch) (iso639-2: und)
    + 2, Unknown (mp3) (2.0 ch) (iso639-2: und)
  + subtitle tracks:
Reading chapter markers from file C:\Users\Tom\AppData\Local\Temp\Maladolescenza.1977.uncut-1-chapters.csv
[15:40:08] 1 job(s) to process
[15:40:08] starting job
[15:40:08] work: sanitizing track 1 mixdown Dolby Pro Logic II to Stereo
[15:40:08] sync: expecting 136487 video frames
[15:40:08] work: only 1 chapter, disabling chapter markers
[15:40:08] job configuration:
[15:40:08]  * source
[15:40:08]    + C:\Users\Tom\Downloads\Maladolescenza.1977.Uncut.avi
[15:40:08]    + title 1, chapter(s) 1 to 1
[15:40:08]    + container: avi
[15:40:08]    + data rate: 2012 kbps
[15:40:08]  * destination
[15:40:08]    + C:\Users\Tom\Downloads\Video\Maladolescenza.1977.uncut.mp4
[15:40:08]    + container: MPEG-4 (.mp4 and .m4v)
[15:40:08]  * video track
[15:40:08]    + decoder: mpeg4
[15:40:08]    + frame rate: same as source (around 25.000 fps)
[15:40:08]    + filters
[15:40:08]      + Framerate Shaper (0:27000000:1080000)
[15:40:08]        + frame rate: same as source (around 25.000 fps)
[15:40:08]      + Crop and Scale (672:352:0:0:0:0)
[15:40:08]        + source: 672 * 352, crop (0/0/0/0): 672 * 352, scale: 672 * 352
[15:40:08]    + loose anamorphic
[15:40:08]      + storage dimensions: 672 * 352, mod 2
[15:40:08]      + pixel aspect ratio: 1 / 1
[15:40:08]      + display dimensions: 672 * 352
[15:40:08]    + encoder: H.264 (x264)
[15:40:08]      + x264 preset: veryfast
[15:40:08]      + h264 profile: main
[15:40:08]      + h264 level: 4.0
[15:40:08]      + bitrate: 1500 kbps, pass: 0
[15:40:08]  * subtitle track 1, English (track 0, id 0xff) Text [SRT] -> Passthrough, offset: 0, charset: UTF-8
[15:40:08]  * audio track 1
[15:40:08]    + decoder: Unknown (mp3) (2.0 ch) (track 1, id 0x1)
[15:40:08]      + bitrate: 192 kbps, samplerate: 48000 Hz
[15:40:08]    + mixdown: Stereo
[15:40:08]    + encoder: AAC (faac)
[15:40:08]      + bitrate: 160 kbps, samplerate: 48000 Hz
[15:40:08] reader: first SCR 0 id 0x1 DTS 0
[15:40:08] encx264: encoding with stored aspect 1/1
ERROR: Invalid byte for codeset in input, discard byte
x264 [warning]: --psnr used with psy on: results will be invalid!
x264 [warning]: --tune psnr should be used if attempting to benchmark psnr!
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
x264 [info]: profile Main, level 4.0
[16:00:54] reader: done. 1 scr changes
[16:00:55] work: average encoding speed for job is 109.526443 fps
[16:00:55] sync: got 136487 frames, 136487 expected
[16:00:55] render: lost time: 0 (0 frames)
[16:00:55] render: gained time: 0 (0 frames) (0 not accounted for)
[16:00:55] mpeg4-decoder done: 136487 frames, 0 decoder errors, 0 drops
x264 [info]: frame I:976   Avg QP:16.33  size: 41544  PSNR Mean Y:47.02 U:52.23 V:52.71 Avg:48.16 Global:46.21
x264 [info]: frame P:58627 Avg QP:20.49  size: 13945  PSNR Mean Y:41.79 U:47.73 V:48.41 Avg:43.03 Global:41.85
x264 [info]: frame B:76884 Avg QP:23.88  size:  2112  PSNR Mean Y:41.99 U:48.47 V:49.14 Avg:43.28 Global:41.90
x264 [info]: consecutive B-frames:  4.0% 57.6% 15.5% 22.9%
x264 [info]: mb I  I16..4:  9.0%  0.0% 91.0%
x264 [info]: mb P  I16..4:  2.7%  0.0%  2.5%  P16..4: 50.4% 18.6% 21.6%  0.0%  0.0%    skip: 4.1%
x264 [info]: mb B  I16..4:  0.3%  0.0%  0.1%  B16..8: 23.6%  6.7%  1.5%  direct:10.5%  skip:57.3%  L0:21.8% L1:39.6% BI:38.6%
x264 [info]: final ratefactor: 18.99
x264 [info]: coded y,uvDC,uvAC intra: 63.5% 72.3% 28.0% inter: 33.7% 16.2% 0.9%
x264 [info]: i16 v,h,dc,p: 48% 22% 24%  6%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 21% 17%  5%  6%  6%  5%  6%  6%
x264 [info]: i8c dc,h,v,p: 50% 21% 23%  6%
x264 [info]: Weighted P-Frames: Y:5.2% UV:0.8%
x264 [info]: SSIM Mean Y:0.9816895 (17.373db)
x264 [info]: PSNR Mean Y:41.944 U:48.177 V:48.852 Avg:43.203 Global:41.899 kb/s:1495.28
[16:00:55] mp3-decoder done: 0 frames, 0 decoder errors, 0 drops
[16:00:57] mux: track 0, 136487 frames, 1020398706 bytes, 1495.23 kbps, fifo 4096
[16:00:57] mux: track 1, 255913 frames, 109179584 bytes, 159.99 kbps, fifo 8192
[16:00:57] mux: track 2, 526 frames, 18930 bytes, 0.03 kbps, fifo 1024
[16:00:57] libhb: work result = 0
Encode done!
HandBrake has exited."

Re: Subtitles not showing in Preview

Posted: Fri Aug 15, 2014 5:24 am
by Smithcraft
According the scan, HandBrake is not seeing any subtitles. Could you post a MediaInfo report on this file?

SC

Re: Subtitles not showing in Preview

Posted: Sat Aug 16, 2014 10:55 pm
by OriginalRebel
Thank you for responding. Here is the MediaInfo for the file. What I was trying to do was add the subtitles to the movie. I added the corresponding .srt via the Subtitles tab and then tried to Preview the reencode to see if they were there, and they weren't.:

General
Complete name : C:\Users\Tom\Downloads\Video\Maladolescenza.1977.uncut_preview.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42
File size : 5.55 MiB
Duration : 1h 30mn
Overall bit rate mode : Variable
Overall bit rate : 8 529 bps
Encoded date : UTC 2014-08-12 20:10:34
Tagged date : UTC 2014-08-12 20:10:40
Writing application : HandBrake 0.9.9 2013052900

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 30s 0ms
Bit rate mode : Variable
Bit rate : 1 400 Kbps
Width : 672 pixels
Height : 352 pixels
Display aspect ratio : 1.909
Frame rate mode : Constant
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.237
Stream size : 4.92 MiB (89%)
Writing library : x264 core 130 r2273 b3065e6
Encoding settings : cabac=1 / ref=1 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=2 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=6 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=10 / rc=abr / mbtree=1 / bitrate=1400 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=20000 / vbv_bufsize=25000 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00
Encoded date : UTC 2014-08-12 20:10:34
Tagged date : UTC 2014-08-12 20:10:40
Color primaries : BT.601 PAL
Transfer characteristics : BT.709
Matrix coefficients : BT.601

Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 30s 16ms
Bit rate mode : Variable
Bit rate : 160 Kbps
Maximum bit rate : 261 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Delay relative to video : 80ms
Stream size : 586 KiB (10%)
Encoded date : UTC 2014-08-12 20:10:34
Tagged date : UTC 2014-08-12 20:10:40

Text
ID : 3
Format : Timed Text
Muxing mode : sbtl
Codec ID : tx3g
Duration : 1h 30mn
Bit rate mode : Variable
Bit rate : 31 bps
Delay relative to video : 80ms
Stream size : 20.4 KiB (0%)
Language : English
Encoded date : UTC 2014-08-12 20:10:34
Tagged date : UTC 2014-08-12 20:10:40

Re: Subtitles not showing in Preview

Posted: Sun Aug 17, 2014 12:11 am
by JohnAStebbins
Umm, that's media info for the HandBrake output. We want to see mediainfo for your avi file to see whether mediainfo thinks there are subtitles in it.