I am trying to use VLC from the command line. I am able to get the stream to start, and I receive it fine on the other end, but when the video is done, the program does not exit, and it just stays hung. How can I make VLC program end when the video file is done?
I am using VLC 0.7.2 on Slackware Linux 9.1
Here's the output from the command line when I try to run it.
[17:46:41][root@server:]# vlc movie.mpg --sout udp:224.5.1.1
VLC media player 0.7.2 Bond
Remote control interface initialized, `h' for help
[00000186] main input: playlist item `movie.mpg'
[00000195] mpeg_audio packetizer: MPGA channels:2 samplerate:48000 bitrate:128
Movie is playing here, and after movie stops...
[00000186] main input: EOF reached
[00000186] access_file input: closing `/://movie.mpg'
But the session is stuck here. If I issue Ctrl-C...
signal 2 received, terminating vlc - do it again in case it gets stuck
[17:48:45][root@server:]#
Any suggestions?