amineelar / android-vlc-remote

Automatically exported from code.google.com/p/android-vlc-remote
GNU General Public License v3.0
0 stars 0 forks source link

No subtitles (using .srt file) are shown #55

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Get a video with corresponding srt file 
2. Check subtitles are displayed using vlc with standard GUI
3. Play it with the remote control

What is the expected output? What do you see instead?

Subtitles 
Instead : no subtitles

What version of VLC Remote are you using?
0.3.8

What version of VLC are you using?
1.1.3

What version of Android are you using?
2.1 update 1

Which Android device are you using?
Galaxy S

Please provide any additional information below.
Maybe it is just a VLC problem...

Original issue reported on code.google.com by patrick....@gmail.com on 25 Aug 2010 at 10:10

GoogleCodeExporter commented 9 years ago
What is your OS ?
As for me I'm running Linux so the only way I found to solve this issue is 
downloading vlc 1.0.6's source code (the subtitles issue starts with vlc 1.1.0 
and above, as far as I know) and compiled it, I didn't install it, I just run 
the http server form the binaries, so that I can keep the last vlc installed 
for regular usage.
If your are on Windows you might be able to find a portable version of vlc 
1.0.6 and run it similarly.

Original comment by ml.mathi...@gmail.com on 7 Sep 2010 at 6:06

GoogleCodeExporter commented 9 years ago
Running on Windows. 
So it's more a VLC problem ? It seems like it if S/T are working with older 
version.
Has VLC team been informed about this ? 
I had a look at VLC forum/wiki but didn't find anything obvious or any bug 
reported.

Original comment by patrick....@gmail.com on 7 Sep 2010 at 9:20

GoogleCodeExporter commented 9 years ago
Yeah definitely a VLC problem, when using the web interface via 
http://localhost:8080 it doesn't load any subtitles, the android-vlc-remote's 
developer reported himself a bug on Videolan bugtracker : 
https://trac.videolan.org/vlc/ticket/4008
Priority is classified "normal" but it seems like a serious bug given that it's 
a functionality that was present in previous versions...

Original comment by ml.mathi...@gmail.com on 7 Sep 2010 at 10:10

GoogleCodeExporter commented 9 years ago
Just posted a patch for this on the bugreport provided in comment #3, not sure 
it's perfect but It works and provides at least a temporary fix.

Original comment by Florian....@gmail.com on 7 Nov 2010 at 8:43

GoogleCodeExporter commented 9 years ago
I have continued to look into this, and after my comment from yesterday 
discovered that android-vlc-remote might have its share of responsability for 
this bug (see https://trac.videolan.org/vlc/ticket/4008).

To sum it up, android-vlc-remote should add playlist item using an mrl ( 
file://[/path/to/file]) rather than using the /path/to/file only). This is 
basically what's causing the issue with the subtitles (and prevents video file 
from playing at all using vlc 1.2 from the git repository)

I'm attaching a quick (and probably dirty) patch to solve this issue. This is 
the first time I work on an android app so I can't guarantee anything but the 
patch is rather simple (and it works for me !).

I'm also attaching an apk, I created from this patch, this was compiled for 
android 2.2, but maybe it will work with other versions as well ?

Hope this helps,

Regards,

Florian

Original comment by Florian....@gmail.com on 8 Nov 2010 at 9:44

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks Valle!! It works!!..

salu2...
masch...

Original comment by the.ma...@gmail.com on 22 Nov 2010 at 10:18

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hello Valle.
Could you add this fix in the playlist? The subtitles are not diplayed whe the 
video is loaded from the playlist.

Thanks!

Original comment by the.ma...@gmail.com on 23 Nov 2010 at 3:05

GoogleCodeExporter commented 9 years ago
Thanks for the patch!  I'll add this to the next release (including a fix for 
the playlist).

Original comment by mr.bald...@gmail.com on 23 Nov 2010 at 3:46

GoogleCodeExporter commented 9 years ago
I couldn't see an obvious way to fix the playlist issue (it's not using an MRL).

Original comment by mr.bald...@gmail.com on 24 Nov 2010 at 5:10

GoogleCodeExporter commented 9 years ago
I had to revert this change because it was breaking file browsing for some 
users.  You can still download 0.4.2 from Google Code if you need this, but 
0.4.3+ will not use MRLs until I can figure-out why they're causing problems.  
I haven't been able to reproduce the problem yet, even though I'm using the 
exact same configuration as the users who reported the problem (VLC 1.1.5 on 
Linux).

Original comment by mr.bald...@gmail.com on 23 Dec 2010 at 5:48

GoogleCodeExporter commented 9 years ago
Did you try paths with special characters such as èé' ? I think this might be 
what's causing the problem, one friend of mine could not load files properly 
because of this.

Original comment by Florian....@gmail.com on 23 Dec 2010 at 5:51

GoogleCodeExporter commented 9 years ago
MRL issues might be related to: 
http://code.google.com/p/android-vlc-remote/issues/detail?id=61

Original comment by mr.bald...@gmail.com on 30 Dec 2010 at 7:50

GoogleCodeExporter commented 9 years ago

Original comment by mr.bald...@gmail.com on 2 Jan 2011 at 7:44

GoogleCodeExporter commented 9 years ago
Issue 85 has been merged into this issue.

Original comment by mr.bald...@gmail.com on 4 Jul 2011 at 1:49