No audio frames for rtsp stream
Sapna kumari
sapna344 at gmail.com
Tue Aug 10 06:36:41 UTC 2021
Dear Team,
I was able to figure out the audio issue. I get audio frames now on vlc.
But when using openslessrc, fps has dropped drastically and playback also
not smooth . Only video plays fine at 60fps.
Updated pipeline:
appsrc ! videoflip ! queue ! avcenc ! h264parse ! queue ! rtph264pay
name=pay1 pt=97 openslessrc ! queue ! audioconvert ! avenc_aac ! queue !
aacparse ! rtpmp4apay name=pay0 pt=96
avcenc: using hw encoder
appsrc properties are set for live source and do-timestamp.
Please guide me.
Thanks,
Sapna
On Fri, 6 Aug 2021, 4:54 pm Sapna kumari, <sapna344 at gmail.com> wrote:
> Hello,
>
> I am running rtsp server streaming audio and video both on android device.
>
> Pipeline taken from test-multicast.c,
>
> gst_rtsp_media_factory_set_launch (factory, "( "
> "videotestsrc ! video/x-raw,width=352,height=288,framerate=15/1 ! "
> "x264enc ! rtph264pay name=pay0 pt=96 "
> "audiotestsrc ! audio/x-raw,rate=8000 ! "
> "alawenc ! rtppcmapay name=pay1 pt=97 " ")");
>
>
> When playing the stream in vlc, video statistics for
> decoded/displayed/lost frames are updated. But audio statistics comes 0 for
> all.
>
> I want to use audio source as openslessrc to rtpmp4apay . Need help with
> this pipeline as well.
>
> Thanks & Regards,
> Sapna
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-android/attachments/20210810/140cc1f0/attachment.htm>
More information about the gstreamer-android
mailing list