Multiple IP Interfaces and end time

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
dindin
New Cone
New Cone
Posts: 1
Joined: 18 Mar 2008 20:08

Multiple IP Interfaces and end time

Postby dindin » 18 Mar 2008 20:17

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

ureys
New Cone
New Cone
Posts: 1
Joined: 08 Apr 2008 05:02

Re: Multiple IP Interfaces and end time

Postby ureys » 08 Apr 2008 07:54

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)

nero
Blank Cone
Blank Cone
Posts: 18
Joined: 30 Apr 2008 12:01
VLC version: 0.8.6f
Operating System: Fedora
Location: Malaysia
Contact:

Re: Multiple IP Interfaces and end time

Postby nero » 19 Jun 2008 06:01

Any solution for the multiple interface card thinggy? Im stuck in that problem.

Please advice.

Nero

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Multiple IP Interfaces and end time

Postby Rémi Denis-Courmont » 19 Jun 2008 17:35

Code: Select all

--miface eth0
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 14 guests