Streaming MKV to BDP-S590 (subtitle charset)

Posted:
Sun Oct 13, 2013 4:43 pm
by rricardi
Hi all,
I am trying to stream a MKV video to my Sony BDP-S590 with subtitles of different languages in the MKV file.
Audio and video runs smooth, sutbtitles are shown as well BUT with strange characters. Maybe the charset (ANSI, UTF-8 or other) might be changed, maybe adjust Serviio, maybe both...
I am also considering buying a WD Live, they say it works perfectly, but I prefer one last shot with Serviio.
Anyone could help me please? I can obviously provide extra information it needed.
Many thanks in advance!
Re: Streaming MKV to BDP-S590 (subtitle charset)

Posted:
Sun Oct 13, 2013 6:29 pm
by Illico
rricardi wrote:...sutbtitles are shown as well BUT with strange characters. Maybe the charset (ANSI, UTF-8 or other) might be changed, maybe adjust Serviio, maybe both...
Indeed, both the console and subtitles must have the same charset.
Could you provide MediaInfo tools result of your mkv file, and "ffmpeg -i" ? (see my signature link)
Re: Streaming MKV to BDP-S590 (subtitle charset)

Posted:
Sun Oct 13, 2013 10:17 pm
by rricardi
Hi Illico, many thanks for replying. Please find below requested information:
ffmpeg- Code:
C:\Archivos de programa\Serviio\lib>ffmpeg.exe -i "c:\Documents and Settings\Rod
rigo Ricardi\Escritorio\Filmes\Truque.de.Mestre.2013.720p.BluRay.x264.HDC.DUAL-B
RENYS\Truque.de.Mestre.2013.720p.BluRay.x264.HDC.DUAL-BRENYS.mkv"
ffmpeg version N-54096-ge41bf19 Copyright (c) 2000-2013 the FFmpeg developers
built on Jun 18 2013 10:49:28 with gcc 4.7.2 (GCC)
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-libass --enable-librtm
p --enable-fontconfig --enable-libfreetype --enable-zlib --enable-libx264 --extr
a-libs='-lrtmp -lpolarssl -lws2_32 -lwinmm -lexpat -lfreetype -lfribidi -lz' --a
rch=x86 --enable-runtime-cpudetect --enable-pthreads --target-os=mingw32 --cross
-prefix=i686-w64-mingw32- --enable-gpl --pkg-config=pkg-config
libavutil 52. 37.101 / 52. 37.101
libavcodec 55. 16.100 / 55. 16.100
libavformat 55. 9.100 / 55. 9.100
libavdevice 55. 2.100 / 55. 2.100
libavfilter 3. 77.101 / 3. 77.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
Input #0, matroska,webm, from 'c:\Documents and Settings\Rodrigo Ricardi\Escrito
rio\Filmes\Truque.de.Mestre.2013.720p.BluRay.x264.HDC.DUAL-BRENYS\Truque.de.Mest
re.2013.720p.BluRay.x264.HDC.DUAL-BRENYS.mkv':
Metadata:
title : Truque.de.Mestre.2013.720p.BluRay.x264.HDC.DUAL-BRENYS
creation_time : 2013-09-03 06:47:10
Duration: 01:55:22.80, start: 0.000000, bitrate: 6621 kb/s
Stream #0:0: Video: h264 (High), yuv420p, 1280x534 [SAR 1:1 DAR 640:267], 23
.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Stream #0:1(por): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
Metadata:
title : Portugues AC3 5.1- BRENYS
Stream #0:2(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
At least one output file must be specified
C:\Archivos de programa\Serviio\lib>
MediaInfo- Code:
General
Unique ID : 217716142459930392107666227544910899897 (0xA3CA9A938DFF75928FD82F6E4FCAAAB9)
Complete name : C:\Documents and Settings\Rodrigo Ricardi\Escritorio\Filmes\Truque.de.Mestre.2013.720p.BluRay.x264.HDC.DUAL-BRENYS\Truque.de.Mestre.2013.720p.BluRay.x264.HDC.DUAL-BRENYS.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 5.34 GiB
Duration : 1h 55mn
Overall bit rate : 6 622 Kbps
Movie name : Truque.de.Mestre.2013.720p.BluRay.x264.HDC.DUAL-BRENYS
Encoded date : UTC 2013-09-03 06:47:10
Writing application : mkvmerge v6.3.0 ('You can't stop me!') built on Jun 28 2013 20:09:41
Writing library : libebml v1.3.0 + libmatroska v1.4.0
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 12 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 55mn
Bit rate : 5 594 Kbps
Width : 1 280 pixels
Height : 534 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.341
Stream size : 4.51 GiB (84%)
Writing library : x264 core 136 r2348+704+51 d1baef6 tMod [8-bit@all X86_64]
Encoding settings : cabac=1 / ref=12 / deblock=1:-3:-3 / analyse=0x3:0x133 / me=umh / subme=11 / psy=1 / fade_compensate=0.00 / psy_rd=1.05:0.00 / mixed_ref=1 / me_range=48 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / fgo=0 / bframes=7 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=0 / crf=17.0000 / qcomp=0.60 / qpmin=0:0:0 / qpmax=69:69:69 / qpstep=4 / vbv_maxrate=50000 / vbv_bufsize=62500 / crf_max=0.0 / nal_hrd=none / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:0.80 / aq-sensitivity=10.00 / aq-factor=1.00:1.00:1.00 / aq2=0 / aq3=0
Default : Yes
Forced : No
Audio #1
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 1h 55mn
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Delay relative to video : 1s 870ms
Stream size : 370 MiB (7%)
Title : Portugues AC3 5.1- BRENYS
Language : Portuguese
Default : Yes
Forced : No
Audio #2
ID : 3
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 1h 55mn
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 370 MiB (7%)
Language : English
Default : No
Forced : No
Thanks a lot for helping once again!
Re: Streaming MKV to BDP-S590 (subtitle charset)

Posted:
Mon Oct 14, 2013 7:07 am
by Illico
rricardi wrote:Hi Illico, many thanks for replying. Please find below requested information:
...
Thanks a lot for helping once again!
?..
No subtitle tracks in you mkv file, only two audio tracks (Portuguese,English)?
- Do you have an external subtitle file (srt, sub, etc.).
- Does video track already has subtitle burned into frames ?
Re: Streaming MKV to BDP-S590 (subtitle charset)

Posted:
Tue Oct 15, 2013 12:17 am
by rricardi
Geez... wrong file Illico! My apologies.
Please find below the right one:
MediaInfo- Code:
General
Unique ID : 254837004249313595859621638559529517217 (0xBFB7D25DB1DDBC9A9E13EBB38ADD40A1)
Complete name : C:\Documents and Settings\Rodrigo Ricardi\Escritorio\Filmes\The.Internship.2013.UNRATED.1080p.WEB-DL.H264-PHD\The.Internship.2013.UNRATED.1080p.WEB-DL.H264-PHD.mkv
Format : Matroska
Format version : Version 2
File size : 4.09 GiB
Duration : 2h 5mn
Overall bit rate : 4 679 Kbps
Encoded date : UTC 2013-10-01 08:25:29
Writing application : mkvmerge v5.8.0 ('No Sleep / Pillow') built on Sep 2 2012 15:37:04
Writing library : libebml v1.2.3 + libmatroska v1.3.0
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 2h 5mn
Width : 1 920 pixels
Height : 810 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Language : English
Default : Yes
Forced : No
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Audio #1
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 2h 5mn
Bit rate mode : Constant
Bit rate : 384 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 344 MiB (8%)
Language : English
Default : Yes
Forced : No
Audio #2
ID : 3
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : A_AAC
Duration : 2h 5mn
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Language : Spanish
Default : No
Forced : No
Text #1
ID : 4
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Language : English
Default : No
Forced : No
Text #2
ID : 5
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Language : French
Default : No
Forced : No
Text #3
ID : 6
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Language : Spanish
Default : No
Forced : No
Text #4
ID : 7
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Language : Portuguese
Default : No
Forced : No
Menu
00:00:00.000 : en:Chapter 1
00:05:27.000 : en:Chapter 2
00:07:50.000 : en:Chapter 3
00:14:21.000 : en:Chapter 4
00:19:40.000 : en:Chapter 5
00:25:58.000 : en:Chapter 6
00:28:59.000 : en:Chapter 7
00:32:35.000 : en:Chapter 8
00:35:04.000 : en:Chapter 9
00:36:18.000 : en:Chapter 10
00:41:51.000 : en:Chapter 11
00:44:34.000 : en:Chapter 12
00:48:04.000 : en:Chapter 13
00:50:39.000 : en:Chapter 14
00:58:27.000 : en:Chapter 15
01:02:17.000 : en:Chapter 16
01:06:08.000 : en:Chapter 17
01:11:12.000 : en:Chapter 18
01:14:02.000 : en:Chapter 19
01:15:46.000 : en:Chapter 20
01:18:51.000 : en:Chapter 21
01:21:27.000 : en:Chapter 22
01:24:10.000 : en:Chapter 23
01:26:07.000 : en:Chapter 24
01:27:57.000 : en:Chapter 25
01:29:37.000 : en:Chapter 26
01:31:39.000 : en:Chapter 27
01:37:15.000 : en:Chapter 28
01:42:32.000 : en:Chapter 29
01:48:12.000 : en:Chapter 30
01:54:18.000 : en:Chapter 31
01:57:36.000 : en:Chapter 32
ffmpeg- Code:
C:\Archivos de programa\Serviio\lib>ffmpeg.exe -i "c:\Documents and Settings\Rod
rigo Ricardi\Escritorio\Filmes\The.Internship.2013.UNRATED.1080p.WEB-DL.H264-PHD
\The.Internship.2013.UNRATED.1080p.WEB-DL.H264-PHD.mkv"
ffmpeg version N-54096-ge41bf19 Copyright (c) 2000-2013 the FFmpeg developers
built on Jun 18 2013 10:49:28 with gcc 4.7.2 (GCC)
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-libass --enable-librtm
p --enable-fontconfig --enable-libfreetype --enable-zlib --enable-libx264 --extr
a-libs='-lrtmp -lpolarssl -lws2_32 -lwinmm -lexpat -lfreetype -lfribidi -lz' --a
rch=x86 --enable-runtime-cpudetect --enable-pthreads --target-os=mingw32 --cross
-prefix=i686-w64-mingw32- --enable-gpl --pkg-config=pkg-config
libavutil 52. 37.101 / 52. 37.101
libavcodec 55. 16.100 / 55. 16.100
libavformat 55. 9.100 / 55. 9.100
libavdevice 55. 2.100 / 55. 2.100
libavfilter 3. 77.101 / 3. 77.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
Input #0, matroska,webm, from 'c:\Documents and Settings\Rodrigo Ricardi\Escrito
rio\Filmes\The.Internship.2013.UNRATED.1080p.WEB-DL.H264-PHD\The.Internship.2013
.UNRATED.1080p.WEB-DL.H264-PHD.mkv':
Metadata:
creation_time : 2013-10-01 08:25:29
Duration: 02:05:15.35, start: 0.000000, bitrate: 4679 kb/s
Chapter #0.0: start 0.000000, end 327.000000
Metadata:
title : Chapter 1
Chapter #0.1: start 327.000000, end 470.000000
Metadata:
title : Chapter 2
Chapter #0.2: start 470.000000, end 861.000000
Metadata:
title : Chapter 3
Chapter #0.3: start 861.000000, end 1180.000000
Metadata:
title : Chapter 4
Chapter #0.4: start 1180.000000, end 1558.000000
Metadata:
title : Chapter 5
Chapter #0.5: start 1558.000000, end 1739.000000
Metadata:
title : Chapter 6
Chapter #0.6: start 1739.000000, end 1955.000000
Metadata:
title : Chapter 7
Chapter #0.7: start 1955.000000, end 2104.000000
Metadata:
title : Chapter 8
Chapter #0.8: start 2104.000000, end 2178.000000
Metadata:
title : Chapter 9
Chapter #0.9: start 2178.000000, end 2511.000000
Metadata:
title : Chapter 10
Chapter #0.10: start 2511.000000, end 2674.000000
Metadata:
title : Chapter 11
Chapter #0.11: start 2674.000000, end 2884.000000
Metadata:
title : Chapter 12
Chapter #0.12: start 2884.000000, end 3039.000000
Metadata:
title : Chapter 13
Chapter #0.13: start 3039.000000, end 3507.000000
Metadata:
title : Chapter 14
Chapter #0.14: start 3507.000000, end 3737.000000
Metadata:
title : Chapter 15
Chapter #0.15: start 3737.000000, end 3968.000000
Metadata:
title : Chapter 16
Chapter #0.16: start 3968.000000, end 4272.000000
Metadata:
title : Chapter 17
Chapter #0.17: start 4272.000000, end 4442.000000
Metadata:
title : Chapter 18
Chapter #0.18: start 4442.000000, end 4546.000000
Metadata:
title : Chapter 19
Chapter #0.19: start 4546.000000, end 4731.000000
Metadata:
title : Chapter 20
Chapter #0.20: start 4731.000000, end 4887.000000
Metadata:
title : Chapter 21
Chapter #0.21: start 4887.000000, end 5050.000000
Metadata:
title : Chapter 22
Chapter #0.22: start 5050.000000, end 5167.000000
Metadata:
title : Chapter 23
Chapter #0.23: start 5167.000000, end 5277.000000
Metadata:
title : Chapter 24
Chapter #0.24: start 5277.000000, end 5377.000000
Metadata:
title : Chapter 25
Chapter #0.25: start 5377.000000, end 5499.000000
Metadata:
title : Chapter 26
Chapter #0.26: start 5499.000000, end 5835.000000
Metadata:
title : Chapter 27
Chapter #0.27: start 5835.000000, end 6152.000000
Metadata:
title : Chapter 28
Chapter #0.28: start 6152.000000, end 6492.000000
Metadata:
title : Chapter 29
Chapter #0.29: start 6492.000000, end 6858.000000
Metadata:
title : Chapter 30
Chapter #0.30: start 6858.000000, end 7056.000000
Metadata:
title : Chapter 31
Chapter #0.31: start 7056.000000, end 7515.349000
Metadata:
title : Chapter 32
Stream #0:0(eng): Video: h264 (High), yuv420p, 1920x810 [SAR 1:1 DAR 64:27],
23.98 fps, 23.98 tbr, 1k tbn, 2k tbc (default)
Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default)
Stream #0:2(spa): Audio: aac, 48000 Hz, stereo, fltp
Stream #0:3(eng): Subtitle: subrip
Stream #0:4(fre): Subtitle: subrip
Stream #0:5(spa): Subtitle: subrip
Stream #0:6(por): Subtitle: subrip
Many thanks indeed!
Re: Streaming MKV to BDP-S590 (subtitle charset)

Posted:
Tue Oct 15, 2013 7:31 am
by Illico
The embedded subtitles are in UTF-8, so on serviio console, you have to set the same charset value (UTF-8).
Could you enable
detailed logging and post here the log section where the embedded sub were extracted (ffmepg command line)?
Could you extract the subtitles with mkvmerge tools and post here one with wrong character ?