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

ValueError: invalid literal for int() with base 10: '5994666.666666' #16876

Closed
romelako opened this issue Jun 30, 2018 · 1 comment
Closed

ValueError: invalid literal for int() with base 10: '5994666.666666' #16876

romelako opened this issue Jun 30, 2018 · 1 comment
Labels

Comments

@romelako
Copy link

@romelako romelako commented Jun 30, 2018

  • I've verified and I assure that I'm running youtube-dl 2018.06.25
  • 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

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '< url omitted >']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.06.25
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17134
[debug] exe versions: none
[debug] Proxy map: {}
[generic] manifest-167330494-1530380469: Requesting header
WARNING: Falling back on generic information extractor.
[generic] manifest-167330494-1530380469: Downloading webpage
[generic] manifest-167330494-1530380469: Extracting information
Traceback (most recent call last):
  File "__main__.py", line 19, in <module>
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpkc931nsv\build\youtube_dl\__init__.py", line 472, in main
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpkc931nsv\build\youtube_dl\__init__.py", line 462, in _real_main
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpkc931nsv\build\youtube_dl\YoutubeDL.py", line 2001, in download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpkc931nsv\build\youtube_dl\YoutubeDL.py", line 792, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpkc931nsv\build\youtube_dl\extractor\common.py", line 501, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpkc931nsv\build\youtube_dl\extractor\generic.py", line 2330, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpkc931nsv\build\youtube_dl\extractor\common.py", line 2106, in _parse_mpd_formats
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpkc931nsv\build\youtube_dl\extractor\common.py", line 2039, in extract_multisegment_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpkc931nsv\build\youtube_dl\extractor\common.py", line 2011, in extract_common
ValueError: invalid literal for int() with base 10: '5994666.666666'

It appears that the program is trying to cast 5994666.666666 to an int. Here is a snippet of the .mpd:

<SegmentTemplate timescale="1000000" initialization="segment-0.mp4" media="segment-$Number$.m4s">
    <SegmentTimeline>
        <S t="0" d="5994666.666666"/>
        <S t="5994666.6666667" d="6016000"/>
        <S t="12010666.666667" d="5994666.666666"/>
        <S t="18005333.333333" d="5994666.666667"/>
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 30, 2018

Post the original manifest URL.

@dstftw dstftw closed this Jun 30, 2018
@dstftw dstftw added the incomplete label Jun 30, 2018
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.