Page 1 of 1

[SOLVED] No sound on Sony Bravia 2012 online streams

PostPosted: Mon Dec 31, 2012 5:26 pm
by moose7
I had no sound in some streams with Serviio 1.1 and Sony Bravia 2012.
To find the cause I did the test:
  Code:
ffmpeg -i "rtmp://46.105.112.212:1935/live Playpath=mpegts.stream swfUrl=http://www.eska.tv/thrdparty/flowplayer/flowplayer.rtmp-3.1.4.swf pageUrl=http://www.eska.tv/player tcUrl=rtmp://46.105.112.212:1935/live swfVfy=1 live=1"


ffmpeg -i output shows:
  Code:
...
Stream #0:0: Video: h264 (Main), yuv420p, 480x288 [SAR 1:1 DAR 5:3], 563 kb/s, 25 tbr, 1k tbn, 50 tbc
Stream #0:1: Audio: mp3, 44100 Hz, stereo, s16p, 192 kb/s


Seems I got problem with mp3 audio stream.
To solve this problem I had to add aCodec="aac" to the <Matches container="flv" vCodec="h264" aCodec="aac" /> under Sony Bravia TV (2012) profile in <OnlineTranscoding> section.
  Code:
...
<OnlineTranscoding>
   <Video targetContainer="mpegts" forceInheritance="true"> <!-- do not transcode to ac3 -->
      <Matches container="mp4" />
      <Matches container="flv" vCodec="h264" aCodec="aac" />
      <Matches container="applehttp" vCodec="h264" />
   </Video>
   <Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384" DAR="16:9" forceInheritance="true">
      <Matches container="asf" /> <!-- to support mms:// streams -->
      <Matches container="flv" />
   </Video>
</OnlineTranscoding>


Finally the sound came on after this modification of profiles.xml. :)

Re: [Solved] No sound on Sony Bravia 2012 online streams

PostPosted: Wed Jan 02, 2013 4:04 pm
by steve11
Super, is also working on my 2011!!!!

Very Thanks

Steve

Re: [Solved] No sound on Sony Bravia 2012 online streams

PostPosted: Wed Jan 02, 2013 6:42 pm
by moose7
You are welcome.
Seems there is another solution how to fix sound problem, but if you modify the same line with contentType="vod" insted of adding aCodec="aac"
in some streams you will get distorted picture format. For instance instead 16:9 I got 4:3.
like this:
  Code:
...
<Matches container="flv" vCodec="h264" contentType="vod" />
...

Original source: Re: No Sound on Sony KDL-40ex723 online streams by newborn

Re: [Solved] No sound on Sony Bravia 2012 online streams

PostPosted: Wed Jan 02, 2013 9:53 pm
by steve11
Thanks moose7!

Steve

Re: [Solved] No sound on Sony Bravia 2012 online streams

PostPosted: Tue Jan 08, 2013 7:30 pm
by newborn
Interesting, I wonder which is the more correct fix... Zip didn't notice the other thread before it disappeared.

Re: [Solved] No sound on Sony Bravia 2012 online streams

PostPosted: Sat Mar 02, 2013 5:34 pm
by newborn
How can we get these changes moved into 1.3 ? I lost them all on upgrade to 1.2 and lost sound on online streams again.

Re: [Solved] No sound on Sony Bravia 2012 online streams

PostPosted: Sat Mar 02, 2013 5:39 pm
by Illico
newborn wrote:I lost them all on upgrade to 1.2 and lost sound on online streams again.

Your previous profile had to be saved profiles.bak

Re: [Solved] No sound on Sony Bravia 2012 online streams

PostPosted: Sat Mar 02, 2013 5:48 pm
by newborn
Illico wrote:
newborn wrote:I lost them all on upgrade to 1.2 and lost sound on online streams again.

Your previous profile had to be saved profiles.bak


That's cool thanks. I've put in the fix from the first post rather than the change I was using, and I think its probably better. Can we get the change into Serviio 1.3?