(solved) Installation of x264 and ffmpeg

  • Hi!


    OMV works great! and one of the best features is being able to install SW from deb-rep's.
    So I installed ffmpeg via apt-get (worked fine). But installation from standard repository is without x264 codec which I need for recoding my Videos. Here my questions:
    1 - is there a repository which I can add to sources.list to install libx264 (64bit) from there?
    OR
    2 - is installation of gcc and make sufficient to compile x264-codecs for ffmpeg as described in numerous howtos in forums?


    Thanks a lot


    Williwow

  • Have you tried deb-multimedia.org ?

    Lian Li PC-V354 (with Be Quiet! Silent Wings 3 fans)
    ASRock Rack x470D4U | AMD Ryzen 5 3600 | Crucial 16GB DDR4 2666MHz ECC | Intel x550T2 10Gb NIC

    1 x ADATA 8200 Pro 256MB NVMe for System/Caches/Logs/Downloads
    5 x Western Digital 10To HDD in RAID 6 for Datas
    1 x Western Digital 2To HDD for Backups

    Powered by OMV v5.6.26 & Linux kernel 5.10.x

  • no -thanks for the hint. I will try that first (on my opensuse-desktop all codecs are available, so there must be the packages somewhere out in the wild :)


    I will try this this weekend.


    Williwow

  • Zitat von "williwow"

    no -thanks for the hint. I will try that first (on my opensuse-desktop all codecs are available, so there must be the packages somewhere out in the wild :)


    I will try this this weekend.


    Williwow


    See here line 203 to 205 ;)
    http://<br>http://deb-multimedia.org/dist…ain/binary-amd64/</a><br>


    Follow the steps to nistall repo on the home page ;)


    Cheers

    Lian Li PC-V354 (with Be Quiet! Silent Wings 3 fans)
    ASRock Rack x470D4U | AMD Ryzen 5 3600 | Crucial 16GB DDR4 2666MHz ECC | Intel x550T2 10Gb NIC

    1 x ADATA 8200 Pro 256MB NVMe for System/Caches/Logs/Downloads
    5 x Western Digital 10To HDD in RAID 6 for Datas
    1 x Western Digital 2To HDD for Backups

    Powered by OMV v5.6.26 & Linux kernel 5.10.x

  • Thanks all,


    I added the deb-multimedia.org repository to sources list and (doing a lot of googleing and learning) fixed it finally!!
    libx264 recognized, ffmpeg H.264-coding works!


    Williwow

  • Hi i have a similar question but with vlc.
    I really need vlc for some live transcoding.


    i have added those lines to my sources.list

    Code
    deb http://www.deb-multimedia.org squeeze main non-free
    deb http://www.deb-multimedia.org squeeze-backports main


    and tried both versions

    Code
    apt-get install vlc


    which install VLC media player 1.1.3 The Luggage (revision exported)


    and

    Code
    apt-get -t squeeze-backports install vlc


    which install VLC media player 2.0.1 Twoflower (revision 2.0.1-0-gf432547)


    for the vlc 1.1.3 version i get errors like this when i try to transcode some h264

    Code
    libdvbpsi error (PSI decoder): TS discontinuity (received 3, expected 0) for PID 0
    libdvbpsi error (PSI decoder): TS discontinuity (received 12, expected 0) for PID 97
    [0x20be590] stream_out_transcode stream out error: cannot find video encoder (module:x264 fourcc:h264)
    [0x20be590] stream_out_transcode stream out error: cannot create video chain
    [0x20c8720] main decoder error: cannot create packetizer output (mpgv)
    [flv @ 0x20bf0a0] Codec for stream 0 does not use global headers but container format requires global headers
    Diverting av_*_packet function calls to libavcodec. Recompile to improve performance
    Diverting av_*_packet function calls to libavcodec. Recompile to improve performance
    Diverting av_*_packet function calls to libavcodec. Recompile to improve performance
    Diverting av_*_packet function calls to libavcodec. Recompile to improve performance


    etc.


    with vlc 2.0 i get

    Code
    [0x7f36e0001898] main generic warning: cannot load module `/usr/lib/vlc/plugins/codec/libavcodec_plugin.so' (/usr/lib/libXfixes.so.3: undefined symbol: _XLockMutex_fn)
    [0xf20218] main generic error: corrupt module: /usr/lib/vlc/plugins/codec/libavcodec_plugin.so
    x264 [info]: using cpu capabilities: MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
    x264 [info]: profile Constrained Baseline, level 3.0
    [0xf29ba8] main encoder error: corrupt module: /usr/lib/vlc/plugins/codec/libavcodec_plugin.so
    [0xee2fc8] stream_out_transcode stream out error: cannot find audio encoder (module:any fourcc:mp3 ). Take a look few lines earlier to see possible reason.
    [0xee2fc8] stream_out_transcode stream out error: cannot create audio chain
    [0xf1a1c8] main decoder error: cannot create packetizer output (mpga)


    has someone installed a working vlc version and could help me?
    ffmpeg is working correct.
    I don't know how i can fix my problem with the libavcodec_plugin.so

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!