psxlover 30 Posted August 6, 2015 Share Posted August 6, 2015 I noticed that while I was able to play Episode 55 of Naruto just fine, Episode 56 (Naruto Shippuden - S17E56 - You're My Backup.mkv) was not working, the TV gave me a unsupported file type error. When looking at the mediainfo for the two episodes I couldn't find any differences. I later found another episode not working (Naruto Shippuden - S17E58 - Papa's Springtime of Youth.mkv) and noticed that the only common thing in the two non-working episodes was a single quote (') in the filenames. The problem is not in transcoding, I added a single quote in a file that didn't need transcoding and I had the same issue. Also the problem doesn't seem to be the TV since I can play that file in Plex without a problem. Looking at the logs it seems like you are using single quotes around the filename. Running server version 3.0.5695.36729. My TV is an LG 32LB5800 2014 Netcast transcode-6a16a8b6-8a10-4c16-9cd8-98be3932ce75.txt server-63574482577.txt transcode-ceda3d46-e9a7-42c8-900f-7fd118e61885.txt Naruto Shippuden - S17E55 - The Formation of Team Minato.mkv.MediaInfo.txt Naruto Shippuden - S17E56 - You're My Backup.mkv.MediaInfo.txt Link to comment Share on other sites More sharing options...
Luke 37231 Posted August 6, 2015 Share Posted August 6, 2015 yea that's a difficult one that i haven't found the escape for yet. Link to comment Share on other sites More sharing options...
psxlover 30 Posted August 15, 2015 Author Share Posted August 15, 2015 Seems like I misunderstood the problem the first time, no idea why I though it occurred without transcoding. Anyway I was able to run ffmpeg on the same file by changing: C:\Users\Alex\AppData\Roaming\MediaBrowser-Server\ffmpeg\20150717\ffmpeg.exe -fflags +genpts -i file:"C:\Users\Alex\Downloads\Videos\Anime\Naruto Shippuden\Naruto Shippuden - S17E56 - You're My Backup.mkv" -map 0:0 -map 0:1 -codec:v:0 libx264 -force_key_frames expr:gte(t,n_forced*5) -copyts -vf "scale=trunc(min(max(iw\,ih*dar)\,min(1920\,1080*dar))/2)*2:trunc(min(max(iw/dar\,ih)\,min(1920/dar\,1080))/2)*2,subtitles='C\:/Users/Alex/Downloads/Videos/Anime/Naruto Shippuden/Naruto Shippuden - S17E56 - You're My Backup.mkv:si=0',setpts=PTS -0/TB" -pix_fmt yuv420p -preset superfast -crf 23 -maxrate 2589321 -bufsize 5178642 -vsync vfr -level 51 -map_metadata -1 -threads 0 -codec:a:0 ac3 -ac 2 -ab 128000 -af "aresample=async=1,asetpts=PTS-0/TB" -y "C:\Users\Alex\AppData\Roaming\MediaBrowser-Server\transcoding-temp\f8ee776285bed963cb00d62b23938b7c.ts" to: C:\Users\Alex\AppData\Roaming\MediaBrowser-Server\ffmpeg\20150717\ffmpeg.exe -fflags +genpts -i file:"C:\Users\Alex\Downloads\Videos\Anime\Naruto Shippuden\Naruto Shippuden - S17E56 - You're My Backup.mkv" -map 0:0 -map 0:1 -codec:v:0 libx264 -force_key_frames expr:gte(t,n_forced*5) -copyts -vf "scale=trunc(min(max(iw\,ih*dar)\,min(1920\,1080*dar))/2)*2:trunc(min(max(iw/dar\,ih)\,min(1920/dar\,1080))/2)*2,subtitles='C\:/Users/Alex/Downloads/Videos/Anime/Naruto Shippuden/Naruto Shippuden - S17E56 - You'\\\''re My Backup.mkv:si=0',setpts=PTS -0/TB" -pix_fmt yuv420p -preset superfast -crf 23 -maxrate 2589321 -bufsize 5178642 -vsync vfr -level 51 -map_metadata -1 -threads 0 -codec:a:0 ac3 -ac 2 -ab 128000 -af "aresample=async=1,asetpts=PTS-0/TB" -y "C:\Users\Alex\AppData\Roaming\MediaBrowser-Server\transcoding-temp\f8ee776285bed963cb00d62b23938b7c.ts" I am closing the single quota (') escaping a backslash (\\) escaping a single quota (\') and then opening the single quota again ('). This was done by running ffmpeg directly from the command line, and it will probably differ when running it from within a program (you may have to escape the backslashes). The biggest problem is that I don't thing that the level of escaping will be the same for other OSes. Link to comment Share on other sites More sharing options...
Luke 37231 Posted August 16, 2015 Share Posted August 16, 2015 Thanks. I've incorporated this into dev server build 3.0.5706.19617. Please try it out and let me know if the issue is resolved. Link to comment Share on other sites More sharing options...
psxlover 30 Posted August 16, 2015 Author Share Posted August 16, 2015 Thank you. It seems to be working fine in Windows. 1 Link to comment Share on other sites More sharing options...
psxlover 30 Posted August 16, 2015 Author Share Posted August 16, 2015 Transcoded stream plays just fine, but I noticed another error in the transcode log unrelated to this issue: Enter command: <target>|all <time>|-1 <command>[ <argument>] Parse error, at least 3 arguments were expected, only -1 given in string '' No idea if it's causing any problems or if it's just a warning. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now