Page 1 of 1

ES6710 and FLAC audio

PostPosted: Thu Apr 25, 2013 6:09 am
by egrimisu
Hi guys, brand new to serviio, i decided to go with serviio since the samsung allshare is crap. Everything is running smoothly but the movies that have flac audio are not played, the media file is a mkv container and video is h264, i lookd in the profiles.xml but it's just to complicated for me. Where and what to edit in the file so that servvio to recompress only the audio and send it to the tv of course in lossless format if possbile and 5.1 . 5.1 is a must but lossless is not . Can this be done?

Re: ES6710 and FLAC audio

PostPosted: Thu Apr 25, 2013 3:52 pm
by slyguy42o
sounds like your profile needs to be tweaked a bit to handle flac audio.

What profile are you using for this device?

Re: ES6710 and FLAC audio

PostPosted: Thu Apr 25, 2013 4:10 pm
by egrimisu
slyguy42o wrote:sounds like your profile needs to be tweaked a bit to handle flac audio.

What profile are you using for this device?

samsung smart C/D/ES series, i looked in the profiles file, thinks look a bit strage but i think i'm starting to understand it, anyway a good example will help a lot.


Other question, i saw servvio is downloading metadata, where is this data displayed(cover, movie infor, etc)?

Re: ES6710 and FLAC audio

PostPosted: Thu Apr 25, 2013 4:20 pm
by egrimisu
egrimisu wrote:
slyguy42o wrote:sounds like your profile needs to be tweaked a bit to handle flac audio.

What profile are you using for this device?

samsung smart C/D/ES series, i looked in the profiles file, thinks look a bit strage but i think i'm starting to understand it, anyway a good example will help a lot.


Other question, i saw servvio is downloading metadata, where is this data displayed(cover, movie infor, etc)?



My eyes have a problem, metadata used by the tv, (names, date , cover) . Sorry for the dumb question. waiting for the profile tweak.

Re: ES6710 and FLAC audio

PostPosted: Thu Apr 25, 2013 6:37 pm
by slyguy42o
Under the sections for the CDE profile, Try removing this line and see if it helps. According to the notes the E-series devices support FLAC so it may be trying to transcode unnecessarily.

<Matches container="flac" /> <!-- E series plays FLAC natively so this line can be removed-->


if this doesn't work you can try adding a line to transcode mkv's with flac audio to ac3 like so

in the same section.. under this line
<Matches container="matroska" vCodec="h264" aCodec="flac" />


add this

<Matches container="matroska" aCodec="flac" />

Re: ES6710 and FLAC audio

PostPosted: Sun Apr 28, 2013 4:04 pm
by egrimisu
slyguy42o wrote:Under the sections for the CDE profile, Try removing this line and see if it helps. According to the notes the E-series devices support FLAC so it may be trying to transcode unnecessarily.

<Matches container="flac" /> <!-- E series plays FLAC natively so this line can be removed-->


if this doesn't work you can try adding a line to transcode mkv's with flac audio to ac3 like so

in the same section.. under this line
<Matches container="matroska" vCodec="h264" aCodec="flac" />


add this

<Matches container="matroska" aCodec="flac" />



Thanks for the reply,
well just figured out that the video codec is h264 10bit (high10 profile) and starngely it worked fine under windows server it transcoded the video and audio to ac3 but unde linux server it does not work, probably i need extra codec.

Anyway is it possible to transcode to pcm or other lossless codec? ac3 is not good enough for my ears :)

Re: ES6710 and FLAC audio

PostPosted: Tue Apr 30, 2013 10:05 pm
by zip
For audio files yes, video not really.

Re: ES6710 and FLAC audio

PostPosted: Wed May 01, 2013 2:45 pm
by egrimisu
zip wrote:For audio files yes, video not really.


and how to encode from flac to 5.1 pcm if thebtv does not support flac playback?

Re: ES6710 and FLAC audio

PostPosted: Wed May 01, 2013 4:26 pm
by zip
DLNA only supports stereo LPCM, that's why it's only useful for (stereo) audio files

Re: ES6710 and FLAC audio

PostPosted: Wed May 29, 2013 2:28 pm
by egrimisu
Been looking lately in the profile.xml and correct me if i',m wrong: is it true that if a video (mkv container, h264 level 4.1 video codec and flac audi codec) will be recompresed video and audio. is this true? is it possible to configure the profiles so only the audio to be recompresed and leave the video intact?

Re: ES6710 and FLAC audio

PostPosted: Wed May 29, 2013 4:40 pm
by zip
egrimisu wrote:Been looking lately in the profile.xml and correct me if i',m wrong: is it true that if a video (mkv container, h264 level 4.1 video codec and flac audi codec) will be recompresed video and audio. is this true? is it possible to configure the profiles so only the audio to be recompresed and leave the video intact?

No, only audio will be transcoded, the video stream is untouched. What did you see to think otherwise?

Re: ES6710 and FLAC audio

PostPosted: Wed May 29, 2013 5:59 pm
by egrimisu
i saw that seeking os not awailable. the container became mpeg instead of the original mkv. or the h264 track is remuxed in a mpeg container?

zip wrote:
egrimisu wrote:Been looking lately in the profile.xml and correct me if i',m wrong: is it true that if a video (mkv container, h264 level 4.1 video codec and flac audi codec) will be recompresed video and audio. is this true? is it possible to configure the profiles so only the audio to be recompresed and leave the video intact?

No, only audio will be transcoded, the video stream is untouched. What did you see to think otherwise?

Re: ES6710 and FLAC audio

PostPosted: Sun Jun 02, 2013 1:41 pm
by zip
It'd only transcode it if the h264 level is more than 4.2 (based on ref frames, not the file's header)

Re: ES6710 and FLAC audio

PostPosted: Mon Jun 03, 2013 6:36 am
by DenyAll
Sorry all to go off topic (sort of) for a moment:
zip wrote:It'd only transcode it if the h264 level is more than 4.2 (based on ref frames, not the file's header)
What does this mean - that it the Match statement doesn't use the profile level as reported by tools such as MediaInfo. What does it use - is there a table that matches ref frames (is this ReFrames in MediaInfo, if not how can we see it in MediaInfo or ffmpeg -i) to profile level that Serviio uses?

Re: ES6710 and FLAC audio

PostPosted: Mon Jun 03, 2013 4:29 pm
by zip

Re: ES6710 and FLAC audio

PostPosted: Mon Jun 03, 2013 11:31 pm
by DenyAll
Thanks, I thought I'd seen all of the wiki :oops:. This now makes sense with some of the issues I've seen in the past (high reframes, but low reported profile level). I have bookmarked the table!