apostrophe being stripped from file title
Hi,
I was watching my movies when I hit a snag in the last video of a series. I can verify that a comma in the title causes ffmpeg to fail in transcoding.
Version: 1.3.1
Thanks,
Karnith
I was watching my movies when I hit a snag in the last video of a series. I can verify that a comma in the title causes ffmpeg to fail in transcoding.
Version: 1.3.1
- Code:
2013-09-03 15:18:45,903 DEBUG [VideoDeliveryEngine] Delivering item '3319' for client 'Identifier=192.168.1.1, Profile=Sony Bravia TV (2010)'
2013-09-03 15:18:45,903 DEBUG [MediaItemDAOImpl] Getting file of media item 3319
2013-09-03 15:18:45,905 DEBUG [SubtitlesService] Found external subtitle file: /media/Media/Anime/Words Worth/Words Worth - Episode 5 Glimmer's End (2000)/Words Worth - Episode 5 Glimmer's End.srt
2013-09-03 15:18:45,906 DEBUG [MediaItemDAOImpl] Getting file of media item 3319
2013-09-03 15:18:45,908 DEBUG [SubtitlesService] Found external subtitle file: /media/Media/Anime/Words Worth/Words Worth - Episode 5 Glimmer's End (2000)/Words Worth - Episode 5 Glimmer's End.srt
2013-09-03 15:18:45,908 DEBUG [VideoDeliveryEngine] Delivering file 'Words Worth - Episode 5 Glimmer's End.mkv' using transcoding
2013-09-03 15:18:45,908 DEBUG [MediaItemDAOImpl] Getting file of media item 3319
2013-09-03 15:18:45,911 DEBUG [SubtitlesService] Found external subtitle file: /media/Media/Anime/Words Worth/Words Worth - Episode 5 [color=#40BF00]Glimmer's[/color] End (2000)/Words Worth - Episode 5 Glimmer's End.srt
2013-09-03 15:18:45,914 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'Identifier=192.168.1.1, Profile=Sony Bravia TV (2010)'
2013-09-03 15:18:45,916 DEBUG [MediaItemDAOImpl] Getting file of media item 3319
2013-09-03 15:18:45,919 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: /media/Media/Anime/Words Worth/Words Worth - Episode 5 Glimmer's End (2000)/Words Worth - Episode 5 Glimmer's End.mkv
2013-09-03 15:18:45,920 DEBUG [ProcessExecutor] Starting /usr/local/bin/ffmpeg -threads auto -i /media/Media/Anime/Words Worth/Words Worth - Episode 5 Glimmer's End (2000)/Words Worth - Episode 5 Glimmer's End.mkv -y -threads auto -c:v mpeg2video -b:v 17000k -maxrate:v 17000k -bufsize:v 17000k -vf pad=1280:720:160:0:black,setdar=4:3,subtitles=filename='/media/Media/Anime/Words Worth/Words Worth - Episode 5 [color=#40BF00]Glimmer\\\\\'s[/color] End (2000)/Words Worth - Episode 5 Glimmer\\\\\'s End.srt':original_size=960x720:charenc=UTF-8 -r 30000/1001 -g 15 -c:a ac3 -b:a 384k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts /tmp/Serviio/transcoding-temp-3319-sony2010-ORIGINAL-5facc9f32ad0c795c86afe4a1ef4b8db.stf
2013-09-03 15:18:46,096 WARN [ProcessExecutor] Process /usr/local/bin/ffmpeg has a return code of 1! This is a possible error. Detailed output follows.
Stream #0:3(eng): Subtitle: subrip (default)
[Parsed_setdar_1 @ 0x1f861a0] num:den syntax is deprecated, please use num/den or named options instead
[Parsed_subtitles_2 @ 0x202b580] Unable to open /media/Media/Anime/Words Worth/Words Worth - Episode 5 [color=#BF0040]Glimmer\\s[/color] End (2000)/Words Worth - Episode 5 Glimmer\s End.srt:original_size=960x720:charenc=UTF-8
[AVFilterGraph @ 0x1fe1160] Error initializing filter 'subtitles' with args 'filename=/media/Media/Anime/Words Worth/Words Worth - Episode 5 [b][color=#800040]Glimmer\\\\\s[/color][/b] End (2000)/Words Worth - Episode 5 Glimmer\\'s End.srt:original_size=960x720:charenc=UTF-8'
Error opening filters!
2013-09-03 15:18:46,096 DEBUG [TranscodingJobListener] Transcoding finished; successful: false
2013-09-03 15:18:46,521 DEBUG [ServiioHttpService] Incoming request from /192.168.1.1:35598: POST /serviceControl HTTP/1.1, headers = [X-AV-Physical-Unit-Info: pa="BRAVIA KDL-52NX800";,X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="BRAVIA KDL-52NX800"; mv="1.7";,Host: 192.168.1.14:8895,User-Agent: UPnP/1.0 DLNADOC/1.50,Content-Length: 649,Content-Type: text/xml; charset="utf-8",SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"]]
2013-09-03 15:18:46,522 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.1
2013-09-03 15:18:46,523 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#Browse"' from 192.168.1.1
2013-09-03 15:18:46,523 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.1
2013-09-03 15:18:46,530 DEBUG [ContentDirectory] Browse() called for renderer KDL-52NX800 (profile sony2010) with parameters: objectID = V_T^INI_87, 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 = 20, count = 10, sortCriteria =
2013-09-03 15:18:46,530 DEBUG [AccessGroupDAOImpl] Reading a AccessGroup (id = 1)
2013-09-03 15:18:46,530 DEBUG [LocalContentCacheDecorator] Found entry in the cache (local_default), returning it
2013-09-03 15:18:46,547 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2013-09-03 15:18:47,933 DEBUG [ServiioHttpService] Incoming request from /192.168.1.1:35599: POST /serviceControl HTTP/1.1, headers = [X-AV-Physical-Unit-Info: pa="BRAVIA KDL-52NX800";,X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="BRAVIA KDL-52NX800"; mv="1.7";,Host: 192.168.1.14:8895,User-Agent: UPnP/1.0 DLNADOC/1.50,Content-Length: 649,Content-Type: text/xml; charset="utf-8",SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"]]
2013-09-03 15:18:47,934 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.1
2013-09-03 15:18:47,935 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#Browse"' from 192.168.1.1
2013-09-03 15:18:47,936 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.1
2013-09-03 15:18:47,953 DEBUG [ContentDirectory] Browse() called for renderer KDL-52NX800 (profile sony2010) with parameters: objectID = V_T^INI_87, 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 = 30, count = 10, sortCriteria =
2013-09-03 15:18:47,953 DEBUG [AccessGroupDAOImpl] Reading a AccessGroup (id = 1)
2013-09-03 15:18:47,954 DEBUG [LocalContentCacheDecorator] Found entry in the cache (local_default), returning it
2013-09-03 15:18:47,960 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2013-09-03 15:18:55,945 DEBUG [TranscodingJobListener] Deleted temp file '/tmp/Serviio/transcoding-temp-3319-sony2010-ORIGINAL-5facc9f32ad0c795c86afe4a1ef4b8db.stf': true
2013-09-03 15:18:55,946 DEBUG [AbstractTranscodingDeliveryEngine] Removing transcoding listener with id transcoding-temp-3319-sony2010-ORIGINAL-5facc9f32ad0c795c86afe4a1ef4b8db.stf
2013-09-03 15:18:55,947 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:49)
at org.serviio.delivery.resource.transcode.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:134)
at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:110)
at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:153)
at org.serviio.delivery.GETMethodProcessor.retrieveResource(GETMethodProcessor.java:121)
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:81)
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:77)
at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:212)
at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:192)
Thanks,
Karnith