Page 1 of 2

[SOLVED] Sony CX520

PostPosted: Sat Dec 21, 2013 7:01 pm
by Crni03
Hi!
I have sony bravia KDL40CX520
I'm useing sony 2011 profile. When I enable subtitles picture is not full screen. Depending on a file, but i allways have huge glack lines on top and bottom,
and on some files they are on the side to. Like i'm watching 16:9 movie on 4:3 screen.
I searched for answers, but find none

Re: Sony CX520

PostPosted: Sat Dec 21, 2013 7:18 pm
by Illico
Do you try with "Sony 2011 US profile" ( select it on serviio console) ?

Re: Sony CX520

PostPosted: Sat Dec 21, 2013 7:39 pm
by Crni03
tryed all sony profiles.

Update:
Avi - divx is ok, but xvid is not.
MP4 is ok.
MKV is not ok.
Played avatar.mkv Video: MPEG4 Video (H264) 1920x1080 23.976fps
It is full screen but it's glitching

Re: Sony CX520

PostPosted: Sat Dec 21, 2013 9:31 pm
by Crni03
solved it!
deleted DAR="16:9" from <HardSubsTranscoding>
now it's full screen, but it's still glitchering while playing 1080p with big bitrate.

Re: Sony CX520

PostPosted: Sun Dec 22, 2013 8:50 am
by Illico
Nice...what is your TV location, US, CA, EU, UK, ASIA ?

Re: Sony CX520

PostPosted: Sun Dec 22, 2013 12:56 pm
by Crni03
I'm in EU - Croatia

is there a way to solve glitches when transcoding subtitles?
Install some codec so that the part of the job goes trough the graphic card.
Serviio serves hi bitrate with no problem without subtitles, but as soon subtitles are enabled its no good.
lo bitrate works fine.
I got Win7 4gb ram dual core 2.6 intel with AMD Radeon HD 6570
Not much, but it should work fine.

Re: Sony CX520

PostPosted: Sun Dec 22, 2013 3:18 pm
by Illico
Crni03 wrote:Install some codec so that the part of the job goes trough the graphic card.

Nothing to do with codec install or graphic card. This is serviio/ffmpeg that transcode the file (when sub enabled).
For hi bitrate, with sub enable, you have to wait that serviio/ffmpeg transcode all the movie... you can try make a pause, wait serviio/ffmpeg to finish transcoding, then resume the movie.

Re: Sony CX520

PostPosted: Sun Dec 22, 2013 3:41 pm
by Crni03
Thanx 4 the info!
I used another media server and it glitches 2 but when i fast forward it goes on desired position.
bad thing about that one is that it serves folders, no media library.

Re: Sony CX520

PostPosted: Sun Dec 22, 2013 7:56 pm
by Crni03
I got a blueray player with network oprion and when i play a hi bit mkv with embeded sub it works fine.
No transkoding.
there is no pioneer profile and serviio desplays it as unrecognized device.
But that's another topic, i guess.

Re: Sony CX520

PostPosted: Sun Dec 22, 2013 8:16 pm
by Illico
Crni03 wrote:But that's another topic, i guess.

Yes please.

For high bitrate problem, do you try to change the value on profiles.xml ? maxVBitrate="17000", try with lower value, 10000, 5000...

Re: Sony CX520

PostPosted: Sun Dec 22, 2013 9:50 pm
by Crni03
in what setting? HardSubsTranscoding or in all?

Re: Sony CX520

PostPosted: Sun Apr 20, 2014 11:13 pm
by Crni03
Hi!

Just to report a little problem.
Tried to play the movie, work fine without the subtitles. When i put external subtitles, it wont play.
Here's movie info

Format : Matroska
Format version : Version 4 / Version 2
File size : 4.37 GiB
Duration : 1h 32mn
Overall bit rate : 6 750 Kbps
Encoded date : UTC 2014-04-20 22:54:29
Writing application : mkvmerge v6.9.1 ('Blue Panther') 64bit built on Apr 18 2014 18:23:38
Writing library : libebml v1.3.0 + libmatroska v1.4.1

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 32mn
Bit rate : 5 240 Kbps
Width : 1 280 pixels
Height : 528 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.323
Stream size : 3.30 GiB (76%)
Writing library : x264 core 142 r2389 956c8d8
Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / 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=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=5240 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Default : Yes
Forced : No

Audio
ID : 2
Format : DTS
Format/Info : Digital Theater Systems
Mode : 16
Format settings, Endianness : Big
Codec ID : A_DTS
Duration : 1h 32mn
Bit rate mode : Constant
Bit rate : 1 509 Kbps
Channel count : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 1 000 MiB (22%)
Language : English
Default : Yes
Forced : No

Re: Sony CX520

PostPosted: Mon Apr 21, 2014 6:40 pm
by Illico
Does your file is on a remote network location ?
Could you enable detailed logging and check what's happen during playing?

Re: Sony CX520

PostPosted: Thu Apr 24, 2014 10:29 pm
by Crni03
The movie is on my serever computer, connected via LAN.
I'll enable detailed log asap and post it here.

Re: Sony CX520

PostPosted: Sun Apr 27, 2014 8:38 pm
by Crni03
Here it is!!! I guess! :)

2014-04-27 22:35:34,288 DEBUG [ProcessExecutor] Starting C:\Program Files\Serviio\bin\\..\lib/ffmpeg.exe -threads 2 -ss 120 -i G:\FILMOVI\Harry Potter Complete Story Collection\Harry Potter 5 Harry Potter And The Order Of The Phoenix (2007).mkv -an -frames:v 1 -f image2 pipe:
2014-04-27 22:35:36,244 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2014-04-27 22:35:36,244 DEBUG [LocalContentCacheDecorator] Cleared cache (local_default)
2014-04-27 22:35:41,670 DEBUG [ServiioHttpService] Incoming request from /192.168.0.10:33252: HEAD /resource/13534/MEDIA_ITEM/MPEG_TS_SD_EU_ISO-0/ORIGINAL HTTP/1.1, headers = [getcontentFeatures.dlna.org: 1,Pragma: getIfoFileURI.dlna.org,transferMode.dlna.org: Streaming,X-AV-Physical-Unit-Info: pa="BRAVIA KDL-40CX520";,X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="BRAVIA KDL-40CX520"; mv="1.7";,Host: 192.168.0.11:8895]]
2014-04-27 22:35:41,670 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.10
2014-04-27 22:35:41,671 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.10
2014-04-27 22:35:41,671 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.0.10, Profile=Sony Bravia TV (2011)'
2014-04-27 22:35:41,671 DEBUG [ResourceDeliveryProcessor] Request for resource 13534 and type 'MEDIA_ITEM' received
2014-04-27 22:35:41,671 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 13534 (local)
2014-04-27 22:35:41,672 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 13534, format MPEG_TS_SD_EU_ISO and profile Sony Bravia TV (2011)
2014-04-27 22:35:41,673 DEBUG [SubtitlesService] Found external subtitle file: G:\FILMOVI\Metallica Kolekcija\MetallicA - Through The Never (2013) limited.720p.bluray.x264.srt
2014-04-27 22:35:41,674 DEBUG [SubtitlesService] Found external subtitle file: G:\FILMOVI\Metallica Kolekcija\MetallicA - Through The Never (2013) limited.720p.bluray.x264.srt
2014-04-27 22:35:41,674 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file MetallicA - Through The Never (2013) limited.720p.bluray.x264.mkv
2014-04-27 22:35:41,674 DEBUG [SubtitlesService] Found external subtitle file: G:\FILMOVI\Metallica Kolekcija\MetallicA - Through The Never (2013) limited.720p.bluray.x264.srt
2014-04-27 22:35:41,675 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file MetallicA - Through The Never (2013) limited.720p.bluray.x264.mkv: MPEG_TS_SD_EU_ISO
2014-04-27 22:35:41,675 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file MetallicA - Through The Never (2013) limited.720p.bluray.x264.mkv: MPEG_TS_SD_NA_ISO
2014-04-27 22:35:41,675 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file MetallicA - Through The Never (2013) limited.720p.bluray.x264.mkv: MPEG_TS_SD_KO_ISO
2014-04-27 22:35:41,675 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Date: Sun, 27 Apr 2014 20:35:41 GMT,Server: Windows 7, UPnP/1.0 DLNADOC/1.50, Serviio/1.4.1.2,Cache-control: no-cache,contentFeatures.dlna.org: DLNA.ORG_PN=MPEG_TS_SD_EU_ISO;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000,transferMode.dlna.org: Streaming,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*]]
2014-04-27 22:35:41,680 DEBUG [ServiioHttpService] Incoming request from /192.168.0.10:33253: GET /resource/13534/MEDIA_ITEM/MPEG_TS_SD_EU_ISO-0/ORIGINAL HTTP/1.1, headers = [TimeSeekRange.dlna.org: npt=0.000-,getcontentFeatures.dlna.org: 1,Pragma: getIfoFileURI.dlna.org,transferMode.dlna.org: Streaming,X-AV-Physical-Unit-Info: pa="BRAVIA KDL-40CX520";,X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="BRAVIA KDL-40CX520"; mv="1.7";,Host: 192.168.0.11:8895]]
2014-04-27 22:35:41,680 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.10
2014-04-27 22:35:41,681 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.10
2014-04-27 22:35:41,681 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.0.10, Profile=Sony Bravia TV (2011)'
2014-04-27 22:35:41,681 DEBUG [ResourceDeliveryProcessor] Request for resource 13534 and type 'MEDIA_ITEM' received
2014-04-27 22:35:41,681 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 13534 (local)
2014-04-27 22:35:41,682 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 13534, format MPEG_TS_SD_EU_ISO and profile Sony Bravia TV (2011)
2014-04-27 22:35:41,683 DEBUG [SubtitlesService] Found external subtitle file: G:\FILMOVI\Metallica Kolekcija\MetallicA - Through The Never (2013) limited.720p.bluray.x264.srt
2014-04-27 22:35:41,683 DEBUG [SubtitlesService] Found external subtitle file: G:\FILMOVI\Metallica Kolekcija\MetallicA - Through The Never (2013) limited.720p.bluray.x264.srt
2014-04-27 22:35:41,684 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file MetallicA - Through The Never (2013) limited.720p.bluray.x264.mkv
2014-04-27 22:35:41,684 DEBUG [SubtitlesService] Found external subtitle file: G:\FILMOVI\Metallica Kolekcija\MetallicA - Through The Never (2013) limited.720p.bluray.x264.srt
2014-04-27 22:35:41,684 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file MetallicA - Through The Never (2013) limited.720p.bluray.x264.mkv: MPEG_TS_SD_EU_ISO
2014-04-27 22:35:41,684 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file MetallicA - Through The Never (2013) limited.720p.bluray.x264.mkv: MPEG_TS_SD_NA_ISO
2014-04-27 22:35:41,684 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file MetallicA - Through The Never (2013) limited.720p.bluray.x264.mkv: MPEG_TS_SD_KO_ISO
2014-04-27 22:35:41,685 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 13534 (local)
2014-04-27 22:35:41,685 DEBUG [VideoDeliveryEngine] Delivering item '13534' for client 'Identifier=192.168.0.10, Profile=Sony Bravia TV (2011)'
2014-04-27 22:35:41,686 DEBUG [SubtitlesService] Found external subtitle file: G:\FILMOVI\Metallica Kolekcija\MetallicA - Through The Never (2013) limited.720p.bluray.x264.srt
2014-04-27 22:35:41,687 DEBUG [SubtitlesService] Found external subtitle file: G:\FILMOVI\Metallica Kolekcija\MetallicA - Through The Never (2013) limited.720p.bluray.x264.srt
2014-04-27 22:35:41,687 DEBUG [VideoDeliveryEngine] Delivering file 'MetallicA - Through The Never (2013) limited.720p.bluray.x264.mkv' using transcoding
2014-04-27 22:35:41,687 DEBUG [SubtitlesService] Found external subtitle file: G:\FILMOVI\Metallica Kolekcija\MetallicA - Through The Never (2013) limited.720p.bluray.x264.srt
2014-04-27 22:35:41,688 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'Identifier=192.168.0.10, Profile=Sony Bravia TV (2011)'
2014-04-27 22:35:41,689 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: G:\FILMOVI\Metallica Kolekcija\MetallicA - Through The Never (2013) limited.720p.bluray.x264.mkv
2014-04-27 22:35:41,689 DEBUG [ProcessExecutor] Starting C:\Program Files\Serviio\bin\\..\lib/ffmpeg.exe -threads 2 -i G:\FILMOVI\Metallica Kolekcija\MetallicA - Through The Never (2013) limited.720p.bluray.x264.mkv -y -threads 2 -c:v mpeg2video -pix_fmt yuv420p -b:v 7000k -maxrate:v 7000k -bufsize:v 7000k -vf subtitles=filename="G\\:/FILMOVI/Metallica Kolekcija/MetallicA - Through The Never (2013) limited.720p.bluray.x264.srt":original_size=1280x528:charenc=UTF-8 -r 24000/1001 -g 15 -c:a ac3 -b:a 384k -ac 6 -map 0:0 -map 0:1 -sn -f mpegts C:\Windows\Temp\Serviio\transcoding-temp-13534-sony2011-ORIGINAL-b4f2bce2ad96186b344aa636ed581422.stf
2014-04-27 22:35:41,801 WARN [ProcessExecutor] Process cmd has a return code of 1! This is a possible error. Detailed output follows.
Stream #0:1(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s (default)
Stream #0:2(srp): Subtitle: subrip (default)
[Parsed_subtitles_0 @ 035455C0] Unable to open G:/FILMOVI/Metallica Kolekcija/MetallicA - Through The Never (2013) limited.720p.bluray.x264.srt
[AVFilterGraph @ 03D72FA0] Error initializing filter 'subtitles' with args 'filename=G\:/FILMOVI/Metallica Kolekcija/MetallicA - Through The Never (2013) limited.720p.bluray.x264.srt:original_size=1280x528:charenc=UTF-8'
Error opening filters!
2014-04-27 22:35:41,801 DEBUG [TranscodingJobListener] Transcoding finished; successful: false
2014-04-27 22:35:43,026 DEBUG [ImageUtils] Starting image resize, size = 158902 bytes
2014-04-27 22:35:43,074 DEBUG [ImageUtils] Returning resized image, size = 21858 bytes
2014-04-27 22:35:43,074 DEBUG [ImageUtils] Starting image resize, size = 21858 bytes
2014-04-27 22:35:43,087 DEBUG [ImageUtils] Returning resized image, size = 7134 bytes

Re: Sony CX520

PostPosted: Mon Apr 28, 2014 8:34 am
by Illico
According to the log, there is a problem opening the external srt file :
[AVFilterGraph @ 03D72FA0] Error initializing filter 'subtitles' with args 'filename=G\:/FILMOVI/Metallica Kolekcija/MetallicA - Through The Never (2013) limited.720p.bluray.x264.srt:original_size=1280x528:charenc=UTF-8'
Error opening filters!


Make backup of your srt file and try this tool to check your file.

Open the srt file with Notepad++ and check on encoding menu, the encoding charset used by your srt file.

Re: Sony CX520

PostPosted: Mon May 19, 2014 4:59 pm
by Crni03
Thanx!

Re: Sony CX520

PostPosted: Mon May 19, 2014 6:22 pm
by Illico
Crni03 wrote:Thanx!


Is it Ok now ?

Re: Sony CX520

PostPosted: Mon Jun 30, 2014 9:01 pm
by Crni03
It's ok.
Sorry for the late reply...

Re: [SOLVED] Sony CX520

PostPosted: Tue May 03, 2016 6:41 pm
by Crni03
Hello again,
i tried to play this fole but it dowsn't transcode.
Here's media info


General
Complete name : G:\CRTANI\Dora Istražuje\Sezona 1\Dora the Explorer S01E25 - Kućica na drvu.avi
Format : AVI
Format/Info : Audio Video Interleave
File size : 188 MiB
Duration : 23mn 6s
Overall bit rate : 1 138 Kbps
Movie name : Title 4
Genre : Child's
Original source form/Name : Cartoon Serial
Copyright : http://ms-crtanifilmovi.blogspot.com

Video
ID : 0
Format : MPEG-4 Visual
Format settings, BVOP : 1
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default (H.263)
Muxing mode : Packed bitstream
Codec ID : DX50
Codec ID/Hint : DivX 5
Duration : 23mn 6s
Bit rate : 1 000 Kbps
Width : 700 pixels
Height : 524 pixels
Display aspect ratio : 4:3
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.109
Stream size : 165 MiB (88%)
Title : Video
Writing library : DivX 6.2.5 (UTC 2006-06-16)

Audio
ID : 1
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Codec ID : 55
Codec ID/Hint : MP3
Duration : 23mn 6s
Bit rate mode : Constant
Bit rate : 128 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 21.2 MiB (11%)
Alignment : Split accross interleaves
Interleave, duration : 40 ms (1.00 video frame)
Interleave, preload duratio : 50 ms
Title : Audio
Language : Undefined





Thanx!