command line, records 'n split

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
FFMG
Blank Cone
Blank Cone
Posts: 17
Joined: 09 Jan 2008 07:29
Operating System: Windows
Contact:

command line, records 'n split

Postby FFMG » 12 Mar 2008 07:11

Hi,

Currently, I can record record a stream using...

Code: Select all

vlc.exe -vvv mms://xxx.yyy.net :sout=#transcode{vcodec=mp1v,acodec=mpga,vb=256}:std{access=file,mux=mpeg1,dst=c:\\dir\\test.mpg}
But the file quickly becomes too big, (over 24 hours), so I would like to split it into 30 minutes chunks.

Is it possible to do the same as above but also split it over time/size?

otherwise can VLC split a file?

Thanks

FFMG

lefish
Blank Cone
Blank Cone
Posts: 32
Joined: 23 Jun 2008 04:58

Re: command line, records 'n split

Postby lefish » 08 Sep 2008 07:54

hey, sir, did you solve it?

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Re: command line, records 'n split

Postby dionoea » 08 Sep 2008 16:00

This

Code: Select all

vlc --loop --no-sout-keep <the input> --sout '#...:std{access=file,mux=...,dst=myfile-%Y%m%d-%H%M%s.ext}' --run-time 1800
should work. Of course you'll need VLC 0.9.0 or later. See Documentation:Play_HowTo/Format_String for more info about format strings in VLC.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

FFMG
Blank Cone
Blank Cone
Posts: 17
Joined: 09 Jan 2008 07:29
Operating System: Windows
Contact:

Re: command line, records 'n split

Postby FFMG » 08 Sep 2008 18:32

This

Code: Select all

vlc --loop --no-sout-keep <the input> --sout '#...:std{access=file,mux=...,dst=myfile-%Y%m%d-%H%M%s.ext}' --run-time 1800
should work. Of course you'll need VLC 0.9.0 or later. See Documentation:Play_HowTo/Format_String for more info about format strings in VLC.
Thanks for that, it looks like what I need.

Where could I get the version 0.9 from? Is it a nightly build?

Thanks

FFMG

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Re: command line, records 'n split

Postby dionoea » 08 Sep 2008 19:34

http://nightlies.videolan.org has some builds (depending on the OS you use). We should release officially with binaries and all in the next few days.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 39 guests