Rockbox Technical Forums

Support and General Use => Plugins/Viewers => Topic started by: scorpion on December 02, 2007, 08:24:05 AM

Title: mpeg videos + subtitles?
Post by: scorpion on December 02, 2007, 08:24:05 AM
Hi

I got a noob question :/
Does rockbox (for sansa) support subtitles?

My problem:
I got a *.mkv file with subtitles and 2 audio lines/(streams whatever). Now I want to convert it to mpeg with the second audioline and subtitles. But when I convert the file with WinFF with the presets for sansa (from http://www.rockbox.org/twiki/bin/view/Main/RockboxExtras ) I got the mpeg file with the first audioline and without subtitles :/.
Is there a plugin requiered to view subtitles? Im not very adept in compiling stuff ^^


If rockbox doesn't support subtitles is there a way to implement subtitles from a file into video?

(Information)
I'm using WinFF to convert the files.
My operating system is Windows XP + SP 2.

Hope s'one could help me

thank you in advance
Title: Re: mpeg videos + subtitles?
Post by: zajacattack on December 02, 2007, 02:23:48 PM
There is a patch in the tracker (http://www.rockbox.org/tracker/task/7252?histring=mpeg), but it is not officially in Rockbox yet.
Title: Re: mpeg videos + subtitles?
Post by: dionoea on December 03, 2007, 04:36:30 AM
You could also blend the subs in the video when transcoding it for rockbox. (That's possible with VLC, not sure if it is with WinFF)
Title: Re: mpeg videos + subtitles?
Post by: cool_walking_ on December 03, 2007, 06:44:33 AM
I don't think ffmpeg supports subtitles (WinFF is a frontend for ffmpeg). I know mencoder does.
Title: Re: mpeg videos + subtitles?
Post by: scorpion on December 03, 2007, 03:55:30 PM
thank you very much for your help.

I gonna try the blending first with vlc. If I got the time I try to compile a version with the subtitle patch (I have actually no idea how to do this  :D)

However does someone know how to get the second audio stream? For eg the movie got 2 languages (english and french) so standart is english (english is what I get when just converting) but I want the french (just an egsample)
Title: Re: mpeg videos + subtitles?
Post by: cool_walking_ on December 03, 2007, 06:26:04 PM
To learn how to patch your own build, you need to read these:
http://www.rockbox.org/twiki/bin/view/Main/DevelopmentGuide
http://www.rockbox.org/twiki/bin/view/Main/WorkingWithPatches

To select subtitles (I've never used VLC, but this looks like it will do the trick): http://www.videolan.org/doc/play-howto/en/ch03.html#id290015