Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 1
    Use the segment muxer for the 2nd output.
    – Gyan
    Commented Jun 11 at 15:58
  • -f mpegts overrides the earlier -f segment. -t 300 will stop processing after the first 300 seconds. Remove these. You will also need to set -strftime 1 if you are going to have datetime specifiers in the output pattern.
    – Gyan
    Commented Jun 13 at 18:20
  • Many thanks for highlighting this to point me in the right direction.
    – Jon37
    Commented Jun 14 at 11:10