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

[FEATURE REQUEST] in-app option to merge video cuts #211

Open
JimZiii opened this issue Jul 14, 2023 · 8 comments
Open

[FEATURE REQUEST] in-app option to merge video cuts #211

JimZiii opened this issue Jul 14, 2023 · 8 comments
Labels
enhancement New feature or request help wanted Extra attention is needed yt-dlp related Not a bug about the app but with the yt-dlp library

Comments

@JimZiii
Copy link

JimZiii commented Jul 14, 2023

Is your feature request available in yt-dlp? Please describe.
Yes, yt-dlp can merge files

Describe the solution you'd like
When using the cut feature on a video, depending on how you cut it, you might end up with 2 or more clips.
I think it'd be a good idea to add the option to automatically merge those videos for you. Could be something as simple as a checkbox in the same window you're doing the cuts in.

Describe alternatives you've considered
Not sure about alternatives but you could even expand on this feature in the future by making it possible to choose which order you want to merge the clips in, maybe by dragging and dropping the timestamps in the order you want them merged.

Additional context

@deniscerri
Copy link
Owner

What is the ytdlp command

@deniscerri deniscerri added the enhancement New feature or request label Jul 14, 2023
@JimZiii
Copy link
Author

JimZiii commented Jul 14, 2023

I'm pretty sure its possible to merge segmented videos or videos in a playlist and merge them in youtube-dl, so i just assumed it was possible in yt-dlp as well.
Think it was called concatenate.

But isn't it possible to do it the same way sponsorblock gets it done? I'm just guessing but i think it works the same as using --download-sections and just output them to one file.
But I'm pretty new to youtube-dl and yt-dlp so i could be completely wrong

@deniscerri deniscerri added the help wanted Extra attention is needed label Jul 14, 2023
@deniscerri
Copy link
Owner

As far as i know i dont think yt-dlp can do this. If anyone knows the command i will be happy to implement it

@JimZiii
Copy link
Author

JimZiii commented Jul 14, 2023

Yea i just learned about yt-dlp a few days ago so maybe i misunderstood the posts i read.

But leave the issue open for now and I'll take a look at it during the weekend to see if i can find anything

@deniscerri
Copy link
Owner

@JimZiii any luck?

@pukkandan
Copy link

yt-dlp internally has the code for concat, but it is not implemented with --download-sections, only for playlists.

@JimZiii
Copy link
Author

JimZiii commented Jul 26, 2023

yt-dlp internally has the code for concat, but it is not implemented with --download-sections, only for playlists.

I suspected that since I've only been able to find merging in this way in relation to sponsorblock and playlists.

But if sponsorblock is able to cut segments and merge the remaining parts, wouldn't it be possible to use the same method when doing cuts of your own to a video? It should be the same thing but im feeding it the parts i want instead of the sponsorblock api.

And if it's not currently available, would it be possible for you to implement it?

@pukkandan
Copy link

pukkandan commented Jul 27, 2023

It is possible, just not implemented. Tracked in yt-dlp/yt-dlp#7039

@deniscerri deniscerri added the yt-dlp related Not a bug about the app but with the yt-dlp library label Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed yt-dlp related Not a bug about the app but with the yt-dlp library
Projects
None yet
Development

No branches or pull requests

3 participants