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

下载视频后视频乱码 #44

Closed
nianwu opened this issue Jul 14, 2021 · 3 comments
Closed

下载视频后视频乱码 #44

nianwu opened this issue Jul 14, 2021 · 3 comments

Comments

@nianwu
Copy link

nianwu commented Jul 14, 2021

m3u8地址: https://dh5.cntv.lxdns.com/asp/h5e/hls/1200/0303000a/3/default/b7a1d4a8c0c24322b945d9d75bec3ee6/1200.m3u8

@Momo707577045
Copy link
Owner

初步估计是该视频做了定制化加密,导致视频不可用

@nianwu
Copy link
Author

nianwu commented Jan 28, 2022

应该不是视频加密所致
我这样试过:
使用 ffmpeg 下载 m3u8文件地址 , 合并出来的文件是可以正常播放的
使用 ffmpeg 下载 其中的 1200m3u8文件 合并出来无法播放

我看到其他的 issue 中也提到了, 不支持如下格式:

#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=460800, RESOLUTION=480x270
/asp/hls/450/0303000a/3/default/34c76df444bf4812b39f542c09ff481f/450.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=870400, RESOLUTION=640x360
/asp/hls/850/0303000a/3/default/34c76df444bf4812b39f542c09ff481f/850.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=1228800, RESOLUTION=1280x720
/asp/hls/1200/0303000a/3/default/34c76df444bf4812b39f542c09ff481f/1200.m3u8

既然 ffmpg 可以合并出来 可以播放的视频, 那么应该不是加密导致
@Momo707577045

@Momo707577045
Copy link
Owner

收到,感谢反馈,问题我记录一下,晚点看看

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants