Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Is it posslbe to download an RTMPTE stream from a JW Player?Hi, Not sure if I've posted in the correct area.
I've been trying to download a video now for some time with no success. Tried a few bits of different software on both Mac and PC.... but I just can't capture the video. I'm guessing that the video is streamed because when I load the page in Safari and view the activity and play the video the numbers at the end of each line in the code increase increase until the video has finished. Heres and extract Code:
http://xxxxxxxxxx/track-progress.html?a=2CnBOeBuQnayDE8&p=100500 http://xxxxxxxxxx/track-progress.html?a=2CnBOeBuQnayDE8&p=10100 http://xxxxxxxxxx/track-progress.html?a=2CnBOeBuQnayDE8&p=105500 http://xxxxxxxxxx/track-progress.html?a=2CnBOeBuQnayDE8&p=110500 http://xxxxxxxxxx/track-progress.html?a=2CnBOeBuQnayDE8&p=115500 http://xxxxxxxxxx/track-progress.html?a=2CnBOeBuQnayDE8&p=120500 As you can see theres no description of the video at all and looking through the full page of code theres nothing size wise that represents a video file. I think its played through JW Player 5.1.897 as thats what it says when I right mouse click on it. Heres the code that I can find the relates the the player: HTML Code:
<script type="text/javascript"> //<![CDATA[ document.write('\t\r\n\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t<script type=\"text\/javascript\">\n\/\/<![CDATA[\n$(\'#asset\').html(\'<a href=\\\'http:\/\/www.macromedia.com\/go\/getflashplayer\\\' target=\\\'_blank\\\'>Sorry, you need to have the latest Flash player installed... Download it here.<\/a>\');\n\/\/]]>\n<\/script>\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\r\n\t\t\t\t\t\t\r\n\t\t<script type=\"text\/javascript\">\r\n\t\t\tif(typeof rtmpUrl==\"undefined\")\r\n\t\t\t\t$(\'#asset\').html(\"Movie is not available\");\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tvar s = new SWFObject(\'\/flash\/jwplayer51\/player.swf\',\'player\',\'605\',\'375\',\'9\',\'#100a07\');\r\n\t\t\t\t\t\r\n\t\t\t\ts.addVariable(\'streamer\',rtmpUrl[0]);\r\n\t\t\t\ts.addVariable(\'file\',streamName);\r\n\t\t\t\ts.addVariable(\'type\',\'rtmp\');\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ts.addParam(\'allowfullscreen\',\'true\');\r\n\t\t\t\ts.addParam(\'wmode\',\'opaque\');\r\n\t\t\t\ts.addVariable(\'start\',\'0\');\r\n\t\t\t\ts.addVariable(\'autostart\',\'true\');\r\n\t\t\t\ts.addVariable(\'skin\',\'\/flash\/jwplayer51\/skins\/learning-tool\/esc-learning-tool.xml\');\r\n\t\t\t\ts.write(\'asset\');\r\n\t\t\t}\r\n\t\t<\/script>\r\n\r\n\t\t\t\t\t\r\n<script type=\"text\/javascript\">\n\/\/<![CDATA[\ndocument.write(\'\\t\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t<script type=\\\"text\\\/javascript\\\">\\n\\\/\\\/<![CDATA[\\n\\r\\n\\t\\t\\t$.get(\\\'\\\/mark-as-viewed.html\\\', { a: \\\'2WmMSpGPCSfFUtm\\\' },function(data){});\\r\\n\\t\\t\\n\\\/\\\/]]>\\n<\\\/script>\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t<script type=\\\"text\\\/javascript\\\">\\r\\n\\t\\t\\tvar previousPosition = null;\\r\\n\\t\\t\\tvar currentPosition = 0;\\r\\n\\t\\t\\tvar player = null;\\r\\n\\t\\t\\tvar interval = parseInt(5);\\r\\n\\r\\n\\t\\t\\tfunction playerReady(obj)\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tplayer = window.document[obj.id];\\r\\n\\t\\t\\t\\taddListeners();\\r\\n\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\tfunction addListeners()\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tif(player)\\r\\n\\t\\t\\t\\t\\tplayer.addModelListener(\\\"TIME\\\", \\\"positionListener\\\");\\r\\n\\t\\t\\t\\telse\\r\\n\\t\\t\\t\\t\\tsetTimeout(\\\"addListeners()\\\",100);\\r\\n\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\tfunction positionListener(obj)\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\ttrackProgress = false;\\r\\n\\t\\t\\t\\tcurrentPosition = obj.position;\\r\\n\\t\\r\\n\\t\\t\\t\\tif(previousPosition == null)\\r\\n\\t\\t\\t\\t\\tpreviousPosition = currentPosition;\\r\\n\\t\\r\\n\\t\\t\\t\\t\\\/\\\/handle seek in video - skipping to a bit forward is allright, but skipping back means we need to reset the previousPosition\\r\\n\\t\\t\\t\\tif(previousPosition > currentPosition)\\r\\n\\t\\t\\t\\t\\tpreviousPosition = currentPosition;\\r\\n\\t\\r\\n\\t\\t\\t\\t\\\/\\\/make sure to track initial progress, before hitting the first interval\\r\\n\\t\\t\\t\\tif(currentPosition == 0)\\r\\n\\t\\t\\t\\t\\ttrackProgress = true;\\r\\n\\t\\r\\n\\t\\t\\t\\tif(previousPosition+interval <= currentPosition)\\r\\n\\t\\t\\t\\t\\ttrackProgress = true;\\r\\n\\t\\r\\n\\t\\t\\t\\tif(trackProgress)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\t$.get(\\\'\\\/track-progress.html\\\', { a: \\\'2WmMSpGPCSfFUtm\\\', p: (currentPosition*1000) },function(data){});\\r\\n\\t\\t\\t\\t\\tpreviousPosition = currentPosition;\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t}\\r\\n\\t\\t<\\\/script>\\r\\n\\t\\t\\t\');\n\/\/]]>\n<\/script>\t\t\t'); //]]> </script> <noscript> You don't have JavaScript enabled...</noscript> </div> <div class="video-choice-holder"> <ul class="video-choice"> <li id="li-ask-a-question"> <a href="#" onclick="jQuery.ajax({type:'POST',dataType:'html',success:function(data, textStatus){jQuery('#ask-a-question').html(data);},url:'/en_GB/asset/ask-a-question/esAsset_slug/2WmMSpGPCSfFUtm/state/show/updateDiv/ask-a-question/liId/li-ask-a-question/updateDiv_q_and_as/q-and-as.html'}); return false;">Ask a question</a> </li> <li> <a href="/en_GB/mediaviewer/switch-player.html">Switch to wide player</a> </li> <li> <a href="/en_GB/mediaviewer/c/mLhJVPOH7CGrOOt/n/FFbcmUO9XEUMHhZ/a/TgvLlAqCgGR66uT.html">Next ></a> </li> </ul> <div id="attachments"> <script type="text/javascript"> //<![CDATA[ document.write('\t'); //]]> </script> Any help is very much appreciated Thanks Last edited by wr_uk : 08-24-2010 at 11:30 AM. |
Tags: download, flash velocix com, jw player, record, rtmpdump, rtmpte, stream, velocix, velocix com |
Thread Tools | |
Display Modes | |
|
|