Hi,
I've read some articles in this forum about choosing high quality streams in downloading with rtmpdump.
Currently I'm using a front-end called "RTMPHelper" (on Windows) to download video streams, 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/tc/cat_lifestyle/braingames2/236859", the rtmpsuck console shows :
and the log file contains a lineCode:Processing connect app : vipo/_definst_/mp4:vipo/34/6758/675716/000000874154.mp4?ts=1455764386 flashVer : WIN 19,0,0,185 swfUrl : http://img.tvb.com/mytv4/swf/supertv_r2-1.swf?1455764376 tcUrl : rtmpe://wowza.stream.tvb.com:1935/vipo/_definst_/mp4:vipo/34/6758/675716/000000874154.mp4?ts=1455764386 pageUrl : http://mytv.tvb.com/tc/cat_lifestyle/braingames2/236859 WARNING: Trying different position for server digest! live : no Playpath : mp4:vipo/34/6758/675716/000000874154.mp4 Saving as : 2016-02-18_10-59-54_000000874154.flv WARNING: ignoring too small audio packet: size: 0 INFO: Metadata: INFO: trackinfo: INFO: language und INFO: timescale 90000.00 INFO: length 121546800.00 INFO: sampledescription: INFO: sampletype avc1 INFO: language und INFO: timescale 44100.00 INFO: length 59565056.00 INFO: sampledescription: INFO: sampletype mp4a INFO: language und INFO: timescale 44100.00 INFO: length 59565056.00 INFO: sampledescription: INFO: sampletype mp4a INFO: language und INFO: timescale 44100.00 INFO: length 59565056.00 INFO: sampledescription: INFO: sampletype mp4a INFO: language und INFO: timescale 44100.00 INFO: length 59565056.00 INFO: sampledescription: INFO: sampletype mp4a INFO: audiochannels 2.00 INFO: audiosamplerate 44100.00 INFO: videoframerate 25.00 INFO: aacaot 2.00 INFO: avclevel 31.00 INFO: avcprofile 77.00 INFO: audiocodecid mp4a INFO: videocodecid avc1 INFO: width 853.00 INFO: height 480.00 INFO: frameWidth 854.00 INFO: frameHeight 480.00 INFO: displayWidth 853.00 INFO: displayHeight 480.00 INFO: framerate 25.00 INFO: moovposition 146678113.00 INFO: duration 1350.68
Then I switch to high quality (1280x720) and drag the slidebar back to the beginning, the log file contains a further lineCode:rtmpdump -r "rtmpe://wowza.stream.tvb.com:1935/vipo/_definst_/mp4:vipo/34/6758/675716/000000874154.mp4" -a "vipo/_definst_/mp4:vipo/34/6758/675716/000000874154.mp4?ts=1455764386" -f "WIN 19,0,0,185" -W "http://img.tvb.com/mytv4/swf/supertv_r2-1.swf" -p "http://mytv.tvb.com/tc/cat_lifestyle/braingames2/236859" -C S:vipo/34/6758/675716/000000874154.mp4 -C S:1455764386 -C S:33d0b324e6866816d3bccedbdde4cfdf -y "mp4:vipo/34/6758/675716/000000874154.mp4" -o "2016-02-18_10-59-54_000000874154.flv"
and the resultant .flv is incomplete.Code:rtmpdump -r "rtmpe://wowza.stream.tvb.com:1935/vipo/_definst_/mp4:vipo/34/6758/675716/000000874154.mp4" -a "vipo/_definst_/mp4:vipo/34/6758/675716/000000874154.mp4?ts=1455764728" -f "WIN 19,0,0,185" -W "http://img.tvb.com/mytv4/swf/supertv_r2-1.swf" -p "http://mytv.tvb.com/tc/cat_lifestyle/braingames2/236859" -C S:vipo/34/6758/675716/000000874154.mp4 -C S:1455764728 -C S:7fe63e0fdde31b1886468d24c6c5208e --live -y "mp4:vipo/34/6758/675716/000000874156.mp4?audioindex=0" -o "2016-02-18_11-05-38_000000874156.flv"
I tried to execute the rtmpdump commands directly, but fail
Could someone suggest a solution ?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.
Support our site by donate $5 directly to us Thanks!!!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
		
			+ Reply to Thread
			
		
		
		
			
	
	
				Results 1 to 10 of 10
			
		- 
	
- 
	Thank you for your suggestion. 
 I've downloaded a copy in high quality mode, but the resultant .flv seems to have some synchronization problems :- When played with MPC-HC, the clip does not start normally. I have to move forward a distance, click "stop", then click "play" as usual.
- When played with VLC, the clip plays normally for a few seconds, then followed by seconds of garbage, then resumes normal playback.
- It cannot be edited (e.g with avidemux).
 
 Are they unavoidable for high quality downloads ?
 I use RTMPDumpHelper with FireFox 36.x. What tool did you use for downloading ?Last edited by anctop; 19th Feb 2016 at 03:09. 
- 
	
- 
	I've not heard about "hls" nor "hds". 
 
 Could you show me how to use tem to download the high quality version of the episode from http://mytv.tvb.com/tc/cat_lifestyle/braingames2/236859 ?Last edited by anctop; 19th Feb 2016 at 03:25. 
- 
	View json at 
 Note "hd" quality in listing ("ts=" and "sig=" values will be changed)Code:http://api.mytv.tvb.com/rest_user_subscription_api/video_path/format/json?id=236859 
 Add "ts=" and "sig=" values to hls urlCode:hd":{"Cantonese":"rtmpe://wowza.stream.tvb.com/vipo/_definst_/mp4:vipo/34/6758/675716/000000874156.mp4?ts=1455779331&sig=77e34e1e7713d952f51c7d27461cad26&audioindex=0
 Use livestreamer or ffmpeg with hls urlCode:http://streaming.tvb.com/vipo/_definst_/vipo/34/6758/675716/000000874156.mp4/playlist.m3u8?ts=xxxxxxxxxx&sig=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
 Code:livestreamer "hlsvariant://http://streaming.tvb.com/vipo/_definst_/vipo/34/6758/675716/000000874156.mp4/playlist.m3u8?ts=xxxxxxxxxx&sig=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" best -o output.ts Last edited by ponens; 19th Feb 2016 at 03:34. 
- 
	
- 
	ponens, many thanks for your help, I've finally fetched the clip. 
 
 I'm curious about how to find the two "magic" url's :
 
 What additional tools are required for their determination ?Code:http://api.mytv.tvb.com/rest_user_subscription_api/video_path/format/json?id=236859 http://streaming.tvb.com/vipo/_definst_/vipo/34/6758/675716/000000874156.mp4/playlist.m3u8?ts=xxxxxxxxxx&sig=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
- 
	Last edited by lolworld; 27th Sep 2016 at 14:55. 
Similar Threads
- 
  rtmpdump and spike tv helpBy blade2005 in forum Video Streaming DownloadingReplies: 8Last Post: 6th Dec 2014, 09:05
- 
  Can someone help? rtmpdumpBy erhan_1498 in forum Video Streaming DownloadingReplies: 3Last Post: 23rd Oct 2014, 22:54
- 
  Can someone help? rtmpdumpBy erhan_1498 in forum Video Streaming DownloadingReplies: 10Last Post: 13th May 2014, 15:51
- 
  RTMPdump QT 5.1By braders2 in forum ProgrammingReplies: 7Last Post: 6th Jan 2014, 17:41
- 
  Can someone help? rtmpdumpBy RateD in forum Video Streaming DownloadingReplies: 3Last Post: 19th Aug 2012, 21:13


 
		
		 View Profile
				View Profile
			 View Forum Posts
				View Forum Posts
			 
 
			
			

 Quote
 Quote

