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

[Request] support for npo.nl subtitles #3638

Closed
Reino17 opened this issue Aug 31, 2014 · 2 comments
Closed

[Request] support for npo.nl subtitles #3638

Reino17 opened this issue Aug 31, 2014 · 2 comments
Labels

Comments

@Reino17
Copy link

@Reino17 Reino17 commented Aug 31, 2014

Is it possible to add support for npo.nl subs? Not all video-streams have subs though, so when applicable.
Example, the 8 o'clock news bulletin: http://www.npo.nl/nos-journaal/28-08-2014/POW_00722860.
The JSON: http://e.omroep.nl/metadata/aflevering/POW_00722860 reports "tt888":"ja", so it has subs.
Its subtitles can then be found here: http://e.omroep.nl/tt888/POW_00722860. I found the url with Firefox's webconsole.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 5, 2015

npo subtitles will be supported in the next version. Thanks for the report.

@Reino17
Copy link
Author

@Reino17 Reino17 commented Feb 8, 2015

dstftw, thanks for the initial support, but since the subtitles are of the webvtt format, which a lot of players don't support, I was wondering if you could convert to subtitle-file to srt first before writing to disk. In this case, with npo-subs, you'd only have to remove the first 2 lines to accomplish that.

If I take yesterday's 8 o' clock newsbulletin for example, youtube-dl reports:

youtube-dl.exe -s --list-subs http://www.npo.nl/nos-journaal/07-02-2015/POW_00942206
[npo.nl] POW_00942206: Downloading JSON metadata
[npo.nl] POW_00942206: Downloading token
[npo.nl] POW_00942206: Downloading adaptive JSON
[npo.nl] POW_00942206: Downloading adaptive stream JSON
[npo.nl] POW_00942206: Downloading m3u8 information
[npo.nl] POW_00942206: Downloading h264_bb JSON
[npo.nl] POW_00942206: Downloading h264_bb stream JSON
[npo.nl] POW_00942206: Downloading h264_sb JSON
[npo.nl] POW_00942206: Downloading h264_sb stream JSON
[npo.nl] POW_00942206: Downloading h264_std JSON
[npo.nl] POW_00942206: Downloading h264_std stream JSON
WARNING: Automatic Captions not supported by this server
[npo.nl] POW_00942206: Available subtitles for video: nl
[npo.nl] POW_00942206: Available automatic captions for video:

Does youtube-dl have the ability to detect the subtitle-format? If so, perhaps you could make the penultimate line look liks this: [npo.nl] POW_00942206: Available subtitles for video: nl (vtt)
Whether or not the subtitle-format is detected, --sub-format srt didn't do anything.

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
3 participants
You can’t perform that action at this time.