[vlc] Encoding parameters for a looped mpeg4 video?

Cian Cullinan cian.cullinan at gmail.com
Mon Feb 6 13:44:03 CET 2006


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

-- 
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