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

Export HTML5 <video> tags? #7486

Closed
edent opened this issue Nov 13, 2015 · 1 comment
Closed

Export HTML5 <video> tags? #7486

edent opened this issue Nov 13, 2015 · 1 comment

Comments

@edent
Copy link

@edent edent commented Nov 13, 2015

When exporting a video, is it possible to auto-generate an HTML5 <video> snippet which includes the thumbnail, codecs, etc?

I was thinking something like

<video poster="thumbnail.jpg" >
  <source src="file.mp4" type="video/mp4; codecs=mp4a.40.2, avc1.42001E">
  <source src="file.webm" type="video/webm; codecs=vorbis, vp8.0">
  <track kind="subtitles" src="file.srt">
</video>
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Nov 13, 2015

I thinkt that's out of scope of youtube-dl, use the --write-info-json or --dump-json and write a script that process the json dict and creates the snippet.

@jaimeMF jaimeMF closed this Nov 13, 2015
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
2 participants
You can’t perform that action at this time.