Danee 57 Posted August 25, 2014 Share Posted August 25, 2014 (edited) Just updated the app to 1.1.3, great work @@darwindeeds Resume works great now, thanks for that! I have a question about subtitles support though, all my movies are mp4 with aac sound and external (.srt) subtitle files and I can't get them to play. Are external subtitles already supported? Should I wait or do you want me to post log files so this can be investigated. (can a moderator please change the title, it should read 1.1.3) Edited August 25, 2014 by Danee 1 Link to comment Share on other sites More sharing options...
darwindeeds 356 Posted August 25, 2014 Share Posted August 25, 2014 Lets hold off.... Are you direct streaming your videos? You can tell that by looking at the server CPU usage. Link to comment Share on other sites More sharing options...
Danee 57 Posted August 25, 2014 Author Share Posted August 25, 2014 I'm direct streaming, the video plays well, when I select a subtitle the video just keeps playing nothing else happens. When I force transcoding (setting the stream to 1.0 mb/s) the video plays, and a transcoding log is created. If I then select a subtitle the playback is stopped and I get 'Loading subtitle Tap to hide' and that basically where it stops. On the server the ffmpeg process is stopped and a new transcoding log is created. In that log there is an error at the subtitle; [Parsed_subtitles_1 @ 04397c40] Unable to open //bestanden/Videos/Films/The Lego Movie (2014)/The Lego Movie.dut.srt [AVFilterGraph @ 02abb100] Error initializing filter 'subtitles' with args 'filename=//bestanden/Videos/Films/The Lego Movie (2014)/The Lego Movie.dut.srt:charenc=windows-1252,setpts=PTS -57/TB' Error opening filters! To me it seems odd that the filepath is formatted as an url instead of a unc path, the location is correct if the slashes (/) are replaced by backward slashes (\) Full logs are available, so just let me know if you want them. Link to comment Share on other sites More sharing options...
Danee 57 Posted August 25, 2014 Author Share Posted August 25, 2014 (edited) Hmm, now that I read my post I guess I see the problem. The filepath in the log is \\bestanden\videos\films.... but the actual share is named video's so the path is \\bestanden\video's\films.... I'll setup a new share and new media folder in the library to check that. Edit: Just tested it with a share without the ' character, now the subtitles do play, but only when transcoding. The ' character is a valid share- and filename character so I hope it will be fixed in a next release. I also found that when the subtitle is selected after the movie starts the audio is out of sync. It looks like the auto stream doesn't pause for the period it takes to restart transcoding to include the subtitle. Edited August 25, 2014 by Danee Link to comment Share on other sites More sharing options...
darwindeeds 356 Posted August 25, 2014 Share Posted August 25, 2014 Thanks Danee for taking time to troubleshoot the issue. TBH I'm not great with reading transcoding logs, subtitles works for the most part but there are some issues that I can see esp with subtitles embedded in the video file itself. The subtitle support is marked as beta for now, but I would be happy to work with your to resolve this issue. Link to comment Share on other sites More sharing options...
Danee 57 Posted August 27, 2014 Author Share Posted August 27, 2014 (edited) I've done some more testing and found the problem to be in the server, not in the iOS app. The problem will only be seen when transcoding is used, no issues on direct play. I've narrowed it down to the use of the ' character in the share name, if that character is used in the filepath or filename there is no issue. (I have not tried other non-alphabetical, but allowed characters in the share name) When a movie is playing transcoded and a subtitle is requested somewhere down the line the full path to the .srt file get's stripped of the ' character. eg. \\server\movie's\moviename\subtitle.srt will be changed to \\server\movies\moviename\subtitle.srt which will throw the 'Unable to open..' as seen in the earlier posted log snippet. I think @@Luke has to look at this. Edit: When testing this I tried several clients, Crome, Firefox, all experience this but on Chrome and Firefox the movie keeps playing, on iOS it just stops. Edited August 27, 2014 by Danee Link to comment Share on other sites More sharing options...
darwindeeds 356 Posted August 27, 2014 Share Posted August 27, 2014 Wow thanks Danee for the deep investigation, it will definitely help the server guys to fix this. Link to comment Share on other sites More sharing options...
Danee 57 Posted August 29, 2014 Author Share Posted August 29, 2014 (edited) You're welcome. I do wonder if @@Luke has noticed this thread, a confirmation would be nice. Edited August 29, 2014 by Danee 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