Posts

Showing posts with the label youtube-dl

Youtube-dl error: invalid literal for int() with base 10: '7766645.83333'

Youtube-dl error: invalid literal for int() with base 10: '7766645.83333' I am trying to download a video from an .mpd file and I'm getting the following error: ValueError: invalid literal for int() with base 10: '7766645.83333' ValueError: invalid literal for int() with base 10: '7766645.83333' When I look in the .mpd file, it has these <S> elements, some of them containing the float. <S> <S t="636000000" d="6000000"/> <S t="642000000" d="6000000"/> <S t="648000000" d="7766645.83333"/> The program seems to have a problem with d being a float. However if the segments are displayed like so: d <SegmentURL media="segment-1.m4s"/> <SegmentURL media="segment-2.m4s"/> <SegmentURL media="segment-3.m4s"/> Then there is no issue. Is there a workaround for this? Is there a way I can convert this .mpd file to a format that youtube-...