Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 01-06-2016, 05:31 AM
Hackoo Hackoo is offline
Junior Member
 
Join Date: Jan 2016
Posts: 9
Hackoo is on a distinguished road
Question

How can i create a batch file that can read the stream with rtmpdump piped to VLC ?


Hi
I'm a new member here ! and i want to learn more how can i use rtmpdump to read and pipe it to VLC.
So my question is :
For example if i have this URL : http://paf-tv.com/player4.php
How can i create a batch file that can read or save its stream with rtmpdump piped to VLC ?
Thank you in advance for any help !
Reply With Quote
  #2  
Old 01-06-2016, 08:57 AM
johncross johncross is offline
Member
 
Join Date: Apr 2015
Posts: 33
johncross is on a distinguished road
Default

Re: How can i create a batch file that can read the stream with rtmpdump piped to VLC


so a username like hackoo makes me think that you're experienced. lol
Reply With Quote
  #3  
Old 01-06-2016, 09:05 AM
Hackoo Hackoo is offline
Junior Member
 
Join Date: Jan 2016
Posts: 9
Hackoo is on a distinguished road
Talking

Re: How can i create a batch file that can read the stream with rtmpdump piped to VLC


Quote:
Originally Posted by johncross View Post
so a username like hackoo makes me think that you're experienced. lol
In streaming not yet , perhaps another Hackoo
So, can you help me on my first project of streaming like this one ?

EDIT 06/01/2016 at 22:45 :
I think it is working now 5/5
I create a vbscript to catch the rtmp source like this :
Code:
Option Explicit
Dim RTMP,Title
Title = "Extracting rtmp source by Hackoo 2016"
RTMP = Navigate("http://paf-tv.com/player4.php")
MsgBox RTMP,vbInformation,Title
'****************************************************************
Function Navigate(URL)
	Dim ie,DataHTML
	Set ie = CreateObject("InternetExplorer.Application")
	ie.Visible = False
	ie.Navigate(URL)
	Do until ie.ReadyState = 4
		WScript.Sleep 50
	Loop
	DataHTML = ie.document.documentElement.innerHTML
	Navigate = Extract(DataHTML)
	ie.Quit
	Set ie=Nothing
End Function 
'****************************************************************
Function Extract(Data)
	Dim oRE,oMatches,Match,Line
	set oRE = New RegExp
	oRE.IgnoreCase = True
	oRE.Global = True
	oRE.Pattern = "file.?.*"
	set oMatches = oRE.Execute(Data)
	If not isEmpty(oMatches) then
		For Each Match in oMatches   
			Line = Match.Value
			Line = Replace(Line,"""","")
			Line = Replace(Line,"file:","")
			Line = Replace(Line,",","")
			Extract = Line
		Next
	End if 
End Function
'*****************************************************************

Last edited by Hackoo : 01-06-2016 at 03:45 PM.
Reply With Quote
Reply Post New Thread
Tags: , , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons