Apostrophe in file name
Example: movie and subtitle file:
193 The Doctor's Daughter.mkv
193 The Doctor's Daughter.ass
The following is from the logfile (after setting the log level to DEBUG):
- Code:
2015-01-18 11:07:37,624 DEBUG [ServiioHttpService] Incoming request from /10.1.33.60:48079: GET /resource/69912/MEDIA_ITEM/MPEG_TS_SD_NA_ISO-0/ORIGINAL HTTP/1.1, headers = [User-Agent: UPnP/1.0 DLNADOC/1.50,Host: 10.1.33.1:8895,Accept: */*,TimeSeekRange.dlna.org: npt=0-,X-AV-Physical-Unit-Info: pa="Blu-ray Disc Player",X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="Blu-ray Disc Player"; mv="2.0",getcontentFeatures.dlna.org: 1,Pragma: getIfoFileURI.dlna.org,transferMode.dlna.org: Streaming]]
2015-01-18 11:07:37,624 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 10.1.33.60
2015-01-18 11:07:37,625 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 10.1.33.60
2015-01-18 11:07:37,627 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=10.1.33.60, Profile=Sony BDP-Sx70/SMP-N100 (2010)'
2015-01-18 11:07:37,627 DEBUG [ResourceDeliveryProcessor] Request for resource 69912 and type 'MEDIA_ITEM' received
2015-01-18 11:07:37,627 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 69912 (local)
2015-01-18 11:07:37,627 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 69912)
2015-01-18 11:07:37,628 DEBUG [VideoDAOImpl] Reading a Video (id = 69912)
2015-01-18 11:07:37,629 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 69912, format MPEG_TS_SD_NA_ISO and profile Sony BDP-Sx70/SMP-N100 (2010)
2015-01-18 11:07:37,629 DEBUG [MediaItemDAOImpl] Getting file of media item 69912
2015-01-18 11:07:37,630 DEBUG [SubtitlesService] Found external subtitle file: /mnt/data/serviio-video/Dr Who/e. Series 4/193 The Doctor's Daughter.ass
2015-01-18 11:07:37,630 DEBUG [MediaItemDAOImpl] Getting file of media item 69912
2015-01-18 11:07:37,631 DEBUG [SubtitlesService] Found external subtitle file: /mnt/data/serviio-video/Dr Who/e. Series 4/193 The Doctor's Daughter.ass
2015-01-18 11:07:37,631 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file 193 The Doctor's Daughter.mkv
2015-01-18 11:07:37,631 DEBUG [MediaItemDAOImpl] Getting file of media item 69912
2015-01-18 11:07:37,632 DEBUG [SubtitlesService] Found external subtitle file: /mnt/data/serviio-video/Dr Who/e. Series 4/193 The Doctor's Daughter.ass
2015-01-18 11:07:37,632 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file "193 The Doctor's Daughter.mkv": MPEG_TS_SD_EU_ISO
2015-01-18 11:07:37,632 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file "193 The Doctor's Daughter.mkv": MPEG_TS_SD_NA_ISO
2015-01-18 11:07:37,632 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file "193 The Doctor's Daughter.mkv": MPEG_TS_SD_KO_ISO
2015-01-18 11:07:37,633 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 69912 (local)
2015-01-18 11:07:37,633 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 69912)
2015-01-18 11:07:37,634 DEBUG [VideoDAOImpl] Reading a Video (id = 69912)
2015-01-18 11:07:37,634 DEBUG [VideoDeliveryEngine] Delivering item '69912' for client 'Identifier=10.1.33.60, Profile=Sony BDP-Sx70/SMP-N100 (2010)'
2015-01-18 11:07:37,635 DEBUG [MediaItemDAOImpl] Getting file of media item 69912
2015-01-18 11:07:37,636 DEBUG [SubtitlesService] Found external subtitle file: /mnt/data/serviio-video/Dr Who/e. Series 4/193 The Doctor's Daughter.ass
2015-01-18 11:07:37,636 DEBUG [MediaItemDAOImpl] Getting file of media item 69912
2015-01-18 11:07:37,637 DEBUG [SubtitlesService] Found external subtitle file: /mnt/data/serviio-video/Dr Who/e. Series 4/193 The Doctor's Daughter.ass
2015-01-18 11:07:37,638 DEBUG [VideoDeliveryEngine] Delivering file '193 The Doctor's Daughter.mkv' using transcoding
2015-01-18 11:07:37,638 DEBUG [MediaItemDAOImpl] Getting file of media item 69912
2015-01-18 11:07:37,639 DEBUG [SubtitlesService] Found external subtitle file: /mnt/data/serviio-video/Dr Who/e. Series 4/193 The Doctor's Daughter.ass
2015-01-18 11:07:37,642 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'Identifier=10.1.33.60, Profile=Sony BDP-Sx70/SMP-N100 (2010)'
2015-01-18 11:07:37,645 DEBUG [MediaItemDAOImpl] Getting file of media item 69912
2015-01-18 11:07:37,647 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: /mnt/data/serviio-video/Dr Who/e. Series 4/193 The Doctor's Daughter.mkv
2015-01-18 11:07:37,648 DEBUG [ProcessExecutor] Starting ffmpeg -threads auto -i /mnt/data/serviio-video/Dr Who/e. Series 4/193 The Doctor's Daughter.mkv -y -threads auto -c:v mpeg2video -pix_fmt yuv420p -b:v 17000k -maxrate:v 17000k -bufsize:v 17000k -vf subtitles=filename='/mnt/data/serviio-video/Dr Who/e. Series 4/193 The Doctor\\\\\\\'s Daughter.ass':original_size=1872x1080:charenc=UTF-8 -r 24000/1001 -g 15 -c:a ac3 -b:a 320k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts /tmp/Serviio/transcoding-temp-69912-bdp2010-ORIGINAL-546e4d11f7a7bd0a3a564e4e3873942b.stf
2015-01-18 11:07:37,730 WARN [ProcessExecutor] Process ffmpeg has a return code of 1! This is a possible error. Detailed output follows.
[AVFilterGraph @ 0x1bb4fa0] [Eval @ 0x7fff38f4d920] Undefined constant or missing '(' in 'auto'
[AVFilterGraph @ 0x1bb4fa0] Unable to parse option value "auto"
[Parsed_subtitles_0 @ 0x1bad720] Unable to open /mnt/data/serviio-video/Dr Who/e. Series 4/193 The Doctor\\\s Daughter.ass
[AVFilterGraph @ 0x1bb4fa0] Error initializing filter 'subtitles' with args 'filename=/mnt/data/serviio-video/Dr Who/e. Series 4/193 The Doctor\\\\\\\s Daughter.ass:original_size=1872x1080:charenc=UTF-8'
Error opening filters!
2015-01-18 11:07:37,730 DEBUG [TranscodingJobListener] Transcoding finished; successful: false
I'm not sure if it is a result of the debug output, but it looks like there are no quotes around the .mkv file name and there are seven backslashes in front of the apostrophe in the .ass file. Later on in the log file output, the apostrophe in the .ass file seems to have been lost.
I saw an entry in the forum about a problem with apostrophes in 2013, which was fixed in 1.4, but I was still having this problem with 1.4.1 and now also with 1.5.
Hopefully you will be able to look into this issue? Please let me know if you need any additional information.
Thanks,
Eric
