Page 1 of 1

Upgrading to 1.0 breaks FLV (RSS) Steam for Samsung D Series

PostPosted: Wed Aug 08, 2012 5:00 pm
by unfurled
After upgrading to 1.0, my Samsung UA40D5500 is unable to view any of the FLVs I previously set in the Online RSS Feeds. I get a video codec not supported error. I've tried replacing the profiles.xml with the one used in 0.62; it still doesn't work. When I revert back to 0.62 it plays fine.

I've traced it down to the way Serviio calls ffmpeg.exe in 1.0 :

In 0.62 :
2012-08-09 00:38:15,125 DEBUG [ProcessExecutor] Starting C:\Program Files\Serviio\bin\\..\lib/ffmpeg.exe -i http://1234.flv -y -threads 1 -async 1 -vcodec mpeg2video -b 20000k -maxrate 20000k -bufsize 20000k -r 25 -g 15 -copyts -acodec ac3 -ab 80k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts C:\WINDOWS\TEMP\Serviio\transcoding-temp-1000000000010001-MPEG2TS.stf

In 1.0 :
2012-08-08 22:59:03,163 DEBUG [ProcessExecutor] Starting C:\Program Files\Serviio\bin\\..\lib/ffmpeg.exe -i http://1234.flv -y -threads 2 -copyts -c:v mpeg2video -b:v 20000k -r 25 -g 15 -c:a ac3 -b:a 80k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts C:\Windows\TEMP\Serviio\transcoding-temp-1000000000420001-7-ORIGINAL.stf

Is there a way I can revert back to the same command lines in 0.62 for 1.0?

Re: Upgrading to 1.0 breaks FLV (RSS) Steam for Samsung D Se

PostPosted: Wed Aug 08, 2012 5:06 pm
by jhb50
the form of ffmpeg commands changed with 1.0 in line with the latest ffmpeg version. I suggest you post a detailed log of the failure so the real reason can be determined. Try copying and renaming the .stf to .mpg and see if it plays.

Re: Upgrading to 1.0 breaks FLV (RSS) Steam for Samsung D Se

PostPosted: Wed Aug 08, 2012 5:06 pm
by jhb50
the form of ffmpeg commands changed with 1.0 in line with the latest ffmpeg version. I suggest you post a detailed log of the failure so the real reason can be determined.

Re: Upgrading to 1.0 breaks FLV (RSS) Steam for Samsung D Se

PostPosted: Thu Aug 09, 2012 1:41 am
by unfurled
Actually if you notice, maxrate and bufsize params are not included in 1.0. I'm not too sure if this affects anything.

Well I extracted the STF files from 0.62 and 1.0, compared the differences. It would seem the format encoded is different. I suspect its the missing Maximum bit rate variable. Any idea on how to add back that param?

Image

0.62 Log

  Code:
2012-08-09 09:27:59,328 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000000010001 (online)
2012-08-09 09:27:59,328 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 1)
2012-08-09 09:27:59,328 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 1)
2012-08-09 09:27:59,338 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 1000000000010001, format MPEG_TS_SD_KO_ISO and profile Samsung TV / player (C/D-series)
2012-08-09 09:27:59,338 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file http://abcd.tv/vods/ns/bd1_x15d2_1.flv
2012-08-09 09:27:59,338 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file http://abcd.tv/vods/ns/bd1_x15d2_1.flv: MPEG_TS_SD_EU_ISO
2012-08-09 09:27:59,338 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file http://abcd.tv/vods/ns/bd1_x15d2_1.flv: MPEG_TS_SD_NA_ISO
2012-08-09 09:27:59,338 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file http://abcd.tv/vods/ns/bd1_x15d2_1.flv: MPEG_TS_SD_KO_ISO
2012-08-09 09:27:59,338 DEBUG [ResourceTransportRequestHandler] Sending HEAD response back
2012-08-09 09:27:59,338 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Content-Length: 50000000000,Date: Thu, 09 Aug 2012 01:27:59 GMT,Server: Windows XP, UPnP/1.0 DLNADOC/1.50, Serviio/0.6.2,Cache-control: no-cache,contentFeatures.dlna.org: DLNA.ORG_PN=MPEG_TS_SD_KO_ISO;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000,transferMode.dlna.org: Streaming]]
2012-08-09 09:27:59,348 DEBUG [WebServer] Incoming connection from /192.168.1.246:35507
2012-08-09 09:27:59,388 DEBUG [ResourceTransportRequestHandler] GET /resource/1000000000010001/MEDIA_ITEM/MPEG_TS_SD_KO_ISO*0 HTTP/1.0, headers = [getcontentFeatures.dlna.org: 1,transferMode.dlna.org: Streaming,getMediaInfo.sec: 1,TimeSeekRange.dlna.org: npt=0-,Host: 192.168.1.89:8895]]
2012-08-09 09:27:59,388 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.246
2012-08-09 09:27:59,388 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.1.246, Profile=Samsung TV / player (C/D-series)'
2012-08-09 09:27:59,388 DEBUG [ResourceTransportRequestHandler] Request for resource 1000000000010001 and type 'MEDIA_ITEM' received
2012-08-09 09:27:59,388 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000000010001 (online)
2012-08-09 09:27:59,388 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 1)
2012-08-09 09:27:59,388 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 1)
2012-08-09 09:27:59,388 DEBUG [VideoDeliveryEngine] Delivering item '1000000000010001' for client 'IPAddress=/192.168.1.246, Profile=Samsung TV / player (C/D-series)'
2012-08-09 09:27:59,388 DEBUG [VideoDeliveryEngine] Delivering file 'http://abcd.tv/vods/ns/bd1_x15d2_1.flv' using transcoding
2012-08-09 09:27:59,388 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'IPAddress=/192.168.1.246, Profile=Samsung TV / player (C/D-series)'
2012-08-09 09:27:59,388 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: http://abcd.tv/vods/ns/bd1_x15d2_1.flv
2012-08-09 09:27:59,398 DEBUG [ProcessExecutor] Starting C:\Program Files\Serviio\bin\\..\lib/ffmpeg.exe -i http://abcd.tv/vods/ns/bd1_x15d2_1.flv -y -threads 1 -async 1 -vcodec mpeg2video -b 20000k -maxrate 20000k -bufsize 20000k -r 25 -g 15 -copyts -acodec ac3 -ab 80k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts C:\WINDOWS\TEMP\Serviio\transcoding-temp-1000000000010001-MPEG2TS.stf
2012-08-09 09:28:00,399 DEBUG [FileBasedTranscodingDeliveryStrategy] Sending transcoding stream
2012-08-09 09:28:00,399 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file http://abcd.tv/vods/ns/bd1_x15d2_1.flv: MPEG_TS_SD_EU_ISO
2012-08-09 09:28:00,409 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file http://abcd.tv/vods/ns/bd1_x15d2_1.flv: MPEG_TS_SD_NA_ISO
2012-08-09 09:28:00,409 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file http://abcd.tv/vods/ns/bd1_x15d2_1.flv: MPEG_TS_SD_KO_ISO
2012-08-09 09:28:00,409 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 50000000000


1.0 Log
  Code:
2012-08-09 09:30:42,412 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000000410001 (online)
2012-08-09 09:30:42,412 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 41)
2012-08-09 09:30:42,412 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 41)
2012-08-09 09:30:42,413 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 1000000000410001, format MPEG_TS_SD_KO_ISO and profile Samsung TV / player (C/D-series)
2012-08-09 09:30:42,413 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file http://abcd.tv/vods/ns/bd1_x15d2_1.flv
2012-08-09 09:30:42,413 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file http://abcd.tv/vods/ns/bd1_x15d2_1.flv: MPEG_TS_SD_EU_ISO
2012-08-09 09:30:42,413 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file http://abcd.tv/vods/ns/bd1_x15d2_1.flv: MPEG_TS_SD_NA_ISO
2012-08-09 09:30:42,413 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file http://abcd.tv/vods/ns/bd1_x15d2_1.flv: MPEG_TS_SD_KO_ISO
2012-08-09 09:30:42,413 DEBUG [ResourceDeliveryProcessor] Sending HEAD response back
2012-08-09 09:30:42,414 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Content-Length: 50000000000,Date: Thu, 09 Aug 2012 01:30:42 GMT,Server: Windows 7, UPnP/1.0 DLNADOC/1.50, Serviio/1.0,Cache-control: no-cache,contentFeatures.dlna.org: DLNA.ORG_PN=MPEG_TS_SD_KO_ISO;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000,transferMode.dlna.org: Streaming]]
2012-08-09 09:30:42,430 DEBUG [WebServer] Incoming connection from /192.168.1.246:42947
2012-08-09 09:30:42,431 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.246
2012-08-09 09:30:42,431 DEBUG [ResourceTransportRequestHandler] GET /resource/1000000000410001/MEDIA_ITEM/MPEG_TS_SD_KO_ISO-0/ORIGINAL HTTP/1.0, headers = [getcontentFeatures.dlna.org: 1,transferMode.dlna.org: Streaming,getMediaInfo.sec: 1,TimeSeekRange.dlna.org: npt=0-,Host: 192.168.1.102:8895]]
2012-08-09 09:30:42,432 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.246
2012-08-09 09:30:42,432 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'IPAddress=/192.168.1.246, Profile=Samsung TV / player (C/D-series)'
2012-08-09 09:30:42,433 DEBUG [ResourceDeliveryProcessor] Request for resource 1000000000410001 and type 'MEDIA_ITEM' received
2012-08-09 09:30:42,433 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000000410001 (online)
2012-08-09 09:30:42,433 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 41)
2012-08-09 09:30:42,433 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 41)
2012-08-09 09:30:42,434 DEBUG [VideoDeliveryEngine] Delivering item '1000000000410001' for client 'IPAddress=/192.168.1.246, Profile=Samsung TV / player (C/D-series)'
2012-08-09 09:30:42,434 DEBUG [VideoDeliveryEngine] Delivering file 'http://abcd.tv/vods/ns/bd1_x15d2_1.flv' using transcoding
2012-08-09 09:30:42,435 DEBUG [AbstractTranscodingDeliveryEngine] No other client uses transcoding job of file 'transcoding-temp-1000000000410007-7-ORIGINAL.stf', will stop the job
2012-08-09 09:30:42,435 DEBUG [AbstractTranscodingDeliveryEngine] Stopping previous transcoding job of file 'transcoding-temp-1000000000410007-7-ORIGINAL.stf'
2012-08-09 09:30:42,435 DEBUG [ProcessExecutor] Stopping external process: Thread[Thread-5278,5,main]
2012-08-09 09:30:42,435 DEBUG [ProcessUtils] Killing the Windows process: 1152
2012-08-09 09:30:42,443 DEBUG [TranscodingJobListener] Transcoding finished; successful: true
2012-08-09 09:30:42,457 DEBUG [TranscodingJobListener] Deleted temp file 'C:\Windows\TEMP\Serviio\transcoding-temp-1000000000410007-7-ORIGINAL.stf': true
2012-08-09 09:30:42,457 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'IPAddress=/192.168.1.246, Profile=Samsung TV / player (C/D-series)'
2012-08-09 09:30:42,458 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: http://abcd.tv/vods/ns/bd1_x15d2_1.flv
2012-08-09 09:30:42,459 DEBUG [ProcessExecutor] Starting C:\Program Files\Serviio\bin\\..\lib/ffmpeg.exe -i http://abcd.tv/vods/ns/bd1_x15d2_1.flv -y -threads 2 -copyts -c:v mpeg2video -b:v 20000k -r 25 -g 15 -c:a ac3 -b:a 80k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts C:\Windows\TEMP\Serviio\transcoding-temp-1000000000410001-7-ORIGINAL.stf
2012-08-09 09:30:42,959 DEBUG [FileBasedTranscodingDeliveryStrategy] Sending transcoding stream
2012-08-09 09:30:42,960 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file http://abcd.tv/vods/ns/bd1_x15d2_1.flv: MPEG_TS_SD_EU_ISO
2012-08-09 09:30:42,960 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file http://abcd.tv/vods/ns/bd1_x15d2_1.flv: MPEG_TS_SD_NA_ISO
2012-08-09 09:30:42,960 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file http://abcd.tv/vods/ns/bd1_x15d2_1.flv: MPEG_TS_SD_KO_ISO
2012-08-09 09:30:42,962 DEBUG [ResourceDeliveryProcessor] Stream entity has length: 50000000000
2012-08-09 09:30:42,962 DEBUG [ResourceDeliveryProcessor] Sending file back

Re: Upgrading to 1.0 breaks FLV (RSS) Steam for Samsung D Se

PostPosted: Thu Aug 09, 2012 1:31 pm
by zip
Fixed for 1.0.1

Re: Upgrading to 1.0 breaks FLV (RSS) Steam for Samsung D Se

PostPosted: Thu Aug 09, 2012 1:57 pm
by unfurled
Thanks! :D