Code Monkey home page Code Monkey logo

Comments (9)

mill1000 avatar mill1000 commented on June 29, 2024

My recommendation is to see if you can reproduce this issues directly with gstreamer, by using gst-play-1.0 to play the video file.
e.g.

gst-play-1.0 /path/to/video/file

Additional examples here: https://gstreamer.freedesktop.org/documentation/frequently-asked-questions/using.html?gi-language=c#how-do-i-use-the-gstreamer-command-line-interface

from gmrender-resurrect.

UbuntuRikard avatar UbuntuRikard commented on June 29, 2024

Ok, yes, that didn't go well, I got this errors, I have no idea how to solve that stuff, I tried to ask chatGPT, it sometimes come with a solution for what to do, but not this time.
I get this from running: gst-play-1.0 CD2-Kenneth.mp4
Afspiller /home/rs/Videoklip/CD2-Kenneth.mp4
Prerolling...
(gst-play-1.0:4435): GStreamer-CRITICAL **: 10:42:54.124: gst_caps_from_string: assertion 'string' failed
(gst-play-1.0:4435): GStreamer-CRITICAL **: 10:42:54.124: gst_pad_template_new: assertion 'caps != NULL' failed
(gst-play-1.0:4435): GStreamer-CRITICAL **: 10:42:54.124: gst_mini_object_unref: assertion 'mini_object != NULL' failed
(gst-play-1.0:4435): GStreamer-CRITICAL **: 10:42:54.124: gst_element_class_add_pad_template: assertion 'GST_IS_PAD_TEMPLATE (templ)' failed
(gst-play-1.0:4435): GStreamer-Video-CRITICAL **: 10:42:54.124: gst_video_decoder_init: assertion 'pad_template != NULL' failed
(gst-play-1.0:4435): GStreamer-WARNING **: 10:42:54.124: Element vaapidecode0 has an ALWAYS template src, but no pad of the same name
Segmentfejl (smed kerne)

Remarks...
It will be shown if I run: vlc CD2-Kenneth.mp4

from gmrender-resurrect.

mill1000 avatar mill1000 commented on June 29, 2024

Do you have all the gst-plugins- packages installed?

from gmrender-resurrect.

UbuntuRikard avatar UbuntuRikard commented on June 29, 2024

Not sure but I have this: gir1.2-gst-plugins-base-1.0
I don't know if that's the one

from gmrender-resurrect.

mill1000 avatar mill1000 commented on June 29, 2024

Ensure you have the following installed too
gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav

from gmrender-resurrect.

UbuntuRikard avatar UbuntuRikard commented on June 29, 2024

All ready installed. (Danish installation)
apt install gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav
Indlæser pakkelisterne... Færdig
Opbygger afhængighedstræ... Færdig
Læser tilstandsoplysninger... Færdig
gstreamer1.0-plugins-ugly er allerede den nyeste version (1.20.1-1).
gstreamer1.0-plugins-base er allerede den nyeste version (1.20.1-1ubuntu0.1).
gstreamer1.0-plugins-good er allerede den nyeste version (1.20.3-0ubuntu1.1).
gstreamer1.0-libav er allerede den nyeste version (1.20.3-0ubuntu1).
gstreamer1.0-plugins-bad er allerede den nyeste version (1.20.3-0ubuntu1.1).
0 opgraderes, 0 nyinstalleres, 0 afinstalleres og 6 opgraderes ikke.

from gmrender-resurrect.

mill1000 avatar mill1000 commented on June 29, 2024

I searched this error message and found some hits that might be useful.

Element vaapidecode0 has an ALWAYS template src, but no pad of the same name

https://askubuntu.com/questions/1441953/ubuntu-22-04-1-lts-totem-video-player-crashes-on-launch

In summary they say the issue is solved by removing the gstreamer1.0-vaapi package.

EDIT: Or if you want the HW acceleration you could peruse https://wiki.archlinux.org/title/Hardware_video_acceleration for some info on testing it.

from gmrender-resurrect.

UbuntuRikard avatar UbuntuRikard commented on June 29, 2024

You know, this works, and you rock!
It works on the one gmediarender you made, and it works also on the old one.
Amazing.
Thanks

from gmrender-resurrect.

UbuntuRikard avatar UbuntuRikard commented on June 29, 2024

Closing the case

from gmrender-resurrect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.