6 hours time delay with --run-time. HELP!

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
szmeny
New Cone
New Cone
Posts: 3
Joined: 13 Jun 2011 00:40

6 hours time delay with --run-time. HELP!

Postby szmeny » 13 Jun 2011 00:48

I`m trying to do 6 hours time dealy.
I`m using --run-time and --loop as params. My input is http stream from other server.
Problem is when input stream server was down for a while (restart or something), vlc record process automatically end current recording file and start with new file.
Command what i`m using:

Code: Select all

/usr/bin/vlc1 -I dummy -vvvv --sout-transcode-audio-sync --http-caching 2000 http://xyz:9999 --run-time=21600 --loop --http-reconnect --sout #standard{access=file,mux=ts,dst=/root/vlc/Rec%H.ts}
When i was add --sout-keep, vlc don`t stops recording, when input server down, but don`t split files, after every 6h too.

Any ideas how to do it correctly?

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

Re: 6 hours time delay with --run-time. HELP!

Postby Rémi Denis-Courmont » 13 Jun 2011 08:34

You want to slice based on the wall clock? I am afraid this has not yet been implemented.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

szmeny
New Cone
New Cone
Posts: 3
Joined: 13 Jun 2011 00:40

Re: 6 hours time delay with --run-time. HELP!

Postby szmeny » 13 Jun 2011 11:12

VLC split files correctly, at the result, i have always 4 files with 6h difference.
Script automatly make playlist with 4 positions. And when second file shows in fiolder, cron script launching vlc streaming process.
That is good idea, i think.
But i have problem with matching params. When i dont use --sout-keep, vlc recording process dont stops but ending current file and start with new, with actual hour in filename.
Maybe you know any good solution?

szmeny
New Cone
New Cone
Posts: 3
Joined: 13 Jun 2011 00:40

Re: 6 hours time delay with --run-time. HELP!

Postby szmeny » 08 Aug 2011 22:25

Any ideas? :(


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 36 guests