Qt Multimedia GStreamer video doesn't work on Rpi3
Unsolved
Mobile and Embedded
-
I have a software working with qt 5.15.2 on a raspberry pi 3 with buster 10.
The program is working, but can't read video when using qtmultimedia.
The same video can be read without any issue with omxplayer.
here is the log of gstreamer :basesrc gstbasesrc.c:3583:gst_base_src_start_complete:<source>^[[00m pad not activated yet basesrc gstbasesrc.c:3583:gst_base_src_start_complete:<source>^[[00m pad not activated yet qtdemux qtdemux.c:7283:qtdemux_parse_container:<qtdemux0>^[[00m length too long (1507328 > 27) qtdemux qtdemux.c:3031:qtdemux_parse_trex:<qtdemux0>^[[00m failed to find fragment defaults for stream 1 qtdemux qtdemux.c:9129:qtdemux_parse_segments:<qtdemux0>^[[00m Segment 0 extends to 0:00:06.966000000 past the end of the file duration 0:00:06.866000000 it will be truncated basesrc gstbasesrc.c:2445:gst_base_src_update_length:<source>^[[00m processing at or past EOS v4l2videodec gstv4l2videodec.c:808:gst_v4l2_video_dec_decide_allocation:<v4l2h264dec0>^[[00m Duration invalid, not setting latency videodecoder gstvideodecoder.c:1161:gst_video_decoder_sink_event_default:<v4l2h264dec0>^[[00m error: No valid frames decoded before end of stream videodecoder gstvideodecoder.c:1161:gst_video_decoder_sink_event_default:<v4l2h264dec0>^[[00m error: no valid frames found
I have been searching for a few days now and can't find a solution, does anyone know a way to solve this ?