Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Subtitles in VLC/Mplayer [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
gr0x0rd
Guru
Guru


Joined: 12 Aug 2006
Posts: 311

PostPosted: Mon Jan 12, 2009 3:56 am    Post subject: Subtitles in VLC/Mplayer [Solved] Reply with quote

Hi all,

was wanting to watch "Old Boy", a korean movie with english subs. Tried VLC first and loading the subs manually, but
Code:
VLC can't recognize the input's format:
The format of '/home/gr0x0rd/files/gr0x-0/movies/Old Boy.sub' cannot be detected. Have a look the log for details.
I didn't find any log in my .vlc folder, so I thought I'd move on to mplayer.
Code:
mplayer "files/gr0x-0/movies/Old Boy.avi" -sub "files/gr0x-0/movies/Old Boy.sub"
and the survey says...
Code:
Clip info:
 Software: VirtualDubMod 1.5.4.1 (build 2178/release)
SUB: Could not determine file format
Cannot load subtitles: files/gr0x-0/movies/Old Boy.sub
SUB: Could not determine file format
Cannot load subtitles: files/gr0x-0/movies/Old Boy.sub
ok... maybe a corrupt subtitle file. so, found a torrent, downloaded a different .sub file to give that a try...
Code:
mplayer "files/gr0x-0/movies/Old Boy.avi" -sub "files/gr0x-0/movies/Old Boy.sub"
...
SUB: Could not determine file format
Cannot load subtitles: files/gr0x-0/movies/Old Boy (Korean + Eng Subs)(2003).sub
SUB: Could not determine file format
Cannot load subtitles: files/gr0x-0/movies/Old Boy.sub

The only things I've been able to find on google or the forums is that subs may need rar >2.99 (3.8.0 installed) or have problems with fonts (truetype USE flag is in my make.conf). But the fact that neither player can recognize a .sub file tells me I am missing something... perhaps a missing a package or USE flag? What do I need to be able to load .sub files?

Thanks for reading,
_________________
~g
emerge -FML...


Last edited by gr0x0rd on Mon Jan 12, 2009 6:14 am; edited 1 time in total
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Mon Jan 12, 2009 5:37 am    Post subject: Reply with quote

I downloaded the subtitle from here:
http://subtitles.images.o2.cz/d/181586/Old+Boy.html
(.srt file) and it is working fine with mplayer.
Code:
[ebuild   R   ] media-video/mplayer-1.0_rc2_p28058-r1  USE="X a52 aac alsa ass dts dvd encode fbcon ftp gif gtk iconv jpeg live mad mmx mng mp3 musepack openal opengl oss png quicktime sdl speex sse sse2 ssse3 theora truetype unicode vorbis win32codecs x264 xinerama xv xvid xvmc -3dnow -3dnowext -aalib (-altivec) -amrnb -amrwb -arts -bidi -bindist -bl -cddb -cdio -cdparanoia -cpudetection -custom-cflags -custom-cpuopts -debug -dga -dirac -directfb -doc -dv -dvb (-dvdnav) -dxr3 -enca -esd -ggi -ipv6 -jack -joystick -ladspa -libcaca -lirc -lzo -md5sum -mmxext -mp2 -nas -nemesi -pnm -pulseaudio -pvr -radio -rar (-real) -rtc -samba -schroedinger -svga -teletext -tga -v4l -v4l2 -vidix -xanim -xscreensaver -zoran" VIDEO_CARDS="vesa -mga -s3virge -tdfx" 0 kB

_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
gr0x0rd
Guru
Guru


Joined: 12 Aug 2006
Posts: 311

PostPosted: Mon Jan 12, 2009 6:13 am    Post subject: Reply with quote

ppurka, thanks a bunch: I'm watching my movie now :)

still not sure why I can't open .sub files, but if finding an .srt such as this is just as good...

thanks again,
_________________
~g
emerge -FML...
Back to top
View user's profile Send private message
Paczesiowa
Guru
Guru


Joined: 06 Mar 2006
Posts: 593
Location: Oborniki Śląskie, Poland

PostPosted: Mon Jan 12, 2009 11:33 am    Post subject: Reply with quote

smplayer can download subtitles from opensubtitles.org for your movies
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum