i have a course project in making a music player in linux with ffmpeg, can anyone give me some instruction about it. Does anyone know of any good resources for learning how to use ffmpeg? Considering I just want to write a simple music player with support for a broad range of formats and codecs, is ffmpeg too heavyweight for a project of this scope? thank you!
This is not a specific question, there are a lot of tutorials on the Internet like http://dranger.com/ffmpeg/tutorial01.html and other tutorials.
Related
I have scoured the internet for help with this one. I don't typically enjoy using stack exchange because a lot of people can sometimes start fights on here, so please just bear with me. I am currently learning the C++ language, and I'm only about 2-ish weeks in. I am working with a team of new programmers, and to learn the language, we are creating a tiny text based game. We want to have the game play audio at different times, and from my hours of research, I have determined, that for cross platform audio, I want OpenAL.
The problem is: How do I use OpenAL with Eclipse and Mac? I haven't found any guides for this online, and the only OpenAL libraries I can find are all .exe files, which I can't use on mac. I also cannot find a ton of tutorials on using the OpenAL audio libraries, so if you could point me at one of those, that would be awesome.
Thanks in advance! Cheers!
I am new to qml. I would like to know how the video is played in the qml. How the video is handled in the back-end(The classes and modules responsible for video playback). How can i add a custom player to play back video in QML? Is there any documents on this? Is there any tutorial for writing the qt-plugin for video playback.
I don't know where to start looking? Please Help. Thanks in advance.
It seems that you are a newcomer to the topic, so I will start with the basics.
The responsible part of the Qt architecture is QtMultimedia for this. That is the module I would start taking a look at. This essential modul is responsible for the audio and video bits in Qt. It deals with the boiler plate as well as the convenient higher-level interface like QML.
It really depends on what video playback you would like to write. You can find the existing backends in here.
As for writing a new backend and/or plugin, this post gives some insight how this has been achieved for one. The official documentation about is also a recommended material for reading.
I am trying to build an iphone app that connects to an IP camera. The IP camera is windows based to i need to create a server using c++ and then stream the video to the iphone app.
Can anyone tell me the best way in going about this task. I am new to programming so a dummies type guide would help.
Thanks
Inam
Go to the ITunes store and download a free app from Avigilon. You won't be able to see any video unless you connect to a system but it'll tell you what ports and user information would be needed. There are gateways and streaming methods involved as well. Not a situation where a new developer will have a lot of success.
Your question is rather too broad to fit into a comment box. It seems, and correct me if I'm wrong, that you're basically asking for someone to write the applications for you.
Instead, if you're a complete beginner, you'll want to first learn how to program for the plaform.
The StackOverflow question Howto articles for iPhone development, Objective C will help you get started with programming for the iPhone.
Once you have the basics down, you might then ask more specific questions.
basic question , i need to play mp3's in my application in windows
when goggling i got allot of tutorials about VFW32.lib to play mp3's
and i know lame , what is the best option for playing mp3's in c++?
VfW is an API that predates DirectShow on Windows, and was the original API that provided access to the system's video codecs. I'd wager that today, it's extremely non-portable, and shouldn't be used. Instead, prefer either the DirectShow API or a separate library like either Lame or libmad or a framework like ffmpeg.
How would i make it so in my program there is a button when that button is clicked i want it to play a .wma file without opening and media player?
The C++ standard does not include this functionality. That means it depends on what your system offers.
For Windows, you can try something like PlaySound.
However, you best bet is to use a pre-existing library, like:
OpenAL
BASS
FMOD
SDL's: Sound.
Searching for C++ Sound Library brings up a lot of information.
Also, check out these three other SO topics:
What Is The Best C++ Sound API For Windows?
How to play MP3 files in C?
Learning to work with audio in C++
Although the above answer mentions it (and everything else, it doesn't give any recommendations so...), FMOD is the king of C++ sound (the most used) and works great so I'd recommend FMOD in particular.
Gstreamer is a free, cross-platform multimedia framework written in C (using GObject) that allows encoding/decoding for many types of media, including wma. Very easy to use and well documented.
KDE's Phonon is a cross-platform(!) C++ multimedia library. It supports native sound systems as backends. Worth a look if you haven't seen it before, and a simple video player can be written in a mere 83 lines of code.
For Windows, in all honesty your best bet is DirectShow. The RenderFile API allows you to play most audio file types with just a few lines of code.
The best part about DirectShow is that it's a part of the Windows platform so you don't need to bundle an external component.