View Single Post
  #7  
Old 02-18-2015, 07:01 AM
Chemist925 Chemist925 is offline
Senior Member
 
Join Date: May 2014
Posts: 138
Chemist925 is on a distinguished road
Default

Re: Help grabbing CCTV, VTV one and TVBS news


Quote:
Originally Posted by hasomaso View Post
here is the code from alternate link

.m3u8
Code:
http://ak.live.cntv.cn/i/cctv1_1@108430/master.m3u8?AUTH=ip%%3D91.89.215.90%%7Est%%3D1424264108%%7Eexp%%3D1424350508%%7Eacl%%3D%%2F*%%7Ehmac%%3D0dbcd2aa10c0a21ed6d2219fbc319e362e63da194d272fe298848b58b689e55d&hdcore=2.11.3&g=ZTVMFJNJNRMV
ffmpeg download
Code:
ffmpeg -i "http://ak.live.cntv.cn/i/cctv1_1@108430/master.m3u8?AUTH=ip%%3D91.89.215.90%%7Est%%3D1424264108%%7Eexp%%3D1424350508%%7Eacl%%3D%%2F*%%7Ehmac%%3D0dbcd2aa10c0a21ed6d2219fbc319e362e63da194d272fe298848b58b689e55d&hdcore=2.11.3&g=ZTVMFJNJNRMV" -c:v copy -c:a copy -f mpegts cctv1_alternate.flv

alternate ffmpeg download
Code:
ffmpeg -i "http://ak.live.cntv.cn/i/cctv1_1@108430/master.m3u8?AUTH=ip%%3D91.89.215.90%%7Est%%3D1424264108%%7Eexp%%3D1424350508%%7Eacl%%3D%%2F*%%7Ehmac%%3D0dbcd2aa10c0a21ed6d2219fbc319e362e63da194d272fe298848b58b689e55d&hdcore=2.11.3&g=ZTVMFJNJNRMV" -c:v copy -c:a copy -f mpegts cctv1_alternate2.ts

also available in different resolutions
HTML Code:
#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=175000,RESOLUTION=320x180,CODECS="avc1.66.30, mp4a.40.2"
http://ak.live.cntv.cn/i/cctv1_1@108430/index_200_av-p.m3u8?AUTH=ip%3D91.89.215.90%7Est%3D1424264108%7Eexp%3D1424350508%7Eacl%3D%2F*%7Ehmac%3D0dbcd2aa10c0a21ed6d2219fbc319e362e63da194d272fe298848b58b689e55d&sd=10&rebase=on


#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=182000,RESOLUTION=320x180,CODECS="avc1.66.30, mp4a.40.2"
http://ak.live.cntv.cn/i/cctv1_1@108430/index_200_av-b.m3u8?AUTH=ip%3D91.89.215.90%7Est%3D1424264108%7Eexp%3D1424350508%7Eacl%3D%2F*%7Ehmac%3D0dbcd2aa10c0a21ed6d2219fbc319e362e63da194d272fe298848b58b689e55d&sd=10&rebase=on


#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=472000,RESOLUTION=720x406,CODECS="avc1.77.30, mp4a.40.2"
http://ak.live.cntv.cn/i/cctv1_1@108430/index_500_av-p.m3u8?AUTH=ip%3D91.89.215.90%7Est%3D1424264108%7Eexp%3D1424350508%7Eacl%3D%2F*%7Ehmac%3D0dbcd2aa10c0a21ed6d2219fbc319e362e63da194d272fe298848b58b689e55d&sd=10&rebase=on


#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=478000,RESOLUTION=720x406,CODECS="avc1.77.30, mp4a.40.2"
http://ak.live.cntv.cn/i/cctv1_1@108430/index_500_av-b.m3u8?AUTH=ip%3D91.89.215.90%7Est%3D1424264108%7Eexp%3D1424350508%7Eacl%3D%2F*%7Ehmac%3D0dbcd2aa10c0a21ed6d2219fbc319e362e63da194d272fe298848b58b689e55d&sd=10&rebase=on


#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=691000,RESOLUTION=960x540,CODECS="avc1.77.30, mp4a.40.2"
http://ak.live.cntv.cn/i/cctv1_1@108430/index_800_av-p.m3u8?AUTH=ip%3D91.89.215.90%7Est%3D1424264108%7Eexp%3D1424350508%7Eacl%3D%2F*%7Ehmac%3D0dbcd2aa10c0a21ed6d2219fbc319e362e63da194d272fe298848b58b689e55d&sd=10&rebase=on


#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=736000,RESOLUTION=960x540,CODECS="avc1.77.30, mp4a.40.2"
http://ak.live.cntv.cn/i/cctv1_1@108430/index_800_av-b.m3u8?AUTH=ip%3D91.89.215.90%7Est%3D1424264108%7Eexp%3D1424350508%7Eacl%3D%2F*%7Ehmac%3D0dbcd2aa10c0a21ed6d2219fbc319e362e63da194d272fe298848b58b689e55d&sd=10&rebase=on


#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1264000,RESOLUTION=1024x576,CODECS="avc1.77.30, mp4a.40.2"
http://ak.live.cntv.cn/i/cctv1_1@108430/index_1500_av-p.m3u8?AUTH=ip%3D91.89.215.90%7Est%3D1424264108%7Eexp%3D1424350508%7Eacl%3D%2F*%7Ehmac%3D0dbcd2aa10c0a21ed6d2219fbc319e362e63da194d272fe298848b58b689e55d&sd=10&rebase=on


#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1183000,RESOLUTION=1024x576,CODECS="avc1.77.30, mp4a.40.2"
http://ak.live.cntv.cn/i/cctv1_1@108430/index_1500_av-b.m3u8?AUTH=ip%3D91.89.215.90%7Est%3D1424264108%7Eexp%3D1424350508%7Eacl%3D%2F*%7Ehmac%3D0dbcd2aa10c0a21ed6d2219fbc319e362e63da194d272fe298848b58b689e55d&sd=10&rebase=on


#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=46000,CODECS="mp4a.40.2"
http://ak.live.cntv.cn/i/cctv1_1@108430/index_200_a-p.m3u8?AUTH=ip%3D91.89.215.90%7Est%3D1424264108%7Eexp%3D1424350508%7Eacl%3D%2F*%7Ehmac%3D0dbcd2aa10c0a21ed6d2219fbc319e362e63da194d272fe298848b58b689e55d&sd=10&rebase=on


#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=46000,CODECS="mp4a.40.2"
http://ak.live.cntv.cn/i/cctv1_1@108430/index_200_a-b.m3u8?AUTH=ip%3D91.89.215.90%7Est%3D1424264108%7Eexp%3D1424350508%7Eacl%3D%2F*%7Ehmac%3D0dbcd2aa10c0a21ed6d2219fbc319e362e63da194d272fe298848b58b689e55d&sd=10&rebase=on

#######################################

...or you can also download with hdsdump

hdsdump
Code:
hdsdump --manifest "http://ak.live.cntv.cn/z/cctv1_1@108430/manifest.f4m?AUTH=ip%%3D91.89.215.90%%7Est%%3D1424264108%%7Eexp%%3D1424350508%%7Eacl%%3D%%2F*%%7Ehmac%%3D0dbcd2aa10c0a21ed6d2219fbc319e362e63da194d272fe298848b58b689e55d&hdcore=2.11.3&g=ZTVMFJNJNRMV"
Hey pal, i tried all those but failed, i got this error even with hdsdump.

Maybe can you post a code for livestreamer or for rtmpdump?. sorry if i ask too much, its just odd that this link is only giving me a headache.
Reply With Quote