Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

[SOLVED] No subtitles with mplayer2/smplayer

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
xtz
Apprentice
Apprentice
User avatar
Posts: 181
Joined: Mon Oct 29, 2007 12:23 pm
Location: Singapore

[SOLVED] No subtitles with mplayer2/smplayer

  • Quote

Post by xtz » Wed Dec 25, 2013 7:40 pm

For some reason I have no subtitles when playing videos with mplayer2/smplayer.
When starting it from CLI I see no errors. I can see the subtitle file being recognized in the player. However, I have no text output at all.
From the mplayer2 website:
Subtitle rendering uses libass by default

Using libass to render subtitles gives better font rendering and styling support, but on the other hand some subtitle options may not work as before or at all. The video filter needed to draw libass subtitles with video output drivers that do not directly support rendering them may also cause problems in some rare cases (videos with unusual colorspaces). If you encounter problems you can use the “-noass” option to use the old subtitle rendering functionality.
mplayer2 is compiled with the libass flag:

Code: Select all

[ebuild   R    ] media-video/mplayer2-2.0_p20130126  USE="X alsa dts enca iconv libass mmx mmxext mp3 network opengl png postproc rtc shm sse sse2 ssse3 unicode vorbis xv -3dnow -3dnowext -a52 (-altivec) (-aqua) -bluray -bs2b -cddb -cdio -cpudetection -debug -directfb -doc -dv -dvb -dvd -dvdnav -faad -fbcon -ftp -gif -ipv6 -jack -joystick -jpeg -ladspa -lcms -libcaca -lirc -mad -md5sum -mng -nut -oss -pnm -portaudio -pulseaudio -pvr -quvi -radio -rar -samba -sdl -speex -symlink -tga -theora -v4l -vcd -vdpau -xanim -xinerama -xscreensaver -xvid -yuv4mpeg"
And the needed linguas are enabled for smplayer:

Code: Select all

[ebuild   R    ] media-video/smplayer-0.8.5  USE="-debug" LINGUAS="bg en_US -ar_SY -ca -cs -da -de -el_GR -es -et -eu -fi -fr -gl -he_IL -hr -hu -it -ja -ka -ko -ku -lt -mk -ms_MY -nl -pl -pt -pt_BR -ro_RO -ru_RU -sk -sl_SI -sr -sv -th -tr -uk_UA -vi_VN -zh_CN -zh_TW"
Any ideas what am I missing :?: :roll:
Last edited by xtz on Fri Dec 27, 2013 1:55 am, edited 1 time in total.
Top
rudregues
Apprentice
Apprentice
User avatar
Posts: 231
Joined: Tue Jan 29, 2013 7:37 pm
Location: Brazil

  • Quote

Post by rudregues » Thu Dec 26, 2013 12:51 am

Tried this?
--sub=/entire/path/for/subtitle
Emerging en gentoo
Top
dwbowyer
Apprentice
Apprentice
Posts: 155
Joined: Fri Apr 18, 2008 1:18 am

  • Quote

Post by dwbowyer » Thu Dec 26, 2013 1:41 am

Is it external .srt file that you are trying to use, or subtitles inside the A/V wrapper? Subtitles may be compressed in rar archives, and so maybe rar USE flag is needed.
Did you also try running mplayer2 with the -noass option as in the quote from the website? It is well known that mplayer2 is refactoring the mplayer subtitles coding, because
the old code was spaghetti and hard to update (but it worked). Some files simply don't like playing subtitles under mplayer2, since the new code is incomplete and buggy.
Top
xtz
Apprentice
Apprentice
User avatar
Posts: 181
Joined: Mon Oct 29, 2007 12:23 pm
Location: Singapore

  • Quote

Post by xtz » Fri Dec 27, 2013 1:55 am

rudregues wrote:Tried this?
--sub=/entire/path/for/subtitle
Actually, the option is '-sub /path/to/filename' and yes, it did not work but lots of those:

Code: Select all

[ass] Glyph 0xE013 not found, selecting one more font for (OSD, 80, 0)
dwbowyer wrote:Is it external .srt file that you are trying to use, or subtitles inside the A/V wrapper? Subtitles may be compressed in rar archiv
es, and so maybe rar USE flag is needed.
Did you also try running mplayer2 with the -noass option as in the quote from the website? It is well known that mplayer2 is refactoring the mplayer subtitles coding, because
the old code was spaghetti and hard to update (but it worked). Some files simply don't like playing subtitles under mplayer2, since the new code is incomplete and buggy.
It is external (.srt and .sub); -noass didn't work either.

However, I managed to find the problem - it was actually a fontconfig bug, affecting media-libs/fontconfig-2.10.92.
My solution was to mask 2.10.92 and install 2.11.0, although I had to keyword-unmask it.
Downgrading to 2.10.2 seems to be fixing things for people too.
Top
Post Reply

4 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic