How to install apps that need ffmpeg

Discussions Regarding Software

Moderator: Moderators

How to install apps that need ffmpeg

Postby hieronimus » Thu Apr 20, 2017 23:22

Hello, help me install softwares like media-video/mpv or media-video/handbrake. What can I do usual to bypass this condition: use only libav.
Ie, I almost build media-video/handbrake package by manipulating USE-flags but it fails with errors in libav module.
Code: Select all
../libhb/avfilter.c: In function ‘avfilter_init’:
../libhb/avfilter.c:274:13: error: ‘AVFilterLink’ has no member named ‘frame_rate’
     if (link->frame_rate.num > 0 && link->frame_rate.den > 0)
             ^
../libhb/avfilter.c:274:41: error: ‘AVFilterLink’ has no member named ‘frame_rate’
     if (link->frame_rate.num > 0 && link->frame_rate.den > 0)
                                         ^
../libhb/avfilter.c:276:38: error: ‘AVFilterLink’ has no member named ‘frame_rate’
         init->vrate.num        = link->frame_rate.num;
                                      ^
../libhb/avfilter.c:277:38: error: ‘AVFilterLink’ has no member named ‘frame_rate’
         init->vrate.den        = link->frame_rate.den;
                                      ^
make: *** [../libhb/module.rules:12: libhb/avfilter.o] Error 1
make: *** Waiting for unfinished jobs...

Similar story with tox client, which not use libav at all
hieronimus
Young Hen
 
Posts: 24
Joined: Mon Oct 29, 2012 15:18
Location: Ukraine

Re: How to install apps that need ffmpeg

Postby linuxfluesterer » Fri Apr 21, 2017 18:06

You have Sabayon, right?
Because mpv is in repo of Sabayonlinux.org, see:
Code: Select all
@@ Paket: media-video/mpv-0.22.0-r1 Branch: 5, [sabayonlinux.org]
╠          Verfügbar:      Version: 0.22.0-r1 ~ tag: NoTag ~ Version: 1
╠          Installiert:    Version: 0.22.0-r1 ~ tag: NoTag ~ Version: 1
╠          Slot:           0
╠          Homepage:       https://mpv.io/
╠          Beschreibung:   Media player based on MPlayer and
╠                          mplayer2
╠          Lizenz:         BSD GPL-2+ ISC
╠   Schlüsselwörter:  mpv
╠   Gefunden:         2 Einträge


and it works on my system (Sabayon Plasma 5.9.4 64bit with Kernel 4.9.23).
If you want to use non-repo programs like handbrake, then you can install portage on your system,. Here you can find many non Sabayon programs.
Have a look on this thread:
https://forum.sabayon.org/viewtopic.php?f=57&t=33635&p=179516&hilit=handbrake#p179516

But... maybe I missunderstand your intention. Anyway, I hope to help you.

-Linuxfluesterer (I love KDE ...)
Take away Facebook from me and let there be real people again...
User avatar
linuxfluesterer
Old Dear Hen
 
Posts: 752
Joined: Thu Sep 20, 2012 19:47
Location: Germany

Re: How to install apps that need ffmpeg

Postby hieronimus » Mon Apr 24, 2017 12:57

Thankful for envolvement, but binary package is out of date in some degree.
https://github.com/mpv-player/mpv/releases
I can create Issue and create request for package for developers.But there are still other packages with a similar problem.
Yeah, I am actively and often using portage but there are some obstacles any way: like system-wide use-flags, сhange of which can lead to problems
hieronimus
Young Hen
 
Posts: 24
Joined: Mon Oct 29, 2012 15:18
Location: Ukraine


Return to Software in General

Who is online

Users browsing this forum: No registered users and 3 guests