PDA

View Full Version : TG4 Player brightcove video download


buicead
07-30-2015, 10:31 AM
Domhan an Dúlra, Series 1, Episode 3

http://tg4.tv/play.php?pid=4362252586001&title=Domhan%20an%20D%C3%BAlra&series=Domhan%20an%20D%C3%BAlra

Using https://admin.brightcove.com/viewer/BrightcoveDebugger.html

From rtmp://cp156323.edgefcs.net/ondemand/mp4/videos/1290862567001/201507/326/1290862567001_4362336485001_4362252586001.mp4
I get:
https://tgfour.brightcove.com.edgesuite.net/rtmp_uds/1290862567001/201507/326/1290862567001_4362336485001_4362252586001.mp4 720x394 video

which can be downloaded over HTTPS.

However,

Domhan an Dúlra, Series 1, Episode 2

http://tg4.tv/play.php?pid=4350560494001&title=Domhan%20an%20D%C3%BAlra&series=Domhan%20an%20D%C3%BAlra

From
rtmp://cp201884.edgefcs.net/ondemand/mp4/videos/1290862567001/1290862567001_4350653525001_4350560494001.mp4
I get
https://tgfour.brightcove.com.edgesuite.net/rtmp_uds/1290862567001/1290862567001_4350653525001_4350560494001.mp4 no video

which does not work.

Using the videoId from rtmpt://cp201884.edgefcs.net:80/ondemand?videoId=4350560494001&lineUpId=&pubId=1290862567001&playerId=3400194480001&affiliateId=
I get:
https://c.brightcove.com/services/mobile/streaming/index/master.m3u8?videoId=4350560494001

which give a file containing:

#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=240000,RESOLUTION=280x152
http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=4350650493001&videoId=4350560494001
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=440000,RESOLUTION=280x152
http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=4350654335001&videoId=4350560494001
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1197000,RESOLUTION=672x368
http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=4350653531001&videoId=4350560494001


The last link http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=4350653531001&videoId=4350560494001 which is for the 672x368 video gives a file containing:


#EXTM3U
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:11,
https://tgfour-a.akamaihd.net/pd//1290862567001/201507/861/4350653531001/1290862567001_4350653531001_s-1.ts?videoId=4350560494001
#EXTINF:10,
https://tgfour-a.akamaihd.net/pd//1290862567001/201507/861/4350653531001/1290862567001_4350653531001_s-2.ts?videoId=4350560494001
#EXTINF:10,
https://tgfour-a.akamaihd.net/pd//1290862567001/201507/861/4350653531001/1290862567001_4350653531001_s-3.ts?videoId=4350560494001

[snip]

#EXTINF:10,
https://tgfour-a.akamaihd.net/pd//1290862567001/201507/861/4350653531001/1290862567001_4350653531001_s-301.ts?videoId=4350560494001
#EXTINF:10,
https://tgfour-a.akamaihd.net/pd//1290862567001/201507/861/4350653531001/1290862567001_4350653531001_s-302.ts?videoId=4350560494001
#EXTINF:6,
https://tgfour-a.akamaihd.net/pd//1290862567001/201507/861/4350653531001/1290862567001_4350653531001_s-303.ts?videoId=4350560494001
#EXT-X-ENDLIST


These are links to mp4 files which then can be concatenated to give the video file. However, this method only gives the 672x368 video at best.

Is it possible to download the 720x394 version of this video using HTTP or HTTPS which I know exists since my browser shows the 720x394 video (which is delivered through port 80 or 443)?

(I cannot use rtmpdump (https://rtmpdump.mplayerhq.hu/) to download rtmp://cp201884.edgefcs.net/ondemand/mp4/videos/1290862567001/1290862567001_4350653525001_4350560494001.mp4 because rtmpdump does not support a HTTP proxy.)

stinkfoot
07-30-2015, 01:26 PM
Domhan an Dúlra, Series 1, Episode 2

http://tg4.tv/play.php?pid=4350560494001&title=Domhan%20an%20D%C3%BAlra&series=Domhan%20an%20D%C3%BAlra

From
rtmp://cp201884.edgefcs.net/ondemand/mp4/videos/1290862567001/1290862567001_4350653525001_4350560494001.mp4
I get
https://tgfour.brightcove.com.edgesuite.net/rtmp_uds/1290862567001/1290862567001_4350653525001_4350560494001.mp4 no video

which does not work.

yes work. you having making typo error.

http://tg4.uds.ak.o.brightcove.com.edgesuite.net/1290862567001/1290862567001_4350653525001_4350560494001.mp4

buicead
07-30-2015, 01:31 PM
Thanks very much.

How did you get the URL http://tg4.uds.ak.o.brightcove.com.edgesuite.net/1290862567001/1290862567001_4350653525001_4350560494001.mp4

stinkfoot
07-30-2015, 01:34 PM
it yes being sent html5 mode or when setting user agent android.

buicead
07-30-2015, 01:44 PM
Thanks very much.

How did you ensure that you got the 720x394 video when you visited the webpage.

stinkfoot
07-30-2015, 02:29 PM
can you typing you message using more words? no being sure. it yes giving all one same time. no making problem of which one being playing.

{"audioOnly":false,"defaultURL":"http:\/\/tg4.uds.ak.o.brightcove.com.edgesuite.net\/1290862567001\/1290862567001_4350653512001_4350560494001.mp4","encodingRate":800000,"frameHeight":328,"frameWidth":600,"mediaDeliveryType":1,"remote":false,"size":306737041,"videoCodec":"H264","videoContainer":1},
{"audioOnly":false,"defaultURL":"http:\/\/tg4.uds.ak.o.brightcove.com.edgesuite.net\/1290862567001\/1290862567001_4350650474001_4350560494001.mp4","encodingRate":318956,"frameHeight":204,"frameWidth":372,"mediaDeliveryType":1,"remote":false,"size":122951558,"videoCodec":"H264","videoContainer":1},
{"audioOnly":false,"defaultURL":"http:\/\/tg4.uds.ak.o.brightcove.com.edgesuite.net\/1290862567001\/1290862567001_4350654088001_4350560494001.mp4","encodingRate":1183970,"frameHeight":368,"frameWidth":672,"mediaDeliveryType":1,"remote":false,"size":452927241,"videoCodec":"H264","videoContainer":1},
{"audioOnly":false,"defaultURL":"http:\/\/tg4.uds.ak.o.brightcove.com.edgesuite.net\/1290862567001\/1290862567001_4350650506001_4350560494001.mp4","encodingRate":499995,"frameHeight":246,"frameWidth":448,"mediaDeliveryType":1,"remote":false,"size":191914645,"videoCodec":"H264","videoContainer":1},
{"audioOnly":false,"defaultURL":"http:\/\/tg4.uds.ak.o.brightcove.com.edgesuite.net\/1290862567001\/1290862567001_4350654308001_4350560494001.mp4","encodingRate":148745,"frameHeight":204,"frameWidth":372,"mediaDeliveryType":1,"remote":false,"size":57507277,"videoCodec":"H264","videoContainer":1},
{"audioOnly":false,"defaultURL":"http:\/\/tg4.uds.ak.o.brightcove.com.edgesuite.net\/1290862567001\/1290862567001_4350653525001_4350560494001.mp4","encodingRate":1783970,"frameHeight":394,"frameWidth":720,"mediaDeliveryType":1,"remote":false,"size":681304041,"videoCodec":"H264","videoContainer":1}


yes this ant video being much frightening. we being doom when this ant attacking us.

buicead
08-04-2015, 10:43 AM
Can you type your message using more words? I am not sure. Yes, these all give the same one each time. There is no problem playing any of them.

{"audioOnly":false,"defaultURL":"http:\/\/tg4.uds.ak.o.brightcove.com.edgesuite.net\/1290862567001\/1290862567001_4350653512001_4350560494001.mp4","encodingRate":800000,"frameHeight":328,"frameWidth":600,"mediaDeliveryType":1,"remote":false,"size":306737041,"videoCodec":"H264","videoContainer":1},
{"audioOnly":false,"defaultURL":"http:\/\/tg4.uds.ak.o.brightcove.com.edgesuite.net\/1290862567001\/1290862567001_4350650474001_4350560494001.mp4","encodingRate":318956,"frameHeight":204,"frameWidth":372,"mediaDeliveryType":1,"remote":false,"size":122951558,"videoCodec":"H264","videoContainer":1},
{"audioOnly":false,"defaultURL":"http:\/\/tg4.uds.ak.o.brightcove.com.edgesuite.net\/1290862567001\/1290862567001_4350654088001_4350560494001.mp4","encodingRate":1183970,"frameHeight":368,"frameWidth":672,"mediaDeliveryType":1,"remote":false,"size":452927241,"videoCodec":"H264","videoContainer":1},
{"audioOnly":false,"defaultURL":"http:\/\/tg4.uds.ak.o.brightcove.com.edgesuite.net\/1290862567001\/1290862567001_4350650506001_4350560494001.mp4","encodingRate":499995,"frameHeight":246,"frameWidth":448,"mediaDeliveryType":1,"remote":false,"size":191914645,"videoCodec":"H264","videoContainer":1},
{"audioOnly":false,"defaultURL":"http:\/\/tg4.uds.ak.o.brightcove.com.edgesuite.net\/1290862567001\/1290862567001_4350654308001_4350560494001.mp4","encodingRate":148745,"frameHeight":204,"frameWidth":372,"mediaDeliveryType":1,"remote":false,"size":57507277,"videoCodec":"H264","videoContainer":1},
{"audioOnly":false,"defaultURL":"http:\/\/tg4.uds.ak.o.brightcove.com.edgesuite.net\/1290862567001\/1290862567001_4350653525001_4350560494001.mp4","encodingRate":1783970,"frameHeight":394,"frameWidth":720,"mediaDeliveryType":1,"remote":false,"size":681304041,"videoCodec":"H264","videoContainer":1}



When I play the video, the developer tools give

http://c.brightcove.com/services/json/player/media/?command=find_media_by_id&playerKey=AQ~~,AAABLI1nnlk~,0ZsOdcYbRQ9fTBjTFPfEQx XVtBDrRK_N&id=4350560494001&pubId=1290862567001

which gives

{"audioOnly":false,"defaultURL":"http:\/\/tg4.uds.ak.o.brightcove.com.edgesuite.net\/1290862567001\/1290862567001_4350653525001_4350560494001.mp4","encodingRate":1783970,"frameHeight":394,"frameWidth":720,"mediaDeliveryType":1,"remote":false,"size":681304041,"videoCodec":"H264","videoContainer":1}

http://tg4.uds.ak.o.brightcove.com.edgesuite.net/1290862567001/1290862567001_4350653525001_4350560494001.mp4

which is the 720x394 video.


Yes, this ant video is very frightening. We are doomed when these ants attack us.

Ha, ha, ha. Thanks very much for your help.