FAQ  •  Register  •  Login

Sony kdl 40W5500

<<

thorolason

Serviio newbie

Posts: 3

Joined: Sun Jan 26, 2014 12:55 pm

Post Sun Jan 26, 2014 1:09 pm

Sony kdl 40W5500

Hi I'm using Sony kdl 40W5500 which is defaulting to the sony 2009 profile. Serviio is running on a ubuntu 13.10 and I have compiled ffmpeg and lame etc from the reconmended source.

i have problems with 2 type of files, some (not all) mkv files and then .mpg files from my sony DSC-H9 camera.
____________________________________________________________________________________________
First the mkv files, notice this is not all mkv file but some like this one plays on double or tripple speed on the TV

serviio@server:/tmp$ ffmpeg -i bla.mkv
ffmpeg version 1.1.git Copyright (c) 2000-2013 the FFmpeg developers
built on Jan 26 2014 10:38:05 with gcc 4.8 (Ubuntu/Linaro 4.8.1-10ubuntu9)
configuration: --prefix=/home/serviio/serviio-1.4/codecs/
libavutil 52. 37.101 / 52. 37.101
libavcodec 55. 16.100 / 55. 16.100
libavformat 55. 9.100 / 55. 9.100
libavdevice 55. 2.100 / 55. 2.100
libavfilter 3. 77.101 / 3. 77.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
Input #0, matroska,webm, from 'bla.mkv':
Duration: 00:23:55.07, start: 0.000000, bitrate: 839 kb/s
Stream #0:0(eng): Video: h264 (Main), yuv420p, 640x480, SAR 1:1 DAR 4:3, 29.97 fps, 29.97 tbr, 1k tbn, 180k tbc (default)
Stream #0:1: Audio: aac, 44100 Hz, stereo, fltp (default)
___________________________________________________________________________________--

The .mpg files from the sony camera "play" there is sound but no video.

serviio@server:/tmp$ ffmpeg -i bla.mpg
ffmpeg version 1.1.git Copyright (c) 2000-2013 the FFmpeg developers
built on Jan 26 2014 10:38:05 with gcc 4.8 (Ubuntu/Linaro 4.8.1-10ubuntu9)
configuration: --prefix=/home/serviio/serviio-1.4/codecs/
libavutil 52. 37.101 / 52. 37.101
libavcodec 55. 16.100 / 55. 16.100
libavformat 55. 9.100 / 55. 9.100
libavdevice 55. 2.100 / 55. 2.100
libavfilter 3. 77.101 / 3. 77.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
[mpeg @ 0x9126dc0] max_analyze_duration 5000000 reached at 5004000 microseconds
Input #0, mpeg, from 'bla.mpg':
Duration: 00:02:50.92, start: 0.110000, bitrate: 2913 kb/s
Stream #0:0[0x1c0]: Audio: mp2, 32000 Hz, mono, s16p, 64 kb/s
Stream #0:1[0x1e0]: Video: mpeg1video, yuv420p, 640x480 [SAR 1:1 DAR 4:3], 104857 kb/s, 25 fps, 25 tbr, 90k tbn, 25 tbc

____________________________________________________________________________
any hints are welcome.

Cheers - Thor
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Sun Jan 26, 2014 7:24 pm

Re: Sony kdl 40W5500

thorolason wrote:First the mkv files, notice this is not all mkv file but some like this one plays on double or tripple speed on the TV

serviio@server:/tmp$ ffmpeg -i bla.mkv
ffmpeg version 1.1.git Copyright (c) 2000-2013 the FFmpeg developers
built on Jan 26 2014 10:38:05 with gcc 4.8 (Ubuntu/Linaro 4.8.1-10ubuntu9)
configuration: --prefix=/home/serviio/serviio-1.4/codecs/
libavutil 52. 37.101 / 52. 37.101
libavcodec 55. 16.100 / 55. 16.100
libavformat 55. 9.100 / 55. 9.100
libavdevice 55. 2.100 / 55. 2.100
libavfilter 3. 77.101 / 3. 77.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
Input #0, matroska,webm, from 'bla.mkv':
Duration: 00:23:55.07, start: 0.000000, bitrate: 839 kb/s
Stream #0:0(eng): Video: h264 (Main), yuv420p, 640x480, SAR 1:1 DAR 4:3, 29.97 fps, 29.97 tbr, 1k tbn, 180k tbc (default)
Stream #0:1: Audio: aac, 44100 Hz, stereo, fltp (default)


This file should be remuxed into mpegts/h264/AAC without change video and audio track, so there were probably something on the h264 encoding or resolution that 2009 model does not support.


thorolason wrote:The .mpg files from the sony camera "play" there is sound but no video.
serviio@server:/tmp$ ffmpeg -i bla.mpg
ffmpeg version 1.1.git Copyright (c) 2000-2013 the FFmpeg developers
built on Jan 26 2014 10:38:05 with gcc 4.8 (Ubuntu/Linaro 4.8.1-10ubuntu9)
configuration: --prefix=/home/serviio/serviio-1.4/codecs/
libavutil 52. 37.101 / 52. 37.101
libavcodec 55. 16.100 / 55. 16.100
libavformat 55. 9.100 / 55. 9.100
libavdevice 55. 2.100 / 55. 2.100
libavfilter 3. 77.101 / 3. 77.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
[mpeg @ 0x9126dc0] max_analyze_duration 5000000 reached at 5004000 microseconds
Input #0, mpeg, from 'bla.mpg':
Duration: 00:02:50.92, start: 0.110000, bitrate: 2913 kb/s
Stream #0:0[0x1c0]: Audio: mp2, 32000 Hz, mono, s16p, 64 kb/s
Stream #0:1[0x1e0]: Video: mpeg1video, yuv420p, 640x480 [SAR 1:1 DAR 4:3], 104857 kb/s, 25 fps, 25 tbr, 90k tbn, 25 tbc


So it seems that 2009 model does not support MPEGPS/MPEG1/MP2

Could you edit the 2009 profile like this ?
  Code:
   <Profile id="sony2009" name="Sony Bravia TV (2009)" extendsProfileId="sony2010">
      <!-- 2009 and earlier models need a separate profile -->
      <Detection>
         <UPnPSearch>
            <!-- 2009 models known to support UPnPSearch -->
            <FriendlyName>BRAVIA KDL-\d{2}(WE5|(E53|E55|V55|V56|W55|W57|Z55|Z57)\d0) *</FriendlyName>
         </UPnPSearch>
         <HttpHeaders>
            <!-- 2008 models, and possibly older or different region 2009 firmwares which may not support UPnPSearch -->
            <X-AV-Client-Info>.*BRAVIA KDL-\d{2}(([A-Z](1|5|E1|R1|BR45|BR9|[1357]0\d{2}|4\d{3}))|(S55|S57|W51|Z51|Z58)\d0).*</X-AV-Client-Info>
         </HttpHeaders>
      </Detection>
      <Transcoding>
         <!-- Transcode baseline h264 in mp4/non-isom container -->
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="17000" targetACodec="ac3" aBitrate="192" DAR="16:9">
            <Matches container="mp4" vCodec="h264" profile="baseline" ftypNotIn="isom" />
            <Matches container="mpeg" vCodec="mpeg1video" aCodec="mp2" />
         </Video>
         <Video targetContainer="mpeg" targetACodec="ac3">
            <Matches container="mpeg" vCodec="mpeg2video" aCodec="mp2" />
         </Video>
      </Transcoding>
      <OnlineTranscoding>
         <!-- Transcode baseline h264 in mp4/non-isom container -->
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="17000" targetACodec="ac3" aBitrate="192" DAR="16:9">
            <Matches container="mp4" vCodec="h264" profile="baseline" ftypNotIn="isom" />
         </Video>
      </OnlineTranscoding>
   </Profile>
<<

thorolason

Serviio newbie

Posts: 3

Joined: Sun Jan 26, 2014 12:55 pm

Post Sun Jan 26, 2014 9:07 pm

Re: Sony kdl 40W5500

Thanks, that fixed the more important one :-) the .mpg files are playing correctly now.
Any Idea how to get .mkv file to slow down.

Here is fx an mkv file that plays normally..
serviio@server:/tmp$ ffmpeg -i bla2.mkv
ffmpeg version 1.1.git Copyright (c) 2000-2013 the FFmpeg developers
built on Jan 26 2014 10:38:05 with gcc 4.8 (Ubuntu/Linaro 4.8.1-10ubuntu9)
configuration: --prefix=/home/pc5dczcbl5yt/serviio-1.4/codecs/
libavutil 52. 37.101 / 52. 37.101
libavcodec 55. 16.100 / 55. 16.100
libavformat 55. 9.100 / 55. 9.100
libavdevice 55. 2.100 / 55. 2.100
libavfilter 3. 77.101 / 3. 77.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
Input #0, matroska,webm, from 'bla2.mkv':
Metadata:
creation_time : 2010-05-25 16:51:28
Duration: 00:07:00.08, start: 0.000000, bitrate: 3717 kb/s
Stream #0:0: Video: h264 (High), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 1k tbn, 50 tbc (default)
Stream #0:1: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s (default)
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Mon Jan 27, 2014 8:02 am

Re: Sony kdl 40W5500

thorolason wrote:Any Idea how to get .mkv file to slow down.

No...Could you provide MadiaInfo tool result (in text format) ?
<<

thorolason

Serviio newbie

Posts: 3

Joined: Sun Jan 26, 2014 12:55 pm

Post Mon Jan 27, 2014 7:54 pm

Re: Sony kdl 40W5500

rigth here is the output.


serviio@server:/tmp$ mediainfo bla.mkv
General
Unique ID : 273270060647987510504588807547635344206 (0xCDB5E63676E554EE339A58D3C864DBAE)
Complete name : bla.mkv
Format : Matroska
Format version : Version 2
File size : 144 MiB
Duration : 23mn 55s
Overall bit rate : 839 Kbps
Writing application : HandBrake 0.9.8
Writing library : libmkv 0.6.5

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L3.0
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 23mn 55s
Width : 640 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 29.970 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Writing library : x264 core 120
Encoding settings : cabac=1 / ref=1 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=2 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=300 / keyint_min=30 / scenecut=40 / intra_refresh=0 / rc_lookahead=10 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=3 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language : English
Default : Yes
Forced : No
Color primaries : BT.601 NTSC
Transfer characteristics : BT.709
Matrix coefficients : BT.601

Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : A_AAC
Duration : 23mn 55s
Channel count : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 KHz
Compression mode : Lossy
Default : Yes
Forced : No

Return to Sony

Who is online

Users browsing this forum: No registered users and 52 guests

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