[Solved] Sony 2009 Bravia - no sound

Posted:
Thu Jan 03, 2013 8:26 pm
by gjs
I'm a rookie at this, so please bear with me as I learn. I have a Sony XBR9 television. I installed Serviio 1.1, and am using the Sony 2009 Bravia profile. I am trying to play MPEG-2 videos, and Serviio displays them perfectly, but there is no sound. I have searched these forums, and do not see an obvious change to make to the profile to enable the sound.
Suggestions, please.
Re: Sony 2009 Bravia - no sound

Posted:
Thu Jan 03, 2013 8:47 pm
by gjs
I've done a bit more investigating - there is sound on some videos that I have recorded with my smartphone (*.3gp) and a sample that came with Windows (*.wmv). The problem is with the *.mpg files that I am trying to play.
These *.mpg files were originally *.mkv files, but Serviio does not see them in their folder. I converted the *.mkv files to MPEG-2 files using Freemake (
http://www.freemake.com). I hope this helps narrow the "no sound" issue I am experiencing.
Re: Sony 2009 Bravia - no sound

Posted:
Fri Jan 04, 2013 3:32 pm
by gjs
Here are the details on one of the files that displays the video stream correctly but does not have any sound:
- Code:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Program Files\Serviio\lib>ffmpeg.exe -i C:\Users\gjs\videos\HS1E1
.mpg
ffmpeg version N-42368-gbf53863 Copyright (c) 2000-2012 the FFmpeg developers
built on Jul 10 2012 03:40:45 with gcc 4.6.3
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='
-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enab
le-pthreads --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --pkg-config=pk
g-config
libavutil 51. 64.100 / 51. 64.100
libavcodec 54. 33.100 / 54. 33.100
libavformat 54. 15.102 / 54. 15.102
libavdevice 54. 1.100 / 54. 1.100
libavfilter 3. 1.100 / 3. 1.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
Input #0, mpeg, from 'C:\Users\gjs\videos\HS1E1.mpg':
Duration: 00:58:51.07, start: 1.000000, bitrate: 3215 kb/s
Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 1280x720 [SAR 1:1 DAR
16:9], 104857 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 256 kb/s
At least one output file must be specified
Serviio is being run on a computer with Windows 7 Ultimate 64-bit. It is being output to a Sony KDL-46XBR9 television in North America (NTSC).
I hope this helps! Let me know if I should post anything else.
Re: Sony 2009 Bravia - no sound

Posted:
Sat Jan 05, 2013 3:23 pm
by patters
I don't think the 2009 Bravia can play mp2 audio. I had experimented with that once, because FFmpeg's MP2 audio encoder is very efficient and I thought it would help on low powered ARM NAS boxes running Serviio. Can you try re-encoding one of your files with ac3 audio perhaps?
Re: Sony 2009 Bravia - no sound

Posted:
Sat Jan 05, 2013 7:55 pm
by zip
You could try to add this to the 2009 Bravia profile under Transcoding:
- Code:
<Video targetContainer="mpeg" targetACodec="ac3">
<Matches container="mpeg" vCodec="mpeg2video" aCodec="mp2" />
</Video>
Re: Sony 2009 Bravia - no sound

Posted:
Tue Jan 08, 2013 1:13 pm
by gjs
patters wrote:I don't think the 2009 Bravia can play mp2 audio. I had experimented with that once, because FFmpeg's MP2 audio encoder is very efficient and I thought it would help on low powered ARM NAS boxes running Serviio. Can you try re-encoding one of your files with ac3 audio perhaps?
I tried this (encode with AC3 audio), and it worked! Thank you for the suggestion.
I had to use a different video converter (Any Video Converter) as Freemake Video Converter did not offer the option of encoding MPEG-2 with AC3 audio. I also tried encoding with MP3 audio, and that did not work.
Re: Sony 2009 Bravia - no sound

Posted:
Tue Jan 08, 2013 1:14 pm
by gjs
zip wrote:You could try to add this to the 2009 Bravia profile under Transcoding:
- Code:
<Video targetContainer="mpeg" targetACodec="ac3">
<Matches container="mpeg" vCodec="mpeg2video" aCodec="mp2" />
</Video>
I tried this (adding the code to the 2009 Bravia profile) and it worked! Thanks for the tip.
Re: Sony 2009 Bravia - no sound

Posted:
Tue Jan 08, 2013 1:25 pm
by gjs
Quick summaryFor my Sony KDL-XBR9, in North America, the following options all worked to activate sound on files which were already displaying the video component.
Select Sony 2009 Bravia as the profile, and do one of the following:
for an MPEG-2 file, edit the Profiles.xml file, adding the three lines as suggested by Zip;
or alternatively for an MPEG-2 file, re-encode with AC3 audio as suggested by patters;
or convert the file to WMV
Re: Sony 2009 Bravia - no sound

Posted:
Tue Jan 08, 2013 2:03 pm
by zip
I'll add this to the official profile.
Re: Sony 2009 Bravia - no sound

Posted:
Tue Jan 08, 2013 2:26 pm
by gjs
zip wrote:I'll add this to the official profile.
Thanks for the rapid and effective support.
