asabelnikova / gnome-mplayer

Automatically exported from code.google.com/p/gnome-mplayer
GNU General Public License v2.0
0 stars 1 forks source link

provide an option to disable video filters #160

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,
It would be nice to have an option to disable video filters.
Currently, video filters can be disabled by adding the option '-vf-clr' in
the 'Extra Options to MPlayer' field in gnome-mplayer's preferences dialog,
but having a check-box somewhere would be more user-friendly, in my opinion.
The thing is that video filters increase CPU usage by about 10% in my
experience, so some users may prefer them disabled.

Original issue reported on code.google.com by nfdi...@gmail.com on 11 Apr 2009 at 3:13

GoogleCodeExporter commented 9 years ago
What filters are you wanting to get rid of? Deinterlace video can already be 
turned
off and that should turn off most of them, the only other filter is screenshot

Original comment by kdeko...@gmail.com on 11 Apr 2009 at 4:43

GoogleCodeExporter commented 9 years ago
It was the software equaliser. I noticed the option vf=eq2 was being added to
~/.mplayer/config every time gnome-mplayer ran, but now I checked again and it 
seems
it's no longer the case. Hang on... I enabled the deinterlace video option and 
vf=eq2
shows up again, so it must be that! I didn't make the connection, they seemed 
unrelated.

Original comment by nfdi...@gmail.com on 12 Apr 2009 at 10:13

GoogleCodeExporter commented 9 years ago
I have a similar problem with filters too.. If I start a mkv with VDPAU output 
from
Nautilus, it crashes because VDPAU doesn't support any filter (in my case, it's 
the
"scale" filter that causes the problem).

If I start the movie from console with mplayer command, it runs perfectly.

I'm used to configure every single aspect of Mplayer from it's config file
(~/.mplayer/config), and I've also added a profile [gnome-mplayer] for setting 
up
every aspect of gnome-mplayer, but It continues to pass automatically some 
options to
mplayer that I do not want to pass. Can you enable an option like "use 
exclusively
the .mplayer/config setting"?

I hope you can understand what I'm trying to explain, sorry but my English is 
not so
good ;)

Original comment by berseke...@gmail.com on 12 Apr 2009 at 7:18

GoogleCodeExporter commented 9 years ago
Just disable deinterlacing with vdpau, it will remove the filters.

Original comment by kdeko...@gmail.com on 14 Apr 2009 at 9:11

GoogleCodeExporter commented 9 years ago
it doesn't work..
here is the log of gnome-mplayer --verbose (I've set vo=vdpau:deint=0 in
.mplayer/config in gnome-mplayer profile)

Original comment by berseke...@gmail.com on 16 Apr 2009 at 7:08

Attachments:

GoogleCodeExporter commented 9 years ago
did you uncheck the "Deinterlace" option in gnome-mplayer in Edit->Preferences 
on the
mplayer tab? Also set PostProcessing on the Player tab to "No Postprocessing"

Original comment by kdeko...@gmail.com on 16 Apr 2009 at 7:14

GoogleCodeExporter commented 9 years ago
I've done both the suggestions, but the problem remains. It's a really shame, 
because
GNOME-Mplayer is a great  interface for Mplayer in a GTK environment, but I 
think
it's a bit too "intrusive" when we talk about setting the options. If only 
there was
an option for absolutely follow *only* the options configured in the 
.mplayer/config
file it would be great.

Original comment by berseke...@gmail.com on 17 Apr 2009 at 6:51

GoogleCodeExporter commented 9 years ago
please post "ps -eaf | grep mplayer" I think we are really close on this...

Original comment by kdeko...@gmail.com on 17 Apr 2009 at 7:02

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
http://img529.imageshack.us/my.php?image=screene.jpg
here is a screenshot of the situation.. if needed i can post my .mplayer/config 
(it
contains 2 profiles, [default] that is used perfectly from mplayer from 
console, and
[gnome-mplayer] that for many options is used from gnome-mplayer.

I confirm that starting the same video from mplayer-console is done without 
problems,
and that the 2 profiles have the *same* options, they differ only in the name.

Original comment by berseke...@gmail.com on 18 Apr 2009 at 5:15

GoogleCodeExporter commented 9 years ago
please post "gnome-mplayer -v" output of when it fails... the screen shots 
don't help
much because I can't see all the messages.

Original comment by kdeko...@gmail.com on 18 Apr 2009 at 12:41

GoogleCodeExporter commented 9 years ago
here it is.. log obtained with "gnome-mplayer videofilename.mkv --reallyverbose 
>
log_last"

i think that the errors are caused by the loading of filters like "scale" or 
"screenshot"

Original comment by berseke...@gmail.com on 19 Apr 2009 at 7:00

Attachments:

GoogleCodeExporter commented 9 years ago
Can you try vdpau without the :deint=0 option and see if you still have this 
problem.
Cause I think that is why the filters are still being added.

Original comment by kdeko...@gmail.com on 19 Apr 2009 at 1:13

GoogleCodeExporter commented 9 years ago
with vdpau enabled, it is inifluent if I use :deint=0 or not. GNOME-Mplayer 
passes
always some filters option to mplayer, and as VDPAU is incompatible with any 
filters
(playing mkv files, mplayer loads automatically one of the following vc:
vc=ffh264vdpau,ffmpeg12vdpau,ffvc1vdpau,ffwmv3vdpau, ) it simply doesn't start 
the
video reproduction. It is not a configuration error, as the SAME options in the
[default] profile doesn't make any issues with mplayer started from console.

I really would like a way to tell to gnome-mplayer "hey, use ONLY the options 
I've
set in the config file"

Original comment by berseke...@gmail.com on 21 Apr 2009 at 6:31

GoogleCodeExporter commented 9 years ago
Can you please post the log with only vdpau specified as the vo. I need to find 
the
root of the problem and until I can find that, I can't add other features.

Original comment by kdeko...@gmail.com on 21 Apr 2009 at 7:05

GoogleCodeExporter commented 9 years ago
Also, please remove -vf-clr from the additional command line, as you will notice
there are not filters on the command, except for the screenshot vf and this 
should be
removed when you remove the :deint=0 option from vdpau. Also, I am working on a 
patch
that will remove this even when you have the :deint=0.

Also are there any filters in the [gnome-mplayer] section of the mplayer config 
file?

Original comment by kdeko...@gmail.com on 21 Apr 2009 at 7:15

GoogleCodeExporter commented 9 years ago
ok, all the filters should be disabled now when you select vdpau as the vo in 
SVN

Original comment by kdeko...@gmail.com on 22 Apr 2009 at 3:11

GoogleCodeExporter commented 9 years ago
ok, i'm recompiling gnome-mplayer right now, so I'll let you know how's going 
now.

Original comment by berseke...@gmail.com on 22 Apr 2009 at 5:57

GoogleCodeExporter commented 9 years ago
now the .mkv files are played fine. Thanks

i've only to solve a "small" problem with PA, but I think it's not fault of
GNOME-Mplayer.

btw, keep on with the good work Kevin ;)

Original comment by berseke...@gmail.com on 22 Apr 2009 at 6:19

GoogleCodeExporter commented 9 years ago

Original comment by kdeko...@gmail.com on 22 Apr 2009 at 7:08