Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
execution of ffmpeg is taking more time in gentoo than other
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3671
Location: Rasi, Finland

PostPosted: Sun Oct 27, 2024 8:25 am    Post subject: let's pause Reply with quote

Let's have a pause and take a look where we are right now, since there seems to be a lot of people posting comments and trying to help.

rupeshforu3, can you list the things you've done since starting this topic, so we can keep track of what you've already done?

rupeshforu3 wrote:
After installation I have compiled the same ffmpeg source code which is cloned from git and with the same options which includes the following

--enable opencl
--enable opengl
--enable libaom
--enable AMF
--enable gnutils
Etc.,
Doing manual compilation like this one (outside of portage) will not automatically include the compile optimization settings (CFLAGS, CPU_FLAGS_*, etc) or anything set in make.conf. The easiest way is to use portage (emerge) and let it apply your settings to ffmpeg compilation process.
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Ralphred
l33t
l33t


Joined: 31 Dec 2013
Posts: 630

PostPosted: Sun Oct 27, 2024 3:22 pm    Post subject: Reply with quote

rupeshforu3 wrote:
Package media-video/ffmpeg-9999 not found.

emerge =media-video/ffmpeg-9999
Post the command you've type when you get errors please.
Back to top
View user's profile Send private message
rupeshforu3
n00b
n00b


Joined: 19 Aug 2024
Posts: 21

PostPosted: Sun Oct 27, 2024 4:16 pm    Post subject: Reply with quote

I am providing the output of emerge -S ffmpeg below

Code:

build@gentoo ~ $ emerge -S ffmpeg
 
[ Results for search key : ffmpeg ]
Searching...

*  dev-python/audioread
      Latest version available: 3.0.1
      Latest version installed: [ Not Installed ]
      Size of files: 114 KiB
      Homepage:      https://github.com/beetbox/audioread/ https://pypi.org/project/audioread/
      Description:   Wrapper for audio file decoding using FFmpeg or GStreamer
      License:       MIT

*  dev-python/ffmpeg-python
      Latest version available: 0.2.0_p20220711-r1
      Latest version installed: [ Not Installed ]
      Size of files: 3210 KiB
      Homepage:      https://github.com/kkroening/ffmpeg-python/
      Description:   Python bindings for FFmpeg with complex filtering support
      License:       Apache-2.0

*  dev-python/imageio-ffmpeg [ Masked ]
      Latest version available: 0.5.1
      Latest version installed: [ Not Installed ]
      Size of files: 27 KiB
      Homepage:      https://github.com/imageio/imageio-ffmpeg/ https://pypi.org/project/imageio-ffmpeg/
      Description:   FFMPEG wrapper for Python
      License:       BSD-2

*  kde-apps/ffmpegthumbs
      Latest version available: 24.08.1
      Latest version installed: [ Not Installed ]
      Size of files: 33 KiB
      Homepage:      https://apps.kde.org/
      Description:   FFmpeg based thumbnail generator for video files
      License:       GPL-2+

*  kde-apps/ffmpegthumbs-common
      Latest version available: 24.08.1
      Latest version installed: [ Not Installed ]
      Size of files: 33 KiB
      Homepage:      https://apps.kde.org/
      Description:   Common files for ffmpegthumbs
      License:       GPL-2

*  media-libs/ffmpegsource
      Latest version available: 2.40-r2
      Latest version installed: [ Not Installed ]
      Size of files: 138 KiB
      Homepage:      https://github.com/FFMS/ffms2
      Description:   A libav/ffmpeg based source library for easy frame accurate access
      License:       MIT

*  media-libs/nv-codec-headers
      Latest version available: 12.1.14.0
      Latest version installed: [ Not Installed ]
      Size of files: 76 KiB
      Homepage:      https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git
      Description:   FFmpeg version of headers required to interface with Nvidias codec APIs
      License:       MIT

*  media-plugins/gst-plugins-libav
      Latest version available: 1.22.11
      Latest version installed: [ Not Installed ]
      Size of files: 203 KiB
      Homepage:      https://gstreamer.freedesktop.org/modules/gst-libav.html
      Description:   FFmpeg based gstreamer plugin
      License:       LGPL-2+

*  media-plugins/kodi-inputstream-ffmpegdirect [ Masked ]
      Latest version available: 9999
      Latest version installed: [ Not Installed ]
      Size of files: 0 KiB
      Homepage:      https://github.com/xbmc/inputstream.ffmpegdirect
      Description:   Kodi's FFMpeg Direct Inputstream addon
      License:       GPL-2

*  media-video/ffcast [ Masked ]
      Latest version available: 2.4.8
      Latest version installed: [ Not Installed ]
      Size of files: 25 KiB
      Homepage:      https://github.com/ropery/ffcast
      Description:   Record screencasts using ffmpeg
      License:       GPL-3+

*  media-video/ffmpeg
      Latest version available: 6.1.1-r8
      Latest version installed: 6.1.1-r8
      Size of files: 10214 KiB
      Homepage:      https://ffmpeg.org/
      Description:   Complete solution to record/convert/stream audio and video. Includes libavcodec
      License:       !gpl? ( LGPL-2.1 ) gpl? ( GPL-2 ) amr? ( gpl? ( GPL-3 ) !gpl? ( LGPL-3 ) ) gmp? ( gpl? ( GPL-3 ) !gpl? ( LGPL-3 ) ) libaribb24? ( gpl? ( GPL-3 ) !gpl? ( LGPL-3 ) ) encode? ( amrenc? ( gpl? ( GPL-3 ) !gpl? ( LGPL-3 ) ) ) samba? ( GPL-3 )

*  media-video/ffmpeg-chromium
      Latest version available: 129
      Latest version installed: [ Not Installed ]
      Size of files: 10180 KiB
      Homepage:      https://ffmpeg.org/
      Description:   FFmpeg built specifically for codec support in Chromium-based browsers
      License:       !gpl? ( LGPL-2.1 ) gpl? ( GPL-2 )

*  media-video/ffmpegthumbnailer
      Latest version available: 2.2.2-r1
      Latest version installed: [ Not Installed ]
      Size of files: 1174 KiB
      Homepage:      https://github.com/dirkvdb/ffmpegthumbnailer
      Description:   Lightweight video thumbnailer that can be used by file managers
      License:       GPL-2

*  media-video/vidcutter
      Latest version available: 6.0.5.1_p20230201
      Latest version installed: [ Not Installed ]
      Size of files: 9628 KiB
      Homepage:      http://vidcutter.ozmartians.com https://github.com/ozmartian/vidcutter
      Description:   FFmpeg-based simple video cutter & joiner with a modern PyQt5 GUI
      License:       GPL-3

*  sec-keys/openpgp-keys-ffmpeg
      Latest version available: 20220405
      Latest version installed: [ Not Installed ]
      Size of files: 2 KiB
      Homepage:      https://ffmpeg.org/download.html
      Description:   OpenPGP keys used to sign FFmpeg
      License:       public-domain

[ Applications found : 15 ]

build@gentoo


I cant see version higher than 7.
_________________
Regards,
Rupesh.
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3671
Location: Rasi, Finland

PostPosted: Sun Oct 27, 2024 5:03 pm    Post subject: Reply with quote

Code:
zucca@NBLK-WAX9X ~ $ eshowkw -O ffmpeg
Keywords for media-video/ffmpeg:
             |                             |   u            | 
             | a   a     p s   a l   r     |   n            | 
             | m   r h   p p   l o m i s m | e u s          | r
             | d a m p p c a x p o i s 3 6 | a s l          | e
             | 6 r 6 p p 6 r 8 h n p c 9 8 | p e o          | p
             | 4 m 4 a c 4 c 6 a g s v 0 k | i d t          | o
-------------+-----------------------------+----------------+-------
   4.4.4-r9  | + + + ~ + + + + ~ ~ ~ ~ o o | 8 # 0/56.58.58 | gentoo
   4.4.4-r11 | + + + ~ + + + + ~ ~ ~ ~ o o | 8 o            | gentoo
   4.4.5-r1  | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o o | 8 o            | gentoo
-------------+-----------------------------+----------------+-------
   6.0.1-r4  | + + + ~ + + + + ~ ~ ~ ~ o o | 8 # 0/58.60.60 | gentoo
   6.1.1-r5  | + + + ~ + + + + ~ ~ ~ ~ o o | 8 #            | gentoo
[I]6.1.1-r8  | + + + ~ + + + + ~ ~ ~ ~ o o | 8 o            | gentoo
   6.1.2     | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o o | 8 #            | gentoo
[M]7.0.1-r1  | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o o | 8 #            | gentoo
[M]7.0.2-r1  | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o o | 8 o            | gentoo
 [M]9999     | o o o o o o o o o o o o o o | 8 o            | gentoo
Looks like all the 7.x versions have been masked.
snip of package.mask from ::gentoo:
# Leonardo Hernández Hernández <leohdz172@proton.me> (2024-07-07)
# New major ffmpeg version. Tracker bug #928905.
>=media-video/ffmpeg-7.0
... and the mentioned bug.

So there are at least four packages which aren't (yet) compatible with ffmpeg-7.

Easiest route: stick to ffmpeg-6 until mask is lifted from 7.

If you really need ffmpeg-7: unmask it (via /etc/portage/package.unmask). If you do this, and something else breaks, you know why.
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Ralphred
l33t
l33t


Joined: 31 Dec 2013
Posts: 630

PostPosted: Sun Oct 27, 2024 5:58 pm    Post subject: Reply with quote

rupeshforu3 wrote:
I am providing the output of emerge -S ffmpeg below
emerge -S isn't the best search, it will "hide" things that are masked. Personally I prefer eix
Code:
emerge --sync
emerge -av eix
eix-update
eix "media-video/ffmpeg$"
[I] media-video/ffmpeg
     Available versions:  4.4.4-r9(0/56.58.58)^td 4.4.4-r11(0/56.58.58)^td (~)4.4.5-r1(0/56.58.58)^td 6.0.1-r4(0/58.60.60)^td 6.1.1-r5(0/58.60.60)^td 6.1.1-r8(0/58.60.60)^td (~)6.1.2(0/58.60.60)^td [M](~)7.0.1-r1(0/58.60.60)^td [M](~)7.0.2-r1(0/58.60.60)^td [M]**9999(0/58.60.60)*l^td ...snip

^^ this makes more sense when you see it in colour^^
or, if you just want a version check, you can look for yourself where the ebuilds are stored
Code:
ls /var/db/repos/gentoo/media-video/ffmpeg
ffmpeg-4.4.4-r11.ebuild  ffmpeg-6.0.1-r4.ebuild  ffmpeg-6.1.2.ebuild     ffmpeg-9999.ebuild  metadata.xml
ffmpeg-4.4.4-r9.ebuild   ffmpeg-6.1.1-r5.ebuild  ffmpeg-7.0.1-r1.ebuild  files
ffmpeg-4.4.5-r1.ebuild   ffmpeg-6.1.1-r8.ebuild  ffmpeg-7.0.2-r1.ebuild  Manifest
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum