Path='d: \ \ video \ \'
Filename='test. Mp4'
- c='ffmpeg download_m3u8 -i % s//copy % s % s' % (video_link, path and filename)
OS. The system (download_m3u8)
When video_link for http://... M3u8 address pull flow can normal and normal play
When video_link for http://... M3u8? Maxbr=2048 & amp; Contentid=15120519184043 such arguments address pull flow failure
Remove '? 'parameters when pull flow behind the success, but the file can't normal decoding
Such as the address: http://dh5.cntv.baishancdnx.cn/asp/h5e/hls/main/0303000a/3/default/10c34bc77200423e98c3f576e21f5a21/main.m3u8? Maxbr=2048 & amp; Contentid=15120519184043
Please prawns advice,
CodePudding user response:
On both sides of the link to add double quotation marks, give back to save the best path also quotes.