Problem with Serviio 1.4 and Sharp Aquos
Hello
I was using Serviio 1.21 with my Sharp Aquos TV and I updated to V1.4 :
- Now my TV cannot list AVI video files. I have reinstalled my modified Sharp Aquos profile but the problem remain the same (with this profile and Serviio V1.21 it was possible to list and to read AVI videos)
- MKV files are listed but cannot be read (this problem already existed with V1.21)
Profile used
Serviio log file:
1. when browsing on the TV
2. when trying to read a MKV file
Thanks for your help
Pierre
I was using Serviio 1.21 with my Sharp Aquos TV and I updated to V1.4 :
- Now my TV cannot list AVI video files. I have reinstalled my modified Sharp Aquos profile but the problem remain the same (with this profile and Serviio V1.21 it was possible to list and to read AVI videos)
- MKV files are listed but cannot be read (this problem already existed with V1.21)
Profile used
- Code:
<Profile id="Sharp_Aquos" name="Sharp Aquos" extendsProfileId="1">
<!-- Supported DLNA profiles:
- Video: MPEG_PS_PAL, MPEG_TS_SD_EU, MPEG_TS_SD_EU_ISO, MPEG_TS_SD_EU_T
- Audio: LPCM (sampling rates = 32, 44.1 & 48kHz)
- Image: JPEG_MED, JPEG_SM
-->
<Detection>
<!-- detection: User-Agent: DLNADOC/1.50 SHARP-AQUOS-DMP/1.1W -->
<HttpHeaders>
<User-Agent>.*SHARP-AQUOS.*</User-Agent>
</HttpHeaders>
</Detection>
<MediaFormatProfiles>
<!-- Standard Serviio profiles -->
<MediaFormatProfile mime-type="video/mpeg" name="MPEG_TS_SD_EU_ISO">AVC_TS_MP_HD_AC3_ISO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/avi" name="">AVI</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mp4">MPEG4_P2_3GPP_SP_L0B_AAC</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mp4">MPEG4_P2_3GPP_SP_L0B_AMR</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mp4">AVC_3GPP_BL_QCIF15_AAC</MediaFormatProfile>
<!-- rename native mpeg2ts with h264/ac3 ac3 formats to those supported by the tv -->
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_24_AC3,AVC_TS_HD_50_AC3,AVC_TS_HD_60_AC3,AVC_TS_HD_EU">AVC_TS_MP_HD_AC3</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_24_AC3,AVC_TS_HD_50_AC3,AVC_TS_HD_60_AC3,AVC_TS_HD_EU">AVC_TS_MP_SD_AC3</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_24_AC3_T,AVC_TS_HD_50_AC3_T,AVC_TS_HD_60_AC3_T,AVC_TS_HD_EU_T">AVC_TS_MP_HD_AC3_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_24_AC3_T,AVC_TS_HD_50_AC3_T,AVC_TS_HD_60_AC3_T,AVC_TS_HD_EU_T">AVC_TS_MP_SD_AC3_T</MediaFormatProfile>
<!-- rename transcoded mpeg2ts with h264 to one of the TV's supported profiles -->
<MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_24_AC3_ISO,AVC_TS_HD_50_AC3_ISO,AVC_TS_HD_60_AC3_ISO,AVC_TS_HD_EU_ISO">AVC_TS_MP_HD_AC3_ISO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_24_AC3_ISO,AVC_TS_HD_50_AC3_ISO,AVC_TS_HD_60_AC3_ISO,AVC_TS_HD_EU_ISO">AVC_TS_MP_SD_AC3_ISO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mpeg" name="MPEG_TS_SD_EU_ISO">AVC_TS_MP_HD_AC3_ISO</MediaFormatProfile>
</MediaFormatProfiles>
<Transcoding>
<Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384">
<Matches container="matroska" vCodec="h264"/>
<Matches container="flv" vCodec="h264"/>
</Video>
<Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384">
<Matches container="matroska" />
<Matches container="flv" />
<Matches container="wtv" />
<Matches container="mp4" aCodec="ac3" />
<Matches container="asf" />
<Matches container="rm" />
</Video>
<Audio targetContainer="lpcm" aSamplerate="44100">
<!-- DLNA audio: convert all to LPCM -->
<Matches container="asf" />
<Matches container="mp4" />
<Matches container="flac" />
<Matches container="ogg" />
<Matches container="mp3" />
</Audio>
</Transcoding>
<OnlineTranscoding>
<Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384">
<Matches container="mp4" />
</Video>
</OnlineTranscoding>
<AutomaticImageRotation>true</AutomaticImageRotation>
<LimitImageResolution>false</LimitImageResolution>
</Profile>
Serviio log file:
1. when browsing on the TV
2. when trying to read a MKV file
- Code:
2014-01-06 13:08:59,822 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 52635 and profile Sharp Aquos
2014-01-06 13:08:59,823 DEBUG [CoverImageDAOImpl] Reading a CoverImage (id = 170576)
2014-01-06 13:08:59,825 DEBUG [MediaItemDAOImpl] Getting file of media item 52635
2014-01-06 13:08:59,827 DEBUG [MediaItemDAOImpl] Getting file of media item 52494
2014-01-06 13:08:59,828 DEBUG [GenreDAOImpl] Reading a Genre (id = 74)
2014-01-06 13:08:59,829 DEBUG [VideoDAOImpl] Reading a Video (id = 52494)
2014-01-06 13:08:59,830 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 52494 and profile Sharp Aquos
2014-01-06 13:08:59,831 DEBUG [CoverImageDAOImpl] Reading a CoverImage (id = 170394)
2014-01-06 13:08:59,834 DEBUG [MediaItemDAOImpl] Getting file of media item 52494
2014-01-06 13:08:59,836 DEBUG [MediaItemDAOImpl] Getting file of media item 52303
2014-01-06 13:08:59,837 DEBUG [GenreDAOImpl] Reading a Genre (id = 50)
2014-01-06 13:08:59,838 DEBUG [VideoDAOImpl] Reading a Video (id = 52303)
....
2014-01-06 13:08:59,988 DEBUG [MediaItemDAOImpl] Getting file of media item 52749
2014-01-06 13:08:59,990 DEBUG [GenreDAOImpl] Reading a Genre (id = 3)
2014-01-06 13:08:59,991 DEBUG [VideoDAOImpl] Reading a Video (id = 52749)
2014-01-06 13:08:59,992 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 52749 and profile Sharp Aquos
2014-01-06 13:08:59,993 DEBUG [CoverImageDAOImpl] Reading a CoverImage (id = 170686)
2014-01-06 13:08:59,995 DEBUG [MediaItemDAOImpl] Getting file of media item 52749
2014-01-06 13:08:59,997 DEBUG [VideoDAOImpl] Retrieving number of videos of type 2 [No_Restriction]
2014-01-06 13:09:00,013 DEBUG [LocalContentCacheDecorator] Stored entry in the cache (local_default), returning it
2014-01-06 13:09:00,063 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2014-01-06 13:09:00,253 DEBUG [ServiioHttpService] Incoming request from /192.168.0.52:52317: POST /serviceControl HTTP/1.1, headers = [Host: 192.168.0.1:8895,User-Agent: DLNADOC/1.50 SHARP-AQUOS-DMP/1.1W,SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse",Content-Type: text/xml; charset="utf-8",Content-Length: 470]]
2014-01-06 13:09:00,253 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.52
2014-01-06 13:09:00,254 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#Browse"' from 192.168.0.52
2014-01-06 13:09:00,255 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.52
2014-01-06 13:09:00,267 DEBUG [ContentDirectory] Browse() called for renderer Sharp Aquos (profile Sharp_Aquos) with parameters: objectID = V_M, browseFlag = BrowseDirectChildren, filter = *, startIndex = 651, count = 21, sortCriteria =
2014-01-06 13:09:00,268 DEBUG [AccessGroupDAOImpl] Reading a AccessGroup (id = 1)
2014-01-06 13:09:00,269 DEBUG [VideoDAOImpl] Retrieving list of videos of type 2 (from=651, count=21) [No_Restriction]
2014-01-06 13:09:00,420 DEBUG [MediaItemDAOImpl] Getting file of media item 52751
...
2014-01-06 13:09:44,399 DEBUG [ServiioHttpService] Incoming request from /192.168.0.52:51918: GET /resource/52211/MEDIA_ITEM/AVC_TS_MP_SD_AC3_ISO-0/ORIGINAL HTTP/1.1, headers = [Connection: Close,Host: 192.168.0.1:8895,User-Agent: DLNADOC/1.50 SHARP-AQUOS-DMP/1.1W,getcontentFeatures.dlna.org: 1,transferMode.dlna.org: Streaming,TimeSeekRange.dlna.org: npt=0-]]
2014-01-06 13:09:44,399 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.52
2014-01-06 13:09:44,403 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.52
2014-01-06 13:09:44,425 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.0.52, Profile=Sharp Aquos'
2014-01-06 13:09:44,428 DEBUG [ResourceDeliveryProcessor] Request for resource 52211 and type 'MEDIA_ITEM' received
2014-01-06 13:09:44,428 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 52211 (local)
2014-01-06 13:09:44,428 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 52211)
2014-01-06 13:09:44,465 DEBUG [VideoDAOImpl] Reading a Video (id = 52211)
2014-01-06 13:09:44,467 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 52211, format AVC_TS_MP_SD_AC3_ISO and profile Sharp Aquos
2014-01-06 13:09:44,467 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file TEST.mkv
2014-01-06 13:09:44,467 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file TEST.mkv: AVC_TS_MP_SD_AC3_ISO
2014-01-06 13:09:44,475 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 52211 (local)
2014-01-06 13:09:44,476 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 52211)
2014-01-06 13:09:44,476 DEBUG [VideoDAOImpl] Reading a Video (id = 52211)
2014-01-06 13:09:44,478 DEBUG [VideoDeliveryEngine] Delivering item '52211' for client 'Identifier=192.168.0.52, Profile=Sharp Aquos'
2014-01-06 13:09:44,478 DEBUG [VideoDeliveryEngine] Delivering file 'TEST.mkv' using transcoding
2014-01-06 13:09:44,478 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'Identifier=192.168.0.52, Profile=Sharp Aquos'
2014-01-06 13:09:44,480 DEBUG [MediaItemDAOImpl] Getting file of media item 52211
2014-01-06 13:09:44,481 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: /mnt/Video//TEST.mkv
2014-01-06 13:09:44,482 DEBUG [ProcessExecutor] Starting ffmpeg -fflags +genpts -threads 4 -i /mnt/Video/TEST.mkv -y -threads 4 -c:v copy -bsf:v h264_mp4toannexb -c:a copy -map 0:0 -map 0:1 -sn -f mpegts /tmp/Serviio/transcoding-temp-52211-Sharp_Aquos-ORIGINAL.stf
2014-01-06 13:09:44,984 DEBUG [FileBasedTranscodingDeliveryStrategy] Sending transcoding stream
2014-01-06 13:09:44,989 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file TEST.mkv: AVC_TS_MP_SD_AC3_ISO
2014-01-06 13:09:44,990 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 52211) as read
2014-01-06 13:09:45,039 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2014-01-06 13:09:45,040 DEBUG [GETMethodProcessor] Stream entity has length: 50000000000
2014-01-06 13:09:45,043 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2014-01-06 13:09:45,044 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Date: Mon, 06 Jan 2014 12:09:45 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.4,Cache-control: no-cache,TimeSeekRange.dlna.org: npt=0-4858/4858,contentFeatures.dlna.org: DLNA.ORG_PN=AVC_TS_HD_24_AC3_ISO;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000,transferMode.dlna.org: Streaming,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*]]
2014-01-06 13:09:45,135 DEBUG [WebServer] I/O error: Connection reset
2014-01-06 13:09:46,366 DEBUG [ServiioHttpService] Incoming request from /192.168.0.52:55432: POST /serviceControl HTTP/1.1, headers = [Host: 192.168.0.1:8895,User-Agent: DLNADOC/1.50 SHARP-AQUOS-DMP/1.1W,SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse",Content-Type: text/xml; charset="utf-8",Content-Length: 461]]
2014-01-06 13:09:46,366 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.52
2014-01-06 13:09:46,368 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#Browse"' from 192.168.0.52
2014-01-06 13:09:46,368 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.52
2014-01-06 13:09:46,381 DEBUG [ContentDirectory] Browse() called for renderer Sharp Aquos (profile Sharp_Aquos) with parameters: objectID = V_M, browseFlag = BrowseMetadata, filter = *, startIndex = 0, count = 0, sortCriteria =
2014-01-06 13:09:46,382 DEBUG [AccessGroupDAOImpl] Reading a AccessGroup (id = 1)
2014-01-06 13:09:46,383 DEBUG [LocalContentCacheDecorator] Found entry in the cache (local_default), returning it
2014-01-06 13:09:46,394 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2014-01-06 13:09:46,400 DEBUG [ServiioHttpService] Incoming request from /192.168.0.52:55432: POST /serviceControl HTTP/1.1, headers = [Host: 192.168.0.1:8895,User-Agent: DLNADOC/1.50 SHARP-AQUOS-DMP/1.1W,SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse",Content-Type: text/xml; charset="utf-8",Content-Length: 469]]
2014-01-06 13:09:46,401 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.52
2014-01-06 13:09:46,402 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#Browse"' from 192.168.0.52
Thanks for your help
Pierre