Skip to content

How to add audio to stream using .m3u h264/aac rtspsrc #971

Answered by jdelapla
itsmeaksingh asked this question in Q&A
Discussion options

You must be logged in to vote

Hello, this is a pure gstreamer issue unrelated to the internals of kvssink. Your pads aren't connecting between your rtspsrc and rtpPCMAdepay elements.

Please add a queue element between your src and rtpXXXXdepay(s) when doing a tee like this.

gst-launch-1.0 rtspsrc name=src location="rtsp://192.168.68.114:5554/playlist.m3u" short-header=true ! queue ! rtph264depay ! h264parse ! kvssink name=sink access-key="access-key" secret-key="secret-key" stream-name="ExampleStream" storage-size=1024 aws-region="us-east-2" frame-timecodes=false src. ! queue ! rtppcmadepay ! alawdec ! audioresample ! audioconvert ! voaacenc ! aacparse ! queue ! sink.

Something like that should work.
Very similar to t…

Replies: 7 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by sirknightj
Comment options

You must be logged in to vote
3 replies
@javieralcantara
Comment options

@jdelapla
Comment options

@javieralcantara
Comment options

Comment options

You must be logged in to vote
2 replies
@javieralcantara
Comment options

@javieralcantara
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
4 participants
Converted from issue

This discussion was converted from issue #903 on February 23, 2023 06:06.