Ability to rotate output files #131

Closed
opened 2026-01-29 16:36:02 +00:00 by claunia · 1 comment
Owner

Originally created by @lloydpick on GitHub (Mar 22, 2016).

Originally assigned to: @abhishek-vinjamoori on GitHub.

Using version 0.79...

ccextractor -stdin -s -o feed.srt -out=srt

I'm consuming a TS stream from a pipe, pretty much everything is working correctly. However I have no ability to rotate the feed.srt output file. No matter what I try...

truncate -s 0 feed.srt or > feed.srt

The file goes back to it's original size upon the next write.

Also if the feed.srt file exists and I start ccextractor, it refuses to write to the file. It must not exist upon starting.

Originally created by @lloydpick on GitHub (Mar 22, 2016). Originally assigned to: @abhishek-vinjamoori on GitHub. Using version 0.79... `ccextractor -stdin -s -o feed.srt -out=srt` I'm consuming a TS stream from a pipe, pretty much everything is working correctly. However I have no ability to rotate the `feed.srt` output file. No matter what I try... `truncate -s 0 feed.srt` or `> feed.srt` The file goes back to it's original size upon the next write. Also if the `feed.srt` file exists and I start ccextractor, it refuses to write to the file. It must not exist upon starting.
Author
Owner

@abhishek-vinjamoori commented on GitHub (May 30, 2016):

The first issue is being worked upon.
Regarding the second one where you stated "if the feed.srt file exists and I start ccextractor, it refuses to write to the file. It must not exist upon starting", could you please elaborate what you meant ?
FYI:By default CCExtractor overwrites the existing output files.

@abhishek-vinjamoori commented on GitHub (May 30, 2016): The first issue is being worked upon. Regarding the second one where you stated "if the feed.srt file exists and I start ccextractor, it refuses to write to the file. It must not exist upon starting", could you please elaborate what you meant ? FYI:By default CCExtractor overwrites the existing output files.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#131