PDA

View Full Version : Help grabbing CCTV, VTV one and TVBS news


Chemist925
02-18-2015, 03:35 AM
Hello im trying to grab these channels but i cant. Can anybody give to me a link for rtmpdump and/or ffmpeg?.

CCTV one
http://tv.cntv.cn/live/cctv1

if that from above doesnt work, this is an alternate.
http://tv.cntv.cn/live/cctv1/?pt=380K

VTV one

http://www.vtc.com.vn/live/9/VTV1.html

TVBS news

http://tv.itver.cc/tvbs-news/#tabs-56-0-1
It doesnt play automatically you need to click play button first.

Thanks in advance.

hasomaso
02-18-2015, 03:57 AM
CCTV1
ffmpeg -i "http://ak.live.cntv.cn/i/cctv1_1@108430/master.m3u8?AUTH=ip%%3D91.89.215.90%%7Est%%3D14242 55649%%7Eexp%%3D1424342049%%7Eacl%%3D%%2F*%%7Ehmac %%3D3de9e1850971d6f9342529942360557b6b289d809e49d8 0c648ef341381cb587&hdcore=2.11.3&g=QLTWEKHAYGBR" -c:v copy -c:a copy -fmpegts cctv1.flv


VTV One
ffmpeg -i "http://digicom.live-s.cdn.bitgravity.com/cdn-live//_definst_/digicom/live/vtv11/playlist.m3u8" -c:v copy -c:a copy -f mpegts vtvone.flv


TVBS News
rtmpdump -v -r "rtmp://kv3.ts33.net:1935/tv/" -a "tv/" -f "WIN 16,0,0,305" -W "http://p.jwpcdn.com/6/11/jwplayer.flash.swf" -p"http://tv.itver.cc/tvbs-news/#tabs-56-0-1" -y "ttv14" -o "tvbs_news.flv"

Chemist925
02-18-2015, 04:47 AM
CCTV1
ffmpeg -i "http://ak.live.cntv.cn/i/cctv1_1@108430/master.m3u8?AUTH=ip%%3D91.89.215.90%%7Est%%3D14242 55649%%7Eexp%%3D1424342049%%7Eacl%%3D%%2F*%%7Ehmac %%3D3de9e1850971d6f9342529942360557b6b289d809e49d8 0c648ef341381cb587&hdcore=2.11.3&g=QLTWEKHAYGBR" -c:v copy -c:a copy -fmpegts cctv1.flv


VTV One
ffmpeg -i "http://digicom.live-s.cdn.bitgravity.com/cdn-live//_definst_/digicom/live/vtv11/playlist.m3u8" -c:v copy -c:a copy -f mpegts vtvone.flv


TVBS News
rtmpdump -v -r "rtmp://kv3.ts33.net:1935/tv/" -a "tv/" -f "WIN 16,0,0,305" -W "http://p.jwpcdn.com/6/11/jwplayer.flash.swf" -p"http://tv.itver.cc/tvbs-news/#tabs-56-0-1" -y "ttv14" -o "tvbs_news.flv"

Can you please check up the code for CCTV 1? it is not working.

i got the error telling me Conversion failed. Btw i fixed the part fmpegts i wrote it the way it should as f mpegts but i dont think that is the problem. could you please provide link for the alternate link?.

thanks in advance, the rest you provided is working fine.

hasomaso
02-18-2015, 05:25 AM
Bro CCTV1 works fine look pic!!!
you can try and remove one % from all to code
i run this under cmd with batch file

trying this
ffmpeg -i "http://ak.live.cntv.cn/i/cctv1_1@108430/master.m3u8?AUTH=ip%3D91.89.215.90%7Est%3D14242556 49%7Eexp%3D1424342049%7Eacl%3D%2F*%7Ehmac%3D3de9e1 850971d6f9342529942360557b6b289d809e49d80c648ef341 381cb587&hdcore=2.11.3&g=QLTWEKHAYGBR" -c:v copy -c:a copy -fmpegts cctv1.flv

http://i.imgur.com/Q7XmYuZ.png

http://i.imgur.com/c8ywGHW.jpg

Chemist925
02-18-2015, 05:50 AM
Bro CCTV1 works fine look pic!!!
you can try and remove one % from all to code
i run this under cmd with batch file

trying this
ffmpeg -i "http://ak.live.cntv.cn/i/cctv1_1@108430/master.m3u8?AUTH=ip%3D91.89.215.90%7Est%3D14242556 49%7Eexp%3D1424342049%7Eacl%3D%2F*%7Ehmac%3D3de9e1 850971d6f9342529942360557b6b289d809e49d80c648ef341 381cb587&hdcore=2.11.3&g=QLTWEKHAYGBR" -c:v copy -c:a copy -fmpegts cctv1.flv

http://i.imgur.com/Q7XmYuZ.png

http://i.imgur.com/c8ywGHW.jpg

I did what you said but i got this error
http://i.imgur.com/RbUzgkK.jpg

, i dont know why because i removed all the additional % from the code just as you, can you please post the code for the alternate link? i mean this http://tv.cntv.cn/live/cctv1/?pt=380K

thanks in advance.

hasomaso
02-18-2015, 06:43 AM
here is the code from alternate link

.m3u8
http://ak.live.cntv.cn/i/cctv1_1@108430/master.m3u8?AUTH=ip%%3D91.89.215.90%%7Est%%3D14242 64108%%7Eexp%%3D1424350508%%7Eacl%%3D%%2F*%%7Ehmac %%3D0dbcd2aa10c0a21ed6d2219fbc319e362e63da194d272f e298848b58b689e55d&hdcore=2.11.3&g=ZTVMFJNJNRMV

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


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


also available in different resolutions
#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%7E exp%3D1424350508%7Eacl%3D%2F*%7Ehmac%3D0dbcd2aa10c 0a21ed6d2219fbc319e362e63da194d272fe298848b58b689e 55d&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%7E exp%3D1424350508%7Eacl%3D%2F*%7Ehmac%3D0dbcd2aa10c 0a21ed6d2219fbc319e362e63da194d272fe298848b58b689e 55d&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%7E exp%3D1424350508%7Eacl%3D%2F*%7Ehmac%3D0dbcd2aa10c 0a21ed6d2219fbc319e362e63da194d272fe298848b58b689e 55d&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%7E exp%3D1424350508%7Eacl%3D%2F*%7Ehmac%3D0dbcd2aa10c 0a21ed6d2219fbc319e362e63da194d272fe298848b58b689e 55d&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%7E exp%3D1424350508%7Eacl%3D%2F*%7Ehmac%3D0dbcd2aa10c 0a21ed6d2219fbc319e362e63da194d272fe298848b58b689e 55d&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%7E exp%3D1424350508%7Eacl%3D%2F*%7Ehmac%3D0dbcd2aa10c 0a21ed6d2219fbc319e362e63da194d272fe298848b58b689e 55d&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%7E exp%3D1424350508%7Eacl%3D%2F*%7Ehmac%3D0dbcd2aa10c 0a21ed6d2219fbc319e362e63da194d272fe298848b58b689e 55d&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%7E exp%3D1424350508%7Eacl%3D%2F*%7Ehmac%3D0dbcd2aa10c 0a21ed6d2219fbc319e362e63da194d272fe298848b58b689e 55d&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%7E exp%3D1424350508%7Eacl%3D%2F*%7Ehmac%3D0dbcd2aa10c 0a21ed6d2219fbc319e362e63da194d272fe298848b58b689e 55d&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%7E exp%3D1424350508%7Eacl%3D%2F*%7Ehmac%3D0dbcd2aa10c 0a21ed6d2219fbc319e362e63da194d272fe298848b58b689e 55d&sd=10&rebase=on



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

...or you can also download with hdsdump

hdsdump
hdsdump --manifest "http://ak.live.cntv.cn/z/cctv1_1@108430/manifest.f4m?AUTH=ip%%3D91.89.215.90%%7Est%%3D1424 264108%%7Eexp%%3D1424350508%%7Eacl%%3D%%2F*%%7Ehma c%%3D0dbcd2aa10c0a21ed6d2219fbc319e362e63da194d272 fe298848b58b689e55d&hdcore=2.11.3&g=ZTVMFJNJNRMV"

http://i.imgur.com/RS4oUdH.png

Chemist925
02-18-2015, 07:01 AM
here is the code from alternate link

.m3u8
http://ak.live.cntv.cn/i/cctv1_1@108430/master.m3u8?AUTH=ip%%3D91.89.215.90%%7Est%%3D14242 64108%%7Eexp%%3D1424350508%%7Eacl%%3D%%2F*%%7Ehmac %%3D0dbcd2aa10c0a21ed6d2219fbc319e362e63da194d272f e298848b58b689e55d&hdcore=2.11.3&g=ZTVMFJNJNRMV

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


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


also available in different resolutions
#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%7E exp%3D1424350508%7Eacl%3D%2F*%7Ehmac%3D0dbcd2aa10c 0a21ed6d2219fbc319e362e63da194d272fe298848b58b689e 55d&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%7E exp%3D1424350508%7Eacl%3D%2F*%7Ehmac%3D0dbcd2aa10c 0a21ed6d2219fbc319e362e63da194d272fe298848b58b689e 55d&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%7E exp%3D1424350508%7Eacl%3D%2F*%7Ehmac%3D0dbcd2aa10c 0a21ed6d2219fbc319e362e63da194d272fe298848b58b689e 55d&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%7E exp%3D1424350508%7Eacl%3D%2F*%7Ehmac%3D0dbcd2aa10c 0a21ed6d2219fbc319e362e63da194d272fe298848b58b689e 55d&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%7E exp%3D1424350508%7Eacl%3D%2F*%7Ehmac%3D0dbcd2aa10c 0a21ed6d2219fbc319e362e63da194d272fe298848b58b689e 55d&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%7E exp%3D1424350508%7Eacl%3D%2F*%7Ehmac%3D0dbcd2aa10c 0a21ed6d2219fbc319e362e63da194d272fe298848b58b689e 55d&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%7E exp%3D1424350508%7Eacl%3D%2F*%7Ehmac%3D0dbcd2aa10c 0a21ed6d2219fbc319e362e63da194d272fe298848b58b689e 55d&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%7E exp%3D1424350508%7Eacl%3D%2F*%7Ehmac%3D0dbcd2aa10c 0a21ed6d2219fbc319e362e63da194d272fe298848b58b689e 55d&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%7E exp%3D1424350508%7Eacl%3D%2F*%7Ehmac%3D0dbcd2aa10c 0a21ed6d2219fbc319e362e63da194d272fe298848b58b689e 55d&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%7E exp%3D1424350508%7Eacl%3D%2F*%7Ehmac%3D0dbcd2aa10c 0a21ed6d2219fbc319e362e63da194d272fe298848b58b689e 55d&sd=10&rebase=on



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

...or you can also download with hdsdump

hdsdump
hdsdump --manifest "http://ak.live.cntv.cn/z/cctv1_1@108430/manifest.f4m?AUTH=ip%%3D91.89.215.90%%7Est%%3D1424 264108%%7Eexp%%3D1424350508%%7Eacl%%3D%%2F*%%7Ehma c%%3D0dbcd2aa10c0a21ed6d2219fbc319e362e63da194d272 fe298848b58b689e55d&hdcore=2.11.3&g=ZTVMFJNJNRMV"

http://i.imgur.com/RS4oUdH.png

Hey pal, i tried all those but failed, i got this error even with hdsdump. http://i.imgur.com/QjUBfYN.png

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.