Skip to content
forked from tahaipek/Nodcam

Access and stream web camera in nodejs using ffmpeg, websockets and HTML5.

Notifications You must be signed in to change notification settings

err0r403/Nodcam

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nodcam

Access and stream web camera in nodejs using ffmpeg, websockets and HTML5.

###Usage:

$ git clone https://github.com/tahaipek/Nodcam.git

$ npm install

$ npm run express-server
(Web server - node index.js)
	
$ npm run streaming-server
(Web Sockets - node stream.js <secretKey>)
	
$ npm run ffmpeg
(Streaming camera ffmpeg command => 
ffmpeg -f dshow -i video="<cameraDeviceName>":audio="<audioDeviceName>" <outputName>.mp4 -f mpeg1video http://localhost:<webSocketsStreamingPort>/<secretKey>/<width>/height)
if you don't want to record, remove 'output' keyword.

###Third Party Libraries:

###Requirements

This application has been tested Windows 10.

preview.png

About

Access and stream web camera in nodejs using ffmpeg, websockets and HTML5.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.0%
  • HTML 1.0%