Hackoo
01-06-2016, 05:31 AM
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 ! ;)
johncross
01-06-2016, 08:57 AM
so a username like hackoo makes me think that you're experienced. lol
Hackoo
01-06-2016, 09:05 AM
so a username like hackoo makes me think that you're experienced. lol
In streaming not yet , perhaps another Hackoo :D 
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 :D
I create a vbscript to catch the rtmp source like this :
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
'************************************************* ****************
http://img15.hostingpics.net/pics/29405320160106204829.jpg
vBulletin® , Copyright ©2000-2025, Jelsoft Enterprises Ltd.