Page 1 of 1

Recording with pause

Posted: 29 Sep 2011 23:05
by vale4674
Hi,

how come this option is not supported (or it is and I can't figure it out).

So lets take this scenario:

1. Choose a stream to record and output file to stream into.
2. Press the record button
3. Record for 50 seconds
4. Press pause button (now recording is paused)
5. Wait 40 seconds
6. Press pause button (now recording is continued)
7. Record 50 seconds
8. Press stop
9. Result = output file with 100 seconds duration. Those 40 seconds when recording was paused were cut.

Is this possible with VLC?

Re: Recording with pause

Posted: 30 Sep 2011 18:53
by VLC_help
It isn't AFAIK. And even if it would be implemented, it wouldn't work very well with all inputs since e.g. keyframe cuts and possible audio format changes would cause all kind of strange issues.

Re: Recording with pause

Posted: 01 Oct 2011 11:23
by vale4674
It isn't AFAIK.
Hmm, strange. Because this option is one of a basic recording options that a recorder/player should have.
...it wouldn't work very well with all inputs since e.g. keyframe cuts and possible audio format changes would cause all kind of strange issues.
How come that is such a problem?

1. Press pause
2. Stop writing/encoding into file
3. Press pause again
4. Continue writing into file with time stamps of a frames decreased for the pause time.

Re: Recording with pause

Posted: 01 Oct 2011 15:19
by VLC_help
4. Continue writing into file with time stamps of a frames decreased for the pause time.
It would work if record button would transcode the stream. But because it doesn't, it doesn't work like that for most formats. It would work for TS files, if you keep all the ES same (cut accuracy would still be key frame limited). But e.g. with AVI it doesn't work because seek info is written to the end of file.

Re: Recording with pause

Posted: 01 Oct 2011 15:26
by vale4674
I see.... this clears some things for my project. Tnx