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

[Error] No duration when downloading from periscope #19220

Closed
NewCTwo opened this issue Feb 13, 2019 · 5 comments
Closed

[Error] No duration when downloading from periscope #19220

NewCTwo opened this issue Feb 13, 2019 · 5 comments

Comments

@NewCTwo
Copy link

@NewCTwo NewCTwo commented Feb 13, 2019

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2019.02.08. 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 2019.02.08

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
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

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

So my issue is pretty simple: The duration tag returns NA when I try to download a periscope stream.

Output:

me@me:~$ youtube-dl -v -s -i --get-filename -o '%(title)s_%(resolution)s_%(duration)s.%(ext)s'  https://www.pscp.tv/w/1rmxPQmPmVbKN?q=boxing
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'-s', u'-i', u'--get-filename', u'-o', u'%(title)s_%(resolution)s_%(duration)s.%(ext)s', u'https://www.pscp.tv/w/1rmxPQmPmVbKN?q=boxing']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.02.08
[debug] Python version 2.7.15rc1 (CPython) - Linux-4.15.0-45-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.4, ffprobe 3.4.4
[debug] Proxy map: {}
[debug] Default format spec: bestvideo+bestaudio/best
Brian P. Hickey - Grays Ferry Boxing Club_NA_NA.mp4
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 13, 2019

No duration is provided as metadata.

@dstftw dstftw closed this Feb 13, 2019
@NewCTwo
Copy link
Author

@NewCTwo NewCTwo commented Feb 13, 2019

How do I get that metadata into the output?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 13, 2019

You can't. I've already pointed out it does not exist.

@NewCTwo
Copy link
Author

@NewCTwo NewCTwo commented Feb 13, 2019

It exists on the website:
screenshot1

Should this be a feature request?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 13, 2019

So what? Again: it's not provided as metadata. Download the video and extract duration with ffmpeg.

@ytdl-org ytdl-org locked and limited conversation to collaborators Feb 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.