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

[srgssr] Not all videos are extracted correctly + missing subtitle support #14717

Closed
5 of 8 tasks
goggle opened this issue Nov 11, 2017 · 1 comment
Closed
5 of 8 tasks

Comments

@goggle
Copy link
Contributor

goggle commented Nov 11, 2017

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.11.06. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2017.11.06

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Some [srgssr] videos are not extracted correctly, e.g. if we want to use youtube-dl on the video https://www.srf.ch/play/tv/tagesschau/video/150-jahre-reclam-buecher?id=5ec276f8-451b-4d60-9751-71e9e1edd7ef&station=69e8ac16-4327-4af4-b873-fd5cd6e895a7, it will extract the whole show https://www.srf.ch/play/tv/tagesschau/video/tagesschau-vom-10-11-2017-1930?id=96c125e5-e8c2-423f-a1a0-3638fa15d58e, and not the relevant segment of this show.

To illustrate this, I append the youtube-dl logs of these two different videos:

[debug] System config: []
[debug] User config: ['--netrc']
[debug] Custom config: []
[debug] Command-line args: ['https://www.srf.ch/play/tv/tagesschau/video/tagesschau-vom-10-11-2017-1930?id=96c125e5-e8c2-423f-a1a0-3638fa15d58e', '-F', '-v']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.11.06
[debug] Python version 3.6.3 - Linux-4.13.11-1-ARCH-x86_64-with-arch
[debug] exe versions: ffmpeg 3.4, ffprobe 3.4, rtmpdump 2.4
[debug] Proxy map: {}
[SRGSSR] 96c125e5-e8c2-423f-a1a0-3638fa15d58e: Downloading JSON metadata
[SRGSSR] 96c125e5-e8c2-423f-a1a0-3638fa15d58e: Downloading HTTP-HDS-HD token
[SRGSSR] 96c125e5-e8c2-423f-a1a0-3638fa15d58e: Downloading f4m manifest
[SRGSSR] 96c125e5-e8c2-423f-a1a0-3638fa15d58e: Downloading HTTP-HDS-SD token
[SRGSSR] 96c125e5-e8c2-423f-a1a0-3638fa15d58e: Downloading f4m manifest
[SRGSSR] 96c125e5-e8c2-423f-a1a0-3638fa15d58e: Downloading HTTP-HLS-SD token
[SRGSSR] 96c125e5-e8c2-423f-a1a0-3638fa15d58e: Downloading m3u8 information
[SRGSSR] 96c125e5-e8c2-423f-a1a0-3638fa15d58e: Downloading HTTP-HLS-HD token
[SRGSSR] 96c125e5-e8c2-423f-a1a0-3638fa15d58e: Downloading m3u8 information
[info] Available formats for 96c125e5-e8c2-423f-a1a0-3638fa15d58e:
format code       extension  resolution note
HTTP-HLS-HD-46    mp4        audio only   46k , mp4a.40.2
HTTP-HLS-SD-46    mp4        audio only   46k , mp4a.40.2
HTTP-HLS-HD-146   mp4        320x180     146k , avc1.66.30, mp4a.40.2
HTTP-HLS-SD-146   mp4        320x180     146k , avc1.66.30, mp4a.40.2
HTTP-HLS-HD-346   mp4        480x272     346k , avc1.66.30, mp4a.40.2
HTTP-HLS-SD-346   mp4        480x272     346k , avc1.66.30, mp4a.40.2
HTTP-HLS-HD-693   mp4        512x288     693k , avc1.77.30, mp4a.40.2
HTTP-HLS-SD-693   mp4        512x288     693k , avc1.77.30, mp4a.40.2
HTTP-HLS-HD-1325  mp4        640x360    1325k , avc1.77.30, mp4a.40.2
HTTP-HLS-SD-1325  mp4        640x360    1325k , avc1.77.30, mp4a.40.2
HTTP-HLS-HD-2125  mp4        960x544    2125k , avc1.77.30, mp4a.40.2
HTTP-HLS-HD-3626  mp4        1280x720   3626k , avc1.77.30, mp4a.40.2
HTTP-SD           mp4        unknown    
HTTP-HD           mp4        unknown    (best)
[debug] System config: []
[debug] User config: ['--netrc']
[debug] Custom config: []
[debug] Command-line args: ['https://www.srf.ch/play/tv/tagesschau/video/150-jahre-reclam-buecher?id=5ec276f8-451b-4d60-9751-71e9e1edd7ef', '-F', '-v']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.11.06
[debug] Python version 3.6.3 - Linux-4.13.11-1-ARCH-x86_64-with-arch
[debug] exe versions: ffmpeg 3.4, ffprobe 3.4, rtmpdump 2.4
[debug] Proxy map: {}
[SRGSSR] 5ec276f8-451b-4d60-9751-71e9e1edd7ef: Downloading JSON metadata
[SRGSSR] 5ec276f8-451b-4d60-9751-71e9e1edd7ef: Downloading HTTP-HDS-HD token
[SRGSSR] 5ec276f8-451b-4d60-9751-71e9e1edd7ef: Downloading f4m manifest
[SRGSSR] 5ec276f8-451b-4d60-9751-71e9e1edd7ef: Downloading HTTP-HDS-SD token
[SRGSSR] 5ec276f8-451b-4d60-9751-71e9e1edd7ef: Downloading f4m manifest
[SRGSSR] 5ec276f8-451b-4d60-9751-71e9e1edd7ef: Downloading HTTP-HLS-SD token
[SRGSSR] 5ec276f8-451b-4d60-9751-71e9e1edd7ef: Downloading m3u8 information
[SRGSSR] 5ec276f8-451b-4d60-9751-71e9e1edd7ef: Downloading HTTP-HLS-HD token
[SRGSSR] 5ec276f8-451b-4d60-9751-71e9e1edd7ef: Downloading m3u8 information
[info] Available formats for 5ec276f8-451b-4d60-9751-71e9e1edd7ef:
format code       extension  resolution note
HTTP-HLS-HD-46    mp4        audio only   46k , mp4a.40.2
HTTP-HLS-SD-46    mp4        audio only   46k , mp4a.40.2
HTTP-HLS-HD-146   mp4        320x180     146k , avc1.66.30, mp4a.40.2
HTTP-HLS-SD-146   mp4        320x180     146k , avc1.66.30, mp4a.40.2
HTTP-HLS-HD-346   mp4        480x272     346k , avc1.66.30, mp4a.40.2
HTTP-HLS-SD-346   mp4        480x272     346k , avc1.66.30, mp4a.40.2
HTTP-HLS-HD-693   mp4        512x288     693k , avc1.77.30, mp4a.40.2
HTTP-HLS-SD-693   mp4        512x288     693k , avc1.77.30, mp4a.40.2
HTTP-HLS-HD-1325  mp4        640x360    1325k , avc1.77.30, mp4a.40.2
HTTP-HLS-SD-1325  mp4        640x360    1325k , avc1.77.30, mp4a.40.2
HTTP-HLS-HD-2125  mp4        960x544    2125k , avc1.77.30, mp4a.40.2
HTTP-HLS-HD-3626  mp4        1280x720   3626k , avc1.77.30, mp4a.40.2
HTTP-SD           mp4        unknown    
HTTP-HD           mp4        unknown    (best)

The logs are the same, this should not be the case!

Furthermore, it would be nice to have subtitle support, since almost all [srgssr] videos provide them.

I am working on solving these issues, you can expect a pull request soon.

@enigmaquip
Copy link
Contributor

subtitles should be pretty easy to add, they're are the end of the json metadata

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

No branches or pull requests

2 participants