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

Ability to select timecode of a video to import #2471

Closed
klorydryk opened this issue Feb 10, 2020 · 4 comments · Fixed by #2473
Closed

Ability to select timecode of a video to import #2471

klorydryk opened this issue Feb 10, 2020 · 4 comments · Fixed by #2473

Comments

@klorydryk
Copy link

Improvement proposal: ability to select timecode of video to import.

When you import a video from another website, Peertube import all the stream. But it is possible that only a part of this video has an interest.
For example, https://video.lqdn.fr/videos/watch/b6544b93-1ff7-4bb8-a0a5-dceab779915a comes from the french Assemblée Nationale, and start only from minute 19. I would like to be able to say at importation to skip this 19 first minutes (and potentially the last xx minutes).

@klorydryk
Copy link
Author

klorydryk commented Feb 15, 2020

@Chocobozzz @drzraf
I'm sorry, but I don't understand how #2473 will answer this need 😬 (as I couldn't find any option in youtube-dl which offers to select start/end video time to download).

@drzraf
Copy link
Contributor

drzraf commented Feb 15, 2020

Indeed. Actually the problem is that youtube-dl itself does not support this feature.

@klorydryk
Copy link
Author

Ok. As it is a 7 years old requested feature in youtube-dl, shouldn't we provide an internal tool to do it as proposed here:

ffmpeg -ss 14350 -i $(youtube-dl -f 22 --get-url https://www.youtube.com/watch?v=mMZriSvaVP8) -t 11200 -c:v copy -c:a copy react-spot.mp4

@Chocobozzz
Copy link
Owner

Hi @klorydryk

I'm sorry but this issue is out of the scope of peertube. Some solutions:

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

Successfully merging a pull request may close this issue.

3 participants