Rafostar / clapper

Level up your video experience with a modern and user-friendly media player.
https://rafostar.github.io/clapper/
GNU General Public License v3.0
772 stars 36 forks source link

RPM issue: no audio on some files. #390

Closed ghost closed 10 months ago

ghost commented 10 months ago

Seems not be able to play some audio files, some files works, and some not. Flatpak works, but do have issue on RPM on Fedora 39. See attached file for debugging. 0.00.11.006859821-gst-clapper.0x559da2258c60.PAUSED_PLAYING.zip

Rafostar commented 10 months ago

The file you uploaded only contains one DOT file from one Clapper package. If possible please do a one like that also for another one, so we can look at the differences (while describing which comes from which package). Thank you.

ghost commented 10 months ago

The file you uploaded only contains one DOT file from one Clapper package. If possible please do a one like that also for another one, so we can look at the differences (while describing which comes from which package). Thank you.

yeah, here is the .DOT file from Flatpak. 0.00.11.825743968-gst-clapper.0x559232d2db90.PAUSED_PLAYING.zip

Rafostar commented 10 months ago

Here is the summary of differences between working package (Flatpak) and RPM install:

RPM:

The avdec_eac3 is an audio decoder from ffmpeg/libav. The availability depends how ffmpeg/libav was built on your system. AFAIK Fedora ships both ffmpeg-free and more complete ffmpeg in RPMFusion. You should check if you replaced it with the later one. I dunno for sure if the it is included there through.

Can be checked if its on your system:

ffmpeg -hide_banner -codecs | grep eac3

and same for GStreamer if it picked it up from ffmpeg/libav:

gst-inspect-1.0 avdec_eac3

Both should work if you trying running them in Flatpak package shell.

As for lack of video enhance/post processing (what you mentioned on Clapper matrix). This might be caused by you using different video decoder. The legacy one has more features (including VPP), while the now one aims at simplicity and overall better Wayland support/performance. It doesn't do VPP by default if there is no need to do so. You can select preference which one to use in Clapper preferences plugin ranking.

Rafostar commented 10 months ago

Issue was resolved in a matrix discussion.

Seems that GStreamer registry cache doesn't rebuild automatically when ffmpeg-free is replaced with full ffmpeg. And user had to manually delete registry cache file from ~/.cache/gstreamer-1.0/.