Bug 2257308

Summary: No H.264 playback after installing libavcodec-freeworld
Product: [Fedora] Fedora Reporter: Dominik 'Rathann' Mierzejewski <dominik>
Component: gstreamer1-plugin-libavAssignee: Neal Gompa <ngompa13>
Status: NEW --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 42CC: kwizart, mtasaka, ngompa13, philip.wyett, wtaymans
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-31 09:11:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2218117    

Description Dominik 'Rathann' Mierzejewski 2024-01-08 18:11:29 UTC
Description of problem:
Installing libavcodec-freeworld doesn't cause GStreamer to "notice" H.264 playback capability.

Version-Release number of selected component (if applicable):
gstreamer1-plugin-libav-1.22.8-1.fc38.x86_64

How reproducible:
Always

Steps to Reproduce:
1 Ensure only libavcodec-free is installed and not hardware decoding is available:
  dnf remove libavcodec-freeworld ffmpeg-libs gstreamer1-plugin-openh264 gstreamer1-plugins-bad-free
2. rm .cache/gstreamer-1.0/registry.*.bin
3. Try playing a H.264 video using e.g. clapper
-> black image
4. Install libavcodec-freeworld
5. Try playing H.264 video again
-> still black image
6. rm .cache/gstreamer-1.0/registry.*.bin
7. Try playing H.264 video again
-> plays fine

Actual results:
With gstreamer1-plugin-libav and libavcodec-free (no H.264 decoding capability) installed, installing libavcodec-freeworld doesn't cause GStreamer to notice it can play H.264 now and the video stream is missing (black) until user gstreamer plugin cache is rebuilt.

Expected results:
H.264 playback works immediately after installing libavcodec-freeworld, without manually removing gstreamer plugin cache.

Additional info:
This was reported on Discourse: https://discussion.fedoraproject.org/t/totem-h-265-no-video-only-audio-problem/100818/2 .

Comment 1 Aoife Moloney 2024-05-31 09:11:33 UTC
Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21.

Fedora Linux 38 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 2 Dominik 'Rathann' Mierzejewski 2024-06-02 17:13:23 UTC
This is still an issue on rawhide.

Comment 3 Aoife Moloney 2025-02-26 12:54:53 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.