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

How to capture stream from nrbnetwork.tv? (new)

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

ogrgkyle 07-28-2014 09:41 PM

How to capture stream from nrbnetwork.tv? (new)


 
I'm asking the same question as the author of this thread:

http://stream-recorder.com/forum/cap...tv-t15086.html

But I think the info is outdated. Can someone tell me how to use rtmpdump to redirect the NRB network stream link to VLC?

Thanks.

peterpan 07-28-2014 11:12 PM

Re: How to capture stream from nrbnetwork.tv? (new)


 
Code:

rtmpdump -r "rtmp://imavex.fc.llnwd.net/imavexpush" -a "imavexpush" -f "WIN 13,0,0,214" -W "http://www.streamotor.com/player/mediaplayer-5.10-licensed/player.swf" -p "http://nrbnetwork.tv/Pages/watch_online.aspx" -y "universal11" -o "2014-07-28_10-06-11_universal11.flv" -v

ogrgkyle 07-30-2014 10:45 AM

Re: How to capture stream from nrbnetwork.tv? (new)


 
Thanks for the fast reply. I tried it a couple times and it didn't work -- it just created an empty file called "2014-07-28_10-06-11_universal11.flv" -- but now it is working. Maybe I had to wait it out?

Can I tell rtmpdump to dump the stream for X seconds and then stop?

peterpan 07-30-2014 10:57 AM

Re: How to capture stream from nrbnetwork.tv? (new)


 
its' working for me!





To specify stop time use/add -B time in sec. For other parameters, try rtmpdump --help ;)
example:
Code:

rtmpdump -r "rtmp://imavex.fc.llnwd.net/imavexpush" -a "imavexpush" -f "WIN 13,0,0,214" -W "http://www.streamotor.com/player/mediaplayer-5.10-licensed/player.swf" -p "http://nrbnetwork.tv/Pages/watch_online.aspx" -y "universal11" -o "c:/2014-07-28_10-06-11_universal11.flv" -B 20 -v

ogrgkyle 07-30-2014 01:45 PM

Re: How to capture stream from nrbnetwork.tv? (new)


 
Thanks! The -B parameter works to limit recording time.

If it helps someone in the future, this is how I have my setup:


1. Windows Task Scheduler runs a task for whenever my favorite NRB show airs. The task runs this VBS file.

Code:

Dim WinScriptHost
Set WinScriptHost = CreateObject("WScript.Shell")
WinScriptHost.Run Chr(34) & "C:\record NRB.bat" & Chr(34), 0
Set WinScriptHost = Nothing

2. The VBS runs this BAT file ("record NRB.bat"), which runs rtmpdump.exe. (Running the BAT from the VBS allows it to run invisibly, rather than in a console window.) The fancy code in the filename is just the current timestamp. For example: myfavoriteshow_2014-07-30_14-38.flv.

Code:

"C:\rtmpdump.exe" -r "rtmp://imavex.fc.llnwd.net/imavexpush" -a "imavexpush" -f "WIN 13,0,0,214" -W "http://www.streamotor.com/player/mediaplayer-5.10-licensed/player.swf" -p "http://nrbnetwork.tv/Pages/watch_online.aspx" -y "universal11" -o "C:\NRB recordings\myfavoriteshow_%date:~10%-%date:~4,2%-%date:~7,2%_%time:~0,2%-%time:~3,2%.flv" -B 1800 -v
3. rtmpdump.exe is now running invisibly. The "-B 1800" section of the above code means that rtmpdump.exe will stop recording and will close after 1,800 seconds (30 minutes).


You can set Windows Task Scheduler to do this once a week, or whenever the show airs. If you missed an episode, just look in your NRB record folder!

ogrgkyle 08-11-2014 02:55 PM

Re: How to capture stream from nrbnetwork.tv? (new)


 
I have a problem with this. It works, but not 100% of the time. For instance, when I looked in my NRB recordings folder, I saw an empty .flv. Since this was automatic -- I scheduled it with Windows Task Scheduler, as I described in an earlier post -- it did not retry.

So can I make rtmpdump try again and again, until a stream is actually recording? Otherwise the .flv recordings will sometimes be empty. Thanks!


All times are GMT -6. The time now is 10:55 PM.