My thoughts on Slackware, life and everything

VLC rebuilt for -current, Chromium and Palemoon updated

Browser updates: both Google Chromium (66.0.3359.181) and Palemoon (27.9.2) released new versions last week which I packaged for Slackware 14.2 and -current. The Palemoon update contains CVE-tagged security fixes. You are advised to upgrade.

The VLC 3.0.2 player was broken in slackware-current after the recent update of the libidn package. I rebuilt the vlc package for -current and at the same time updated some of its internal support libraries (asdcp, dca, dsm, dvbpsi, x265). The recompile was not trivial because another recent update in -current (the openssl move to 1.1.x) caused some issues for which I had to find patches. Eventually, there’s a working VLC in the repository again.

Get the packages here:

The VLC package with AAC encoder and DVD decryption capability which therefore cannot be hosted in the US can be found in https://slackware.nl/people/alien/restricted_slackbuilds/ (rsync://slackware.nl/mirrors/people/alien/restricted_slackbuilds/) as always.

Have fun! Eric

13 Comments

  1. kjhambrick

    Slackware64 14.2 + Multilib.

    Palemoon and chromium updates are both running fine here.

    Thank you Eric !

    — kjh

  2. Geremia

    I have a Flash issue in Chromium: It doesn’t detect my mic, and I get:

    [WARNING:flash/platform/pepper/pep_module.cpp(63)] SANDBOXED

  3. cstsc

    After the upgrade with new vlc no GUI:

    VLC media player 3.0.2 Vetinari (revision 3.0.2-2-g34d098f437)
    [0000000000f43ba0] main libvlc: Running vlc with the default interface. Use ‘cvlc’ to use vlc without interface.
    [00000000010263b0] skins2 interface error: cannot instantiate dialogs provider
    [0000000000fd5440] main playlist: playlist is empty
    [00000000010263b0] [cli] lua interface: Listening on host “*console”.
    VLC media player 3.0.2 Vetinari
    Command Line Interface initialized. Type `help’ for help.

  4. alienbob

    Hi cstsc.
    It sounds as if you did not install the required dependencies for VLC 3.x.
    For Slackware-current those are: libxkbcommon, qt5 and qt5-webkit.
    For Slackware 14.2 the above dependencies *plus” libinput and libwacom.
    All of those can be found in my repository where you got the VLC package from.

  5. cstsc

    Thanks, Bob! After upgrading to new qt, it works fine.

  6. Pete Christy

    Hi Eric, I’ve just updated to your vlc-3.0.3 from the restricted repository, and I’m getting the following error:

    vlc Cobra_maiden.mp4
    VLC media player 3.0.3 Vetinari (revision 3.0.2-225-gc9e3360dd4)
    [0000000001d4d010] main libvlc: Running vlc with the default interface. Use ‘cvlc’ to use vlc without interface.
    [00007f20a8cc53a0] main decoder error: Codec `mp4a’ (MPEG AAC Audio) is not supported.
    [00007f20a8cc53a0] gstdecode decoder: got new caps video/x-raw, format=(string)I420, width=(int)1920, height=(int)1080, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, chroma-site=(string)mpeg2, colorimetry=(string)bt709, framerate=(fraction)25/1
    [00007f20a014f180] chain filter error: Too high level of recursion (3)
    [00007f20a0153f00] main filter error: Failed to create video converter

    The last two lines are repeated many times.

    It seems to be telling me that vlc has been compiled without aac support. Just in case my local mirror (slackware.uk) had got its wires crossed, I re-downloaded and installed from your .nl repository, with the same results.

    VLC is a total pain to compile from source, so I’ve always used your pre-compiled version. I use Kaffeine as a front-end to vlc for watching digital TV off air, but as aac seems to be broken in vlc, its not working at present!

    Is this something I’ve missed, or is there a problem with the package?

    Cheers,


    Pete

  7. alienbob

    PEte, I would rather think there’s a problem with the movie file.
    I just installed vlc-3.0.3 from my restricted repository on Slackware64-current and played a couple of MP$ files that had H.264 video and AAC audio. No problems here.

    You can find discussions on the internet about ripped .mp4 files that won’t play with default vlc settings. The suggestion is to go to:
    Tools > Preferences > Input/Codecs > Video codecs > FFmpeg
    And change the ‘Strict standard compliance’ to “-2” (this setting is roughly halfway the settings window).

  8. Pete Christy

    Hm! Interesting! In my vlc, there is no reference at all to FFmpeg under video codecs. There is only: GstDecode, jpeg, svgdec, Theora, vpx, x262, x264 and x26410b !

    Under audio codecs (and it is aac that seems to be missing), there is only: a/52, DCA, FluidSynth, Speex, Twolame and Vorbis. No aac!

    The file that generated the error I posted above was a “home movie”, shot on a Panasonic camcorder, and edited in kdenlive on this same computer. I get the same error with BBC off-air signals.

    All the indications are that aac is actually missing from vlc for some reason.

    BTW, the file that generated the error plays fine in ffplay and mpv. I’ll put a copy of it in Dropbox, and send you a link.

    Prior to the recent upgrades, vlc and kaffeine both worked fine!

    I’m baffled!


    Pete

  9. Pete Christy

    Here’s a link to a video that causes the error (though every mp4 file I’ve tried does the same!)

    https://www.dropbox.com/s/e7wm54fli6xtwj2/Cobra_maiden.mp4?dl=1

    and here’s some screenshots of the VLC configuration pages you pointed me towards:

    https://www.dropbox.com/s/chhocl9sxub50x3/vlc_codecs.tar.gz?dl=1

    You will need to download them to view them, I’m afraid!

    Cheers,


    Pete

  10. alienbob

    Pete, I downloaded and played this video and there are no issues at all, it has audio and video.
    Looks like something is missing on your system. VLC has its own internal ffmpeg engine, it is not depending on a system ffmpeg. The fact that you do not see ‘ffmpeg’ mentioned in your video input preferences is weird. Try this, and look for library errors around the line “main libvlc debug: plug-ins loaded: 506 modules”:

    $ vlc -vvv --list 2>&1 | less

  11. Pete Christy

    OK, might be getting somewhere! My system uses Intel graphics (libva). Running the command above gives:

    [0000000002478010] main libvlc debug: recursively browsing `/usr/lib64/vlc/plugins’
    [0000000002478010] main libvlc warning: cannot load module `/usr/lib64/vlc/plugins/codec/libavcodec_plugin.so’ (libvdpau.so.1: cannot open shared object file: No such file or directory)
    [0000000002478010] main libvlc warning: cannot load module `/usr/lib64/vlc/plugins/access/libavio_plugin.so’ (libvdpau.so.1: cannot open shared object file: No such file or directory)
    [0000000002478010] main libvlc warning: cannot load module `/usr/lib64/vlc/plugins/video_chroma/libswscale_plugin.so’ (libvdpau.so.1: cannot open shared object file: No such file or directory)
    [0000000002478010] main libvlc warning: cannot load module `/usr/lib64/vlc/plugins/demux/libavformat_plugin.so’ (libvdpau.so.1: cannot open shared object file: No such file or directory)
    [0000000002478010] main libvlc warning: cannot load module `/usr/lib64/vlc/plugins/packetizer/libpacketizer_avparser_plugin.so’ (libvdpau.so.1: cannot open shared object file: No such file or directory)
    [0000000002478010] main libvlc warning: cannot load module `/usr/lib64/vlc/plugins/vdpau/libvdpau_avcodec_plugin.so’ (libvdpau.so.1: cannot open shared object file: No such file or directory)
    [0000000002478010] main libvlc warning: cannot load module `/usr/lib64/vlc/plugins/video_filter/libpostproc_plugin.so’ (libvdpau.so.1: cannot open shared object file: No such file or directory)

    So it looks like a vdpau issue. Now I’m sure I installed vdpau – even though my systems doesn’t actually use it – and doing ~ locate vdpau gives this:

    /usr/include/libavcodec/vdpau.h
    /usr/include/libavutil/hwcontext_vdpau.h
    /usr/lib64/vdpau
    /usr/lib64/vdpau/libvdpau_nouveau.so
    /usr/lib64/vdpau/libvdpau_nouveau.so.1
    /usr/lib64/vdpau/libvdpau_nouveau.so.1.0
    /usr/lib64/vdpau/libvdpau_nouveau.so.1.0.0
    /usr/lib64/vdpau/libvdpau_r300.so
    /usr/lib64/vdpau/libvdpau_r300.so.1
    /usr/lib64/vdpau/libvdpau_r300.so.1.0
    /usr/lib64/vdpau/libvdpau_r300.so.1.0.0
    /usr/lib64/vdpau/libvdpau_r600.so
    /usr/lib64/vdpau/libvdpau_r600.so.1
    /usr/lib64/vdpau/libvdpau_r600.so.1.0
    /usr/lib64/vdpau/libvdpau_r600.so.1.0.0
    /usr/lib64/vdpau/libvdpau_radeonsi.so
    /usr/lib64/vdpau/libvdpau_radeonsi.so.1
    /usr/lib64/vdpau/libvdpau_radeonsi.so.1.0
    /usr/lib64/vdpau/libvdpau_radeonsi.so.1.0.0
    /usr/lib64/vlc/libvlc_vdpau.la
    /usr/lib64/vlc/libvlc_vdpau.so
    /usr/lib64/vlc/libvlc_vdpau.so.0
    /usr/lib64/vlc/libvlc_vdpau.so.0.0.0
    /usr/lib64/vlc/plugins/vdpau
    /usr/lib64/vlc/plugins/vdpau/libvdpau_adjust_plugin.la
    /usr/lib64/vlc/plugins/vdpau/libvdpau_adjust_plugin.so
    /usr/lib64/vlc/plugins/vdpau/libvdpau_avcodec_plugin.la
    /usr/lib64/vlc/plugins/vdpau/libvdpau_avcodec_plugin.so
    /usr/lib64/vlc/plugins/vdpau/libvdpau_chroma_plugin.la
    /usr/lib64/vlc/plugins/vdpau/libvdpau_chroma_plugin.so
    /usr/lib64/vlc/plugins/vdpau/libvdpau_deinterlace_plugin.la
    /usr/lib64/vlc/plugins/vdpau/libvdpau_deinterlace_plugin.so
    /usr/lib64/vlc/plugins/vdpau/libvdpau_display_plugin.la
    /usr/lib64/vlc/plugins/vdpau/libvdpau_display_plugin.so
    /usr/lib64/vlc/plugins/vdpau/libvdpau_sharpen_plugin.la
    /usr/lib64/vlc/plugins/vdpau/libvdpau_sharpen_plugin.so
    /usr/lib64/vlc/plugins/video_output/libglconv_vdpau_plugin.la
    /usr/lib64/vlc/plugins/video_output/libglconv_vdpau_plugin.so
    /usr/lib64/xine/plugins/2.7/xineplug_decode_vdpau.so
    /usr/lib64/xine/plugins/2.7/xineplug_vo_out_vdpau.so

    There is no libvdpau.so.1 ! I think this may be the problem.

    I’ll go away and try re-installing libvdpau from Slackware64-current, and see where that gets me. I have a feeling that to make it work, there is a vdpau to vaapi converter needed somewhere, but again, I thought I had that installed.

    Strange how this has only shown up in the latest version, though!

    Thanks for your help, and watch this space…..! 😉


    Pete

  12. Pete Christy

    YES! That was it! Simply re-installing libvdpau sorted the problem!

    I’m a little puzzled as to how it had got corrupted, and why it hadn’t been picked up when doing the routine slackpkg+ updates. Mind you, I’m not sure when libvdpau was last updated. Since my system is libva based, its not something I look at closely. I clearly need to be more vigilant!

    Many thanks for your help, and keep up the good work!

    🙂


    Pete

  13. alienbob

    Good to hear it got fixed.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

© 2024 Alien Pastures

Theme by Anders NorenUp ↑