[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
SMPlayer Support Forum • View topic - How to force SHARPEN filter ON and edit the value?

This forum is deprecated. Please visit https://github.com/smplayer-dev/smplayer/discussions

How to force SHARPEN filter ON and edit the value?

Problems, bugs, suggestions... anything related to SMPlayer.

How to force SHARPEN filter ON and edit the value?

Postby ammscray » Sun Mar 18, 2018 8:21 pm

hi new member here, thanks in advance for any help...using latest version of smplayer on windows 10 64-bit...mainly to play DVD's b/c I ususally use MPC-HC but for some reason it doesnt play all DVD's correctly on my systems

I did searches everywhere I could prior to posting here, found a post that said to insert unsharp=lc:1.5 into the preferences/advanced/options window for video filters, but this just makes the DVD not even open, giving me the "oops error code 2" or something like that

I also tried going into the smplayer_ini folder and the smplayer_files ini folders and tried to turn unsharp to "on" from off and that gave me the same error...and I am not sure which folder Im supposed to be editing :(

can someone please give me specific instructions of where exactly I have to go to edit these properly? If its really not possible to have the sharpen filter on by default, I could live with that and just turn it on each time, but I would really like to decrease the effect from 1.5 to 1

thanks again!
ammscray
 
Posts: 4
Joined: Sun Mar 18, 2018 6:57 pm

Re: How to force SHARPEN filter ON and edit the value?

Postby rvm » Sun Mar 18, 2018 9:47 pm

Could you send the mplayer/mpv log (menu View) after the error?
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: How to force SHARPEN filter ON and edit the value?

Postby ammscray » Mon Mar 19, 2018 7:43 pm

hi thanks for replying

this is the log that shows after the error...Im just selecting a DVD through the "directory" from the dropdown menu, from a folder thats on my drive...the way I always do it

and just for the record, I can select the sharpen feature from the video/filters dropdown menu and add it to the DVD fine, its just when I try to force it in the advanced video filter window that I get the error

and again if this isnt possible, the main thing I need to know is which ini file and how to edit to change the value of sharpen

thank you!

C:/Program Files/SMPlayer/mpv/mpv.exe --no-config --no-quiet --terminal --no-msg-color --input-file=/dev/stdin --no-fs --hwdec=no --sub-auto=fuzzy --vo=opengl, --priority=normal --no-input-default-bindings --input-vo-keyboard=no --no-input-cursor --cursor-autohide=no --no-keepaspect --wid=1507790 --monitorpixelaspect=1 --osd-scale=1 --sub-ass --embeddedfonts --sub-ass-line-spacing=0 --sub-scale=1 --sub-font=Arial --sub-color=#ffffffff --sub-shadow-color=#ff000000 --sub-border-color=#ff000000 --sub-border-size=0.75 --sub-shadow-offset=2.5 --sub-font-size=50 --sub-bold=no --sub-italic=no --sub-codepage=ISO-8859-1 --sub-pos=100 --volume=100 --cache=2048 --osd-level=0 --vf-add=unsharp=lc:1.5 --screenshot-template=cap_%F_%p_%02n --screenshot-format=jpg --screenshot-directory=C:\Users\ANGELO\Pictures\smplayer_screenshots --audio-channels=2 --af-add=lavfi=[acompressor] --audio-pitch-correction=yes --volume-max=100 --term-playing-msg=MPV_VERSION=${=mpv-version:}
INFO_VIDEO_WIDTH=${=width}
INFO_VIDEO_HEIGHT=${=height}
INFO_VIDEO_ASPECT=${=video-aspect}
INFO_VIDEO_FPS=${=container-fps:${=fps}}
INFO_VIDEO_FORMAT=${=video-format}
INFO_VIDEO_CODEC=${=video-codec}
INFO_AUDIO_FORMAT=${=audio-codec-name}
INFO_AUDIO_CODEC=${=audio-codec}
INFO_AUDIO_RATE=${=audio-params/samplerate}
INFO_AUDIO_NCH=${=audio-params/channel-count}
INFO_LENGTH=${=duration:${=length}}
INFO_DEMUXER=${=current-demuxer:${=demuxer}}
INFO_SEEKABLE=${=seekable}
INFO_TITLES=${=disc-titles}
INFO_CHAPTERS=${=chapters}
INFO_TRACKS_COUNT=${=track-list/count}
METADATA_TITLE=${metadata/by-key/title:}
METADATA_ARTIST=${metadata/by-key/artist:}
METADATA_ALBUM=${metadata/by-key/album:}
METADATA_GENRE=${metadata/by-key/genre:}
METADATA_DATE=${metadata/by-key/date:}
METADATA_TRACK=${metadata/by-key/track:}
METADATA_COPYRIGHT=${metadata/by-key/copyright:}
INFO_MEDIA_TITLE=${=media-title:}
INFO_STREAM_PATH=${stream-path}
--term-status-msg=STATUS: ${=time-pos} / ${=duration:${=length:0}} P: ${=pause} B: ${=paused-for-cache} I: ${=core-idle} VB: ${=video-bitrate:0} AB: ${=audio-bitrate:0} E:/MOVIES/HORROR/0 WATCHED MOVIES/SCREAM_OF_FEAR 1961 DVD/VIDEO_TS/VIDEO_TS.VOB

Playing: E:/MOVIES/HORROR/0 WATCHED MOVIES/SCREAM_OF_FEAR 1961 DVD/VIDEO_TS/VIDEO_TS.VOB
(+) Video --vid=1 (mpeg2video 720x576 25.000fps)
Opening video filter: [unsharp @0=lc @1=1.5]
[ffmpeg] Eval: Undefined constant or missing '(' in 'lc'
[ffmpeg] unsharp: Unable to parse option value "lc"
[unsharp] Could not set AVOption luma_msize_x='lc' (Invalid argument)
[ffmpeg] unsharp: Value 1.500000 for parameter 'luma_msize_y' out of range [3 - 23]
[unsharp] Could not set AVOption luma_msize_y='1.5' (Result too large)
[unsharp] Can't configure libavfilter graph.
Video filter chain:
[in] 720x576 [16:15] yuv420p bt.601/bt.601-625/bt.1886/limited SP=1.000000 CL=mpeg2/4/h264
[unsharp (lavfi)] "unsharp.00" 720x576 [16:15] yuv420p bt.601/bt.601-625/bt.1886/limited SP=1.000000 CL=mpeg2/4/h264 <---
[out] ???
Cannot initialize video filters.
Could not initialize video chain.
Video: no video
MPV_VERSION=mpv 0.27.0
INFO_VIDEO_WIDTH=
INFO_VIDEO_HEIGHT=
INFO_VIDEO_ASPECT=-1.000000
INFO_VIDEO_FPS=0.000000
INFO_VIDEO_FORMAT=
INFO_VIDEO_CODEC=
INFO_AUDIO_FORMAT=
INFO_AUDIO_CODEC=
INFO_AUDIO_RATE=
INFO_AUDIO_NCH=
INFO_LENGTH=0.040000
INFO_DEMUXER=lavf
INFO_SEEKABLE=yes
INFO_TITLES=
INFO_CHAPTERS=0
INFO_TRACKS_COUNT=1
METADATA_TITLE=
METADATA_ARTIST=
METADATA_ALBUM=
METADATA_GENRE=
METADATA_DATE=
METADATA_TRACK=
METADATA_COPYRIGHT=
INFO_MEDIA_TITLE=VIDEO_TS.VOB
INFO_STREAM_PATH=E:/MOVIES/HORROR/0 WATCHED MOVIES/SCREAM_OF_FEAR 1961 DVD/VIDEO_TS/VIDEO_TS.VOB
Exiting... (Errors when loading file)
ammscray
 
Posts: 4
Joined: Sun Mar 18, 2018 6:57 pm

Re: How to force SHARPEN filter ON and edit the value?

Postby rvm » Thu Mar 22, 2018 2:11 am

rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: How to force SHARPEN filter ON and edit the value?

Postby ammscray » Thu Mar 22, 2018 7:25 pm

thanks for replying...this didnt work, all it did was cause smplayer to open a DVD as an audio file only

again, if its not possible to force sharpen on as default, not matter at this point, I'll turn it on manually

but could you please tell me which INI file to edit and where, to change the default value from 1.5 to 1.0

thanks much
ammscray
 
Posts: 4
Joined: Sun Mar 18, 2018 6:57 pm

Re: How to force SHARPEN filter ON and edit the value?

Postby rvm » Thu Mar 22, 2018 9:15 pm

rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: How to force SHARPEN filter ON and edit the value?

Postby ammscray » Thu Mar 22, 2018 10:51 pm

right, thats what I want to do and thats the way Im using it, but I dont know how to edit the code in the INI file, b/c it appears in 3 different places there

I need specific instructions to edit the code, please...thnx

EDIT: Ok, I went to filter options in the ini file, and no matter what I change the value to, the amount of sharpen doesnt change when engaged...the sharpen feature is mentioned in other places in that file, so I assume there must me more that I need to change

EDIT AGAIN: ok, figured it out, thanks!
ammscray
 
Posts: 4
Joined: Sun Mar 18, 2018 6:57 pm


Return to General

Who is online

Users browsing this forum: No registered users and 36 guests