Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#11
|
|||
|
|||
Re: change the code of of rtmpsrv, rtmpdump to run with the --live parameter by defauhere http://www.105.net/sezioni/inradio/r...o=105%20Latino not working correctly rtmpsrv (does not transmit a command --live)
Quote:
Quote:
Last edited by chap : 05-24-2011 at 06:31 PM. |
#12
|
|||
|
|||
Re: change the code of of rtmpsrv, rtmpdump to run with the --live parameter by defauQuote:
so how does their streams play in flash client but not in rtmpdump? because rtmpdump was always sending the optional start flag in play packet and their servers refuses to play when start flag is non negative. i have modified this behavior and now start and duration flags will only be sent when explicitly defined. this will let these types of streams play without specifying --live flag. however there is another problem due to a hack used by rtmpdump for faster downloading of recorded (nonlive) files. whenever it receives a BufferEmpty message it sends Pause Unpause packets to force sending next buffer. this may create some anomalies in recorded files when stream is live and --live switch is not specified because live stream can only be received in realtime. if we disable this hack, everything will be fine for live streams but download speed for nonlive streams may be slow so i haven't disabled it. in short if you know that stream is live and rtmpsrv or rtmpsuck can't detect live flag, it would be better to specify --live flag though rtmpdump can download without it now. Quote:
but why didn't rtmpsrv works with ustream? because their client sends a channel parameter in connect packet and server responds with original url to connect with. rtmpsrv is faking the connect response so client is not able to connect to stream. i will post the updated package and diff file later. |
#13
|
|||
|
|||
Re: change the code of of rtmpsrv, rtmpdump to run with the --live parameter by defauKSV
Quote:
|
#14
|
|||
|
|||
Re: change the code of of rtmpsrv, rtmpdump to run with the --live parameter by defauhttp://stream-recorder.com/forum/sho...2&postcount=13
Quote:
I do not want to be intrusive, if we can make a fully transparent rtmpsusk (as someone said of the sponsors of this program). Maybe then can be downloaded using rtmpsusk, this and similar video http://www.youtube.com/watch?v=EW3x0TWAEfU&hd=1 |
#15
|
|||
|
|||
Updated Packagertmpdump r569 mod
Code:
http://www.mediafire.com/file/rnkld73d6ajbf9g/rtmpdump-2.3.zip Code:
http://pastebin.com/CKFyhGRv |
#16
|
|||
|
|||
Re: Updated PackageWorks fine.
|
#17
|
|||
|
|||
Re: change the code of of rtmpsrv, rtmpdump to run with the --live parameter by defauI found a problem with my previous patch and now fixed it. use the following package and patch instead of the previous one.
rtmpdump r569 mod Code:
http://www.mediafire.com/file/3xen8pvudz3uukj/rtmpdump-2.3.zip Code:
http://pastebin.com/ZKNbfid6 |
#18
|
|||
|
|||
Re: change the code of of rtmpsrv, rtmpdump to run with the --live parameter by defauthe common user doesnt need the patch, or do we need it? it's for information purposes only, isnt it?
looks nice. thanks for the great work! |
#19
|
|||
|
|||
Re: change the code of of rtmpsrv, rtmpdump to run with the --live parameter by defauKSV
Quote:
Last edited by chap : 05-31-2011 at 04:32 PM. |
#20
|
|||
|
|||
Re: change the code of of rtmpsrv, rtmpdump to run with the --live parameter by defauhttp://www.cbs.com/primetime/how_i_m...lt&p lay=true
rtmpsrv569 (mod) gives an error (for some reason adds a parameter - live) Code:
RTMP Server v2.3 r569 (Compiled by KSV) (c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL Streaming on rtmp://0.0.0.0:1935 WARNING: Trying different position for client digest! Live : Yes rtmpdump -r "rtmp://cp48590.edgefcs.net:1935/ondemand?ovpfv=1.1&?auth=dbEbPdGdea tb3b7dBdXdpcmaJbZd8cxaUdb-bn5E_a-h0-buy-FcyPgUse&aifp=v001&slist=video%2 Ftemp_hd_gallery_video%2FCBS_Production%2F814%2F31 1%2F" -a "ondemand?ovpfv=1.1&? auth=dbEbPdGdeatb3b7dBdXdpcmaJbZd8cxaUdb-bn5E_a-h0-buy-FcyPgUse&aifp=v001&am p;slist=video%2Ftemp_hd_gallery_video%2FCBS_Produc tion%2F814%2F311%2F" -f "WIN 1 0,3,181,14" -W "http://www.cbs.com/[[IMPORT]]/vidtech.cbsinteractive.com/player/ 2_8_0/CBSI_PLAYER.swf" -p "http://www.cbs.com/primetime/how_i_met_your_mother/vi deo/?pid=Iw6UfcYTmf_i0j62MwONCjncCJCI7yF1&vs=Default&p lay=true" --live -C Z: -y "mp4:video/temp_hd_gallery_video/CBS_Production/814/311/CBS_HIMYM_623_CONTENT_CI AN__326440.mp4" -o CBS_HIMYM_623_CONTENT_CIAN__326440.flv Closing connection... done! RTMPDump v2.3 r569 (Compiled by KSV) (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL ERROR: RTMP_HashSWF: swfurl http://www.cbs.com/[[IMPORT]]/vidtech.cbsinteractive .com/player/2_8_0/CBSI_PLAYER.swf not found Connecting ... WARNING: HandShake: client signature does not match! INFO: Connected... ERROR: rtmp server sent error Starting Live Stream ERROR: RTMP_ReadPacket, failed to read RTMP packet header 0.000 kB / 0.00 sec Download may be incomplete (downloaded about 0.00%), try resuming Code:
RTMP Server v2.3 r569 (Compiled by KSV) (c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL Streaming on rtmp://0.0.0.0:1935 WARNING: Trying different position for client digest! rtmpdump -r "rtmp://cp48590.edgefcs.net:1935/ondemand?ovpfv=1.1&?auth=dbEaubadFd mc0b2c3bOaVcwdCdkbiaqc6df-bn5E4p-h0-buy-EawPdXlf&aifp=v001&slist=video%2 Ftemp_hd_gallery_video%2FCBS_Production%2F814%2F31 1%2F" -a "ondemand?ovpfv=1.1&? auth=dbEaubadFdmc0b2c3bOaVcwdCdkbiaqc6df-bn5E4p-h0-buy-EawPdXlf&aifp=v001&am p;slist=video%2Ftemp_hd_gallery_video%2FCBS_Produc tion%2F814%2F311%2F" -f "WIN 1 0,3,181,14" -W "http://www.cbs.com/[[IMPORT]]/vidtech.cbsinteractive.com/player/ 2_8_0/CBSI_PLAYER.swf" -p "http://www.cbs.com/primetime/how_i_met_your_mother/vi deo/?pid=Iw6UfcYTmf_i0j62MwONCjncCJCI7yF1&vs=Default&p lay=true" -C Z: -y "mp4:vi deo/temp_hd_gallery_video/CBS_Production/814/311/CBS_HIMYM_623_CONTENT_CIAN__326 440.mp4" -o CBS_HIMYM_623_CONTENT_CIAN__326440.flv Closing connection... done! RTMPDump v2.3 r569 (Compiled by KSV) (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL ERROR: RTMP_HashSWF: swfurl http://www.cbs.com/[[IMPORT]]/vidtech.cbsinteractive .com/player/2_8_0/CBSI_PLAYER.swf not found Connecting ... INFO: Connected... Starting download at: 0.000 kB INFO: Metadata: INFO: duration 1292.70 INFO: moovPosition 28.00 INFO: width 640.00 INFO: height 360.00 INFO: videocodecid avc1 INFO: audiocodecid mp4a INFO: avcprofile 100.00 INFO: avclevel 40.00 INFO: aacaot 2.00 INFO: videoframerate 24.00 INFO: audiosamplerate 22050.00 INFO: audiochannels 2.00 INFO: trackinfo: INFO: length 31023000.00 INFO: timescale 24000.00 INFO: language eng INFO: sampledescription: INFO: sampletype avc1 INFO: length 28504063.00 INFO: timescale 22050.00 INFO: language eng INFO: sampledescription: INFO: sampletype mp4a 5027.453 kB / 45.29 sec (3.5%) |
Tags: live, rtmpsrv, rtmpsuck |
Thread Tools | |
Display Modes | |
|
|