You are not logged in.

#1 2014-01-28 20:32:17

stozi
Member
Registered: 2010-03-02
Posts: 149

[Solved] Mplayer subtitles all pile up, never disappear

Any time I play videos with subtitles the subtitles all pile up on top of one another in an incoherent mess, they never disappear when they should.

Here is my .mplayer/config

# default configuration that applies to every file
[default]

nolirc=yes

ass=yes
embeddedfonts=yes
#fontconfig=yes

# use X11 for video output, use a framebuffer as fallback
vo=xv,fbdev2

# use alsa for audio output, choose oss4 as fallback
ao=alsa

# multithreaded decoding of H264/MPEG-1/2 (valid: 1-8)
lavdopts=threads=2

# prefer using six channels audio
#channels = 6

# scale the subtitles to the 3% of the screen size
subfont-text-scale = 3

# never use font config
nofontconfig = 1

# set the window title using the media filename, when not set with --title.
#use-filename-title=yes

# add black borders so the movies have the same aspect ratio of the monitor
# for wide screen monitors
vf-add=expand=::::1:16/9:16

# for non wide screen traditional monitors
#vf-add=expand=::::1:4/3:16

# disable screensaver
#heartbeat-cmd="xscreensaver-command -deactivate &" # stop xscreensaver
#stop-xscreensaver="yes" # stop gnome-screensaver

# correct pitch when speed is faster or slower than 1.0
af=scaletempo

# allow to seek in a file which is still downloading whilst watching it
idx=yes

# allow to increase the maximal volume
#softvol=1
#softvol-max=600

# skip displaying some frames to maintain A/V sync on slow systems
framedrop=yes

# more intense frame dropping (breaks decoding)
#hardframedrop=yes

# profile for up-mixing two channels audio to six channels
# use -profile 2chto6ch to activate
[2chto6ch]
af-add=pan=6:1:0:.4:0:.6:2:0:1:0:.4:.6:2

# profile to down-mixing six channels audio to two channels
# use -profile 6chto2ch to activate
[6chto2ch]
af-add=pan=2:0.7:0:0:0.7:0.5:0:0:0.5:0.6:0.6:0:0

Last edited by stozi (2014-01-29 01:23:00)

Offline

#2 2014-01-28 21:29:51

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [Solved] Mplayer subtitles all pile up, never disappear

I have two questions:

  1. Do subtitles work properly if you remove (or move) your configuration file?

  2. Why aren't you using mpv?? wink

Offline

#3 2014-01-29 01:22:35

stozi
Member
Registered: 2010-03-02
Posts: 149

Re: [Solved] Mplayer subtitles all pile up, never disappear

switching to mpv.

Offline

#4 2014-01-29 06:29:05

kastagir
Member
From: Mielec, PL
Registered: 2011-06-04
Posts: 7

Re: [Solved] Mplayer subtitles all pile up, never disappear

for mplayer, you must add harddup filter to chain

vf-add=expand=::::1:16/9:16,harddup

Offline

#5 2014-01-29 14:42:07

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [Solved] Mplayer subtitles all pile up, never disappear

stozi wrote:

switching to mpv.

I'm glad it's working for what you need. I fell in love with mplayer over a decade ago. I feel that mpv is what mplayer should have progressed to. smile

kastagir wrote:

for mplayer, you must add harddup filter to chain

vf-add=expand=::::1:16/9:16,harddup

Wow, I'm impressed! Good find. I still think of mpv / mplayer command line arguments to be like speaking a second language. big_smile

Offline

#6 2014-01-30 03:23:08

stozi
Member
Registered: 2010-03-02
Posts: 149

Re: [Solved] Mplayer subtitles all pile up, never disappear

Only problem is that on my lame system, mplayer stutters on larger video files- which is preferable to mpv, in which the video freezes (sound carries on).

Offline

#7 2014-01-30 13:51:33

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [Solved] Mplayer subtitles all pile up, never disappear

stozi wrote:

Only problem is that on my lame system, mplayer stutters on larger video files- which is preferable to mpv, in which the video freezes (sound carries on).

Wait... WAIT... I've seen this before...

The problem was... I needed to reboot? No...

VIDEO OUT! I think it was the video out setting! Maybe! I see in your mplayer configuration that you were using "xv" as your "vo". Are you using this for mpv too? If you don't set it yourself, mpv will try to use the best setting possible, which for me was some video card decoding or something, but once I told it to use xv ("mpv --vo xv", or set it in the configuration file) I had no more problems. big_smile

Does that help?

Offline

#8 2014-01-30 16:02:59

stozi
Member
Registered: 2010-03-02
Posts: 149

Re: [Solved] Mplayer subtitles all pile up, never disappear

I did cheekily cp my .mplayer/config to .mpv/config, didn't seem to help I'm afraid. (deleted all the settings that didn't make sense to mpv, not including vo)

Offline

#9 2014-01-30 16:40:31

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [Solved] Mplayer subtitles all pile up, never disappear

stozi wrote:

I did cheekily cp my .mplayer/config to .mpv/config, didn't seem to help I'm afraid. (deleted all the settings that didn't make sense to mpv, not including vo)

What? You... kind of tested mpv by doing something that might have worked but kinda didn't? I'm so confused. Just delete any configuration files you may have created for mpv, run "mpv --vo xv filename.mp4", watch the video and check the commpand line output for errors and to confirm that it's using what you want it to use.

Do you still want to get mpv working? mpv is just "mplayer++", so if mplayer works then mpv shoud also be able to work. Or, if mplayer works well enough for you and you don't care anymore about mpv then whatever, we can stop talking about mpv. tongue

Last edited by drcouzelis (2014-01-30 16:41:22)

Offline

#10 2014-01-30 19:12:54

stozi
Member
Registered: 2010-03-02
Posts: 149

Re: [Solved] Mplayer subtitles all pile up, never disappear

I mean mpv is using vo=xv but still freezing rather than blissfully stuttering. Subtitles work better in mpv, it feels slicker than mplayer, if only it would stutter rather than freeze on large files

Seems that with no config file and with a too-detailed config file it liked to freeze, but with only vo=xv,wayland,opengl and ao=alsa in config it works.

Last edited by stozi (2014-02-01 03:34:43)

Offline

Board footer

Powered by FluxBB