Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 11-07-2016, 08:55 PM
anctop anctop is offline
Junior Member
 
Join Date: Mar 2015
Posts: 15
anctop is on a distinguished road
Default

seek help in using rtmpdump


Hi,

I'd like to ask a question about choosing high resolution streams in downloading with rtmpdump.

Currently I'm using a front-end called "RTMPDumpHelper" (on Windows) for downloading, but the problem is that it can only grab the default "medium" quality.

For example, when I try to get the video from "http://mytv.tvb.com/news/pearlnewsat730/280569", the RTMPDumpHelper log shows the command :

Code:
rtmpdump -r "rtmpe://wowza.stream.tvb.com:1935/vipo/_definst_/mp4:vipo/mytvsuper9/9075/907432/000001224887.mp4" -a "vipo/_definst_/mp4:vipo/mytvsuper9/9075/907432/000001224887.mp4?ts=1478571730" -f "WIN 19,0,0,185" -W "http://img.tvb.com/mytv4/swf/supertv_r2-1.swf" -p "http://mytv.tvb.com/tc/cat_news/pearlnewsat730/280569" -C S:vipo/mytvsuper9/9075/907432/000001224887.mp4 -C S:1478571730 -C S:2eda1421de91f1b5714878600dfdb195 -y "mp4:vipo/mytvsuper9/9075/907432/000001224887.mp4" -o "2016-11-08_10-22-34_000001224887.flv"
If I force change to high quality during playback and drag the slidebar back to the beginning, then the resultant .flv is broken.

By using network sniffers, I find the "json" file ("http://api.mytv.tvb.com/rest_user_su...json?id=280569") which contains the URL's for all resolutions :

Code:
{"profiles":{"low":{"Cantonese":"rtmpe:\/\/wowza.stream.tvb.com\/vipo\/_definst_\/mp4:vipo\/mytvsuper9\/9075\/907432\/000001224886.mp4?ts=1478571730&sig=57b6141921f6d43da085623e89655768&audioindex=0"},"high":{"Cantonese":"rtmpe:\/\/wowza.stream.tvb.com\/vipo\/_definst_\/mp4:vipo\/mytvsuper9\/9075\/907432\/000001224887.mp4?ts=1478571730&sig=2eda1421de91f1b5714878600dfdb195&audioindex=0"},"hd":{"Cantonese":"rtmpe:\/\/wowza.stream.tvb.com\/vipo\/_definst_\/mp4:vipo\/mytvsuper9\/9075\/907432\/000001224889.mp4?ts=1478571730&sig=b25144ffb5782d45556c33b989bfb299&audioindex=0"},"auto":{"Cantonese":"rtmpe:\/\/wowza.stream.tvb.com\/vipo\/_definst_\/mp4:vipo\/mytvsuper9\/9075\/907432\/907432_mobile_auto.mp4?ts=1478571730&sig=968e91e2f550737fbbeb13e036c6e29f&audioindex=0"}},"is_drm":false,"protocol":"hls","breakpoints":[{"id":309792,"video_id":280569,"time":716.52,"created_at":"2016-11-04 17:04:15","updated_at":"2016-11-07 20:59:16"},{"id":309811,"video_id":280569,"time":851.16,"created_at":"2016-11-04 17:04:15","updated_at":"2016-11-07 22:15:07"}],"opening_start_at":["0"],"subtitle":{},"is_pay":0,"duration":1152.36,"chapters":[]}
The URL of the desired stream should be :

"rtmpe://wowza.stream.tvb.com/vipo/_definst_/mp4:vipo/mytvsuper9/9075/907432/000001224889.mp4?ts=1478571730&sig=b25144ffb5782d4 5556c33b989bfb299&audioindex=0"

I tried to invoke the rtmpdump command directly, but fail :

Code:
RTMPDump v2.4 GIT-2014-03-02 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: Trying different position for server digest!
INFO: Connected...
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
Could someone kindly suggests a solution ?

Thanks in advance.
Reply With Quote
Reply Post New Thread
Tags:



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 04:28 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons