Hello,
I'm trying to composite multiple video files into a single video file using GStreamer and RPI 4 using v4l2 hardware accelerated plugins. Currently, it's not work. I've a simple test pipeline below that is halting with some warning. Anyone have an idea or has tested this before?
pipeline (video.mp4 was generated with videotestsrc 1920x1080 encoded as h264):output (pipeline halts not much of an error):Thanks a bunch.
I'm trying to composite multiple video files into a single video file using GStreamer and RPI 4 using v4l2 hardware accelerated plugins. Currently, it's not work. I've a simple test pipeline below that is halting with some warning. Anyone have an idea or has tested this before?
pipeline (video.mp4 was generated with videotestsrc 1920x1080 encoded as h264):
Code:
..GST_DEBUG=3 gst-launch-1.0 -vvv -e compositor name=mix ! video/x-raw,width=1920,height=1080 ! v4l2h264enc extra-controls=controls,video_bitrate=2000000,repeat_sequence_header=1,h264_level=13,h264_profile=4,h264_i_frame_period=20; ! capsfilter caps="video/x-h264,profile=high,level=(string)4.2" ! h264parse ! mp4mux ! filesink location=mix.mp4 filesrc name=input1 location=video.mp4 ! qtdemux ! h264parse config-interval=-1 ! v4l2h264dec ! mix.sink_0..
Code:
..Setting pipeline to PAUSED ...0:00:00.086638242 729 0x55a3f7fd90 WARN v4l2 gstv4l2object.c:4902:gst_v4l2_object_probe_caps:<v4l2h264enc0:src> Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Invalid argumentPipeline is PREROLLED ...Setting pipeline to PLAYING ...New clock: GstSystemClock^Chandling interrupt.Interrupt: Stopping pipeline ...EOS on shutdown enabled -- Forcing EOS on the pipelineWaiting for EOS.....
Statistics: Posted by Prezla — Mon Feb 03, 2025 4:41 am