Page 1 of 1

use VLC to transcode but it stops working after 3 days

Posted: 02 Jul 2008 09:31
by luca-linux80
Hello!

I use VLC to transcode an mpeg flow sending by a webcam, and receiving by an 8.04 Ubuntu desktop, to an http flow so that a lot of people connected to PC can see it. Transcoding seems to work but after three days or more service stop working, but why?

This is line command I use:
vlc -I dummy --verbose 1 --loop --sout '#transcode{vcodec=DIV3,vb=512,scale=1}:standard{access=mmsh,mux=asfh,dst=XXX.XXX.XXX.XXX:8081}' http://user:user@KKK.KKK.KKK.KKK/contro ... ull&fps=16

where KKK.KKK.KKK.KKK is the webcam IP address and XXX.XXX.XXX.XXX is the desktop IP address.

When service stop working and I put http://XXX.XXX.XXX.XXX:8081 on a player there is no video, but process is up :-|. Why? Could anyone help me?

Thank you so much!

Re: use VLC to transcode but it stops working after 3 days

Posted: 02 Jul 2008 09:33
by Jean-Baptiste Kempf
Memory consumption ?

Re: use VLC to transcode but it stops working after 3 days

Posted: 02 Jul 2008 09:49
by luca-linux80
Hello| :D

thank you very much for your answer!!!

I think memory comsuption is normal: about 6 % and this is a costant value during a day. There are 524MB of RAM memory, but I heve to say you that desktop is a VIRTUAL machine. Maybe VLC doesn't work very well on virtual machines?

Re: use VLC to transcode but it stops working after 3 days

Posted: 02 Jul 2008 10:15
by Jean-Baptiste Kempf
Usually VLC stops when memory usage is high.

Re: use VLC to transcode but it stops working after 3 days

Posted: 02 Jul 2008 12:42
by luca-linux80
But if memory usage is high and if I use TOP linux command, will I see VLC process up and running? or it "disappears" from process table?
And sorry, but I've got another question...high memory usage means 95 % ?

Thanks J-B ! :wink: