Add maxVBitrate to Online transcoding directives for Samsung C/D and Samsung E/F profiles

Issue #822 wontfix
Otto Dandenell created an issue

There is a problem with "Video format not supported" with some Online streams when watching through a Samsung BD player.

The solution is documented here: http://forum.serviio.org/viewtopic.php?f=7&t=15544&p=95586#p95586

Example URL which is not properly delivered: http://mtgxse02-vh.akamaihd.net/i/open/201410/21/V34191_mtgx_e4a57308_,48,260,460,900,1800,.mp4.csmil/index_4_av.m3u8?null=

Here is a snippet of the log from Serviio :

2014-11-10 08:46:47,618 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'Identifier=192.168.0.12, Profile=Samsung TV / player (E/F-series)'
2014-11-10 08:46:47,619 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: http://mtgxse02-vh.akamaihd.net/i/open/201410/21/V34191_mtgx_e4a57308_,48,260,460,900,1800,.mp4.csmil/index_4_av.m3u8?null=
2014-11-10 08:46:47,619 DEBUG [ProcessExecutor] Starting C:\Program Files\Serviio\bin\\..\lib/ffmpeg.exe -analyzeduration 10000000 -fflags +genpts -threads auto -i http://mtgxse02-vh.akamaihd.net/i/open/201410/21/V34191_mtgx_e4a57308_,48,260,460,900,1800,.mp4.csmil/index_4_av.m3u8?null= -y -threads auto -c:v copy -c:a ac3 -b:a 384k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts C:\Windows\TEMP\Serviio\transcoding-temp-1000000080002225-sam_ef-ORIGINAL.stf
2014-11-10 08:46:48,621 DEBUG [FileBasedTranscodingDeliveryStrategy] Sending transcoding stream
2014-11-10 08:46:48,622 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file http://mtgxse02-vh.akamaihd.net/i/open/201410/21/V34191_mtgx_e4a57308_,48,260,460,900,1800,.mp4.csmil/index_4_av.m3u8?null=: AVC_TS_MP_HD_AC3_ISO
2014-11-10 08:46:48,622 DEBUG [GETMethodProcessor] Stream entity has length: 50000000000
2014-11-10 08:46:48,622 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Content-Length: 50000000000,Date: Mon, 10 Nov 2014 07:46:48 GMT,Server: Windows 7, UPnP/1.0 DLNADOC/1.50, Serviio/1.4.1.2,Cache-control: no-cache,TimeSeekRange.dlna.org: npt=0-2489/2489,contentFeatures.dlna.org: DLNA.ORG_PN=AVC_TS_MP_HD_AC3_ISO;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000,transferMode.dlna.org: Streaming,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*,MediaInfo.sec: SEC_Duration=2489000;]]
2014-11-10 08:46:51,048 DEBUG [ServiioHttpService] Incoming request from /192.168.0.12:35170: HEAD /resource/1000000080002225/MEDIA_ITEM/AVC_TS_MP_HD_AC3_ISO-0/ORIGINAL HTTP/1.0, headers = [getCaptionInfo.sec: 1]]
2014-11-10 08:46:51,048 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.12
2014-11-10 08:46:51,049 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.12
2014-11-10 08:46:51,049 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.0.12, Profile=Samsung TV / player (E/F-series)'
2014-11-10 08:46:51,049 DEBUG [ResourceDeliveryProcessor] Request for resource 1000000080002225 and type 'MEDIA_ITEM' received
2014-11-10 08:46:51,049 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000080002225 (online)
2014-11-10 08:46:51,049 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 8)
2014-11-10 08:46:51,049 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 8)
2014-11-10 08:46:51,050 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 1000000080002225, format AVC_TS_MP_HD_AC3_ISO and profile Samsung TV / player (E/F-series)
2014-11-10 08:46:51,050 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file http://mtgxse02-vh.akamaihd.net/i/open/201410/21/V34191_mtgx_e4a57308_,48,260,460,900,1800,.mp4.csmil/index_4_av.m3u8?null=
2014-11-10 08:46:51,050 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file http://mtgxse02-vh.akamaihd.net/i/open/201410/21/V34191_mtgx_e4a57308_,48,260,460,900,1800,.mp4.csmil/index_4_av.m3u8?null=: AVC_TS_MP_HD_AC3_ISO
2014-11-10 08:46:51,050 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Content-Length: 50000000000,Date: Mon, 10 Nov 2014 07:46:51 GMT,Server: Windows 7, UPnP/1.0 DLNADOC/1.50, Serviio/1.4.1.2,Cache-control: no-cache,transferMode.dlna.org: Streaming,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*]]
2014-11-10 08:46:52,929 DEBUG [SearchManager] Committing search index

There are no errors logged, but the playback is stopped with a message about incompatible video type. Until I add the maxVBitrate="16384" attribute to the OnlineTranscoding --> Video nodes.

Regards

/ Otto

Comments (7)

  1. Otto Dandenell reporter

    A followup to the referenced forum post says: "Samsung D-series needs maxVBitrate on mpeg2video transcoding and you can set the value to 30000."

    So, this (30000) would probably be a more suitable value

  2. Former user Account Deleted

    See ticket 435. This is caused by out of date firmware on the TV. Fix is to update the firmware.

  3. Otto Dandenell reporter

    I have nor read through ticket #435.

    Peter, please don't close this ticket until I have verified that there is indeed a firmware update to my Blueray player available and that it fixes the issue.

    The online transcoding has worked great for the tv service which I usually use (svtplay.se), but now I am developing a plugin for another service (tv3play.se) which seems to be encoding their streams in a slightly different format. So I am thinking that it may be the same old bug, only with a higher bitrate limit than before.

    I'll look into it this evening and report back.

  4. Log in to comment