.srt subtitles not working - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Mac OS X (https://forum.kodi.tv/forumdisplay.php?fid=56) +---- Thread: .srt subtitles not working (/showthread.php?tid=97037) |
.srt subtitles not working - Chris! - 2011-03-16 Hi, I am a bit new to encoding etc. I have an MP4 file which i added .srt into the file and a chapter track. Long story short: Everything (including subtitles) works in quicktime x, vlc, mplayer osx extended But not in xbmc Media information Code: General Debug log of XBMC playing it (it seems it load the subtitles?): http://pastebin.com/1rehgj97 Interesting parts?: Code: 20:05:34 T:2953850880 M:551510016 INFO: CDVDFactorySubtitle::GetSubtitles, searching subtitles Code: 20:05:34 T:2953850880 M:538148864 NOTICE: Opening Subtitle stream: 2 source: 256 What is wrong with the file? Is it because there is no "ID 3"? (Similar to "Text #2 ID : 5" ) - the file has ID 1, ID 2, ID 4, ID 5 Cheers! - Chris! - 2011-03-17 So a few people have looked at it now without response. Should I file a bug report. I have a short video (copyright free) that i created which i can upload as a sample. - jmarshall - 2011-03-17 The first thing to test is whether they show in something like ffplay from ffmpeg - it may be an ffmpeg error is all. Assuming that's ok, then yes, file a bug report. Cheers, Jonathan - Chris! - 2011-03-18 Thanks for your reply Jonathan. I had a go at trying to get/make ffplay etc but failed miserably after a couple of hours (i have no knowledge of building or compiling - and not clever enough either!). Could I be cheeky and upload a non copy-writed video to rapidshare and ask you or someone else to give it a quick test? If it works in anyone else's xbmc then that would be great! The video is a short video(<20 sec, 3.3mb download) of a friend in slow motion with the following subtitle (which works in quicktime&vlc but not in XBMC) http://www.mediafire.com/?e22fkvqn2qb8mm8 The subtitle is simply: Code: 1 Many thanks! - Chris! - 2011-03-19 From further digging I couldn't find anything using the error code from xbmc in any ffmpeg stuff but did find another post on xbmc: http://forum.xbmc.org/showthread.php?tid=61669 And A boxee post: http://forums.boxee.tv/showthread.php?t=20378 (though this seems largely irrelevant) - dynaflash - 2011-03-29 FYI: I did add to your ticket and agree with your thoughts plus added a bit more support material ... http://trac.xbmc.org/ticket/11360#comment:8 - Chris! - 2011-03-30 Yea I saw. Cheers for mentioning handbrake - I use that to attach subtitles and sometimes it works, others it does't. Your ticket seems to imply you had some linux experience, perhaps you could try jmarshall's suggestion about ffplay. I still can't figure it - i'm not good at that sort of thing, I try plenty. - dynaflash - 2011-03-30 pseudo7 Wrote:Yea I saw. Cheers for mentioning handbrake - I use that to attach subtitles and sometimes it works, others it does't. The only linux boxes I have are my three linux atv 1's ! I actually compile xbmc on them then install from there so I can use git head. At any rate ... I don't have a compiled version of ffplay on my mac but can try to compile it. Otherwise some other HandBrake devs have linux and I will see if one of them can give ffplay on linux a spin. A note though ... On mac you can use a player called Movist ... this allows you to switch between QuickTime and FFmpeg encoding . Now on Quicktime decoding the subs show up just fine ... when you switch to ffmpeg encoding they don't. That said we use ffmpeg to decode .mp4s when we read them. In that case the ffmpeg decoder *does* pick up the subs track. This however does not imply that ffmpeg could *play* them. XBMC (and yes, I have tested head as of yesterday does see the subs tag as you pointed out (it shows up as there in the audio and subs panel) it just apparently has issues displaying them. I went to try Mplayer extended but for some reason it choked on my file though its a pretty old version. Frankly I was under the (apparently wrong) impression that xbmc used its own player. Will keep digging as best I can to provide more support material though it would seem the samples provided and docs would be a good start. As an aside I am surprised you have had issues with HandBrake embedding srt's as opposed to subler, they both use basically similar code and the same libmp4v2 mp4 muxer. In fact subler was written by ritsuka an hb dev. EDIT: Okay just updated Mplayer (which is based on ffmpeg) ... Your subtitles show up in mplayer. So that works. Will attach a log from mplayer to the ticket. - Chris! - 2011-03-30 Sorry dude, I do check this thread but then every time I post in the ticket you have posted here. I think we've exhausted both of our knowledges on what it could be without specifically knowing the ins and outs of XBMC. As a tidbit of information, XBMC did use its own decoding thing DVDplayer: quite a good wiki on it: http://wiki.xbmc.org/index.php?title=DVDPlayer If anything (with regard to the subtitles) I would like to know how hard it is to implement as I never like the idea requesting something that is really really challenging to implement especially when developers do this in their free time. It's not fair. Although i'm thinking of offering a financial reward for the resolution of this issue if it more than a simple bug fix as it is important to me (have bit of a hearing loss in both ears so I like subtitles in my films and having them in the container makes it easier as their the correct subtitles(in sync)). |