Page 1 of 1

Multiple IP Interfaces and end time

Posted: 18 Mar 2008 20:17
by dindin
Hi:

I would like to findout if there are any solutions to the following:

1. I have a PC with multiple Ethernet interfaces. I would like to receive a multicast RTP stream on one of them. How do i tell VLC to receive it on a specific interface? Is there a command line option for this?

2. I would like to record the RTP stream for a given amount of time. How can I tell vlc to stop capturing after a certain amount of time? Again is there a command line option for this?

3. Is it possible to ask VLC to split the output files into several small files - either based on time duration or file size - while capturing directly yo a file? I am capturing for hours and the files would get realy BIG (more than 30GB).

Thanks for all the advice in advance.

-Dindin

Re: Multiple IP Interfaces and end time

Posted: 08 Apr 2008 07:54
by ureys
For 1 & 3: i've no idea :?

For 2:
If you are a linux user, maybe, you can use "cron", a schedule software common installed on many linux editions.

Code: Select all

00 07 * * * /usr/bin/vlc -vvv http://[2001:256:2:110::2]:3002 --sout "#transcode{vcodec=mp1v,acodec=mp3,vb=3072,ab=192,deinterlace}:std{access=file,mux=ts,dst=/media/sdb/video/cctv1/0700.ts}" -I http 10 07 * * * PID1=$(ps -C vlc -o pid= |sort - -r |head - -n 1) 30 08 * * * kill $PID1
above is a sample, firstly to run vlc, and then to kill it in the setting time. It works well on my machine :) (ubuntu)

Re: Multiple IP Interfaces and end time

Posted: 19 Jun 2008 06:01
by nero
Any solution for the multiple interface card thinggy? Im stuck in that problem.

Please advice.

Nero

Re: Multiple IP Interfaces and end time

Posted: 19 Jun 2008 17:35
by RĂ©mi Denis-Courmont

Code: Select all

--miface eth0