Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

execution of ffmpeg is taking more time in gentoo than other

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
32 posts
  • Previous
  • 1
  • 2
Author
Message
Zucca
Administrator
Administrator
User avatar
Posts: 4692
Joined: Thu Jun 14, 2007 10:31 pm
Location: Rasi, Finland
Contact:
Contact Zucca
Website

let's pause

  • Quote

Post by Zucca » Sun Oct 27, 2024 8:25 am

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 :..

Code: Select all

init=/sbin/openrc-init
-systemd -logind -elogind seatd
I am NaN! I am a man!
Top
Ralphred
l33t
l33t
Posts: 822
Joined: Tue Dec 31, 2013 11:52 am

  • Quote

Post by Ralphred » Sun Oct 27, 2024 3:22 pm

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.
Top
rupeshforu3
n00b
n00b
Posts: 73
Joined: Mon Aug 19, 2024 11:02 am

  • Quote

Post by rupeshforu3 » Sun Oct 27, 2024 4:16 pm

I am providing the output of emerge -S ffmpeg below

Code: Select all

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.
Top
Zucca
Administrator
Administrator
User avatar
Posts: 4692
Joined: Thu Jun 14, 2007 10:31 pm
Location: Rasi, Finland
Contact:
Contact Zucca
Website

  • Quote

Post by Zucca » Sun Oct 27, 2024 5:03 pm

Code: Select all

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.

Code: Select all

# 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 :..

Code: Select all

init=/sbin/openrc-init
-systemd -logind -elogind seatd
I am NaN! I am a man!
Top
Ralphred
l33t
l33t
Posts: 822
Joined: Tue Dec 31, 2013 11:52 am

  • Quote

Post by Ralphred » Sun Oct 27, 2024 5:58 pm

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: Select all

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: Select all

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
Top
rupeshforu3
n00b
n00b
Posts: 73
Joined: Mon Aug 19, 2024 11:02 am

  • Quote

Post by rupeshforu3 » Mon Oct 28, 2024 1:51 am

Thanks for your suggestions and I have installed gentoo linux from the beginning with your valuable suggestions and at present everything is working fine.
Regards,
Rupesh.
Top
papu
l33t
l33t
Posts: 772
Joined: Fri Jan 25, 2008 3:04 pm
Location: Sota algun pi o alzina...

  • Quote

Post by papu » Tue Jan 14, 2025 11:55 pm

rupeshforu3 wrote:Thanks for your suggestions and I have installed gentoo linux from the beginning with your valuable suggestions and at present everything is working fine.
Nice :) this post has helped me a little today, I think the main problems are with kodi and vlc for quite a while some time

so, take a look at that post, there are things that have to do with what has been mentioned about the schedulers, it might interest you.
viewtopic-t-1169690.html
~amd64 && systemd && plasma --cpu 7700 --ram 2x32GB --gpu RX 6600
Top
Post Reply

32 posts
  • Previous
  • 1
  • 2

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic