looping mpeg4 multicast

*nix specific usage questions
cianc
New Cone
New Cone
Posts: 3
Joined: 09 Jan 2006 16:07

looping mpeg4 multicast

Postby cianc » 06 Feb 2006 15:28

Hi folks,
just wondering if anyone on the list is broadcasting/multicasting an
mpeg4 movie(s) in a loop from their VLC setup, and if so would you be
kind enough to share the details of how you have made this stable?
I have two 4mbit mpeg4 movies with aac audio (each movie only about 1
minute long) that a friend encoded for me in Quicktime Pro.
I'm multicasting them using VLM called with following command line:

/usr/bin/vlc -vvv --color --file-caching 600 --sout-ts-use-key-frames
--sout-ts-shaping 600 \ --sout-udp-caching 600 -I telnet
--telnet-password blahblah --telnet-host localhost \
--telnet-port 4212 --vlm-conf /data/movies/test/multicast_test04.vlm

where multicast_test04.vlm contains:

new channel1 broadcast enabled loop setup channel1 input
/data/movies/test/Mares.mp4 setup channel1 output
#standard{mux=ts,access=rtp,url=239.255.1.1,sap,name="Channel 1"}
new channel2 broadcast enabled loop
setup channel2 input /data/movies/test/Bannow.mp4
setup channel2 output
#standard{mux=ts,access=rtp,url=239.255.1.2,sap,name="Channel 2"}
control channel1 play
control channel2 play

My problem is that after about three hours or so, VLC freaks out with
a bunch of errors like "access_output_udp private debug: late packet
for udp input" and "main private warning: late buffer for mux input",
and shortly afterwards crashes.
I think I've done just about all I can with the command line by using
--file-caching, --sout-ts-use-key-frames, --sout-ts-shaping, and
--sout-udp-caching.
So I'm left with the hope that I need to do specific things when
encoding my movies for long term looping (maybe something to do with
keyframes?).
I'd be very happy to hear from someone who was doing something similar
and not seeing these crashes, and what if anything you had to do to
make it work.


Cian

Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 21 guests