ogrgkyle
07-28-2014, 09:41 PM
I'm asking the same question as the author of this thread:
http://stream-recorder.com/forum/capture-stream-nrbnetwork-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
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
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
its' working for me!
http://i.imgur.com/YMoe8Pq.png
http://i.imgur.com/6SRmySl.png
To specify stop time use/add -B time in sec. For other parameters, try rtmpdump --help ;)
example:
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
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.
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.
"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
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!
vBulletin® , Copyright ©2000-2025, Jelsoft Enterprises Ltd.