View Single Post
  #33  
Old 07-26-2012, 06:13 PM
Elgero Elgero is offline
Senior Member
 
Join Date: Feb 2012
Posts: 177
Elgero is on a distinguished road
Default

Re: Recording RTMP Webcams from cam4(HowTo record XXX/adult web-cam videos from cam4.


Quote:
Originally Posted by Winstontoo View Post
I'm bumping into this but have no idea how to use this script along with your program, could you possibly point me in the right direction?
You don't necessarily need the script. The only thing the script does is make the FLV video seekable, because some video players don't allow seeking (skipping forward) with recorded live streams.

It also updates the FLV header if that's necessary. If you start downloading the Cam4 stream when the broadcaster has audio turned off or is not making any sound, then the FLV header flags the video as not having any audio. This is fine when the video doesn't have audio from start to finish, but when the broadcaster turns audio on or starts making sound after a few minutes, then the video players won't pick that up. The script will change the FLV header in that case to let video players know that there is an audio stream available sooner or later.

In order to use the script (command line tool) you must install PHP.

Read the "Installing PHP for dummies" part in the first post of the thread below.

http://stream-recorder.com/forum/ado...er-t12074.html

Download the FlvFixer script from the page below. Just copy all the code and paste it into a new text file called "FLVFixer.php".

https://github.com/K-S-V/Scripts/blo...r/FlvFixer.php

To use the script go to Start -> Run

Type CMD and press Enter key.

Type: php "C:\PHP\FLVFixer.php" --in "C:\video.flv" --out "C:\fixed.flv"

(change the path to the files if necessary)

Press Enter key.
Reply With Quote