getting erroneous pipeline command to stream the hls live streaming from appsrc
Nicolas Dufresne
nicolas at ndufresne.ca
Fri Apr 24 14:43:56 UTC 2020
Le vendredi 24 avril 2020 à 01:06 -0500, manas_mandal a écrit :
> Hello,
> Please help me to correct the below pipleline command which will push the
> frame buffer to appsrc and do live hls steaming
Careful, you double posted. Perhaps you should have described the
issues you are facing ?
>
> Pipeline command
>
> appsrc name=videosrc format=time caps=image/jpeg,framerate=(fraction)25/1 !
> queue ! decodebin ! videoconvert !
> videorate ! video/x-raw,framerate=(fraction)25/1 ! queue !
> avenc_mpeg4 bitrate=3000000 ! mpeg4videoparse ! queue ! mux.
> appsrc name=audiosrc format=time
MPEG4 is quite rare, and is unlikely to be widely supported. H264 is
likely more common for HLS streams (see x264enc or openh264enc as
possible software encoders).
>
> caps=audio/x-raw,format=S16LE,channels=2,rate=48000,layout=interleaved
> ! audioconvert ! queue ! voaacenc ! aacparse ! queue ! mux.
> mpegtsmux name=mux ! queue ! hlssink
> location=/var/www/segment-%05d.ts playlist-location=/var/www/index.m3u8
> max-files=20 target-duration=15
>
> Below is the video card information which will read the frame as buffer from
> video card
>
>
> v4l2-ctl -d /dev/video0 --list-formats-ext
If this is a v4l2 device, why do you use appsrc ?
> ioctl: VIDIOC_ENUM_FMT
> Index : 0
> Type : Video Capture
> Pixel Format: 'MJPG' (compressed)
> Name : Motion-JPEG
> Size: Discrete 1920x1080
> Interval: Discrete 0.017s (60.000 fps)
> Interval: Discrete 0.033s (30.000 fps)
> Size: Discrete 640x480
> Interval: Discrete 0.017s (60.000 fps)
> Interval: Discrete 0.033s (30.000 fps)
> Size: Discrete 800x600
> Interval: Discrete 0.017s (60.000 fps)
> Interval: Discrete 0.033s (30.000 fps)
> Size: Discrete 1024x768
> Interval: Discrete 0.017s (60.000 fps)
> Interval: Discrete 0.033s (30.000 fps)
> Size: Discrete 1280x720
> Interval: Discrete 0.017s (60.000 fps)
> Interval: Discrete 0.033s (30.000 fps)
> Size: Discrete 1280x960
> Interval: Discrete 0.017s (60.000 fps)
> Interval: Discrete 0.033s (30.000 fps)
> Size: Discrete 1280x1024
> Interval: Discrete 0.017s (60.000 fps)
> Interval: Discrete 0.033s (30.000 fps)
> Size: Discrete 1360x768
> Interval: Discrete 0.017s (60.000 fps)
> Interval: Discrete 0.033s (30.000 fps)
> Size: Discrete 1400x900
> Interval: Discrete 0.017s (60.000 fps)
> Interval: Discrete 0.033s (30.000 fps)
> Size: Discrete 1440x900
> Interval: Discrete 0.017s (60.000 fps)
> Interval: Discrete 0.033s (30.000 fps)
>
> Thanks
>
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list