Which library for video and audio recording? [closed] - c++

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I am looking for a library to record images from a webcam and sound from the microphone and generate a video file (avi, mpeg or any other format).
I would prefer a cross-paltform solution (Windows, MAC and Linux) and something in C/C++ or Python.
Any recommendation and/or sample code?
Update: Folowing #Rory reccommendtation, i found this example of webcam viewser with Python and gstreamer. Unfortunately it requires v4l2src plugin which is not provided (correct me if I am wrong) with the Winodws build. Which plugin should be used on Windows?

gstreamer is an open source multimedia framework with C & Python bindings.

Related

OSX Native API Video Decoding C++ [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
Recently, I completed an audio decoding task using Apple Core Audio C++ API.
Now I am interested in decoding and getting raw uncompressed data of frames of a video file again with native OSX API with C++ (the analog of DirectShow or Media Foundation on Windows OS).
I have looked at available APIs (AVFoundation, Core Video, etc.) but couldn't find the framework which will do the job and is accessible through C++.
So my question which is the most suitable framework to pick up for this task?
You can read raw video data from a file using AVFoundation's AVAssetReader.
You create an AVAssetReader, add a AVAssetReaderTrackOutput with nil output settings then call copyNextSampleBuffer() until finished.
However, unless you've got very specific needs, you're unlikely to find the raw codec video data very useful. Are you trying to display the video? In that case AVPlayerLayer / AVPlayer (AVFoundation once again) are probably what you're looking for. If you want something lower level, CoreMedia/VideoToolbox may be for you. AVFoundation is an objective c framework so you'll be using objective-c++, while CoreMedia and VideoToolbox are C frameworks.

How to record windows screen with ffmpeg [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I want to write application that could recording screen as a video in c++
During the search I found ffmpeg can done that.
What examples should I use to create a program?
I use the window api
I can load bitmaps into memory.
What I want to do is:
Loads 30 bitmaps in memory in one second.
Generate video using multiple bitmaps.
ffmpeg can record screen with code like:
ffmpeg -f dshow -i video="screen-capture-recorder" output.flv
please check ffmpeg document for full help.
If you can capture picture from screen please see this url

What is a typical example for playing video files of any type with Allegro library? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I want to play a video of some type/format in my c++ program, i have installed Allegro 4.2.2 and Allegro5 along with both MSVC10 and MSVC13, i don't want to use any other library as they are a bit difficult to understand, if there is an easier way then tell me else tell me how to accomplish this task with Allegro?
As of Allegro5.1, there is a video
addon (it is not available in
5.0).
There is an
example
included in the allegro5 repository demonstrating how to use it.
The general gist is:
Invoke al_init_video_addon
Open the video with al_open_video
Start the video with al_start_video
Get the current frame as a bitmap with al_get_video_frame
Draw that bitmap with the usual bitmap drawing functions (al_draw_*_bitmap)
Repeat 4-5 during your game loop, then invoke al_close_video when you are done.
In the example they use al_draw_scaled_bitmap to scale the bitmap to the
screen; just take a look at the comments.
Note that you will need to link the video addon when linking your program
(-lallegro_video).

Need a custom richedit control (Open-Source) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I need a custom Rich-Edit control for making a text processing application. It must be Open-Source so that I can add my own feature. The windows default Rich-Edit controls are buggy for me cause I'm using my own font ( Bangla Font ). I've used all version of windows Rich-Edit but none those works well for me.
So now I need an owner drawn Rich-Edit control which must be Open-Source and also should include all the features of windows rich edit control.
I've searched on Google but have not found any useful.
If anybody know, Please give me the website link.
Take a look at Scintilla
It's Open Source and Notepad++ uses it.
EDIT: since Scintilla isn't really made for that kind of rich edit you could download Open Office's source code and find out how they do it.

Online file conversion API (DOC, PPT etc. to JPG) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I am looking for an online file conversion site which converts DOCX, DOC, PPT, PDF etc. to JPG files using an API (RESTful etc.).
I do not mind paying for the service but am unable to find an such service online.
One that might work for you is convertapi (http://www.convertapi.com/).
I recently used this to enable the following conversions for an app :
doc/docx --> PDF
ppt --> jpg
doc/docx --> jpg
They have a very simple REST api that's easy to implement : (http://www.convertapi.com/api/word-pdf-api)
You probably should also have a look at the CloudConvert API, which, as far as I know, supports your mentioned formats.
Convertapi doesn't do ppt --> jpg at the moment.