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'
When I look in the .mpd file, it has these <S>
elements, some of them containing the float.
<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:
<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-dl can handle. I am currently using the 2018.06.25 version of youtube-dl.