Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=4)
-   -  

UStream in JWPlayer

(http://stream-recorder.com/forum/showthread.php?t=13146)

GranGTX 07-10-2012 12:07 AM

UStream in JWPlayer


 
Hello.

I want to play UStream in JWPlayer, becouse I want to avoid those stupid commercials.

I managed to play UStream stream in JWPlayer, but only for 60-90 seconds, then stream stops. I can resume stream, but I have to do it manually. Is there any "keep-alive" command that stream would play without any stops?

With rtmpdump I can capture stream without any problems or any stops - I use this command:

Code:

rtmpdump -r "rtmp://flash64.ustream.tv/ustreamVideo/XXXXXXXX/streams/live" --live -o UStream.flv
It's working with only rtmp url (without swfurl or any other), so why it isn't working propely with JWPlayer?

Here's my code I use with JWPlayer:

Code:

<div id="jwplayer">JW Player goes here</div>
       
<script type="text/javascript" src="jwplayer/jwplayer.js"></script>
<script type="text/javascript">
jwplayer("jwplayer").setup({

flashplayer: "jwplayer/player.swf",
provider: 'rtmp',
streamer: 'rtmp://flash64.ustream.tv/ustreamVideo/XXXXXXXX',
file: "streams/live",
bufferlength: "1",
duration: "0",
smoothing : "true",
controlbar: "bottom",
allowscriptaccess: "always",
                       
});
</script>

I tried another player - FlowPlayer - but effect is still the same - stream plays only for about 60-90 seconds, and then stops.

Any ideas?

karlo2105 07-10-2012 07:57 AM

Re: UStream in JWPlayer


 
Working fine to me. :D

Code:

rtmpdump -v -r "rtmp://flash67.ustream.tv/ustreamVideo/9792704/streams/live" -W "http://static-cdn1.ustream.tv/swf/live/viewer:42.swf" -p "http://www.ustream.tv/channel/tvmetropolis" | vlc -
RTMPDump v2.4 GIT-2012-03-08 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
Connecting ...
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO:  author
INFO:  copyright
INFO:  description
INFO:  keywords
INFO:  rating
INFO:  title
INFO:  presetname              Custom
INFO:  creationdate            Tue Jun 26 13:47:00 2012
INFO:  videodevice            Microsoft DV Camera and VCR
INFO:  framerate              25.00
INFO:  width                  360.00
INFO:  height                  288.00
INFO:  videocodecid            avc1
INFO:  videodatarate          400.00
INFO:  avclevel                31.00
INFO:  avcprofile              66.00
INFO:  videokeyframe_frequency 5.00
INFO:  audiodevice            Microsoft DV Camera and VCR
INFO:  audiosamplerate        44100.00
INFO:  audiochannels          2.00
INFO:  audioinputvolume        75.00
INFO:  audiocodecid            .mp3
INFO:  audiodatarate          96.00
5231.062 kB / 79.15 sec
ERROR: Download: Failed writing, exiting!


GranGTX 07-11-2012 06:10 AM

Re: UStream in JWPlayer


 
I don't want to play it in VLC, I want to play it in JWPlayer...

robincarloc 10-03-2012 10:59 PM

Re: UStream in JWPlayer


 
hey? I have this kind of issue too. Did you manage to fix this?


All times are GMT -6. The time now is 11:07 AM.