Skip to content

GStreamer; Unable to play #33

@NikEyX

Description

@NikEyX

Hi, I have a problem with the theme. Not sure what changed, but it doesn't seem to play the videos anymore on my Arch installation. Looking at journalctl it seemed that this is a resolve error, probably due to the fact that the internet is not connected yet when sddm runs:

Oct 17 13:08:28 local sddm-greeter[886]: Error: "Could not resolve server name."
Oct 17 13:08:28 local sddm-greeter[886]: Error: "Could not resolve server name."
Oct 17 13:08:28 local sddm-greeter[886]: Error: "Could not resolve server name."
Oct 17 13:08:28 local sddm-greeter[886]: GStreamer; Unable to pause - "http://a1.v2.phobos.apple.com.edgesuite.net/us/r1000/000/Features/atv/AutumnResources/videos/b5-2.mov"
Oct 17 13:08:28 local sddm-greeter[886]: GStreamer; Unable to pause - "http://sylvan.apple.com/Aerials/2x/Videos/DB_D008_C010_2K_SDR_HEVC.mov"
....

So instead I downloaded all the videos and am trying to play them offline, but this now fails in a different way:

Oct 17 12:47:04 local sddm-greeter[885]: GStreamer; Unable to play - "file:///home/xxx/videos/aerial-videos/DB_D008_C010_2K_SDR_HEVC.mov"
Oct 17 12:47:04 local sddm-greeter[885]: GStreamer; Unable to pause - "file:///home/xxx/videos/aerial-videos/DB_D008_C010_2K_SDR_HEVC.mov"
Oct 17 12:47:04 local sddm-greeter[885]: Error: "Could not open file \"/home/xxx/videos/aerial-videos/DB_D001_C001_2K_SDR_HEVC.mov\" for reading."
Oct 17 12:47:04 local sddm-greeter[885]: GStreamer; Unable to pause - "file:///home/xxx/videos/aerial-videos/GL_G004_C010_2K_SDR_HEVC.mov"
Oct 17 12:47:04 local sddm-greeter[885]: Error: "Could not open file \"/home/xxx/videos/aerial-videos/b4-1.mov\" for reading."
Oct 17 12:47:04 local sddm-greeter[885]: GStreamer; Unable to pause - "file:///home/xxx/videos/aerial-videos/b7-2.mov"
...

...Which is odd, because the file paths are correct and clicking them opens the media player and plays the video.
Running sddm-greeter --test-mode --theme /usr/share/sddm/themes/aerial-sddm-theme/ also works flawlessly and shows the videos. So this only happens at startup, not while testing. This makes it hard to debug because I have to restart my PC every time.

Do you have any idea what could cause this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions