Running inside a headless environment without gpu

16 views
Skip to first unread message

somewhat mystery

unread,
Sep 3, 2024, 12:07:23 PM9/3/24
to gstreamer-java
Hi,
I would like to playback some video files with gstreamer in a headless environment without gpu. I extract the audio & video data to use them somewhere else later. Audio works fine but video doesn't show. When I set GST_DEBUG=3 I get the following error in console:

(boiler_display_1:35): GStreamer-WARNING **: 13:26:52.491: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstlibav.so': /lib/x86_64-linux-gnu/libva-x11.so.2: undefined symbol: va_fool_postp
0:00:52.147617516    35 0x7424dc04c760 WARN      GST_PLUGIN_LOADING gstplugin.c:1415:gst_plugin_load_by_name: load_plugin error: Opening module failed: /lib/x86_64-linux-gnu/libva-x11.so.2: undefined symbol: va_fool_postp
0:00:52.147629616    35 0x7424dc04c760 WARN      GST_PLUGIN_LOADING gstpluginfeature.c:134:gst_plugin_feature_load: Failed to load plugin containing feature 'avdec_h264'.
0:00:52.147638346    35 0x7424dc04c760 WARN     GST_ELEMENT_FACTORY gstelementfactory.c:529:gst_element_factory_create_with_properties:<avdec_h264> loading plugin returned NULL!
0:00:52.147646346    35 0x7424dc04c760 WARN               decodebin gstdecodebin2.c:2297:connect_pad:<decodebin0> Could not create an element from avdec_h264
0:00:52.147859845    35 0x7424dc04c760 WARN            uridecodebin gsturidecodebin.c:960:unknown_type_cb:<uridecodebin1> warning: No decoder available for type 'video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)3.1, profile=(string)main, codec_data=(buffer)014d401fffe1001d674d401fe8806c1ef3780b50101014000003000400000300f03c60c44801000468ebef20, width=(int)854, height=(int)480, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)bt709, framerate=(fraction)30/1, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true'.
0:00:52.166988147    35 0x7424dc04c760 WARN      GST_PLUGIN_LOADING gstplugin.c:875:_priv_gst_plugin_load_file_for_registry: module_open failed: /lib/x86_64-linux-gnu/libva-x11.so.2: undefined symbol: va_fool_postp

I tried to run the whole thing with xvfb but I got the same result.

I'm running out of ideas on what I could try next. Maybe someone of you has some advice.
Thanks!
Reply all
Reply to author
Forward
0 new messages