Hello people. So, I just installed opensuse tumbleweed two days ago. vlc (client) worked fine, no problems with videos. the videos app had some issues with h264 but I fixes them. Firefox had problems with amazon videos, fixed those problems too by installing the codecs from packman. But the problem is now with youtube (and other websites) with h264 videos, where it seems that firefox can’t find the codecs. when running firefox from the terminal it gives this message:
Did you see the “sticky” threads at the top of this Multimedia sub-forums about how to get your full multimedia on openSUSE?
Did you do the “Vendor Switch to Packman” as described there?
Hello. Yes, I did everything on that regard. I also had a problem with the app “videos” where it said that h.264 codecs not supported (or something like that) and I fixed it. I did everything already because when I installed opensuse, I just checked two youtube videos and they worked fine but amazon videos didn’t, so I toke care of installing the codecs from the beginning. and I am not the only one with this problem. In a thread that I made in reddit, there were other 2 guys with the same problem as I, but we couldn’t find any solution.
Also, when I play the same video of youtube that doesn’t work on firefox on opera, then it works on opera. but when checking “stats for nerds” the video codecs in firefox is acv1 and in opera vp09.
Can you at least post an URL of one of your problem video’s, so that people can check if they see the same (and then can more easily try to go for bug searching on their own systems).
yes, I intended to but forgot. here’s the video that doesn’t work on firefox https://www.youtube.com/watch?v=lvNcfMD5NBU
there is also another problem. when I try to upload a video on odysee.com it says “Your video may not be the best format. Use MP4s in H264/AAC format and a friendly bitrate (under 5 Mbps) and resolution (720p) for more reliable streaming.” even though the video fills all the criteria. But I think by fixing the issue with firefox this will also get fixed. so let’s just ignore this for the time, I just wanted to share this information.
Chiming in to say I’m one of the aforementioned guys from the Reddit thread, and I’m also still having this problem. I can recreate it pretty easily by trying to load a known working mp4 file into firefox to watch.
Issue started for me after the April 9th tumbleweed update; before that I had no codec issues.
I also tried running Mozilla provided Firefox with
MOZ_LOG=sync,timestamp,PlatformDecoderModule:5
and noticed this in the resulting logs:
2022-04-14 23:23:12.761853 UTC - [RDD 14633: MediaSupervisor #1]: D/PlatformDecoderModule FFMPEG: VA-API is disabled by preference.
2022-04-14 23:23:12.762322 UTC - [RDD 14633: MediaPDecoder #1]: D/PlatformDecoderModule FFMPEG: Initialising FFmpeg decoder
2022-04-14 23:23:12.762345 UTC - [RDD 14633: MediaPDecoder #1]: D/PlatformDecoderModule FFMPEG: codec libopenh264 : OpenH264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
2022-04-14 23:23:12.762367 UTC - [RDD 14633: MediaPDecoder #2]: D/PlatformDecoderModule FFMPEG: Initialising FFmpeg decoder
2022-04-14 23:23:12.762393 UTC - [RDD 14633: MediaPDecoder #2]: D/PlatformDecoderModule FFMPEG: codec aac : AAC (Advanced Audio Coding)
2022-04-14 23:23:12.765105 UTC - [RDD 14633: MediaPDecoder #1]: D/PlatformDecoderModule FFMPEG: Set get_buffer2 for customized buffer allocation
2022-04-14 23:23:12.770288 UTC - [RDD 14633: MediaPDecoder #1]: D/PlatformDecoderModule FFMPEG: Couldn't open avcodec
2022-04-14 23:23:12.771785 UTC - [RDD 14633: MediaPDecoder #2]: D/PlatformDecoderModule FFMPEG: FFmpeg decoder init successful.
Not sure if anyone else is still having this issue, but I eventually fixed it by switching libavcodec59 over to the Packman provided ones, along with related libraries.
[FONT=monospace][FONT=arial]zypper install --from packman libavcodec59 output for reference:
[/FONT][/FONT]
[FONT=monospace][FONT=monospace]The following 8 packages are going to be upgraded:
libavcodec59 libavdevice59 libavfilter8 libavformat59 libavutil57 libpostproc56 libswresample4 libswscale6
The following 8 packages are going to change vendor:
libavcodec59 openSUSE -> http://packman.links2linux.de
libavdevice59 openSUSE -> http://packman.links2linux.de
libavfilter8 openSUSE -> http://packman.links2linux.de
libavformat59 openSUSE -> http://packman.links2linux.de
libavutil57 openSUSE -> http://packman.links2linux.de
libpostproc56 openSUSE -> http://packman.links2linux.de
libswresample4 openSUSE -> http://packman.links2linux.de
libswscale6 openSUSE -> http://packman.links2linux.de
[/FONT][/FONT]
[FONT=monospace]
[FONT=arial]
I’m now able to watch all Youtube videos, animated gifs (why must they all secretly be mp4s?), etc.
To be clear: I am not the OP and did not respond to your post #3. I am a separate user who was being affected by the same/similar problem as OP and came over here from the initial Reddit thread.
I had working codecs prior to April 9th and had followed the sticky way back when the change occurred; you can see in my previous post #16 that most of my codec versions were being supplied by Packman, only the [FONT=monospace][FONT=arial]libavcodec59 and associated were from Tumbleweed.[/FONT][/FONT]
I want to reiterate that the above package output was from AFTER I had followed the instructions for using Packman on the wiki and after trying the new fangled opi method I saw listed elsewhere. Most of the documentation seems to refer to the gstreamer related packages, so I’m not sure how I would have been expected to know that libavcodec59 is also supposed to be from Packman, nor why I have it installed outside of a vague knowledge that it’s related to ffmpeg. It looks like from my /var/log/zypp/history file history that it wasn’t installed until 2022-04-04. Perhaps this was installed automatically by something else and Firefox defaulted to using it as the newer version instead of the also installed libavcodec58?