pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mencoder missing xvid and lame options



Hi,

some more details I found out. The mencoder binary itself seems ok, and is
linked against all libraries you would expect (including xvidcore and
mp3lame):

/usr/pkg/bin/mencoder:
        -lterminfo.1 => /usr/lib/libterminfo.so.1
        -lc.12 => /usr/lib/libc.so.12
        -lrt.1 => /usr/lib/librt.so.1
        -lpng16.16 => /usr/pkg/lib/libpng16.so.16
        -lz.1 => /usr/lib/libz.so.1
        -lm.0 => /usr/lib/libm.so.0
        -ljpeg.9 => /usr/pkg/lib/libjpeg.so.9
        -lgif.7 => /usr/pkg/lib/libgif.so.7
        -lossaudio.1 => /usr/lib/libossaudio.so.1
        -ldvdread.4 => /usr/pkg/lib/libdvdread.so.4
        -lfreetype.18 => /usr/X11R7/lib/libfreetype.so.18
        -lbz2.1 => /usr/lib/libbz2.so.1
        -lfontconfig.2 => /usr/X11R7/lib/libfontconfig.so.2
        -lexpat.2 => /usr/lib/libexpat.so.2
        -lgcc_s.1 => /usr/lib/libgcc_s.so.1
        -lfribidi.0 => /usr/pkg/lib/libfribidi.so.0
        -lass.9 => /usr/pkg/lib/libass.so.9
        -lharfbuzz.0 => /usr/pkg/lib/libharfbuzz.so.0
        -lintl.1 => /usr/lib/libintl.so.1
        -lglib-2.0.0 => /usr/pkg/lib/libglib-2.0.so.0
        -lpcre.1 => /usr/pkg/lib/libpcre.so.1
        -lpthread.1 => /usr/lib/libpthread.so.1
        -lgraphite2.3 => /usr/pkg/lib/libgraphite2.so.3
        -lstdc++.9 => /usr/lib/libstdc++.so.9
        -lenca.0 => /usr/pkg/lib/libenca.so.0
        -lswscale.5 => /usr/pkg/lib/ffmpeg4/libswscale.so.5
        -lavutil.56 => /usr/pkg/lib/ffmpeg4/libavutil.so.56
        -lvdpau.1 => /usr/X11R7/lib/libvdpau.so.1
        -lXext.7 => /usr/X11R7/lib/libXext.so.7
        -lX11.7 => /usr/X11R7/lib/libX11.so.7
        -lxcb.2 => /usr/X11R7/lib/libxcb.so.2
        -lXau.7 => /usr/X11R7/lib/libXau.so.7
        -lXdmcp.7 => /usr/X11R7/lib/libXdmcp.so.7
        -lva.2 => /usr/pkg/lib/libva.so.2
        -lswresample.3 => /usr/pkg/lib/ffmpeg4/libswresample.so.3
        -lavformat.58 => /usr/pkg/lib/ffmpeg4/libavformat.so.58
        -lavcodec.58 => /usr/pkg/lib/ffmpeg4/libavcodec.so.58
        -lvpx.1 => /usr/pkg/lib/libvpx.so.1
        -llzma.2 => /usr/lib/liblzma.so.2
        -laom.0 => /usr/pkg/lib/libaom.so.0
        -lmp3lame.0 => /usr/pkg/lib/libmp3lame.so.0
        -ltheoraenc.1 => /usr/pkg/lib/libtheoraenc.so.1
        -ltheora.0 => /usr/pkg/lib/libtheora.so.0
        -logg.0 => /usr/pkg/lib/libogg.so.0
        -ltheoradec.1 => /usr/pkg/lib/libtheoradec.so.1
        -lvorbis.0 => /usr/pkg/lib/libvorbis.so.0
        -lvorbisenc.2 => /usr/pkg/lib/libvorbisenc.so.2
        -lx264.157 => /usr/pkg/lib/libx264.so.157
        -lxvidcore.4 => /usr/pkg/lib/libxvidcore.so.4
        -lxml2.2 => /usr/pkg/lib/libxml2.so.2
        -lbluray.2 => /usr/pkg/lib/libbluray.so.2
        -lssl.14 => /usr/lib/libssl.so.14
        -lcrypto.14 => /usr/lib/libcrypto.so.14
        -lcrypt.1 => /lib/libcrypt.so.1
        -lpostproc.55 => /usr/pkg/lib/ffmpeg4/libpostproc.so.55
        -ldvdnav.4 => /usr/pkg/lib/libdvdnav.so.4

But nevertheless the codecs are not available:

$ mencoder -ovc help
MEncoder 1.4-7.4.0 (C) 2000-2019 MPlayer Team

Available codecs:
   copy     - frame copy, without re-encoding. Doesn't work with filters.
   frameno  - special audio-only file for 3-pass encoding, see DOCS.
   raw      - uncompressed video. Use fourcc option to set format explicitly.
   lavc     - libavcodec codecs - best quality!

$ mencoder -oac help
MEncoder 1.4-7.4.0 (C) 2000-2019 MPlayer Team

Available codecs:
   copy     - frame copy, without re-encoding (useful for AC3)
   pcm      - uncompressed PCM audio
   lavc     - FFmpeg audio encoder (MP2, AC3, ...)

This is running from pkgsrc2019Q2 on NetBSD/amd64 8.99.50.


I have mplayer/mencoder 1.1 on a second NetBSD system, built from an
older pkgserc, which works fine. Example for video codecs:
$ mencoder -ovc help
MEncoder 1.1-4.5.3 (C) 2000-2012 MPlayer Team

Available codecs:
   copy     - frame copy, without re-encoding. Doesn't work with filters.
   frameno  - special audio-only file for 3-pass encoding, see DOCS.
   raw      - uncompressed video. Use fourcc option to set format explicitly.
   lavc     - libavcodec codecs - best quality!
   libdv    - DV encoding with libdv v0.9.5
   xvid     - XviD encoding
   x264     - H.264 encoding


Is this a bug in the mencoder package or am I missing something? I found
no further instructions on how to activate missing codecs.

-- 
Frank Wille


Home | Main Index | Thread Index | Old Index