FAQ  •  Register  •  Login

[SOLVED] problem with burned-in subtitles

<<

fabfor

Serviio newbie

Posts: 7

Joined: Wed Mar 13, 2013 11:49 pm

Post Thu Mar 14, 2013 8:54 am

[SOLVED] problem with burned-in subtitles

Hi, I'm new to DLNA devices but in the last weeks I've tried several media servers and I've chosen serviio for its stability, high number of features and active community.

Now I'm facing a problem with subtitles.
As far as I understand now with v.1.2 they should be supported for all devices, but I can't get them working on my Philips HTS5563/12 Home theatre.
Here you find my DEBUG log and my settings, con you help me please?

Please note that I'm using "Philips (2010-)" profile, while the log says Resource request accepted. Using client 'Identifier=192.168.1.50, Profile=Generic DLNA profile'

When recording the log I was using "G:\TEMP" as Transcoded file location. I had changed it few minutes earlier, restarting service and server.
Still, the log reports serviio looking for a file in 'C:\Windows\TEMP\Serviio\'

Thanks

Edit: forgot to say that HTS returns me the error "file not supported" while without burning subs it plays perfectly.
I'm on Windows 7, serviio 1.2, ffmpeg updated with yesterday's download (same result with the one bundled with serviio anyway)

  Code:
2013-03-14 09:39:32,111 DEBUG [WebServer] Incoming connection from /192.168.1.50:40579
2013-03-14 09:39:32,111 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.50
2013-03-14 09:39:32,112 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#Browse"' from 192.168.1.50
2013-03-14 09:39:32,112 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.50
2013-03-14 09:39:32,115 DEBUG [ContentDirectory] Browse() called for renderer Unrecognized device (profile 1) with parameters: objectID = V_F^FOL_R2$F5027$MI49842, browseFlag = BrowseMetadata, filter = res,res@resolution,res@protocolInfo,res@size,res@duration,res@bitrate,res@sampleFrequency,res@bitsPerSample,res@nrAudioChannels,res@protection,dc:creator,dc:date,upnp:genre,upnp:album,upnp:originalTrackNumber,upnp:channelNr,upnp:scheduledStartTime,upnp:scheduledEndTime,upnp:icon,upnp:albumArtURI,upnp:artist,container@childCount, startIndex = 0, count = 1, sortCriteria =
2013-03-14 09:39:32,115 DEBUG [AccessGroupDAOImpl] Reading a AccessGroup (id = 1)
2013-03-14 09:39:32,115 DEBUG [LocalContentCacheDecorator] Found entry in the cache (local_default), returning it
2013-03-14 09:39:32,118 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2013-03-14 09:39:32,124 DEBUG [WebServer] Incoming connection from /192.168.1.50:40580
2013-03-14 09:39:32,124 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.50
2013-03-14 09:39:32,124 DEBUG [ResourceTransportRequestHandler] GET /resource/49842/MEDIA_ITEM/MPEG_PS_PAL-0/ORIGINAL HTTP/1.1, headers = [HOST: 192.168.1.2:8895,DATE: Thu, 14 Mar 2013 09:40:03 GMT,CONNECTION: Keep-Alive,USER-AGENT: IPI/1.0 UPnP/1.0 DLNADOC/1.50,friendlyName.dlna.org: BD-Player,transferMode.dlna.org: Streaming,TimeSeekRange.dlna.org: npt=0-]]
2013-03-14 09:39:32,124 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.50
2013-03-14 09:39:32,124 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.1.50, Profile=Generic DLNA profile'
2013-03-14 09:39:32,125 DEBUG [ResourceDeliveryProcessor] Request for resource 49842 and type 'MEDIA_ITEM' received
2013-03-14 09:39:32,125 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 49842 (local)
2013-03-14 09:39:32,125 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 49842)
2013-03-14 09:39:32,125 DEBUG [VideoDAOImpl] Reading a Video (id = 49842)
2013-03-14 09:39:32,125 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 49842, format MPEG_PS_PAL and profile Generic DLNA profile
2013-03-14 09:39:32,125 DEBUG [MediaItemDAOImpl] Getting file of media item 49842
2013-03-14 09:39:32,125 DEBUG [SubtitlesService] Found external subtitle file: F:\utorrent\Incoming\Looper (2012) [1080p]\Looper.2012.1080p.BluRay.x264.YIFY.srt
2013-03-14 09:39:32,125 DEBUG [MediaItemDAOImpl] Getting file of media item 49842
2013-03-14 09:39:32,125 DEBUG [SubtitlesService] Found external subtitle file: F:\utorrent\Incoming\Looper (2012) [1080p]\Looper.2012.1080p.BluRay.x264.YIFY.srt
2013-03-14 09:39:32,125 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file Looper.2012.1080p.BluRay.x264.YIFY.mp4
2013-03-14 09:39:32,125 DEBUG [MediaItemDAOImpl] Getting file of media item 49842
2013-03-14 09:39:32,125 DEBUG [SubtitlesService] Found external subtitle file: F:\utorrent\Incoming\Looper (2012) [1080p]\Looper.2012.1080p.BluRay.x264.YIFY.srt
2013-03-14 09:39:32,125 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Looper.2012.1080p.BluRay.x264.YIFY.mp4: MPEG_PS_PAL
2013-03-14 09:39:32,125 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Looper.2012.1080p.BluRay.x264.YIFY.mp4: MPEG_PS_NTSC
2013-03-14 09:39:32,125 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 49842 (local)
2013-03-14 09:39:32,125 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 49842)
2013-03-14 09:39:32,125 DEBUG [VideoDAOImpl] Reading a Video (id = 49842)
2013-03-14 09:39:32,126 DEBUG [VideoDeliveryEngine] Delivering item '49842' for client 'Identifier=192.168.1.50, Profile=Generic DLNA profile'
2013-03-14 09:39:32,126 DEBUG [MediaItemDAOImpl] Getting file of media item 49842
2013-03-14 09:39:32,126 DEBUG [SubtitlesService] Found external subtitle file: F:\utorrent\Incoming\Looper (2012) [1080p]\Looper.2012.1080p.BluRay.x264.YIFY.srt
2013-03-14 09:39:32,126 DEBUG [MediaItemDAOImpl] Getting file of media item 49842
2013-03-14 09:39:32,126 DEBUG [SubtitlesService] Found external subtitle file: F:\utorrent\Incoming\Looper (2012) [1080p]\Looper.2012.1080p.BluRay.x264.YIFY.srt
2013-03-14 09:39:32,126 DEBUG [VideoDeliveryEngine] Delivering file 'Looper.2012.1080p.BluRay.x264.YIFY.mp4' using transcoding
2013-03-14 09:39:32,126 DEBUG [MediaItemDAOImpl] Getting file of media item 49842
2013-03-14 09:39:32,127 DEBUG [SubtitlesService] Found external subtitle file: F:\utorrent\Incoming\Looper (2012) [1080p]\Looper.2012.1080p.BluRay.x264.YIFY.srt
2013-03-14 09:39:32,127 DEBUG [AbstractTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'Identifier=192.168.1.50, Profile=Generic DLNA profile'
2013-03-14 09:39:32,127 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: Transcoded file 'C:\Windows\TEMP\Serviio\transcoding-temp-49842-1-ORIGINAL-ff942a9a37341bd39749a8c17157c619.stf' cannot be found, FFmpeg execution probably failed
java.io.IOException: Transcoded file 'C:\Windows\TEMP\Serviio\transcoding-temp-49842-1-ORIGINAL-ff942a9a37341bd39749a8c17157c619.stf' cannot be found, FFmpeg execution probably failed
   at org.serviio.delivery.resource.transcode.FileBasedTranscodingDeliveryStrategy.createInputStream(FileBasedTranscodingDeliveryStrategy.java:45)
   at org.serviio.delivery.resource.transcode.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:131)
   at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:100)
   at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:120)
   at org.serviio.delivery.GETMethodProcessor.retrieveResource(GETMethodProcessor.java:120)
   at org.serviio.delivery.GETMethodProcessor.buildDeliveryContainer(GETMethodProcessor.java:48)
   at org.serviio.delivery.AbstractMethodProcessor.handleRequest(AbstractMethodProcessor.java:100)
   at org.serviio.delivery.ResourceDeliveryProcessor.deliverContent(ResourceDeliveryProcessor.java:80)
   at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:86)
   at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:61)
   at org.apache.http.protocol.HttpService.doService(HttpService.java:293)
   at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:58)
   at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:212)
   at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:192)
2013-03-14 09:39:32,232 DEBUG [WebServer] Incoming connection from /192.168.1.50:40581
2013-03-14 09:39:32,232 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.50
2013-03-14 09:39:32,233 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#Browse"' from 192.168.1.50
2013-03-14 09:39:32,233 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.50
2013-03-14 09:39:32,236 DEBUG [ContentDirectory] Browse() called for renderer Unrecognized device (profile 1) with parameters: objectID = V_F^FOL_R2$F5027$MI49842, browseFlag = BrowseMetadata, filter = res,res@resolution,res@protocolInfo,res@size,res@duration,res@bitrate,res@sampleFrequency,res@bitsPerSample,res@nrAudioChannels,res@protection,dc:creator,dc:date,upnp:genre,upnp:album,upnp:originalTrackNumber,upnp:channelNr,upnp:scheduledStartTime,upnp:scheduledEndTime,upnp:icon,upnp:albumArtURI,upnp:artist,container@childCount, startIndex = 0, count = 1, sortCriteria =
2013-03-14 09:39:32,236 DEBUG [AccessGroupDAOImpl] Reading a AccessGroup (id = 1)
2013-03-14 09:39:32,236 DEBUG [LocalContentCacheDecorator] Found entry in the cache (local_default), returning it
2013-03-14 09:39:32,239 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2013-03-14 09:39:39,537 DEBUG [ActionsServerResource] Action with name 'stopServer' was requested
2013-03-14 09:39:39,537 DEBUG [DiscoveryManager] UPNP device 83403509-60a4-3ac0-bae1-94340baf2344 (192.168.1.2) is unavailable
2013-03-14 09:39:39,537 DEBUG [WebServer] Socket closed
2013-03-14 09:39:39,538 INFO  [WebServer] WebServer shutting down
2013-03-14 09:39:39,537 INFO  [EventDispatcher] Leaving EventDispatcher
2013-03-14 09:39:39,537 INFO  [DiscoveryAdvertisementNotifier] Leaving DiscoveryAdvertisementNotifier
2013-03-14 09:39:39,537 DEBUG [DiscoverySSDPMessageListener] Socket closed: socket closed
2013-03-14 09:39:39,538 INFO  [DiscoverySSDPMessageListener] Leaving DiscoverySSDPMessageListener
2013-03-14 09:39:39,538 INFO  [EventSubscriptionExpirationChecker] Leaving EventSubscriptionExpirationChecker, removing all event subscriptions
2013-03-14 09:39:39,538 DEBUG [EventSubscriptionExpirationChecker] Removed subscription 17717107-382b-4263-bb88-dd07da0d7383 from service urn:upnp-org:serviceId:ConnectionManager
2013-03-14 09:39:39,538 DEBUG [EventSubscriptionExpirationChecker] Removed subscription 5e7a20e8-f358-49eb-a13f-5dbb2b697d5f from service urn:upnp-org:serviceId:ContentDirectory
2013-03-14 09:39:39,538 DEBUG [EventSubscriptionExpirationChecker] Removed subscription 306c4a2a-b31d-4f38-8fb6-76dc38940ecb from service urn:microsoft.com:serviceId:X_MS_MediaReceiverRegistrar
2013-03-14 09:39:39,720 DEBUG [DiscoveryAdvertisementNotifier] Multicasting SSDP byebye using interface eth9 (D-Link DGE-528T Gigabit Ethernet Adapter) and address PC-FISSO, timeout = 0
Attachments
2013-03-14_094625.jpg
2013-03-14_094625.jpg (95.32 KiB) Viewed 10352 times
2013-03-14_094613.jpg
2013-03-14_094613.jpg (88.53 KiB) Viewed 10352 times
<<

Illico

User avatar

DLNA master

Posts: 4649

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Thu Mar 14, 2013 1:44 pm

Re: problem with burned-in subtitles

Could you retry, and find on logging the ffmpeg command line used to transcode your file ?
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

fabfor

Serviio newbie

Posts: 7

Joined: Wed Mar 13, 2013 11:49 pm

Post Thu Mar 14, 2013 2:30 pm

Re: problem with burned-in subtitles

Illico wrote:Could you retry, and find on logging the ffmpeg command line used to transcode your file ?


Here you are another debug log catch.
I think that this is what you asked, but plaese find below the more extensive log.
Many thanks

  Code:
2013-03-14 15:16:36,139 DEBUG [ProcessExecutor] Starting C:\Program Files\Serviio\bin\\..\lib/ffmpeg.exe -threads auto -i F:\utorrent\Incoming\Looper (2012) [1080p]\Looper.2012.1080p.BluRay.x264.YIFY.mp4 -y -c:v mpeg2video -qscale:v 1 -vf subtitles=filename="F\\:/utorrent/Incoming/Looper (2012) [1080p]/Looper.2012.1080p.BluRay.x264.YIFY.srt":original_size=1920x816 -r 24000/1001 -g 15 -c:a ac3 -b:a 384k -ac 2 -map 0:0 -map 0:1 -sn -f vob C:\Windows\TEMP\Serviio\transcoding-temp-49842-1-ORIGINAL-ff942a9a37341bd39749a8c17157c619.stf
2013-03-14 15:16:38,682 WARN  [ProcessExecutor] Process cmd has a return code of 255! This is a possible error.
2013-03-14 15:16:38,682 DEBUG [TranscodingJobListener] Transcoding finished; successful: false


  Code:
GMT,CONNECTION: Keep-Alive,USER-AGENT: IPI/1.0 UPnP/1.0 DLNADOC/1.50,friendlyName.dlna.org: BD-Player,transferMode.dlna.org: Streaming,TimeSeekRange.dlna.org: npt=0-]]
2013-03-14 15:16:36,121 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.50
2013-03-14 15:16:36,125 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.1.50, Profile=Generic DLNA profile'
2013-03-14 15:16:36,126 DEBUG [ResourceDeliveryProcessor] Request for resource 49842 and type 'MEDIA_ITEM' received
2013-03-14 15:16:36,126 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 49842 (local)
2013-03-14 15:16:36,126 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 49842)
2013-03-14 15:16:36,131 DEBUG [VideoDAOImpl] Reading a Video (id = 49842)
2013-03-14 15:16:36,131 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 49842, format MPEG_PS_PAL and profile Generic DLNA profile
2013-03-14 15:16:36,131 DEBUG [MediaItemDAOImpl] Getting file of media item 49842
2013-03-14 15:16:36,132 DEBUG [SubtitlesService] Found external subtitle file: F:\utorrent\Incoming\Looper (2012) [1080p]\Looper.2012.1080p.BluRay.x264.YIFY.srt
2013-03-14 15:16:36,132 DEBUG [MediaItemDAOImpl] Getting file of media item 49842
2013-03-14 15:16:36,132 DEBUG [SubtitlesService] Found external subtitle file: F:\utorrent\Incoming\Looper (2012) [1080p]\Looper.2012.1080p.BluRay.x264.YIFY.srt
2013-03-14 15:16:36,132 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file Looper.2012.1080p.BluRay.x264.YIFY.mp4
2013-03-14 15:16:36,132 DEBUG [MediaItemDAOImpl] Getting file of media item 49842
2013-03-14 15:16:36,132 DEBUG [SubtitlesService] Found external subtitle file: F:\utorrent\Incoming\Looper (2012) [1080p]\Looper.2012.1080p.BluRay.x264.YIFY.srt
2013-03-14 15:16:36,132 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Looper.2012.1080p.BluRay.x264.YIFY.mp4: MPEG_PS_PAL
2013-03-14 15:16:36,132 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Looper.2012.1080p.BluRay.x264.YIFY.mp4: MPEG_PS_NTSC
2013-03-14 15:16:36,134 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 49842 (local)
2013-03-14 15:16:36,134 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 49842)
2013-03-14 15:16:36,135 DEBUG [VideoDAOImpl] Reading a Video (id = 49842)
2013-03-14 15:16:36,135 DEBUG [VideoDeliveryEngine] Delivering item '49842' for client 'Identifier=192.168.1.50, Profile=Generic DLNA profile'
2013-03-14 15:16:36,135 DEBUG [MediaItemDAOImpl] Getting file of media item 49842
2013-03-14 15:16:36,135 DEBUG [SubtitlesService] Found external subtitle file: F:\utorrent\Incoming\Looper (2012) [1080p]\Looper.2012.1080p.BluRay.x264.YIFY.srt
2013-03-14 15:16:36,135 DEBUG [MediaItemDAOImpl] Getting file of media item 49842
2013-03-14 15:16:36,136 DEBUG [SubtitlesService] Found external subtitle file: F:\utorrent\Incoming\Looper (2012) [1080p]\Looper.2012.1080p.BluRay.x264.YIFY.srt
2013-03-14 15:16:36,136 DEBUG [VideoDeliveryEngine] Delivering file 'Looper.2012.1080p.BluRay.x264.YIFY.mp4' using transcoding
2013-03-14 15:16:36,136 DEBUG [MediaItemDAOImpl] Getting file of media item 49842
2013-03-14 15:16:36,136 DEBUG [SubtitlesService] Found external subtitle file: F:\utorrent\Incoming\Looper (2012) [1080p]\Looper.2012.1080p.BluRay.x264.YIFY.srt
2013-03-14 15:16:36,137 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'Identifier=192.168.1.50, Profile=Generic DLNA profile'
2013-03-14 15:16:36,138 DEBUG [MediaItemDAOImpl] Getting file of media item 49842
2013-03-14 15:16:36,138 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: F:\utorrent\Incoming\Looper (2012) [1080p]\Looper.2012.1080p.BluRay.x264.YIFY.mp4
2013-03-14 15:16:36,139 DEBUG [ProcessExecutor] Starting C:\Program Files\Serviio\bin\\..\lib/ffmpeg.exe -threads auto -i F:\utorrent\Incoming\Looper (2012) [1080p]\Looper.2012.1080p.BluRay.x264.YIFY.mp4 -y -c:v mpeg2video -qscale:v 1 -vf subtitles=filename="F\\:/utorrent/Incoming/Looper (2012) [1080p]/Looper.2012.1080p.BluRay.x264.YIFY.srt":original_size=1920x816 -r 24000/1001 -g 15 -c:a ac3 -b:a 384k -ac 2 -map 0:0 -map 0:1 -sn -f vob C:\Windows\TEMP\Serviio\transcoding-temp-49842-1-ORIGINAL-ff942a9a37341bd39749a8c17157c619.stf
2013-03-14 15:16:38,682 WARN  [ProcessExecutor] Process cmd has a return code of 255! This is a possible error.
2013-03-14 15:16:38,682 DEBUG [TranscodingJobListener] Transcoding finished; successful: false
2013-03-14 15:16:38,927 DEBUG [WebServer] Incoming connection from /192.168.1.50:35800
2013-03-14 15:16:38,927 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.50
2013-03-14 15:16:38,928 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#Browse"' from 192.168.1.50
2013-03-14 15:16:38,928 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.50
2013-03-14 15:16:38,932 DEBUG [ContentDirectory] Browse() called for renderer Unrecognized device (profile 1) with parameters: objectID = V_F^FOL_R2$F5027, browseFlag = BrowseDirectChildren, filter = res,res@resolution,res@protocolInfo,res@size,res@duration,res@bitrate,res@sampleFrequency,res@bitsPerSample,res@nrAudioChannels,res@protection,dc:creator,dc:date,upnp:genre,upnp:album,upnp:originalTrackNumber,upnp:channelNr,upnp:scheduledStartTime,upnp:scheduledEndTime,upnp:icon,upnp:albumArtURI,upnp:artist,container@childCount, startIndex = 0, count = 1, sortCriteria =
2013-03-14 15:16:38,932 DEBUG [AccessGroupDAOImpl] Reading a AccessGroup (id = 1)
2013-03-14 15:16:38,932 DEBUG [FolderDAOImpl] Getting number of sub-Folders in folder 5027 [No_Restriction]
2013-03-14 15:16:38,933 DEBUG [VideoDAOImpl] Retrieving list of videos for folder 5027 (from=0, count=1) [No_Restriction]
2013-03-14 15:16:38,934 DEBUG [MediaItemDAOImpl] Getting file of media item 49842
2013-03-14 15:16:38,935 DEBUG [GenreDAOImpl] Reading a Genre (id = 215)
2013-03-14 15:16:38,935 DEBUG [VideoDAOImpl] Reading a Video (id = 49842)
2013-03-14 15:16:38,935 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 49842 and profile Generic DLNA profile
2013-03-14 15:16:38,935 DEBUG [MediaItemDAOImpl] Getting file of media item 49842
2013-03-14 15:16:38,936 DEBUG [SubtitlesService] Found external subtitle file: F:\utorrent\Incoming\Looper (2012) [1080p]\Looper.2012.1080p.BluRay.x264.YIFY.srt
2013-03-14 15:16:38,936 DEBUG [MediaItemDAOImpl] Getting file of media item 49842
2013-03-14 15:16:38,936 DEBUG [SubtitlesService] Found external subtitle file: F:\utorrent\Incoming\Looper (2012) [1080p]\Looper.2012.1080p.BluRay.x264.YIFY.srt
2013-03-14 15:16:38,936 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Looper.2012.1080p.BluRay.x264.YIFY.mp4: MPEG_PS_PAL
2013-03-14 15:16:38,936 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Looper.2012.1080p.BluRay.x264.YIFY.mp4: MPEG_PS_NTSC
2013-03-14 15:16:38,936 DEBUG [CoverImageDAOImpl] Reading a CoverImage (id = 14509)
2013-03-14 15:16:38,937 DEBUG [MediaItemDAOImpl] Getting file of media item 49842
2013-03-14 15:16:38,937 DEBUG [FolderDAOImpl] Getting number of VIDEO sub-folders and media items in folder 5027 (filter: ALL) [No_Restriction]
2013-03-14 15:16:38,938 DEBUG [LocalContentCacheDecorator] Stored entry in the cache (local_default), returning it
2013-03-14 15:16:38,941 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2013-03-14 15:16:38,945 DEBUG [WebServer] Incoming connection from /192.168.1.50:35801
2013-03-14 15:16:38,946 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.50
2013-03-14 15:16:38,946 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#Browse"' from 192.168.1.50
2013-03-14 15:16:38,946 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.50
2013-03-14 15:16:38,950 DEBUG [ContentDirectory] Browse() called for renderer Unrecognized device (profile 1) with parameters: objectID = V_F^FOL_R2$F5027$MI49842, browseFlag = BrowseMetadata, filter = res,res@resolution,res@protocolInfo,res@size,res@duration,res@bitrate,res@sampleFrequency,res@bitsPerSample,res@nrAudioChannels,res@protection,dc:creator,dc:date,upnp:genre,upnp:album,upnp:originalTrackNumber,upnp:channelNr,upnp:scheduledStartTime,upnp:scheduledEndTime,upnp:icon,upnp:albumArtURI,upnp:artist,container@childCount, startIndex = 0, count = 1, sortCriteria =
2013-03-14 15:16:38,950 DEBUG [AccessGroupDAOImpl] Reading a AccessGroup (id = 1)
2013-03-14 15:16:38,950 DEBUG [LocalContentCacheDecorator] Found entry in the cache (local_default), returning it
2013-03-14 15:16:38,954 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2013-03-14 15:16:38,959 DEBUG [WebServer] Incoming connection from /192.168.1.50:35802
2013-03-14 15:16:38,960 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.50
2013-03-14 15:16:38,960 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#Browse"' from 192.168.1.50
2013-03-14 15:16:38,960 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.50
2013-03-14 15:16:38,964 DEBUG [ContentDirectory] Browse() called for renderer Unrecognized device (profile 1) with parameters: objectID = V_F^FOL_R2$F5027, browseFlag = BrowseDirectChildren, filter = res,res@resolution,res@protocolInfo,res@size,res@duration,res@bitrate,res@sampleFrequency,res@bitsPerSample,res@nrAudioChannels,res@protection,dc:creator,dc:date,upnp:genre,upnp:album,upnp:originalTrackNumber,upnp:channelNr,upnp:scheduledStartTime,upnp:scheduledEndTime,upnp:icon,upnp:albumArtURI,upnp:artist,container@childCount, startIndex = 0, count = 1, sortCriteria =
2013-03-14 15:16:38,964 DEBUG [AccessGroupDAOImpl] Reading a AccessGroup (id = 1)
2013-03-14 15:16:38,964 DEBUG [LocalContentCacheDecorator] Found entry in the cache (local_default), returning it
2013-03-14 15:16:38,967 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2013-03-14 15:16:38,973 DEBUG [WebServer] Incoming connection from /192.168.1.50:35803
2013-03-14 15:16:38,974 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.50
2013-03-14 15:16:38,974 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#Browse"' from 192.168.1.50
2013-03-14 15:16:38,974 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.50
2013-03-14 15:16:38,978 DEBUG [ContentDirectory] Browse() called for renderer Unrecognized device (profile 1) with parameters: objectID = V_F^FOL_R2$F5027$MI49842, browseFlag = BrowseMetadata, filter = res,res@resolution,res@protocolInfo,res@size,res@duration,res@bitrate,res@sampleFrequency,res@bitsPerSample,res@nrAudioChannels,res@protection,dc:creator,dc:date,upnp:genre,upnp:album,upnp:originalTrackNumber,upnp:channelNr,upnp:scheduledStartTime,upnp:scheduledEndTime,upnp:icon,upnp:albumArtURI,upnp:artist,container@childCount, startIndex = 0, count = 1, sortCriteria =
2013-03-14 15:16:38,978 DEBUG [AccessGroupDAOImpl] Reading a AccessGroup (id = 1)
2013-03-14 15:16:38,978 DEBUG [LocalContentCacheDecorator] Found entry in the cache (local_default), returning it
2013-03-14 15:16:38,981 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2013-03-14 15:16:43,640 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: Transcoded file 'C:\Windows\TEMP\Serviio\transcoding-temp-49842-1-ORIGINAL-ff942a9a37341bd39749a8c17157c619.stf' cannot be found, FFmpeg execution probably failed
java.io.IOException: Transcoded file 'C:\Windows\TEMP\Serviio\transcoding-temp-49842-1-ORIGINAL-ff942a9a37341bd39749a8c17157c619.stf' cannot be found, FFmpeg execution probably failed
   at org.serviio.delivery.resource.transcode.FileBasedTranscodingDeliveryStrategy.createInputStream(FileBasedTranscodingDeliveryStrategy.java:45)
   at org.serviio.delivery.resource.transcode.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:131)
   at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:100)
   at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:120)
   at org.serviio.delivery.GETMethodProcessor.retrieveResource(GETMethodProcessor.java:120)
   at org.serviio.delivery.GETMethodProcessor.buildDeliveryContainer(GETMethodProcessor.java:48)
   at org.serviio.delivery.AbstractMethodProcessor.handleRequest(AbstractMethodProcessor.java:100)
   at org.serviio.delivery.ResourceDeliveryProcessor.deliverContent(ResourceDeliveryProcessor.java:80)
   at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:86)
   at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:61)
   at org.apache.http.protocol.HttpService.doService(HttpService.java:293)
   at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:58)
   at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:212)
   at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:192)
2013-03-14 15:16:43,675 DEBUG [WebServer] Incoming connection from /192.168.1.50:35804
2013-03-14 15:16:43,676 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.50
2013-03-14 15:16:43,677 DEBUG [ResourceTransportRequestHandler] GET /resource/49842/MEDIA_ITEM/MPEG_PS_PAL-0/ORIGINAL HTTP/1.1, headers = [HOST: 192.168.1.2:8895,DATE: Thu, 14 Mar 2013 15:17:18 GMT,CONNECTION: Keep-Alive,USER-AGENT: IPI/1.0 UPnP/1.0 DLNADOC/1.50,friendlyName.dlna.org: BD-Player,transferMode.dlna.org: Streaming,TimeSeekRange.dlna.org: npt=0-]]
2013-03-14 15:16:43,677 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.50
2013-03-14 15:16:43,678 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.1.50, Profile=Generic DLNA profile'
2013-03-14 15:16:43,680 DEBUG [ResourceDeliveryProcessor] Request for resource 49842 and type 'MEDIA_ITEM' received
2013-03-14 15:16:43,680 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 49842 (local)
2013-03-14 15:16:43,680 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 49842)
2013-03-14 15:16:43,681 DEBUG [VideoDAOImpl] Reading a Video (id = 49842)
2013-03-14 15:16:43,681 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 49842, format MPEG_PS_PAL and profile Generic DLNA profile
2013-03-14 15:16:43,681 DEBUG [MediaItemDAOImpl] Getting file of media item 49842
<<

fabfor

Serviio newbie

Posts: 7

Joined: Wed Mar 13, 2013 11:49 pm

Post Fri Mar 15, 2013 2:01 pm

Re: problem with burned-in subtitles

no hints?
is ffmpeg command line syntax correct?
I have a huge library of foreign movies with subs...

meanwhile I made another attempt without spaces or ()[] characters in filename and path with the same result

Thanks
<<

Illico

User avatar

DLNA master

Posts: 4649

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Fri Mar 15, 2013 3:28 pm

Re: problem with burned-in subtitles

We can see that ffmpeg crashed.
Could retry the same command line in a local windows terminal ?
  Code:
C:\Program Files\Serviio\bin\\..\lib/ffmpeg.exe -threads auto -i "F:\utorrent\Incoming\Looper (2012) [1080p]\Looper.2012.1080p.BluRay.x264.YIFY.mp4" -y -c:v mpeg2video -qscale:v 1 -vf subtitles=filename="F\\:/utorrent/Incoming/Looper (2012) [1080p]/Looper.2012.1080p.BluRay.x264.YIFY.srt":original_size=1920x816 -r 24000/1001 -g 15 -c:a ac3 -b:a 384k -ac 2 -map 0:0 -map 0:1 -sn -f vob "C:\Windows\TEMP\Serviio\transcoding-temp-49842-1-ORIGINAL-ff942a9a37341bd39749a8c17157c619.stf"

But I suggest to remove ()[] on both file and folder path. There is a bug on 1.2 about that. (will be fixed on next version)
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

fabfor

Serviio newbie

Posts: 7

Joined: Wed Mar 13, 2013 11:49 pm

Post Fri Mar 15, 2013 4:00 pm

Re: problem with burned-in subtitles

Thanks for the answer.

The command line
  Code:
C:\Windows\system32>"C:\Program Files\Serviio\lib\ffmpeg.exe" -threads auto -i "F:\utorrent\Incoming\Kill.Bill.Vol.1.2003\Kill.Bill.Vol.1.2003.1080p.BrRIp.x264.YIFY.mp4" -y -c:v mpeg2video -qscale:v 1 -vf subtitles=filename="F\\:/utorrent\Incoming\Kill.Bill.Vol.1.2003\Kill.Bill.Vol.1.2003.1080p.BrRIp.x264.YIFY.srt":original_size=1920x816 -r 24000/1001 -g 15 -c:a ac3 -b:a 384k -ac 2 -map 0:0 -map 0:1 -sn -f vob "C:\Windows\TEMP\Serviio\transcoding-temp-49842-1-ORIGINAL-ff942a9a37341bd39749a8c17157c619.stf"


returns an ffmpeg crash

in event viewer->windows->application
an error ens several (identical) info events are generated
info events are
  Code:
Bucket errato , tipo 0
Nome evento: APPCRASH
Risposta: Non disponibile
ID CAB: 0

Firma problema:
P1: ffmpeg.exe
P2: 0.0.0.0
P3: 513eb8eb
P4: ffmpeg.exe
P5: 0.0.0.0
P6: 513eb8eb
P7: c0000005
P8: 00eddf2c
P9:
P10:

File allegati:

I file potrebbero essere disponibili qui:
C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_ffmpeg.exe_f3a6ab979fcbd44d15faba27e8412c44433777_12d3aefc

Simbolo analisi:
Nuova ricerca di soluzioni: 0
ID rapporto: c1b4d89b-8d87-11e2-8758-fc7516674b2d
<<

Illico

User avatar

DLNA master

Posts: 4649

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Fri Mar 15, 2013 5:16 pm

Re: problem with burned-in subtitles

fabfor wrote:in event viewer->windows->application

No, I don't want this...
I want the ffmpeg log that appears on windows terminal console (cmd)
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

fabfor

Serviio newbie

Posts: 7

Joined: Wed Mar 13, 2013 11:49 pm

Post Fri Mar 15, 2013 8:52 pm

Re: problem with burned-in subtitles

Illico wrote:
fabfor wrote:in event viewer->windows->application

No, I don't want this...
I want the ffmpeg log that appears on windows terminal console (cmd)


you're right, but I didn't post it because it doesn't look like an error report:

  Code:
ffmpeg version N-50663-gb5e5ed8 Copyright (c) 2000-2013 the FFmpeg developers
  built on Mar 12 2013 01:09:28 with gcc 4.7.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-lib
vo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 19.100 / 52. 19.100
  libavcodec     54. 92.100 / 54. 92.100
  libavformat    54. 63.104 / 54. 63.104
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 44.101 /  3. 44.101
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102


adding -loglevel debug to the command line I get, in addition

  Code:
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set libav* logging level) with argument 'debug'.
Reading option '-threads' ... matched as AVOption 'threads' with argument 'auto'.
Reading option '-i' ... matched as input file with argument 'F:\utorrent\Incoming\Kill.Bill.Vol.1.2003\Kill.Bill.Vol.1.2003.1080p.BrRIp.x264.YIFY.mp4'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'mpeg2video'.
Reading option '-qscale:v' ... matched as option 'qscale' (use fixed quality scale (VBR)) with argument '1'.
Reading option '-vf' ... matched as option 'vf' (set video filters) with argument 'subtitles=filename=F\\:\utorrent\Incoming\Kill.Bill.Vol.1.2003\Kill.Bill.Vol.1.2003.1080p.BrRIp.x264.YIFY.srt:original_size=1920x816'.
Reading option '-r' ... matched as option 'r' (set frame rate (Hz value, fraction or abbreviation)) with argument '24000/1001'.
Reading option '-g' ... matched as AVOption 'g' with argument '15'.
Reading option '-c:a' ... matched as option 'c' (codec name) with argument 'ac3'.
Reading option '-b:a' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '384k'.
Reading option '-ac' ... matched as option 'ac' (set number of audio channels) with argument '2'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0:0'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0:1'.
Reading option '-sn' ... matched as option 'sn' (disable subtitle) with argument '1'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'vob'.
Reading option 'C:\Windows\TEMP\Serviio\transcoding-temp-49842-1-ORIGINAL-ff942a9a37341bd39749a8c17157c619.stf' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set libav* logging level) with argument debug.
Applying option y (overwrite output files) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file F:\utorrent\Incoming\Kill.Bill.Vol.1.2003\Kill.Bill.Vol.1.2003.1080p.BrRIp.x264.YIFY.mp4.
Successfully parsed a group of options.
Opening an input file: F:\utorrent\Incoming\Kill.Bill.Vol.1.2003\Kill.Bill.Vol.1.2003.1080p.BrRIp.x264.YIFY.mp4.
[mov,mp4,m4a,3gp,3g2,mj2 @ 023479a0] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 023479a0] ISO: File Type Major Brand: isom
[mov,mp4,m4a,3gp,3g2,mj2 @ 023479a0] File position before avformat_find_stream_info() is 1612917103
[h264 @ 02f61880] Using externally provided dimensions
<<

fabfor

Serviio newbie

Posts: 7

Joined: Wed Mar 13, 2013 11:49 pm

Post Sat Mar 16, 2013 9:53 pm

Re: problem with burned-in subtitles

I solved downloading ffmeg v.1.1.1 and putting it in lib folder.

I had first errors with the version that came bundled with serviio 1.2 (supposedly ffmpeg v. 1.1.1 as I read here http://www.serviio.org/download), thus I replaced it with ffmpeg v. N-50663-gb5e5ed8 built on Mar 12 2013, which gave me the errors described above.

Going back to v. 1.1.1 downloaded here http://ffmpeg.zeranoe.com/builds/win32/static/ solved everything.

... confused but glad to have subtitles now....
<<

Wingmann

Serviio newbie

Posts: 13

Joined: Thu Sep 20, 2012 2:08 pm

Post Tue Apr 02, 2013 4:50 pm

Re: [SOLVED] problem with burned-in subtitles

Everything was playing fine in my Philips set with the profile I prepared (now default 2010 with Serviio) until I noticed that I couldn't play .MP4 files with the "burn-in" option activated IF there are subtitles present.

MKV + subs + burn-in = Play!
MP4 + subs + burn-in = Fail
MP4 + subs - burn-in = Play!
MP4 - subs + burn-in = Play!

For some reason the MP4 container doesn't like the burn-in option. It also happens with M4V containers.

I'm going to try with the FFMPEG.EXE that you suggest and see what happens <- It didn't change anything.

I have found, however, that some other MP4 files do work with .srt and the burn-in option, so maybe it's a problem with certain MP4 files only.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 16851

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Apr 02, 2013 9:06 pm

Re: [SOLVED] problem with burned-in subtitles

is there a FFmpeg failure in your log when playing the file?
<<

Wingmann

Serviio newbie

Posts: 13

Joined: Thu Sep 20, 2012 2:08 pm

Post Thu Apr 04, 2013 1:45 pm

Re: [SOLVED] problem with burned-in subtitles

Not that I see. I just get this:

  Code:
2013-04-04 15:39:31,087 WARN  [ProcessExecutor] Process cmd has a return code of 1! This is a possible error. Detailed output follows.
handler_name    : Sound Media Handler
[Parsed_setdar_1 @ 03807f80] num:den syntax is deprecated, please use num/den or named options instead
[Parsed_subtitles_2 @ 0036b380] Unable to open E:/Peliculas/The Hobbit An Unexpected Journey 2012 1080p/The.Hobbit.An.Unexpected.Journey.1080p.srt
[AVFilterGraph @ 0036eae0] Error initializing filter 'subtitles' with args 'filename=E\:/Peliculas/The Hobbit An Unexpected Journey 2012 1080p/The.Hobbit.An.Unexpected.Journey.1080p.srt:original_size=1920x800'
Error opening filters!


Tried another title that doesn't work and got several errors:
  Code:
2013-04-04 15:43:29,530 WARN  [ProcessExecutor] Process cmd has a return code of 1! This is a possible error. Detailed output follows.
[mp3 @ 04f509a0] Format mp3 detected only with low score of 1, misdetection possible!
[mp3 @ 04f509a0] Estimating duration from bitrate, this may be inaccurate
[Parsed_subtitles_2 @ 0217a6e0] Unable to locate subtitle stream in E:/Peliculas/The Hunt For Red October 1990 1080p HDDVDRip H264 AAC/The Hunt For Red October.srt
[AVFilterGraph @ 0217e840] Error initializing filter 'subtitles' with args 'filename=E\:/Peliculas/The Hunt For Red October 1990 1080p HDDVDRip H264 AAC/The Hunt For Red October.srt:original_size=1920x816'
Error opening filters!
2013-04-04 15:43:35,603 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: FFmpeg execution failed
java.io.IOException: FFmpeg execution failed
   at org.serviio.delivery.resource.transcode.FileBasedTranscodingDeliveryStrategy.createInputStream(FileBasedTranscodingDeliveryStrategy.java:47)
   at org.serviio.delivery.resource.transcode.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:131)
   at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:108)
   at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:120)
   at org.serviio.delivery.GETMethodProcessor.retrieveResource(GETMethodProcessor.java:120)
   at org.serviio.delivery.GETMethodProcessor.buildDeliveryContainer(GETMethodProcessor.java:48)
   at org.serviio.delivery.AbstractMethodProcessor.handleRequest(AbstractMethodProcessor.java:132)
   at org.serviio.delivery.ResourceDeliveryProcessor.deliverContent(ResourceDeliveryProcessor.java:80)
   at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:85)
   at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:61)
   at org.apache.http.protocol.HttpService.doService(HttpService.java:293)
   at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:77)
   at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:212)
   at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:192)
2013-04-04 15:43:35,636 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: FFmpeg execution failed
java.io.IOException: FFmpeg execution failed
   at org.serviio.delivery.resource.transcode.FileBasedTranscodingDeliveryStrategy.createInputStream(FileBasedTranscodingDeliveryStrategy.java:47)
   at org.serviio.delivery.resource.transcode.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:131)
   at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:108)
   at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:120)
   at org.serviio.delivery.GETMethodProcessor.retrieveResource(GETMethodProcessor.java:120)
   at org.serviio.delivery.GETMethodProcessor.buildDeliveryContainer(GETMethodProcessor.java:48)
   at org.serviio.delivery.AbstractMethodProcessor.handleRequest(AbstractMethodProcessor.java:132)
   at org.serviio.delivery.ResourceDeliveryProcessor.deliverContent(ResourceDeliveryProcessor.java:80)
   at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:85)
   at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:61)
   at org.apache.http.protocol.HttpService.doService(HttpService.java:293)
   at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:77)
   at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:212)
   at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:192)
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 16851

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Apr 12, 2013 10:29 pm

Re: [SOLVED] problem with burned-in subtitles

Are you on Windows and using the bundled FFmeg?
Does this file exist? E:/Peliculas/The Hobbit An Unexpected Journey 2012 1080p/The.Hobbit.An.Unexpected.Journey.1080p.srt
<<

Wingmann

Serviio newbie

Posts: 13

Joined: Thu Sep 20, 2012 2:08 pm

Post Sat Apr 13, 2013 6:54 pm

Re: [SOLVED] problem with burned-in subtitles

Yes, I'm on Windows and using the bundled ffmpeg.

And yes, the .srt file exists. I made sure both the movie and file were named the same, got rid of [] and (), etc.
<<

Wingmann

Serviio newbie

Posts: 13

Joined: Thu Sep 20, 2012 2:08 pm

Post Sun Apr 14, 2013 4:09 pm

Re: [SOLVED] problem with burned-in subtitles

Solved!

I got the newest ffmpeg.exe from here: http://ffmpeg.zeranoe.com/builds/win64/static/ (Note I went to the win64 folder)

And all the mp4 and m4v pictures except ONE work with subtitles now. It's certainly a problem with the bundled version of ffmpeg.exe :)
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 16851

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Apr 19, 2013 3:59 pm

Re: [SOLVED] problem with burned-in subtitles

Good to hear that. Next version will have new FFmpeg, so it should solve it.
<<

agucortes

Serviio newbie

Posts: 17

Joined: Thu Apr 11, 2013 1:09 am

Post Sat Jul 06, 2013 1:38 am

Re: [SOLVED] problem with burned-in subtitles

same problem here. I update ffmpeg to the last one and start having problems. The same errors. So i'm going back.
There is some issue with ffmpeg and AVFilterGraph and the SRT subs

EDIT: The only problem was the encoding of the SRT files, it has to be UTF8.
Now is working properly with the latest version :D

EDIT 2: I leave here the batch code to encode all srt files with Power Shell
first go to the main folder of your media

  Code:
get-childitem .\* -include *.srt -recurse | ForEach-Object { (Get-Content $_) | Out-File -Encoding UTF8 $_ }


PS: name with spaces or "()" or "[]" cause problems
<<

Wingmann

Serviio newbie

Posts: 13

Joined: Thu Sep 20, 2012 2:08 pm

Post Sat Jul 06, 2013 7:42 pm

Re: [SOLVED] problem with burned-in subtitles

I've finally solved the last problem I had with some subtitles that wouldn't run.

In order to work properly, the .srt file HAS TO HAVE A #1 LINE. Many of the .srt files I've got start like this:

  Code:
2                                             <---------------- No line 1
00:00:52,619 --> 00:00:55,854
TEXT

3
00:00:55,619 --> 00:00:56,854
MORE TEXT


Without a line numbered 1 Serviio would not be able to recognize the file, so just edit the file, add the line number 1 and a time code (00:00:01,000 --> 00:00:01,000) and you are set.

I've encoded some .srt in ANSI and some others in UTF8 (with Notepad++) and both formats work the same.
<<

Wingmann

Serviio newbie

Posts: 13

Joined: Thu Sep 20, 2012 2:08 pm

Post Thu Jul 18, 2013 6:40 pm

Re: [SOLVED] problem with burned-in subtitles

Update: Files starting with a "0" line will also work.

Resume:

1.- Update your ffmpeg
2.- Be sure the .srt files are either ANSI or UTF8 (neither Endian formats will work)
3.- Be sure the .srt files start with a 0 or 1 line. If they don't, just edit them.

Return to Philips

Who is online

Users browsing this forum: No registered users and 2 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.