DirectShow filter for ip-camera [closed] - c++

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I need to write DirectShow filter which will stream data from ip camera. I have found example how to open ip camera stream using opencv.
I have only basic knowledges how to write a directShow filters. What should I do to send data from one directShow filter to another?
Thank you in advance!

Check Push source filter sample from Windows SDK.
Also some open source and coomercial implementations available:
MJPEG HTTP from Alax.info (source available) - http://alax.info/blog/1216
VisioForge MJPEG / MPEG-4 / H264 via HTTP / RTSP / RTMP (commercial) - Video Capture SDK or Filter SDK
Good idea to start from Alax project, but use FFMPEG like VisioForge for demuxing / decoding.

Related

How would I grab image data from display output of amd gpus? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
I am attempting to create a personal PC streaming application on Windows. I was wondering how I could grab data from an AMD GPUs display output in C++ 11 (somewhat like OBS)? I attempted this in java with Robot.createScreenCapture method but was not able to achieve sufficient speeds required for streaming. I hope this is clear enough. Anything helps, thanks.
AMD AMF SDK can get you this: Is there a functionality to capture screen directly and encode at GPU buffer memory?
amf\public\src\components\DisplayCapture already has code which is basically wrapping DD API into AMF component. If my memory serves me right DVR sample shows how to use it (source code definitely has traces that it was/is working).

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.

Implement video editor [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I want to implement a "simple" video editor and since I'm new to the topic, I'm not sure how to start.
The editor should have the following features / components
A timeline for multiple recordings
A video player that plays the edited video in real-time (it should render all added effects and assets)
Assets that can be placed on the timeline such as text elements, arrows and so on
I'd like to start with the video player and then build the other components around it.
Which frameworks would you recommend?
For the player, I'm not sure if DirectShow is the right choice or MediaFoundation would be better. Are there other libraries to consider? FFmpeg?
My recommendation given your interests is to start with Blender
http://www.blender.org
It's written in a combination of C, C++, and Python, has a substantial user community, and has the advantage of open source code so you can see how a real large project looks.
You might end up just contributing to it, or you might lift bits of it to bootstrap your own project, etc. But if you don't know about, it's worthwhile to look at if only to help you refine what you want to work on.

DirectShow Raw Capture [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I have problems with DirectShow. I'm trying to record video from webcam and save as raw format on the disk. Can someone PLEASE show me simple example how to do it? I'm new to it and I'm not having enough time to start learning and then doing it, because of job..
Thank you!
DirectShow Samples on MSDN:
AmCap Sample Capture Video capture application.
PlayCap Sample Capture Simple capture application.
Using GraphEdit SDK tool you can interactively connect web cam filter to WM ASF Writer Filter and produce Windows Media files (the same can be repeated in code programmatically).

Developing spotify audio plugins in c++ with Juce [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Is this possible at all ?
I would like to use Juce to create spotify free and opensource audio plugins (EQ, limiter and stuff like that).
If I my understanding is correct, you can use libspotify to develop your own client, or you can use spotify API to interact with spotify's own client, but only in Javascript.
Is there any way (preferably cross platform), to develop a c++ plugin for the official spotify client ?
In a word, no — Spotify doesn't provide a native plugin API like that. However, you could properly apply filters to the audio after it's left Spotify — i.e., at the system level.
Actually, after some more research, there is a way but it's a bit of a hack and it's not cross-platform. You can create a proxy library for Direct Sound, which does the sound processing then forwards the audio to the real direct sound library.