Sony Bravia 2012 - problem with transcoding from Synology

Posted:
Thu Mar 28, 2013 12:46 am
by bobosan
Hello,
I have just installed Serviio on my Synology DS413j and it works great.
However I have problem with one video file with the following parameters:
File: 1.36 GB (1.36 GB), time 1:34:00, type: AVI, 1 path, audio, quality 83 %, VirtualDubMod 1.5.4.1 (build 2178/release), ,
Video : 1.11 GB, 1698 Kbps, 25.0 fps, res. 640*368 (16:9), XVID = XVID Mpeg-4, Supported
Audio : 258 MB, 384 Kbps, 48000 Hz, 6 channels, 0x2000 = AC3 DVM, CBR, , Supported
When I try to play this movie on my Sony Bravia KDL-22EX550 or KDL-40HX850 via DLNA I get message that the it is impossible to play that file.
I expect the problem with transcoding of audio from AC3 DVM. I tried to play with profiles.xml but without result

Please help!!! I would like to avoid offline transcoding.
Re: Sony Bravia 2012 - problem with transcoding from Synolog

Posted:
Thu Mar 28, 2013 8:52 am
by Illico
Check on
detailed logging to see if this file was delivered in native avi format or if it was transcoded (then check ffmpeg command line used).
Re: Sony Bravia 2012 - problem with transcoding from Synolog

Posted:
Mon Apr 01, 2013 6:34 pm
by bobosan
Thank you for a tip. I have changed the file /volume1/@appstore/Serviio/config/log4j.xml as described in the referenced post i.e. set up DEBUG mode.
No I am scanning files *.log.* in /volume1/@appstore/Serviio/log but I cannot find any entry regarding the video file (avi) which I want to display on TV.
I am looking for a name of a file - without success. What is done wrong by me?
Re: Sony Bravia 2012 - problem with transcoding from Synolog

Posted:
Tue Apr 02, 2013 4:33 pm
by bobosan
It seems that previously serviio was overloaded with building library and does not logged ever action.
Please find below the part of log file regarding the file. It is delivered without transcoding.
2013-04-02 18:24:58,424 DEBUG [VideoDeliveryEngine] Delivering item '2992' for client 'Identifier=192.168.1.192, Profile=Sony Bravia TV (2012)'
2013-04-02 18:24:58,426 DEBUG [VideoDeliveryEngine] Delivering file 'Fraglesy.01.Poczatek.avi' in native format
2013-04-02 18:24:58,426 DEBUG [MediaItemDAOImpl] Getting file of media item 52992
2013-04-02 18:24:58,427 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 52992) as read
2013-04-02 18:24:58,589 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2013-04-02 18:24:58,589 DEBUG [GETMethodProcessor] Stream entity has length: 183500800
2013-04-02 18:24:58,590 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 206 Partial Content, headers = [[Content-Type: video/avi,Content-Length: 183500800,Date: Tue, 02 Apr 2013 16:24:58 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.2.1,Cache-control: no-cache,Content-Range: bytes 0-183500799/183500800,contentFeatures.dlna.org: DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01500000000000000000000000000000,transferMode.dlna.org: Streaming,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*]]
2013-04-02 18:24:59,690 DEBUG [ServiioHttpService] Incoming request from /192.168.1.192:59972: HEAD /resource/52992/MEDIA_ITEM/AVI-0/ORIGINAL HTTP/1.1, headers = [getcontentFeatures.dlna.org: 1,Pragma: getIfoFileURI.dlna.org,X-AV-Physical-Unit-Info: pa="BRAVIA KDL-22EX550";,X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="BRAVIA KDL-22EX550"; mv="1.7";,Host: 192.168.1.111:8895]]
2013-04-02 18:24:59,691 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.192
2013-04-02 18:24:59,692 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.192
2013-04-02 18:24:59,693 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.1.192, Profile=Sony Bravia TV (2012)'
2013-04-02 18:24:59,694 DEBUG [ResourceDeliveryProcessor] Request for resource 52992 and type 'MEDIA_ITEM' received
2013-04-02 18:24:59,709 DEBUG [WebServer] I/O error: Broken pipe
2013-04-02 18:24:59,694 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 52992 (local)
2013-04-02 18:24:59,710 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 52992)
2013-04-02 18:24:59,713 DEBUG [VideoDAOImpl] Reading a Video (id = 52992)
2013-04-02 18:24:59,717 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 52992, format AVI and profile Sony Bravia TV (2012)
2013-04-02 18:24:59,719 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/avi,Content-Length: 183500800,Date: Tue, 02 Apr 2013 16:24:59 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.2.1,Cache-control: no-cache,contentFeatures.dlna.org: DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01500000000000000000000000000000,transferMode.dlna.org: Streaming,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*]]
2013-04-02 18:24:59,730 DEBUG [ServiioHttpService] Incoming request from /192.168.1.192:59973: GET /resource/52992/MEDIA_ITEM/AVI-0/ORIGINAL HTTP/1.1, headers = [Range: bytes=0-,getcontentFeatures.dlna.org: 1,Pragma: getIfoFileURI.dlna.org,X-AV-Physical-Unit-Info: pa="BRAVIA KDL-22EX550";,X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="BRAVIA KDL-22EX550"; mv="1.7";,Host: 192.168.1.111:8895]]
2013-04-02 18:24:59,730 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.192
2013-04-02 18:24:59,731 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.192
2013-04-02 18:24:59,733 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.1.192, Profile=Sony Bravia TV (2012)'
2013-04-02 18:24:59,733 DEBUG [ResourceDeliveryProcessor] Request for resource 52992 and type 'MEDIA_ITEM' received
2013-04-02 18:24:59,734 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 52992 (local)
2013-04-02 18:24:59,734 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 52992)
2013-04-02 18:24:59,735 DEBUG [VideoDAOImpl] Reading a Video (id = 52992)
2013-04-02 18:24:59,737 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 52992, format AVI and profile Sony Bravia TV (2012)
2013-04-02 18:24:59,739 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 52992 (local)
2013-04-02 18:24:59,739 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 52992)
2013-04-02 18:24:59,740 DEBUG [VideoDAOImpl] Reading a Video (id = 52992)
2013-04-02 18:24:59,742 DEBUG [VideoDeliveryEngine] Delivering item '52992' for client 'Identifier=192.168.1.192, Profile=Sony Bravia TV (2012)'
2013-04-02 18:24:59,744 DEBUG [VideoDeliveryEngine] Delivering file 'Fraglesy.01.Poczatek.avi' in native format
Re: Sony Bravia 2012 - problem with transcoding from Synolog

Posted:
Tue Apr 02, 2013 6:37 pm
by Illico
Could you edit the ./serviio/config/profiles.xml file, find the Sony Bravia 2012 profile section and edit the following lines:
- Code:
...
<Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="17000" targetACodec="ac3" aBitrate="384" DAR="16:9" forceInheritance="true">
<Matches container="*" vCodec="h264" profile="high" levelGreaterThan="4.1" />
<Matches container="*" vCodec="h264" profile="main" levelGreaterThan="4.1" />
<Matches container="mpegts" vCodec="vc1" />
<Matches container="avi" aCodec="ac3" /> <!-- Add this line -->
</Video>
...
Save, and restart serviio services or reboot.