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

Add pause/black/title between segments #255

Open
mifi opened this issue Feb 21, 2020 · 1 comment
Open

Add pause/black/title between segments #255

mifi opened this issue Feb 21, 2020 · 1 comment

Comments

@mifi
Copy link
Owner

mifi commented Feb 21, 2020

This was requested by email:

Simple divider between clips i.e. black screen and for how long. I've created a little blank video that I use for that for now.

The problem with this, as can be seen in https://superuser.com/a/576568/658247 - is that we need to exactly match all audio/video parameters of the black video with the existing files. Maybe it can be done with a combination of ffprobe and map those parameters to ffmpeg args, but it will surely not work for all files and codec parameters.

As a workaround, it might be possible to do this manually by creating a black ffmpeg video of length X and matching up all parameters:

# Note that if you also have audio, you have to do the same to the audio track (generate silence)
ffmpeg -t 2 -f lavfi -i color=c=black:s=640x480:r=30 -c:v libx264 -pix_fmt yuv420p output.mp4

Then one can take this file and concat/merge it with the other files using LosslessCut...

This has similarities with #126 because it's about matching codec parameters.

Edit:

@tomiko23lol
Copy link

I would also like to see possibility to simply and fast add black screen pause between clips. For example to add it to this menu like "add pause before clip", "add pause after clip" and with possibility to somehow change length of pause.

image

mifi added a commit that referenced this issue Feb 8, 2023
@mifi mifi changed the title Add pause between segments Add pause/black/title between segments Dec 9, 2023
@mifi mifi mentioned this issue Dec 9, 2023
22 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants