help please

James Linder jam at tigger.ws
Tue Dec 28 05:15:55 UTC 2021


Where to look.

Pipeline works fine until you add the last 2 lines (audio) then

WARNING: from element /GstPipeline:pipeline0/GstPulseSrc:pulsesrc0: Can't record audio fast enough
Additional debug info:
../gst-libs/gst/audio/gstaudiobasesrc.c(846): gst_audio_base_src_create (): /GstPipeline:pipeline0/GstPulseSrc:pulsesrc0:
Dropped 119850 samples. This is most likely because downstream can't keep up and is consuming samples too slowly.

Pipeline:

#! /bin/bash

IP=`hostname -I`
gst-launch-1.0 v4l2src device=/dev/video0 ! \
  video/x-raw, width=768, height=576, framerate=30/1 ! \
  videoconvert ! \
  videoscale ! \
  video/x-raw, width=1280, height=720 ! \
  x264enc ! queue ! hlssink2 max-files=15 name=hl \
  playlist-root=http://$IP playlist-location=/dev/shm/hd1.m3u8 location=/dev/shm/seg1_%05d.ts \
  pulsesrc device=0 ! audioconvert ! \
  queue ! avenc_aac ! aacparse ! hl.audio

Also the camera gives 4:3 but it is a 16:9 image. How to force that?

James


More information about the gstreamer-devel mailing list