
On 2025-02-28 08:35, Masaru Nomiya wrote:
Hello,
Sorry for late reply.
In the Message;
Subject : Re: [oS-EN] ffmpeg versions Message-ID : <37015f37-97f4-4e06-9826-202178026e61@telefonica.net> Date & Time: Thu, 27 Feb 2025 12:26:10 +0100
[CER] == "Carlos E. R." <robin.listas@telefonica.net> has written:
CER> On 2025-02-27 11:26, Carlos E. R. wrote: CER> > On 2025-02-27 11:09, Masaru Nomiya wrote:
MN> >> I'm also curious, but how did you determine that ffmpg-3 was already MN> >> installed?
CER> > Telcontar:~ # wrpm ffmpeg CER> > ffmpeg-3-3.4.13-150600.4.pm.4.x86_64 CER> > Telcontar:~ # CER> > CER> > Telcontar:~ # cat /root/bin/wrpm CER> > #!/bin/bash CER> > CER> > rpm -q -f `which $1` CER> > Telcontar:~ #
CER> I looked because someone in Usenet mentioned ffplay, and it is CER> not included in ffmpeg-3, dunno about other versions.
Please try this as an user;
$ rpm -e ffmpeg-3
cer@Telcontar:~> rpm -e ffmpeg-3 error: Failed dependencies: ffmpeg is needed by (installed) winff-1.5.5-150600.4.pm.2.x86_64 ffmpeg is needed by (installed) youtube-dl-2021.12.17-bp156.5.1.noarch ffmpeg is needed by (installed) python311-yt-dlp-2024.08.01-bp156.2.3.1.noarch ffmpeg is needed by (installed) clipgrab-3.9.10-bp156.1.3.x86_64 ffmpeg >= 2.7 is needed by (installed) shotcut-22.12.21-bp156.2.6.x86_64 ffmpeg is needed by (installed) python312-yt-dlp-2025.02.19-150600.2.pm.1.noarch cer@Telcontar:~>
This is supposed to return nothing. But, if you this;
$ rpm -e libavformat57-3.4.2-150200.11.34.2
cer@Telcontar:~> rpm -e libavformat57 error: Failed dependencies: libavformat.so.57()(64bit) is needed by (installed) libavfilter6-3.4.13-150600.4.pm.4.x86_64 libavformat.so.57()(64bit) is needed by (installed) transcode-1.1.7-150600.13.pm.8.x86_64 libavformat.so.57()(64bit) is needed by (installed) ffmpegyag-0.7.6.git20170503-150600.3.pm.3.x86_64 libavformat.so.57()(64bit) is needed by (installed) unpaper-6.1-bp156.3.6.x86_64 libavformat.so.57()(64bit) is needed by (installed) mediatomb-mysql-0.12.1.svn2103-150600.20.pm.13.x86_64 libavformat.so.57()(64bit) is needed by (installed) libavdevice57-3.4.13-150600.4.pm.4.x86_64 libavformat.so.57()(64bit) is needed by (installed) ffmpeg-3-3.4.13-150600.4.pm.4.x86_64 libavformat.so.57()(64bit) is needed by (installed) libgpac12-2.4.0-150600.2.pm.3.x86_64 libavformat.so.57()(64bit) is needed by (installed) vlc-3.0.21-150600.2.5.pm.4.x86_64 libavformat.so.57()(64bit) is needed by (installed) audacious-plugins-4.3-150600.2.pm.11.x86_64 libavformat.so.57(LIBAVFORMAT_57)(64bit) is needed by (installed) libavfilter6-3.4.13-150600.4.pm.4.x86_64 libavformat.so.57(LIBAVFORMAT_57)(64bit) is needed by (installed) transcode-1.1.7-150600.13.pm.8.x86_64 libavformat.so.57(LIBAVFORMAT_57)(64bit) is needed by (installed) ffmpegyag-0.7.6.git20170503-150600.3.pm.3.x86_64 libavformat.so.57(LIBAVFORMAT_57)(64bit) is needed by (installed) unpaper-6.1-bp156.3.6.x86_64 libavformat.so.57(LIBAVFORMAT_57)(64bit) is needed by (installed) mediatomb-mysql-0.12.1.svn2103-150600.20.pm.13.x86_64 libavformat.so.57(LIBAVFORMAT_57)(64bit) is needed by (installed) libavdevice57-3.4.13-150600.4.pm.4.x86_64 libavformat.so.57(LIBAVFORMAT_57)(64bit) is needed by (installed) ffmpeg-3-3.4.13-150600.4.pm.4.x86_64 libavformat.so.57(LIBAVFORMAT_57)(64bit) is needed by (installed) libgpac12-2.4.0-150600.2.pm.3.x86_64 libavformat.so.57(LIBAVFORMAT_57)(64bit) is needed by (installed) vlc-3.0.21-150600.2.5.pm.4.x86_64 libavformat.so.57(LIBAVFORMAT_57)(64bit) is needed by (installed) audacious-plugins-4.3-150600.2.pm.11.x86_64 libavformat57 = 3.4.13-150600.4.pm.4 is needed by (installed) libavfilter6-3.4.13-150600.4.pm.4.x86_64 libavformat57 = 3.4.13-150600.4.pm.4 is needed by (installed) libavdevice57-3.4.13-150600.4.pm.4.x86_64 libavformat57 = 3.4.13-150600.4.pm.4 is needed by (installed) ffmpeg-3-3.4.13-150600.4.pm.4.x86_64 cer@Telcontar:~>
many dependency error messages should appear like these;
error: Failed dependencies: libavformat.so.57.76()(64bit) is needed by (installed) libQtAV1-1.13.0-21.128.x86_64 libavformat.so.57.76()(64bit) is needed by (installed) libyami-utils-1.3.2-17.8.x86_64 libavformat.so.57.76()(64bit) is needed by (installed) libavdevice57_13-3.4.2-150200.11.34.2.x86_64 [...]
These things are saying that your system only needs the libraries.
Also, there is no exclusion relationship between the ffmpeg-3 and ffmpeg-4 libraries, so they can coexist.
So, if you run # zypper in ffmpeg-4, ffmpeg-3 will be uninstalled while leaving the libraries behind, and ffmpeg-4 and its libraries will be installed automatically.
I installed ffmpeg-7 on another machine, and yes, it removed ffmpeg-3. It didn't say anything about libraries: Legolas:~ # rpm -qa | grep libavformat libavformat58_76-4.4.5-150600.9.pm.2.x86_64 libavformat58_76-32bit-4.4.5-150600.9.pm.2.x86_64 libavformat60-6.1.2-150600.3.pm.1.x86_64 libavformat57-3.4.13-150600.4.pm.4.x86_64 libavformat61-7.1-150600.4.pm.1.x86_64 Legolas:~ #
In Tumbleweed, ffmpeg-4's libraries and ffmpeg-7, as well as its libraries coexist, and I think the cause is in vlc.
In short, when we build vlc with ffmpeg-5 or later, vlc cannot play certain x264 codec videos, and a black screen will appear.
Because of this problem, I think that Tumbleweed has a coexistence relationship. However, since leap 15.6 is considered to be based on ffmpeg-4.4.4, it seems that there is no need to have a coexistence relationship with ffmpeg 3.4.2, so I wrote that it was strange. There must be some circumstances, but I think that $ rpm -e libavformat57-3.4.2-150200.11.34.2 will tell you about it.
I started looking because I was watching a serial with VLC. The first season, perfect. Names like "...1080p WEB-DL AAC x264-HODL.mkv". But the second season, with names like "...(1080p ATVP WEB-DL x265 t3nzin).mkv, do not play in the small and old laptop I was using on the sitting room. Ie, codec x264 plays, codec x265 doesn't. mplayer plays but stutters. Xine plays but stutters. But kodi plays fine. They are all supposedly using the same codec libraries (/usr/lib64/libx265.so.209). In the past, when this type of thing happened, I recoded the video, using (in my big desktop machine): time ffmpeg -i input.2160p.10bit.PMTP.WEB-DL.DDP5.1.HEVC-Vyndros.mkv \ -vf scale=1920:-1 -c:v mpeg4 -vtag xvid -qscale:v 3 -c:a copy -c:s copy -c:s copy \ output.mpeg4.xvid.1920x802-Vyndros.mkv But I had the same problem with the output video. I also tried: time ffmpeg -i input-\(1080p\ ATVP\ WEB-DL\ x265\ t3nzin\).mkv \ -map 0 -vf scale=1920:-1 -c:v libx264 -preset slow -crf 22 -tune fastdecode -profile:v baseline -c:a copy -c:s copy \ output\ -\ S02E01\ -\ baseline.mkv time ffmpeg -i input-\(1080p\ ATVP\ WEB-DL\ x265\ t3nzin\).mkv \ -map 0 -vf scale=1920:-1 -c:v libx264 -preset slow -crf 22 -tune fastdecode -profile:v main -c:a copy -c:s copy \ output\ -\ S02E01\ -\ baseline.mkv time ffmpeg -i input-\(1080p\ ATVP\ WEB-DL\ x265\ t3nzin\).mkv \ -map 0 -vf scale=1920:-1 -c:v mpeg4 -vtag xvid -qscale:v 3 -c:a copy -c:s copy \ output\ -\ S02E01\ -\ baseline.mkv Same problem. Weird. -- Cheers / Saludos, Carlos E. R. (from 15.6 x86_64 at Telcontar)