Skip to content

Converts RTSP stream from remote camera to MPEG-4 video files in your Google Drive (real-time)

License

Notifications You must be signed in to change notification settings

mr-js/video_recorder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

video_recorder

Converts RTSP stream from remote camera to MPEG-4 video files in your Google Drive (real-time)

Usage

Simply set the stream address of your camera (RTSP) and run the program.

Examples

from video_recorder import VideoRecorder

target = r'rtsp://rtspstream.com/ball'
vr = VideoRecorder()
vr.run(target)

Also you can set target file name (file) and upload interval (upload_interval). On first launch, you will be automatically prompted to log in to Google Disk and give the appropriate permissions to write files.

Remarks

Make sure you don't confuse the "ffmpeg-python" library (correct) with the "ffmpeg" library (incorrect). You should also have the binaries correctly installed for video conversion on the fly (e.g. you should download the binaries separately: https://ffmpeg.org/download.html).

About

Converts RTSP stream from remote camera to MPEG-4 video files in your Google Drive (real-time)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages