|
From: | Ron Economos |
Subject: | Re: Transport stream source |
Date: | Sun, 4 Apr 2021 02:50:40 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
The ZMQ blocks seem to work well.
https://wiki.gnuradio.org/index.php/Understanding_ZMQ_Blocks
The required IP address at both ends is the address of the
source. For example:
tcp://10.0.1.116:1234
Here's what I'm running right now as a test. The first flow graph is running locally on host 10.0.1.116 and the second flow graph is running remotely on another host. The source is a file, so the appropriate blocks are the REP sink and the REQ source. That way, the REQ source only requests the data it needs and the connection is throttled.
For a camera or other real-time feed, the PUSH and PULL blocks
should be used instead since the camera or real-time feed itself
will be throttling the connection.
Ron
Hi Marcus,
as I have written, I have tried to use a UDP source (and to connect it
to a UDP sink with a different IP address and port) but it does not seem
to work. As I am quite new to GNU radio, I have certainly made a mistake
somewhere. If I only needed a TS source (no matter which one) I could
stick with a file. I have already done that and it worked.
Could somebody please direct me to the documentation where the basic
principle of how GNU Radio works is explained? I know that there are
blocks that you can connect together but there must be a "controller"
somewhere and I would like to understand how this controller works and
how the blocks are called. What I have read until now does not answer my
questions :-)
Happy Easter,
Ralf
Am 03.04.2021 um 21:52 schrieb Marcus D Leech:
If you want VLC to produce a stream and Gnu Radio to consume it, you need a UDP *source* rather than a *sink*.
Sent from my iPhone
On Apr 3, 2021, at 3:48 PM, Ralf Gorholt <ralf.gorholt@gmx.de> wrote:
Dear all,
instead of using a file source, I would like to get data from a video
stream into GNU Radio. Is this possible?
With VLC, I can connect to the stream using a URL like
udp://230.0.0.10:1234. How can I do this in GNU Radio? I have tried to
use a UDP source with this address and payload size 1316 (needed for VLC
when it connects to a UDP sink in GNU Radio) and to pass the data to a
UDP sink at address 230.0.0.20:10000 and payload size 1316 to which I
can connect with VLC to see if it works but when I start the flow graph,
nothing seems to come out, VLC tries in vain to connect.
Thank you very much and happy easter!
Kind regards,
Ralf
[Prev in Thread] | Current Thread | [Next in Thread] |