Reputation: 43
I've a written a simple code in Qt
using OpenCV
which records live video from webcam and saves it in .avi
file format. I want to know if there's any way to store the same video in SQLite
database.
Upvotes: 0
Views: 275
Reputation: 52679
Use the blob datatype - but a DB isn't the place to store such large datafiles. Stick the video on disk and put where the file is located in your DB. You'll find accessing it later is a lot easier 9as all the OS operations for streaming expect to find a file on disk to work with).
Upvotes: 2