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

Youtube - Download according to timestamps. #24858

Open
kettenfett opened this issue Apr 18, 2020 · 9 comments
Open

Youtube - Download according to timestamps. #24858

kettenfett opened this issue Apr 18, 2020 · 9 comments

Comments

@kettenfett
Copy link

@kettenfett kettenfett commented Apr 18, 2020

Description

It seems, youtube is now using information found in timecodes in the video description and displays them in the videoplayer like so:
grafik

It may have been like this for some time, but I saw it for the first time today (link to video).

Can this be used by youtube-dl to offer a download option, that automatically downloads the individual videos/audios according to these timecodes?

Checklist

  • I'm reporting a site feature request
  • I've verified that I'm running youtube-dl version 2020.03.24
  • I've searched the bugtracker for similar site feature requests including closed ones
@wattux
Copy link

@wattux wattux commented Apr 19, 2020

The extractor already gets thoses tracks as "chapters". I'm not really into that project base, but I guess adding a new FFmpegPostProcessor for splitting the resulting file into own tracks is a good approach?

I'm playing around with that for a bit

@jtagcat
Copy link

@jtagcat jtagcat commented May 31, 2020

Instead of splitting to separate files, what about mapping the timestamps to chapters?

@wattux
Copy link

@wattux wattux commented May 31, 2020

afaik the timestamps are already parsed into those chapters. At least thats were I got them from.

@jtagcat
Copy link

@jtagcat jtagcat commented May 31, 2020

image

youtube-dl https://www.youtube.com/watch?v=zPuELAzJyno
image

No chapters, not fully sure if talking about the same thing.

@wattux
Copy link

@wattux wattux commented May 31, 2020

We were kinda. I was talking about the chapters raw, internal data, created by the extractors. I guess they are just not included in the local file by default. Maybe there is an extra argument for that

@jtagcat
Copy link

@jtagcat jtagcat commented May 31, 2020

We were kinda. I was talking about the chapters raw, internal data, created by the extractors. I guess they are just not included in the local file by default. Maybe there is an extra argument for that

F3 in the main readme for chapter and timestamp did not yield any results.

@joelstrouts
Copy link

@joelstrouts joelstrouts commented Aug 8, 2020

being able to split a video into multiple files according to these timestamps (with the result the same as if the files had been downloaded from a playlist of those segments) would be great

@dogancelik
Copy link

@dogancelik dogancelik commented Aug 29, 2020

I want to see the timestamps in VLC / Media Player Classic. How can I embed chapters of the video when I download it with youtube-dl -f bestaudio URL? I only want the audio and the timestamps with titles embedded inside the file.

@lyz-code
Copy link

@lyz-code lyz-code commented Sep 24, 2020

I've found crisbal/album-splitter which does exactly this, maybe it can be used as inspiration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
6 participants
You can’t perform that action at this time.