using libvlc to stream A/V with rtp protocol from memory

This forum is about all development around libVLC.
MikOfClassX
Blank Cone
Blank Cone
Posts: 48
Joined: 29 Dec 2018 10:23

using libvlc to stream A/V with rtp protocol from memory

Postby MikOfClassX » 22 Jun 2019 11:03

Hello,

I've seen some samples of RTMP streaming from memory. All the samples refer to VIDEO (see https://forum.videolan.org/viewtopic.php?t=148542)
What about creating an A/V source, i.e. RGB frames + Audio frames (PCM16S), in-memory ?

libvlc_media_new_callbacks() is very useful here. But I guess we should interleave uncompressed raw data just like [VIDEO_FRAME][AUDIO_FRAME][VIDEO_FRAME][AUDIO_FRAME]...
But I suppose we must select a correct demuxer. Here's where I'm stopping.

Comments welcome. Thanks!

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: using libvlc to stream A/V with rtp protocol from memory

Postby Rémi Denis-Courmont » 22 Jun 2019 21:06

This ties much deeper into VLC internals and you need to write your own plugin. This cannot be done with the simple memory callbacks.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

cannono
New Cone
New Cone
Posts: 3
Joined: 04 May 2020 17:04

Re: using libvlc to stream A/V with rtp protocol from memory

Postby cannono » 08 May 2020 04:17

Did you ever find a solution? I am trying to do something very similar.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 12 guests