Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ffmpeg 6.0 headaches.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
truekaiser
l33t
l33t


Joined: 05 Mar 2004
Posts: 804

PostPosted: Sat Sep 30, 2023 4:54 pm    Post subject: ffmpeg 6.0 headaches. Reply with quote

the new stable ffmpeg is causing me a headache as to try to solve some portage conflicts.

Code:

media-video/ffmpeg:0

  (media-video/ffmpeg-6.0-r6:0/58.60.60::gentoo, ebuild scheduled for merge) USE="X alsa bluray bzip2 dav1d encode fdk gnutls gpl iconv lcms libass mp3 network opengl oss postproc pulseaudio samba sdl svg theora threads truetype vdpau vorbis vulkan x264 xvid zlib (-amf) -amr -amrenc (-appkit) -bs2b -cdio -chromaprint -chromium -codec2 -cpudetection (-cuda) -debug -doc -flite -fontconfig -frei0r -fribidi -gcrypt -gme -gmp -gsm -hardcoded-tables -iec61883 -ieee1394 -jack -jpeg2k -jpegxl -kvazaar -ladspa -libaom -libaribb24 -libcaca -libdrm -libilbc -libplacebo -librtmp -libsoxr -libtesseract -libv4l -libxml2 -lv2 -lzma (-mipsdspr1) (-mipsdspr2) (-mipsfpu) (-mmal) -modplug -nvenc -openal -opencl -openh264 -openssl -opus -pic (-qsv) -rav1e -rubberband -snappy -sndio -speex -srt -ssh -static-libs -svt-av1 -test -twolame -v4l -vaapi -verify-sig -vidstab (-vmaf) -vpx -webp -x265 -zeromq -zimg -zvbi" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="avx avx2 mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 -3dnow -3dnowext -aes -fma3 -fma4 -xop" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher" conflicts with                                                                                                                                                                                                           
    media-video/ffmpeg:0/56.58.58=[abi_x86_32(-),abi_x86_64(-)] required by (media-plugins/alsa-plugins-1.2.7.1-r1:0/0::gentoo, installed) USE="ffmpeg mix oss pulseaudio usb_stream userland_GNU -arcam_av -debug -jack -libsamplerate -speex" ABI_X86="32 (64) (-x32)"                                                                                                                                                                                                   
                      ^^^^^^^^^^^^                             
    >=media-video/ffmpeg-2.7:0/56.58.58= required by (media-video/ffmpegthumbnailer-2.2.2-r1:0/0::gentoo, installed) USE="gtk jpeg png userland_GNU -gnome -test" ABI_X86="(64)"
                            ^^^^^^^^^^^^
    >=media-video/ffmpeg-4:0/56.58.58=[abi_x86_32(-),abi_x86_64(-)] required by (media-plugins/gst-plugins-libav-1.20.6:1.0/1.0::gentoo, installed) USE="nls -test" ABI_X86="32 (64) (-x32)"
                          ^^^^^^^^^^^^                             
    <media-video/ffmpeg-5:0/56.58.58= required by (sci-libs/opencascade-7.6.3-r2:0/7.6::gentoo, installed) USE="ffmpeg gles2 json vtk -doc -eigen -examples -freeimage -optimize -tbb" ABI_X86="(64)"
    ^                    ^^^^^^^^^^^^
    <media-video/ffmpeg-5:0/56.58.58=[abi_x86_32(-),abi_x86_64(-)] required by (media-libs/libquicktime-1.2.4-r4:0/0::gentoo, installed) USE="X aac alsa encode ffmpeg gtk jpeg opengl png userland_GNU vorbis x264 -doc -dv -lame -static-libs" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="mmx"                                                                                                                                                                               
    ^                    ^^^^^^^^^^^^                             
    >=media-video/ffmpeg-3.1.3:0/56.58.58=[postproc,vdpau] required by (media-video/vlc-3.0.18-r3:0/5-9::gentoo, installed) USE="X a52 alsa bluray dbus dts dvbpsi dvd encode ffmpeg flac gcrypt gui jpeg libass libnotify libsamplerate mad matroska mp3 mpeg mtp ncurses nfs ogg opus png pulseaudio samba ssl svg theora truetype udev vdpau wayland x264 x265 xml -aom -archive -aribsub -bidi -cddb -chromaprint -chromecast -dav1d -dc1394 -debug (-directx) -faad -fdk -fluidsynth -fontconfig -gme -gstreamer -ieee1394 -jack -kate -keyring -libcaca -libtar -libtiger -linsys -lirc -live -lua -macosx-notifications -modplug -musepack -omxil -optimisememory -projectm -rdp -run-as-root -sdl-image -sftp -shout -sid -skins -soxr -speex -srt -taglib -test -tremor -twolame -upnp -v4l -vaapi -vnc -vpx -zeroconf -zvbi" ABI_X86="(64)" CPU_FLAGS_X86="mmx sse" LUA_SINGLE_TARGET="lua5-1"                                               
                              ^^^^^^^^^^^^               
    <media-video/ffmpeg-5:=[abi_x86_32(-),abi_x86_64(-)] required by (media-libs/libquicktime-1.2.4-r4:0/0::gentoo, installed) USE="X aac alsa encode ffmpeg gtk jpeg opengl png userland_GNU vorbis x264 -doc -dv -lame -static-libs" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="mmx"
    ^                   ^                               
    <media-video/ffmpeg-5:= required by (sci-libs/opencascade-7.6.3-r2:0/7.6::gentoo, installed) USE="ffmpeg gles2 json vtk -doc -eigen -examples -freeimage -optimize -tbb" ABI_X86="(64)"
    ^                   ^ 
    media-video/ffmpeg:0/56.58.58= required by (media-libs/gegl-0.4.46:0.4/0.4::gentoo, installed) USE="cairo ffmpeg lcms openmp pdf sdl svg tiff -debug -introspection -lensfun -openexr -raw -sdl2 -test -umfpack -v4l -vala -webp" ABI_X86="(64)"
                      ^^^^^^^^^^^^
    media-video/ffmpeg:0/56.58.58= required by (net-misc/freerdp-2.10.0-r3:0/2::gentoo, installed) USE="X alsa cups ffmpeg jpeg pulseaudio usb wayland xinerama xv -debug -doc -gstreamer -kerberos -openh264 -server -smartcard -systemd -test -valgrind" ABI_X86="(64)"                                                                                                                                                                                                   
                      ^^^^^^^^^^^^
    media-video/ffmpeg:0/56.58.58=[abi_x86_32(-),abi_x86_64(-)] required by (media-libs/opencv-4.8.0-r1:0/4.8.0::gentoo, installed) USE="contrib contribdnn eigen features2d ffmpeg java jpeg opengl openmp png python qt5 threads tiff xine -contribcvv -contribfreetype -contribhdf (-contribovis) -contribsfm -contribxfeatures2d -cuda -debug -dnnsamples -download -examples -gdal -gflags -glog -gphoto2 -gstreamer -gtk3 -ieee1394 -jpeg2k -lapack -lto -opencl -opencvapps -openexr -tesseract -testprograms -v4l -vaapi -vtk -webp" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="avx avx2 f16c sse sse2 sse3 sse4_1 sse4_2 ssse3 -avx512f -fma3 -popcnt" PYTHON_TARGETS="python3_10 python3_11"               
                      ^^^^^^^^^^^^                             
    media-video/ffmpeg:0/56.58.58= required by (media-libs/xine-lib-1.2.13-r2:1/1::gentoo, installed) USE="X a52 aac aalib alsa bluray css dts dvb flac gtk jpeg mad mmap mng nfs nls opengl oss pulseaudio samba sdl theora truetype vcd vdpau vorbis wayland xinerama xv xvmc -dav1d -dxr3 -fbcon -imagemagick -jack -libcaca -modplug -musepack -sftp -speex -v4l -vaapi -vdr (-vidix) (-vis) -vpx -wavpack" ABI_X86="(64)"                                             
                      ^^^^^^^^^^^^
    media-video/ffmpeg:0/56.58.58= required by (kde-apps/ffmpegthumbs-23.04.3:5/5::gentoo, installed) USE="-debug" ABI_X86="(64)"
                      ^^^^^^^^^^^^
    media-video/ffmpeg:0/56.58.58= required by (sci-libs/vtk-9.2.5:0/9.2::gentoo, installed) USE="boost ffmpeg java logging openmp python qt5 rendering sdl threads -all-modules (-cuda) (-debug) -doc -examples -freetype -gdal -imaging -las -mpi -mysql -odbc -openvdb -pdal -postgres -qt6 -tbb -test -tk -views -vtkm -web" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_11 -python3_10" VIDEO_CARDS="-nvidia"                                                         
                      ^^^^^^^^^^^^
    media-video/ffmpeg:0/56.58.58=[mp3,vorbis] required by (games-fps/alephone-20230119:0/0::gentoo, installed) USE="alsa upnp -curl -speex" ABI_X86="(64)"
                      ^^^^^^^^^^^^           
    media-video/ffmpeg:0/56.58.58= required by (kde-apps/k3b-23.04.3:5/5::gentoo, installed) USE="dvd ffmpeg flac handbook mad taglib vcd vorbis -debug -lame -musepack -sndfile -sox -test" ABI_X86="(64)"
                      ^^^^^^^^^^^^
    <media-video/ffmpeg-5:= required by (media-video/transcode-1.1.7-r6:0/0::gentoo, installed) USE="X a52 aac alsa dvd iconv jpeg mjpeg mp3 mpeg ogg oss quicktime sdl theora truetype userland_GNU vorbis x264 xml xvid -dv -imagemagick -lzo (-nuv) (-pic) -postproc -v4l" ABI_X86="(64)" CPU_FLAGS_X86="mmx sse sse2 -3dnow"
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31235
Location: here

PostPosted: Sat Sep 30, 2023 5:11 pm    Post subject: Reply with quote

It's only a warning, you cannot resolve because upstream some package don't support ffmpeg-6.
See bugs
https://bugs.gentoo.org/834422
https://bugs.gentoo.org/831482
https://bugs.gentoo.org/834384
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
gorg86
Guru
Guru


Joined: 20 May 2011
Posts: 307

PostPosted: Sat Sep 30, 2023 5:15 pm    Post subject: Reply with quote

I think many users are seeing this right now, it's probably going to take a long time till all packages use 6.0.
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1916

PostPosted: Sun Oct 01, 2023 10:45 am    Post subject: Reply with quote

Your issues are transcode (it's dead, jim), opencascade (could do USE=-ffmpeg) and libquicktime (iirc this is a dep of transcode, also super dead).

There's not much we can do about it unless someone actually wants to port these ancient codebases (2/3 of them anyway).
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3402
Location: Canada

PostPosted: Mon Oct 02, 2023 10:38 pm    Post subject: Reply with quote

For me the blocker is vaapi in vlc
Back to top
View user's profile Send private message
hhfeuer
Apprentice
Apprentice


Joined: 28 Jul 2005
Posts: 185

PostPosted: Wed Oct 04, 2023 1:58 pm    Post subject: Reply with quote

Ran into the same and since I have a lot of media stuff installed, the list is quite long. Grepping through the portage tree told me that currently only 4 and a half applications support >=ffmpeg-5
media-libs/chromaprint
media-sound/spek
media-video/handbrake
sci-mathematics/mathematica
media-tv/kodi-9999
while all others rely on <ffmpeg-5. So it doesn't only affect 'dead' packages.
I masked >=ffmpeg-6 and >=handbrake-1.6 for now and call it a day.
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1916

PostPosted: Wed Oct 04, 2023 5:08 pm    Post subject: Reply with quote

hhfeuer wrote:
Ran into the same and since I have a lot of media stuff installed, the list is quite long. Grepping through the portage tree told me that currently only 4 and a half applications support >=ffmpeg-5
media-libs/chromaprint
media-sound/spek
media-video/handbrake
sci-mathematics/mathematica
media-tv/kodi-9999
while all others rely on <ffmpeg-5. So it doesn't only affect 'dead' packages.
I masked >=ffmpeg-6 and >=handbrake-1.6 for now and call it a day.


I think you misunderstood your grep results. spek, for example, has one version which hard-requires >=ffmpeg-5. That does not mean older versions do not support ffmpeg-5. Most ebuilds will support newer ffmpeg without strictly requiring ffmpeg 5 or newer.

mathematica is tricky as it's pre-built. We should introduce an ffmpeg-compat for prebuilt stuff.

kodi is the only one from your list which is actually still a problem that is built from source.
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3402
Location: Canada

PostPosted: Tue Oct 10, 2023 3:19 am    Post subject: Reply with quote

Oh my, I did not even know that mathematica is in portage, was using install from wolfram directly
Back to top
View user's profile Send private message
MikeNigh
n00b
n00b


Joined: 03 Dec 2018
Posts: 11

PostPosted: Sun Oct 13, 2024 12:49 am    Post subject: Reply with quote

dmpogo wrote:
For me the blocker is vaapi in vlc

Same. For me -
Code:
media-video/vlc -vaapi

in
Code:
/etc/portage/package.use/anyfile

worked for me.

Looked in the vlc ebuild and the vaapi flag was the one forcing ffmpeg to go below version 5.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
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