FFMPEG failed with burned in subtitles
Hi there,
I was trying to get burned in subtitles to work but FFMPEG kept failing. Code 1
Hints and tips welcome
I was trying to get burned in subtitles to work but FFMPEG kept failing. Code 1
- Code:
2013-04-12 23:02:42,484 DEBUG [MediaItemDAOImpl] Getting file of media item 191
2013-04-12 23:02:42,484 DEBUG [SubtitlesService] Found external subtitle file: /Volumes/Buffalo_500/Transmission/Sinister (2012) [1080p]/Sinister.2012.1080p.BRrip.x264.GAZ.YIFY.srt
2013-04-12 23:02:42,484 DEBUG [MediaItemDAOImpl] Getting file of media item 191
2013-04-12 23:02:42,484 DEBUG [SubtitlesService] Found external subtitle file: /Volumes/Buffalo_500/Transmission/Sinister (2012) [1080p]/Sinister.2012.1080p.BRrip.x264.GAZ.YIFY.srt
2013-04-12 23:02:42,485 DEBUG [VideoDeliveryEngine] Delivering file 'Sinister.2012.1080p.BRrip.x264.GAZ.YIFY.mp4' using transcoding
2013-04-12 23:02:42,485 DEBUG [MediaItemDAOImpl] Getting file of media item 191
2013-04-12 23:02:42,485 DEBUG [SubtitlesService] Found external subtitle file: /Volumes/Buffalo_500/Transmission/Sinister (2012) [1080p]/Sinister.2012.1080p.BRrip.x264.GAZ.YIFY.srt
2013-04-12 23:02:42,486 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'Identifier=192.168.1.100, Profile=Sony Bravia TV (2011)'
2013-04-12 23:02:42,487 DEBUG [MediaItemDAOImpl] Getting file of media item 191
2013-04-12 23:02:42,488 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: /Volumes/Buffalo_500/Transmission/Sinister (2012) [1080p]/Sinister.2012.1080p.BRrip.x264.GAZ.YIFY.mp4
2013-04-12 23:02:42,489 DEBUG [ProcessExecutor] Starting /Applications/Serviio.app/Contents/Resources/Java/../../MacOS/ffmpeg -threads 4 -i /Volumes/Buffalo_500/Transmission/Sinister (2012) [1080p]/Sinister.2012.1080p.BRrip.x264.GAZ.YIFY.mp4 -y -c:v mpeg2video -b:v 17000k -maxrate:v 17000k -bufsize:v 17000k -vf pad=1920:1080:0:140:black,setdar=4:3,subtitles=filename='/Volumes/Buffalo_500/Transmission/Sinister (2012) \\\[1080p\\\]/Sinister.2012.1080p.BRrip.x264.GAZ.YIFY.srt':original_size=1920x800 -r 24000/1001 -g 15 -c:a ac3 -b:a 384k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts /var/folders/2l/2fccd1k54hb2rffqkx91fpsw0000gn/T/Serviio/transcoding-temp-191-sony2011-ORIGINAL-b2ba48b2dd14f64618bfd596f454ac0a.stf
2013-04-12 23:02:42,580 WARN [ProcessExecutor] Process /Applications/Serviio.app/Contents/Resources/Java/../../MacOS/ffmpeg has a return code of 1! This is a possible error. Detailed output follows.
handler_name : GPAC ISO Audio Handler
[Parsed_setdar_1 @ 0xf60de0] num:den syntax is deprecated, please use num/den or named options instead
[Parsed_subtitles_2 @ 0xf609c0] Unable to open /Volumes/Buffalo_500/Transmission/Sinister (2012) \[1080p\]/Sinister.2012.1080p.BRrip.x264.GAZ.YIFY.srt
[AVFilterGraph @ 0xf60b60] Error initializing filter 'subtitles' with args 'filename=/Volumes/Buffalo_500/Transmission/Sinister (2012) \\\[1080p\\\]/Sinister.2012.1080p.BRrip.x264.GAZ.YIFY.srt:original_size=1920x800'
Error opening filters!
2013-04-12 23:02:42,580 DEBUG [TranscodingJobListener] Transcoding finished; successful: false
2013-04-12 23:02:50,005 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:100)
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-12 23:02:52,180 DEBUG [ServiioHttpService] Incoming request from /192.168.1.100:36948: POST /serviceControl HTTP/1.1, headers = [X-AV-Physical-Unit-Info: pa="BRAVIA KDL-40CX520";,X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="BRAVIA KDL-40CX520"; mv="1.7";,Host: 192.168.1.188:8895,User-Agent: UPnP/1.0 DLNADOC/1.50,Content-Length: 648,Content-Type: text/xml; charset="utf-8",SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"]]
2013-04-12 23:02:52,180 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.100
2013-04-12 23:02:52,182 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#Browse"' from 192.168.1.100
2013-04-12 23:02:52,182 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.100
2013-04-12 23:02:52,186 DEBUG [ContentDirectory] Browse() called for renderer KDL-40CX520 (profile sony2011) with parameters: objectID = V_F^FOL_R1, browseFlag = BrowseDirectChildren, filter = dc:title,av:mediaClass,dc:date,@childCount,res,upnp:class,res@resolution,upnp:album,upnp:genre,upnp:albumArtURI,upnp:albumArtURI@dlna:profileID,dc:creator,res@size,res@duration,res@bitrate,res@protocolInfo, startIndex = 0, count = 10, sortCriteria =
2013-04-12 23:02:52,187 DEBUG [AccessGroupDAOImpl] Reading a AccessGroup (id = 1)
Hints and tips welcome