Menu

#665 SMPlayer wit mp, Option vf-add: pp doesn't exist, Fatal error

stable
closed-fixed
nobody
None
5
2016-01-15
2015-01-17
Redbaron
No

OS: Ubuntu 14.04, SMPlayer ver: 14.9.6672, mpv ver:mpv git-33dd914 built on 2015-01-09T20:43:46. On some video files I get errors:
Option vf-add: pp doesn't exist.
Error parsing option vf-add (option parameter could not be parsed)
Setting commandline option --vf-add=pp failed.
Exiting... (Fatal error)

There is no Option vf-add for mpv. I disabled Deinterlace by default,Enable postprocessing by default and Set quality to 1. Same error.

1 Attachments

Discussion

  • Ricardo Villalba

    --vf-add=pp works for me, but I compiled mpv from sources.

    How did you get mpv? Is the package provided by ubuntu?

    If you disable postprocessing then --vf-add=pp won't be used.

     
  • Ricardo Villalba

    According to the mpv documentation the pp filter is only available if FFmpeg/Libav has been compiled with libpostproc.

    In svn r6675 smplayer checks if the pp filter is available,

     
  • Redbaron

    Redbaron - 2015-01-18

    My mpv deb package is from https://launchpad.net/~mc3man/+archive/ubuntu/mpv-tests, the version is 2:0.7.2+git10. When I run mpv with --list-options parameter I only get:

    --vf* Object settings list (default: )
    --vf-defaults Object settings list (default: )

    Is --vf-add same as --vf* option? And just pp is not avalable because of libpostproc is not included? I read somewhere on forums that mpv removed support for libpostproc for some reason.

    As I mentioned I disabled all postprocesing features from preferences but still on some video files smplayer adds this option.

    Can I get deb package of r6675 version from somewhere?

     
  • Redbaron

    Redbaron - 2015-01-18

    Forgot to mention this error appeared when I updated smplayer:amd64 from 14.9.0.6668-1~trusty1 to 14.9.0.6672-1~trusty1.

     
  • Ricardo Villalba

    You can run "mpv --vf help" to know if the pp filter is available.

    I'll upload soon the new version to the PPA.

     
  • Redbaron

    Redbaron - 2015-01-20

    Updated. Now it works on all video files without error. Thanks for fix. Output of "mpv --vf help":

    Available video filters:
    crop : cropping
    expand : expanding
    scale : software scaling
    format : force output format
    noformat : disallow one output format
    flip : flip image upside-down
    rotate : rotate
    mirror : horizontal mirror
    lavfi : libavfilter bridge
    screenshot : screenshot to file
    noise : noise generator
    eq : Software equalizer
    gradfun : gradient deband
    unsharp : unsharp mask & gaussian blur
    swapuv : UV swapper
    hqdn3d : High Quality 3D Denoiser
    ilpack : 4:2:0 planar -> 4:2:2 packed reinterlacer
    dsize : reset displaysize/aspect
    softpulldown : mpeg2 soft 3:2 pulldown
    pullup : pullup (from field sequence to frames)
    delogo : simple logo remover
    phase : phase shift fields
    divtc : inverse telecine for deinterlaced video
    sub : Render subtitles
    yadif : Yet Another DeInterlacing Filter
    stereo3d : stereoscopic 3d view
    buffer : buffer a number of frames
    dlopen : Dynamic library filter
    vavpp : VA-API Video Post-Process Filter
    vdpaupp : vdpau postprocessing

    But when I enable "Enable post processing by default" and "Quality :6" mpv command line is:

    Command line: '/usr/bin/mpv' '--no-config' '--no-quiet' '--terminal' '--no-msg-color' '--slave-broken' '-v' '--no-fs' '--demuxer=lavf' '--vd-lavc-threads=8' '--sub-auto=fuzzy' '--vo=xv:adaptor=0' '--ao=pulse' '--stop-screensaver' '--no-input-default-bindings' '--input-x11-keyboard=no' '--no-input-cursor' '--cursor-autohide=no' '--no-keepaspect' '--wid=113246259' '--monitorpixelaspect=1' '--osd-scale=1' '--sub-ass' '--embeddedfonts' '--ass-line-spacing=0' '--sub-scale=1' '--sub-codepage=utf8:UTF-8' '--vid=1' '--aid=1' '--sub-pos=100' '--volume=60' '--cache=2048' '--start=68' '--osd-level=0' '--index=default' '--audio-channels=2' '--af-add=drc=1' '--af-add=scaletempo' '--af-add=equalizer=0:0:0:0:0:0:0:0:0:0' '--softvol=yes' '--softvol-max=110' '--ytdl' '--hwdec=auto' '--term-playing-msg=MPV_VERSION=${=mpv-version:}

    Does that mean that postprocessing in not used anymore?

    And also not connected to this ticket but can you add --hwdec parameter support?

     
  • Ricardo Villalba

    Postprocessing is done with the pp filter. If the pp filter is not available then obviously the option does nothing.

    Yes, I'll add support for --hwdec

     
  • Jan Lachnitt

    Jan Lachnitt - 2015-01-25

    I am getting the same error on Linux Mint 17 since updating mpv from version 2:0.7.2~trusty to version 2:0.7.3+git1~trusty.

     
  • Ricardo Villalba

    The problem is fixed in svn r6675. Update.

     
  • Ricardo Villalba

    • status: open --> closed-fixed
     

Log in to post a comment.