Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
seek help in using rtmpdumpHi,
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" 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":[]} "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 Thanks in advance. |
Tags: high resolution rtmpdump |
Thread Tools | |
Display Modes | |
|
|