Page 1 of 1

Sony BDP-S370 and Servio 0.5.2 and MKV files

PostPosted: Wed Mar 30, 2011 12:22 am
by guzmansoldier
I just recently upgraded Serviio to the latest version and now I can not play my MKV files. When I goto the Serviio device from my Sony BDP-S370 and goto where my MKV files are, I receive a message stating " No supported files ". What happened? It used to work with the older version. Any help would be greatly appreciated.
:(

Re: Sony BDP-S370 and Servio 0.5.2 and MKV files

PostPosted: Wed Mar 30, 2011 6:50 am
by Illico
Could you provide "ffmpeg -i" result of your mkv file?

Re: Sony BDP-S370 and Servio 0.5.2 and MKV files

PostPosted: Wed Mar 30, 2011 8:22 am
by patters
...and are you using the profiles.xml included with Serviio or have you made edits to it, or tried to use an older one (which seems to happen a lot)?

Re: Sony BDP-S370 and Servio 0.5.2 and MKV files

PostPosted: Thu Mar 31, 2011 12:05 am
by wotg
I have experience similar problems as the OP. In ver 0.5.1, I could play mkv files without remuxing. In ver 0.5.2, I have yet to find a single mkv file that could be played without remuxing :cry:

wotg

Re: Sony BDP-S370 and Servio 0.5.2 and MKV files

PostPosted: Thu Mar 31, 2011 8:48 am
by patters
They still play for you though - I thought you were complaining they don't even show in the listing (pretty sure that's what the OP is saying). That's by design - there are significant problems with the native mkv support. Have a look at the Readme which explains it all, and shows you how to revert to the previous behaviour if you really want.

Re: Sony BDP-S370 and Servio 0.5.2 and MKV files

PostPosted: Thu Mar 31, 2011 11:50 pm
by wotg
I tried again last night. To my surprise, the group of mkv files that could be played without rewrapping in 0.5.1 now also worked in 0.5.2. I have no idea why this group of mkv files couldn't be played without demuxing in 0.5.2 a couple days ago???. So no more problem for this group of mkv files. :lol:

However, there is another group of mkv files that I never could play without demuxing in all serviio versions that I have tried. The ffmpeg details of one of these files are:

[matroska,webm @ 015fcf00] Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 47.95 (5994/125) -> 23.98 (5994/250)
Input #0, matroska,webm, from 'chan.mkv':
Duration: 01:55:37.51, start: 0.000000, bitrate: N/A
Stream #0.0: Video: h264, yuv420p, 640x368, PAR 1:1 DAR 40:23, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
Stream #0.1(chi): Audio: aac, 48000 Hz, 2 channels (FC), s16
Metadata:
title : CHT
Stream #0.2(chi): Audio: aac, 48000 Hz, 2 channels (FC), s16
Metadata:
title : Karaoke"


Another one:

"[matroska,webm @ 015fcf00] max_analyze_duration reached
[matroska,webm @ 015fcf00] Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 47.95 (20000000/417083) -> 23.98 (20000000/834166)
Input #0, matroska,webm, from 'her.mkv':
Duration: 01:36:37.97, start: 0.000000, bitrate: N/A
Stream #0.0(eng): Video: h264, yuv420p, 608x336, PAR 1:1 DAR 38:21, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
Stream #0.1(chi): Audio: aac, 48000 Hz, 2 channels (FC), s16
Metadata:
title : Õø¢Þ»¡
Stream #0.2(chi): Audio: aac, 48000 Hz, 2 channels (FC), s16
Metadata:
title : þ▓ñÞ»¡
Stream #0.3(chi): Subtitle: [0][0][0][0] / 0x0000
Metadata:
title : chs
Stream #0.4(chi): Subtitle: [0][0][0][0] / 0x0000
Metadata:
title : cht
Stream #0.5(eng): Subtitle: [0][0][0][0] / 0x0000
Metadata:
title : eng"


What's wrong with these files?

wotg

Re: Sony BDP-S370 and Servio 0.5.2 and MKV files

PostPosted: Fri Apr 01, 2011 6:50 am
by Illico
Could you provide MediaInfo result of these files to check h264 profile/level?

Could you also provide MkvInfo result to these files to check if header compression is used on mkv container ?

If compression is used then mkvinfo shows the following elements:
  Code:
|  + Content encodings
|   + Content encoding
|    + Content compression
|     + Algorithm: 3 (header removal)
|     + Settings: length 1, data:  0xff

If no compression is used then those elements are absent.

Re: Sony BDP-S370 and Servio 0.5.2 and MKV files

PostPosted: Sat Apr 02, 2011 10:39 am
by wotg
Here are the mediainfo details of one of these files:

General
Unique ID : 198578769613358955237379285896220463830 (0x9564E13F4724D1B78D68C9BFBCFD52D6)
Complete name : L:\Trial Share\Thirteen.mkv
Format : Matroska
File size : 258 MiB
Duration : 42mn 10s
Overall bit rate : 854 Kbps
Encoded date : UTC 2009-07-29 12:30:48
Writing application : mkvmerge v2.1.0 ('Another Place To Fall') built on Aug 19 2007 13:40:07
Writing library : libebml v0.7.7 + libmatroska v0.8.1

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 42mn 10s
Nominal bit rate : 800 Kbps
Width : 600 pixels
Height : 464 pixels
Display aspect ratio : 1.293
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.115
Writing library : x264 core 68 r1183M f21daff
Encoding settings : cabac=1 / ref=4 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=umh / subme=7 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=3 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=0 / b_adapt=2 / b_bias=0 / direct=3 / wpredb=1 / keyint=250 / keyint_min=25 / scenecut=40 / rc=2pass / bitrate=800 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=50000 / vbv_bufsize=50000 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00
Language : Chinese

Audio #1
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : HE-AAC / LC
Codec ID : A_AAC
Duration : 42mn 10s
Channel(s) : 1 channel
Channel positions : Front: C
Sampling rate : 48.0 KHz / 24.0 KHz
Compression mode : Lossy
Title : 粤语
Language : Chinese

Audio #2
ID : 3
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : HE-AAC / LC
Codec ID : A_AAC
Duration : 42mn 10s
Channel(s) : 1 channel
Channel positions : Front: C
Sampling rate : 48.0 KHz / 24.0 KHz
Compression mode : Lossy
Title : 国语
Language : Chinese

Text
ID : 4
Format : SSA
Codec ID : S_TEXT/SSA
Codec ID/Info : Sub Station Alpha
Compression mode : Lossless

Any clue?

Re: Sony BDP-S370 and Servio 0.5.2 and MKV files

PostPosted: Sat Apr 02, 2011 11:53 am
by Illico
Whats about MkvInfo of your file?

Re: Sony BDP-S370 and Servio 0.5.2 and MKV files

PostPosted: Sat Apr 02, 2011 12:55 pm
by wotg
Hi Illico,

Here are the mkvinfo details:

(MKVInfo) + EBML head
(MKVInfo) |+ Doc type: matroska
(MKVInfo) |+ Doc type version: 1
(MKVInfo) |+ Doc type read version: 1
(MKVInfo) + Segment, size 270137886
(MKVInfo) |+ Seek head
(MKVInfo) | + Seek entry
(MKVInfo) | + Seek ID: 0x15 0x49 0xa9 0x66 (KaxInfo)
(MKVInfo) | + Seek position: 4099
(MKVInfo) | + Seek entry
(MKVInfo) | + Seek ID: 0x16 0x54 0xae 0x6b (KaxTracks)
(MKVInfo) | + Seek position: 4261
(MKVInfo) | + Seek entry
(MKVInfo) | + Seek ID: 0x11 0x4d 0x9b 0x74 (KaxSeekHead)
(MKVInfo) | + Seek position: 270116482
(MKVInfo) | + Seek entry
(MKVInfo) | + Seek ID: 0x1c 0x53 0xbb 0x6b (KaxCues)
(MKVInfo) | + Seek position: 270110439
(MKVInfo) |+ EbmlVoid (size: 4027)
(MKVInfo) |+ Segment information
(MKVInfo) | + Timecode scale: 1000000
(MKVInfo) | + Muxing application: libebml v0.7.7 + libmatroska v0.8.1
(MKVInfo) | + Writing application: mkvmerge v2.1.0 ('Another Place To Fall') built on Aug 19 2007 13:40:07
(MKVInfo) | + Duration: 2530.048s (00:42:10.048)
(MKVInfo) | + Date: Wed Jul 29 12:30:48 2009 UTC
(MKVInfo) | + Segment UID: 0x95 0x64 0xe1 0x3f 0x47 0x24 0xd1 0xb7 0x8d 0x68 0xc9 0xbf 0xbc 0xfd 0x52 0xd6
(MKVInfo) |+ Segment tracks
(MKVInfo) | + A track
(MKVInfo) | + Track number: 1
(MKVInfo) | + Track UID: 740035233
(MKVInfo) | + Track type: video
(MKVInfo) | + Enabled: 1
(MKVInfo) | + Default flag: 1
(MKVInfo) | + Forced flag: 0
(MKVInfo) | + Lacing flag: 0
(MKVInfo) | + MinCache: 1
(MKVInfo) | + Timecode scale: 1
(MKVInfo) | + Max BlockAddition ID: 0
(MKVInfo) | + Codec ID: V_MPEG4/ISO/AVC
(MKVInfo) | + Codec decode all: 1
(MKVInfo) | + CodecPrivate, length 42 (h.264 profile: High @L4.1)
(MKVInfo) | + Default duration: 40.000ms (25.000 fps for a video track)
(MKVInfo) | + Language: chi
(MKVInfo) | + Video track
(MKVInfo) | + Pixel width: 600
(MKVInfo) | + Pixel height: 464
(MKVInfo) | + Interlaced: 0
(MKVInfo) | + Display width: 600
(MKVInfo) | + Display height: 464
(MKVInfo) | + A track
(MKVInfo) | + Track number: 2
(MKVInfo) | + Track UID: 533214389
(MKVInfo) | + Track type: audio
(MKVInfo) | + Enabled: 1
(MKVInfo) | + Default flag: 1
(MKVInfo) | + Forced flag: 0
(MKVInfo) | + Lacing flag: 1
(MKVInfo) | + MinCache: 0
(MKVInfo) | + Timecode scale: 1
(MKVInfo) | + Max BlockAddition ID: 0
(MKVInfo) | + Codec ID: A_AAC
(MKVInfo) | + Codec decode all: 1
(MKVInfo) | + CodecPrivate, length 7
(MKVInfo) | + Default duration: 42.667ms (23.438 fps for a video track)
(MKVInfo) | + Language: chi
(MKVInfo) | + Name: 粤语
(MKVInfo) | + Audio track
(MKVInfo) | + Sampling frequency: 24000
(MKVInfo) | + Channels: 1
(MKVInfo) | + Output sampling frequency: 48000
(MKVInfo) | + A track
(MKVInfo) | + Track number: 3
(MKVInfo) | + Track UID: 292650924
(MKVInfo) | + Track type: audio
(MKVInfo) | + Enabled: 1
(MKVInfo) | + Default flag: 0
(MKVInfo) | + Forced flag: 0
(MKVInfo) | + Lacing flag: 1
(MKVInfo) | + MinCache: 0
(MKVInfo) | + Timecode scale: 1
(MKVInfo) | + Max BlockAddition ID: 0
(MKVInfo) | + Codec ID: A_AAC
(MKVInfo) | + Codec decode all: 1
(MKVInfo) | + CodecPrivate, length 7
(MKVInfo) | + Default duration: 42.667ms (23.438 fps for a video track)
(MKVInfo) | + Language: chi
(MKVInfo) | + Name: 国语
(MKVInfo) | + Audio track
(MKVInfo) | + Sampling frequency: 24000
(MKVInfo) | + Channels: 1
(MKVInfo) | + Output sampling frequency: 48000
(MKVInfo) | + A track
(MKVInfo) | + Track number: 4
(MKVInfo) | + Track UID: 3873604519
(MKVInfo) | + Track type: subtitles
(MKVInfo) | + Enabled: 1
(MKVInfo) | + Default flag: 1
(MKVInfo) | + Forced flag: 0
(MKVInfo) | + Lacing flag: 0
(MKVInfo) | + MinCache: 0
(MKVInfo) | + Timecode scale: 1
(MKVInfo) | + Max BlockAddition ID: 0
(MKVInfo) | + Codec ID: S_TEXT/SSA
(MKVInfo) | + Codec decode all: 1
(MKVInfo) | + CodecPrivate, length 1295
(MKVInfo) | + Language: und
(MKVInfo) |+ EbmlVoid (size: 1024)
(MKVInfo) |+ Cluster

Would it be the audio sampling frequency causing the problem?

ffmpeg reported 48kHz

mediainfo reported 48kHz/24kHz

mkvinfo reported 24kHz and 48kHZ

Is it 48kHZ or 24kHZ?.

Re: Sony BDP-S370 and Servio 0.5.2 and MKV files

PostPosted: Sat Apr 02, 2011 1:21 pm
by Illico
The AAC audio is 1 channel. (ffmpeg : 2 channels FC)
Zip, is it supported? must be transcoded to stereo ac3.

Re: Sony BDP-S370 and Servio 0.5.2 and MKV files

PostPosted: Mon Apr 04, 2011 3:00 am
by wotg
Hi Illico,

So it is the audio track being 1 Channel causing the problem, right?

Can I add a Match Case in the profile to enforce transcoding of 1 channel mkv files? I would like to leave 2 or more channels files untouch.

wotg

Re: Sony BDP-S370 and Servio 0.5.2 and MKV files

PostPosted: Tue Apr 05, 2011 2:27 pm
by annielouge
hey guys, I'm having the same issue. Has anyone found a solution yet?

Re: Sony BDP-S370 and Servio 0.5.2 and MKV files

PostPosted: Tue Apr 05, 2011 2:31 pm
by Illico
Zip,
Does Serviio support AAC (FC) ?
Frome ffmpeg -i: Stream #0.1: Audio: aac, 48000 Hz, 2 channels (FC), s16
From MediaInfo : Format : AAC, Channel(s) : 1 channel, Channel positions : Front: C

Re: Sony BDP-S370 and Servio 0.5.2 and MKV files

PostPosted: Tue Apr 05, 2011 3:02 pm
by zip
It doesn't distinguish between different AAC types. It'll be added to the library and treated ac other AAC. I assume FC stands for Front Channel?

Re: Sony BDP-S370 and Servio 0.5.2 and MKV files

PostPosted: Wed Apr 06, 2011 7:57 am
by wotg
Zip,

Could I add a Match Case in the Sony's profile to recode this "type" of files? I would like to keep other files untouched (without transcoding).

wotg

Re: Sony BDP-S370 and Servio 0.5.2 and MKV files

PostPosted: Wed Apr 06, 2011 10:03 am
by zip
No. I'd recommend to update them manually - I assume you dont have too many of those ..

Re: Sony BDP-S370 and Servio 0.5.2 and MKV files

PostPosted: Thu Apr 07, 2011 12:51 am
by wotg
Thanks Zip. I would go down the manual recording path.

On a side issue, I am not too sure how to interpretate the audio frequency of this particular file.

ffmpeg reported:
Stream #0.1(chi): Audio: aac, 48000 Hz, 2 channels (FC), s16

mediainfo reported:
Sampling rate : 48.0 KHz / 24.0 KHz

mkvinfo reported :
(MKVInfo) | + Sampling frequency: 24000
(MKVInfo) | + Channels: 1
(MKVInfo) | + Output sampling frequency: 4800024kHz and 48kHZ

Is it 48kHZ or 24kHZ?. Is 24kHz also a culprit as well?

wotg

Re: Sony BDP-S370 and Servio 0.5.2 and MKV files

PostPosted: Thu Apr 07, 2011 12:07 pm
by zip
i have no idea :-D