Trying to save ustream, sometimes the resulting file is emptyHi!
I have followed the instructions on this page: http://www.tech-juice.org/2012/05/20...annels-in-vlc/ to find the rtmp address of some ustream channels, and save a few seconds in a file. Sometimes it works with no problem. But sometimes, it seems I receive no data, and the resulting file is empty. Here is an example that works: Code:
$ rtmpdump -v -r "rtmp://ustreamlivefs.fplive.net/ustream1live-live/stream_live_1_1_13027422" -W "http://www.ustream.tv/flash/viewer.swf" --live -o ~/tmp/test.flv --stop 4 Here is an example that does NOT work: Code:
$ rtmpdump -v -r "rtmp://ustreamlivefs.fplive.net/ustream1live-live/stream_live_1_1_2298576" -W "http://www.ustream.tv/flash/viewer.swf" --live -o ~/tmp/test.flv --stop 4 Any idea what could be the problem? Thanks a lot! |
Re: Trying to save ustream, sometimes the resulting file is emptyNo clue?
|
Re: Trying to save ustream, sometimes the resulting file is emptyQuote:
|
Re: Trying to save ustream, sometimes the resulting file is emptyQuote:
Code:
rtmpdump -v -r "rtmp://ustreamlivefs.fplive.net/ustream1live-live/stream_live_1_1_2298576" -W "http://static-cdn1.ustream.tv/swf/live/viewer.rsl:368.swf" -y "stream_live_1_1_2298576" -o "live.flv" Code:
>rtmpdump -v -r "rtmp://ustreamlive |
Re: Trying to save ustream, sometimes the resulting file is emptyThanks a lot for your help!
I just tried your command, Chap, but it still does the same for me: Code:
$ rtmpdump -v -r "rtmp://ustreamlivefs.fplive.net/ustream1live-live/stream_live_1_1_2298576" -W "http://static-cdn1.ustream.tv/swf/live/viewer.rsl:368.swf" -y "stream_live_1_1_2298576" -o ~/tmp/live.flv I realized there was a problem with the -W parameter, but I think it is not related to my issue since it works with other streams even with this warning. I am wondering if maybe the stream is simply not available at times... Ustream indicates certain channels as "offline", but it is weird because the original page (http://www.ustream.tv/ffrc warning: video of cats :)) is NOT "offline" right now, and I can watch the video in the broswer, so it must be something else... Thanks again for your help. |
Re: Trying to save ustream, sometimes the resulting file is emptyThis one should do the trick...
Code:
rtmpdump -r "rtmp://flash51.xo.tcdn.ustream.tv:1935/ustreamCdn/flash57/2298576" -a "ustreamCdn/flash57/2298576" -f "WIN 11,5,502,146" -W "http://static-cdn1.ustream.tv/swf/live/viewer.rsl:369.swf" -p "http://www.ustream.tv/ffrc" -y "streams/live_1" -o "some_cats_here.flv |
Re: Trying to save ustream, sometimes the resulting file is emptyHey thanks for the reply. How did you get this url and parameters? I'm guessing using wireshark or something similar?
|
Re: Trying to save ustream, sometimes the resulting file is emptyI used to use Wireshark for tricky stuff. For this one I used RTMPDumpHelper & RTMPSuck. Enjoy your kitty cats! I'm a dog fan btw :)
|
Re: Trying to save ustream, sometimes the resulting file is emptyAhah :) thanks man.
Actually I am looking for a "general" solution to the problem of grabbing a frame from any UStream channel. That's where the python script I mentioned comes in. But I guess I'll just have to accept that it doesn't always work (plus this script will inevitably break when UStream changes their html code...) |
All times are GMT -6. The time now is 12:06 PM. |