[vlc] can't forward a H264 UDP stream
Gun Akkor
gakkor at patton.com
Mon Apr 30 23:27:09 CEST 2007
Hi all,
I have a linux machine which acts as a video stream
dispatcher between a server and multiple clients on a
local LAN. The dispatcher machine has one interface
connected to the server subnet, and another interface
connected to the local LAN subnet where the clients are
located.
The server encodes the video stream using x264, and sends
it as a MPEG TS stream over a UDP connection to the
dispatcher at a given IP address and port number that is
known to the server. The VLC instance running on the
dispatcher listens to this port, and forwards the stream
as another MPEG TS stream over a UDP connection to the
client machine, while simultaneously saving it to a file;
using something similar to the following command line:
vlc -vvv udp://@:1234 --sout
'#duplicate{dst=std{access=file, mux=mp4, url=test.mp4},
dst={access=udp, mux=ts, url=1.2.3.4:8080}}'
For all I can say, the dispatcher receives the stream at
port 1234 (looking at the vlc debug output and
wireshark/ethereal trace), saves it to the file (file
output can be displayed on screen correctly by VLC), and
sends the stream to the new destination 1.2.3.4:8080
(again, the packets can be traced by wireshark.
However, the client VLC instance never can acquire the
stream. It's debug output continuously diplays
[00000332] packetizer_h264 packetizer warning: waiting for
SPS
This problem is similar to the one reported by Kim Schulz
earlier, but I haven't seen an answer. I apologize if I
missed the post.
Does anybody tell me where I am going wrong? In general,
how is it possible to forward streams via VLC in this
manner? For example, receive unicast and forward the same
stream multicast on local LAN...
Thanks in advance
GA
--
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
More information about the vlc
mailing list