-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
file rotate question #5
Comments
Are you talking about changing the output file at the end of the show that's currently recording, using a new file for the next show? Or, do you mean something more along the lines of file rotation during long recordings such that the file name increments when the size of the file reaches a certain maximum? If you want a different file for each show being recorded, that's a simple matter of ending the first recording, then starting a new recording at the right times. If you meant the latter, though, capping each file by a size limit... That's a good idea, and it can be added to output.cpp as an additional streaming option. Are you using dvbtee using the command line options, via the server CLI, or using the c++ API interface? I plan to refactor the output portion of the pipeline to resemble more of a plug-in infrastructure, so that adding different output mechanisms will become much easier. I probably won't get around to it for some time, though. |
We are using CLI variant. "If you want a different file for each show being recorded, that's a simple matter of ending the first recording, then starting a new recording at the right times." "If you meant the latter, though, capping each file by a size limit... That's a good idea, and it can be added to output.cpp as an additional streaming option." |
I see how the documentation is unclear about the difference between I think the best way to go about this would be as follows:
|
"Are you talking about changing the output file at the end of the show that's currently recording, using a new file for the next show?" |
"detect EPG program change" |
…iles sequence size limit
@mkrufky , can you review my commits sticked to this issue? |
Loads of whitespace problems, but that's easy to fix -- no big deal. The biggest feedback that I have is that I would like to see the file rotation sequence features only in the |
Thank you for review. Will try to do changes according your notes. |
I have implemented a simple Python script to do this. The down side is that it has to pause the recording to read the EPG stream, then continue recording. I also have to parse the stederr using regex, because the JSON output contains invalid dates (the |
Good day.
Does it possible to rotate output files during recording? (Some simple equivalent to DVR).
Or we need to add this kind of functionality? If need to add where you would suggest to start from (just a hint)?
Thanks,
Mikhail.
The text was updated successfully, but these errors were encountered: