Skip to content
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

Delay - Let's the movie start delayed after running command. #1

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

EeveeEuphoria
Copy link

What this does is add a new parameter, -d / --delay, which allows the movie to start very briefly before immediately pausing, giving a frozen frame to be displayed on screen. This is ideal to allow a VCR to catch up and not start recording without you, especially ideal for me since my VCR takes around 10-15 seconds to start recording.

The reason why I made this pause the video as oppose to just, not start the video yet, is to give a frozen frame on screen so that if the VCR starts recording before you expect it to, it doesn't show the Raspberry Pi's terminal screen in the recording, which although not the end of the world, isn't exactly what you wanna see when you play a VHS tape.
I personally like this because a couple of my movie files has my own self-created FBI warning screens n the such, and that's the frame that gets frozen on screen. And if the video starts with a fade-in, it just starts on a dark frame, giving another desirable result.

I'll admit it's a little bit jank since I didn't touch any of the capsender code, but I've tested this multiple times with different subtitle files and videos, and it all seems to check out fine. Additionally, this does work with -t/--starttime, though weirdly videos that use H.265 seem to act a little bit weird with that? H.264 works as expected though.

Jasmine Palmer added 3 commits October 9, 2022 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant