FAQ  •  Register  •  Login

[Readme] Sony Bravia 2011 series

<<

SeeR

Serviio newbie

Posts: 16

Joined: Thu Apr 07, 2011 6:20 am

Post Mon Mar 18, 2013 7:56 pm

Re: [Readme] Sony Bravia 2011 series

SeeR wrote:Just downloaded version 1.0 and my .avi files from canon camera (mjpeg) stopped working on my KDL-32EX720 (2011 series) but worked on KDL-40EX700 (2010).
I've found that profiles.xml changed for SONY TVs - inheritance was reversed - and it seems that something was missed.

I've added following to "Sony Bravia TV (2011)" profile

  Code:
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3">
            <!-- digital camera video formats -->
            <Matches container="avi" vCodec="mjpeg" />
            <Matches container="mp4" vCodec="mjpeg" />
      </Video>


and it fixed the problem.

Mind that this was not taken from "Sony Bravia TV (2010)" but from "Sony BD Player / SMP" profile.
2010 version didn't showed properly on 2011 TV.


Please update official version


When I downloaded version 1.1 again there was problem with my Canon 4:3 avi/mjpeg movies.
The problem was that the movie was small like 1/3 of the screen.
I've fixed it by removing DAR="16:9" from the sony2012 profile - from which sony2011 and sony2010 inherit.
Changed:
  Code:
<Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="17000" targetACodec="ac3" aBitrate="384" DAR="16:9" forceInheritance="true">

to
  Code:
<Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="17000" targetACodec="ac3" aBitrate="384" forceInheritance="true">

From this moment those movies are too wide (16:9) on my KDL-32EX720 and ok (4:3) on KDL-40EX700 (2010) - but it's still much better than 1/3 of the screen.

The version 1.2 - which I tried yesterday - is much worse.
Now those avi/mjpg files show as small colorfull squares and with correct sound on KDL-32EX720 (2011) and only sound on KDL-40EX700 (2010)
As I checked, seems that nothing changed in profiles.xml so I guess ffmpeg is not transcoding properly

Reversed back to 1.1 :-(
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Mar 18, 2013 9:55 pm

Re: [Readme] Sony Bravia 2011 series

Can you try 1.2 with the latest FFmpeg from here? http://ffmpeg.zeranoe.com/builds/
<<

newborn

Streaming enthusiast

Posts: 39

Joined: Sun Dec 23, 2012 2:38 pm

Post Mon Mar 18, 2013 10:55 pm

Re: [Readme] Sony Bravia 2011 series

A quick update on a hour or 2 of testing that I did. Specifically this seems to relate to H264 MPEG-4 AVC FLV files with AAC (mp4a) Audio.

In Sony 2012 Profile for my model 40 KDL-40NX723 (2011)

First off playing online streams was a problem, there was no audio on some streams. This was fixed by adding the following in green.

<OnlineTranscoding>
<Video targetContainer="mpegts" forceInheritance="true"> <!-- do not transcode to ac3 -->
<Matches container="mp4" />
<Matches container="flv" vCodec="h264" aCodec="aac" /> Added in green
<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>


Also playing 'offline' media was a problem, same issue had picture but no sound. Removing the lines in red solved this.

<!-- Remux containers with h264 video + AC3/AAC audio to MPEG-TS stream without transcoding -->
<Video targetContainer="mpegts" forceInheritance="true">
<Matches container="avi" vCodec="h264" aCodec="ac3" />
<Matches container="avi" vCodec="h264" aCodec="aac" />
<Matches container="matroska" vCodec="h264" aCodec="ac3" />
<Matches container="matroska" vCodec="h264" aCodec="aac" />
<Matches container="flv" vCodec="h264" aCodec="ac3" /> Removed
<Matches container="flv" vCodec="h264" aCodec="aac" /> Removed
</Video>

I don't know if you'd like to update the 'Q: No sound on Sony Bravia 2012 online streams' perhaps in viewtopic.php?f=11&t=2396

Hope this helps someone...

Cheers... newborn!
Last edited by newborn on Tue Mar 19, 2013 12:36 am, edited 1 time in total.
<<

koan00

Streaming enthusiast

Posts: 38

Joined: Mon Feb 20, 2012 7:25 pm

Post Tue Mar 19, 2013 12:25 am

Re: [Readme] Sony Bravia 2011 series

I also remove all of the DAR attributes or else a lot of 4:3 content appears as a small box in the middle of the screen. (2011 Sony Us Profile)
<<

NX3

DLNA master

Posts: 578

Joined: Fri Jan 28, 2011 12:39 pm

Post Sun Mar 24, 2013 6:06 pm

Re: [Readme] Sony Bravia 2011 series

Using latest ffmpeg didn't resolve anything for me, aac audio offline files play with no audio on Sony 2011.

I've played with the profiles in 2012 as 2011 inherits them. I've rem'd one line out

  Code:
<!-- Remux containers with h264 video + AC3/AAC audio to MPEG-TS stream without transcoding -->
   <Video targetContainer="mpegts" forceInheritance="true">
      <Matches container="avi" vCodec="h264" aCodec="ac3" />
      <Matches container="avi" vCodec="h264" aCodec="aac" />
      <Matches container="matroska" vCodec="h264" aCodec="ac3" />
      <!-- <Matches container="matroska" vCodec="h264" aCodec="aac" /> -->
      <Matches container="flv" vCodec="h264" aCodec="ac3" />
   <Matches container="flv" vCodec="h264" aCodec="aac" />
</Video>


Also in the section below

  Code:
         <!-- Remux all other h264 video to MPEG-TS stream with ac3 audio transcoding -->
         <!-- expected profile AVC_TS_MP_HD_AC3_ISO -->
         <Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384" forceInheritance="true">
            <Matches container="avi" vCodec="h264" />
            <Matches container="matroska" vCodec="h264" />
            <Matches container="flv" vCodec="h264" />
            <Matches container="mp4" vCodec="h264" aCodec="mp3" />
            <Matches container="mp4" vCodec="h264" aCodec="lpcm" />
            <!-- if audio different to ac3/aac, it must be transcoded -->
            <Matches container="mpegts" aCodec="mp3" />
            <Matches container="mpegts" aCodec="dca" />
            <Matches container="mpegts" aCodec="lpcm" />
            <!-- add line below -->
            <Matches container="mpegts" aCodec="aac" />
            <Matches container="mpeg" aCodec="dca" />
         </Video>


This gets offline files with aac audio playing on Sony 2011 using Sony 2011 profile for me. Its a fugly work around, it should be in the 2011 section I know but for now this works.
<<

SeeR

Serviio newbie

Posts: 16

Joined: Thu Apr 07, 2011 6:20 am

Post Sun Mar 24, 2013 7:17 pm

Re: [Readme] Sony Bravia 2011 series

zip wrote:Can you try 1.2 with the latest FFmpeg from here? http://ffmpeg.zeranoe.com/builds/


Tried ffmpeg-20130319-git-17c1881-win64-static.7z - I have windows 7 64-bit.
Still same problem - avi/mjpeg are shown as screen full of colorfull squares. Sound is OK.
<<

NX3

DLNA master

Posts: 578

Joined: Fri Jan 28, 2011 12:39 pm

Post Mon Mar 25, 2013 11:02 am

Re: [Readme] Sony Bravia 2011 series

This is the proper fix for aac on Sony 2011 which I hope makes it into the next release.

Leave the Sony2012 section as is, change the Sony2011 transcoding section to the following:

  Code:
      <Transcoding>
         <Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384" forceInheritance="true">
            <!-- if audio aac, it must be transcoded to ac3 -->
            <Matches container="matroska" aCodec="aac" />
            <Matches container="mp4" aCodec="aac" />
            <Matches container="avi" aCodec="aac" />
            <Matches container="flv" vCodec="h264" aCodec="aac" />
         </Video>         
         <!-- Transcode audio MP4 -->
         <Audio targetContainer="lpcm" forceInheritance="true">
            <!-- To allow "pause" then "resume" functions and album art for TVs that support it - transcode to mp3 instead -->
            <Matches container="mp4" />
         </Audio>
      </Transcoding>
<<

newborn

Streaming enthusiast

Posts: 39

Joined: Sun Dec 23, 2012 2:38 pm

Post Mon Mar 25, 2013 1:01 pm

Re: [Readme] Sony Bravia 2011 series

NX3 wrote:This is the proper fix for aac on Sony 2011 which I hope makes it into the next release.

Leave the Sony2012 section as is, change the Sony2011 transcoding section to the following:

  Code:
      <Transcoding>
         <Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384" forceInheritance="true">
            <!-- if audio aac, it must be transcoded to ac3 -->
            <Matches container="matroska" aCodec="aac" />
            <Matches container="mp4" aCodec="aac" />
            <Matches container="avi" aCodec="aac" />
            <Matches container="flv" vCodec="h264" aCodec="aac" />
         </Video>         
         <!-- Transcode audio MP4 -->
         <Audio targetContainer="lpcm" forceInheritance="true">
            <!-- To allow "pause" then "resume" functions and album art for TVs that support it - transcode to mp3 instead -->
            <Matches container="mp4" />
         </Audio>
      </Transcoding>


Interesting. In my above post I commented out the flv lines rather than the matroska line, which got offline aac files working for me. I'll certainly have a go at reverting my changes and trying your change out though.
<<

NX3

DLNA master

Posts: 578

Joined: Fri Jan 28, 2011 12:39 pm

Post Mon Mar 25, 2013 3:57 pm

Re: [Readme] Sony Bravia 2011 series

Well my issue was mkv's with aac audio so it followed thats what needed to be added to the profile. Depends on your file type...
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Mon Mar 25, 2013 8:46 pm

Re: [Readme] Sony Bravia 2011 series

Do you think that the following could be used ?

  Code:
      <Transcoding>
         <Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384" forceInheritance="true">
            <!-- if audio aac, it must be transcoded to ac3 -->
            <Matches container="*" aCodec="aac" />
         </Video>         
         <!-- Transcode audio MP4 -->
         <Audio targetContainer="lpcm" forceInheritance="true">
            <!-- To allow "pause" then "resume" functions and album art for TVs that support it - transcode to mp3 instead -->
            <Matches container="mp4" />
         </Audio>
      </Transcoding>
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

NX3

DLNA master

Posts: 578

Joined: Fri Jan 28, 2011 12:39 pm

Post Tue Mar 26, 2013 10:17 am

Re: [Readme] Sony Bravia 2011 series

Ok yeah that's a smarter way to do it, cheers Illico :)
<<

steve11

Serviio newbie

Posts: 14

Joined: Tue Nov 20, 2012 1:33 pm

Post Tue Mar 26, 2013 12:32 pm

Re: [Readme] Sony Bravia 2011 series

Hello guys,

can you please the file profiles.xml for download in the Forum?
Would be really nice!

Thank you
Steven
<<

NX3

DLNA master

Posts: 578

Joined: Fri Jan 28, 2011 12:39 pm

Post Tue Mar 26, 2013 2:56 pm

Re: [Readme] Sony Bravia 2011 series

Uploaded as requested...

I've noticed that the m4v now have no picture but audio so some tweaking still needed but I've not investigated it yet.
Attachments
profiles.rar
(9.45 KiB) Downloaded 447 times
<<

steve11

Serviio newbie

Posts: 14

Joined: Tue Nov 20, 2012 1:33 pm

Post Tue Mar 26, 2013 3:40 pm

Re: [Readme] Sony Bravia 2011 series

Hello,
the profile does not work well for me.
I had online no sound and the movie was compressed. In the case of external subtitles (SRT) was the movie is also compressed.
These changes in the profile in 2012 was my solution:
---------------------------------------------
<OnlineTranscoding>
<Video targetContainer="mpegts" forceInheritance="true"> <!-- do not transcode to ac3 -->
<Matches container="mp4" />
<Matches container="flv" vCodec="h264" aCodec="aac" /> Added aCodec=
<Matches container="applehttp" vCodec="h264" />
</Video>
<Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384" DAR="16:9" forceInheritance="true"> remove DAR=16:9
<Matches container="asf" /> <!-- to support mms:// streams -->
<Matches container="flv" />
</Video>
</OnlineTranscoding>
HardSubsTranscoding>
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" maxVBitrate="17000" aBitrate="384" DAR="16:9" /> remove DAR=16:9
<<

NX3

DLNA master

Posts: 578

Joined: Fri Jan 28, 2011 12:39 pm

Post Tue Mar 26, 2013 5:07 pm

Re: [Readme] Sony Bravia 2011 series

Steve11, what Sony do you have, model, year, region ?

My profile was only to fix aac audio being silent on locally stored media. The online audio aac was fixed in version 1.2.

When you say 'compressed' do you mean the image isn't full screen ?

What format are the files your playing ?

Online streams with this format audio don't work.
"Stream #0:1: Audio: mp3, 22050 Hz, mono, s16p, 48 kb/s"

This fixes the audio by transcoding to AC3, is that preferable to lcpm ? Not sure it makes much difference other than lower bandwidth requirements. This is the cleaned up version of v1.2 profile to wildcard all aac to ac3 rather than by container type as suggested.
  Code:
<OnlineTranscoding>
   <!-- Online AAC video streams miss sound, must transcode to ac3 -->
   <Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384" forceInheritance="true">
      <Matches container="*" aCodec="aac" />
      <!-- Online MP3 audio low bitrate mono must be transcoded to play -->
      <Matches container="*" aCodec="mp3" />                        
   </Video>


and video online with this spec isn't working
"Stream #0:0: Video: h264 (High), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 300 kb/s, 125 tbr, 1k tbn, 250 tbc"

The log for this is

  Code:
2013-03-26 20:36:12,581 DEBUG [ProcessExecutor] Starting ffmpeg -analyzeduration 10000000 -fflags +genpts -threads 4 -i rtmp://212.7.212.37:1935/live playpath=esesesggg pageUrl=http://www.yycast.com/embed.php?fileid=esesesggg swfUrl=http://cdn.yycast.com/player/player.swf live=1 -y -c:v copy -bsf:v h264_mp4toannexb -c:a ac3 -b:a 384k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts pipe:
2013-03-26 20:36:16,582 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtmp://212.7.212.37:1935/live playpath=esesesggg pageUrl=http://www.yycast.com/embed.php?fileid=esesesggg swfUrl=http://cdn.yycast.com/player/player.swf live=1: AVC_TS_MP_SD_AC3_ISO


Not sure how I fix that in the Sony2011 profile, its a flash stream so I need to specify that flv (?) with h264 is transcoded to mpeg2 but I don't want that to happen for all as TED, iPlayer, Youtube all work fine so just want to identify this stream some how... any suggestions ?
Previous

Return to Sony

Who is online

Users browsing this forum: No registered users and 41 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.