Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
samhippo authored Jul 24, 2021
1 parent d1a3b00 commit 9b38ada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ You can also set an optional file extension if you wish to convert the video to
# clip-live-stream.lua
Clips the last N seconds of a live stream. Takes two parameters: a folder and number of seconds to clip.
It will output two video clip files `.ts` and `.mkv` because the video type is unknown at the time of clipping.
NOTE: It will only clip as far back as is cached. If you need to clip a longer amount of time you can try `demuxer-max-bytes=300M` `demuxer-max-back-bytes=350M`
NOTE: The max clip length is determined by the cache size. You can change it like this `demuxer-max-bytes=300M` `demuxer-max-back-bytes=350M`
#### Installation
1. Copy [clip-live-stream.lua](clip-live-stream.lua) to your mpv scripts directory.
2. Add the following command to **input.conf**
Expand Down

0 comments on commit 9b38ada

Please sign in to comment.