Qt Media Encoding Library 1.0 alpha2 available!
-
Hi everyone
I want to present you my own Qt library, here is description:
QtMEL is a Qt library that wraps Libav, OpenCV and RtAudio libraries and allows you easily grab your desktop screen, your cameras, your audio input devices and finally encode audio/video streams.
Platform: currently only Windows (Linux version is partially done)
License: LGPL
Current version: 1.0 Alpha2
Website: http://kibsoft.ru
Source code: "Here":https://github.com/kibsoft/QtMEL
Issue tracker: "Here":https://github.com/kibsoft/QtMEL/issues
Ready to use build: "Here":http://goo.gl/1n6yH
Examples(binaries): "Here":http://goo.gl/sOMgXKey features
- desktop screen capture with variable frame rate
- web-cameras capture with variable frame rate
- changing the image source on the fly (screen<->camera) while recording a video
- audio input devices capture
- video encoding with variable and fixed frame rate
- audio encoding
For more information go to the website above.
Thanks,
Kirill -
Looks good :)
-
Thanks :)
Btw, are there any ffmpeg/video encoding/audio encoding gurus?
I have an idea to store codec presets like I do in the examples:@//x264 loseless fast preset
VideoCodecSettings settings;
settings.setCoderType(EncoderGlobal::Vlc);
settings.setFlags(EncoderGlobal::LoopFilter);
settings.setMotionEstimationComparison(1);
settings.setPartitions(EncoderGlobal::I4x4 | EncoderGlobal::P8x8);
settings.setMotionEstimationMethod(EncoderGlobal::Hex);
settings.setSubpixelMotionEstimationQuality(3);
settings.setMotionEstimationRange(16);
settings.setGopSize(250);
settings.setMinimumKeyframeInterval(25);
settings.setSceneChangeThreshold(40);
settings.setIQuantFactor(0.71f);
settings.setBFrameStrategy(1);
settings.setQuantizerCurveCompressionFactor(0.6f);
settings.setMinimumQuantizer(0);
settings.setMaximumQuantizer(69);
settings.setMaximumQuantizerDifference(4);
settings.setDirectMvPredictionMode(EncoderGlobal::SpatialMode);
settings.setFlags2(EncoderGlobal::FastPSkip);
settings.setConstantQuantizerMode(0);
settings.setPFramePredictionAnalysisMethod(EncoderGlobal::NoWpm);@I have found that preset there: https://code.google.com/p/bencos/source/browse/trunk/out/presets/?r=156
But I want to store presets for codecs other than H264 too and this is a reason why I need help.
-
I have great news! Today I want to offer you the next version of Qt Media Encoding Library - 1.0 Alpha2.
Changes:
- Linux support (tested on Ubuntu 12.04)
- Qt5 support
- Fixed crashes, small bugs and etc.
Here are ready to use packages for Windows and Linux:
- Qt 5 RC1 MinGW 4.8 - "Download":http://goo.gl/NbxFy
- Qt 5 RC1 MSVC 2010 - "Download":http://goo.gl/AGJlg
Just unpack it and add paths to your .pro file.
- FFmpeg for QtMEL(deb package) - "Download":http://goo.gl/9tF1M
- OpenCV for QtMEL(deb package) - "Download":http://goo.gl/7BjS0
- QtMEL(deb package) - "Download":http://goo.gl/h3qu2
You must install them by turns. After that you can just include needed headers to our project.
NOTE: Not all dependencies are included to the "Requires" section of debs, so no guarantee that it will work on systems other than Ubuntu 12.04. In this case you should install required packages manually.
Sorry for that, these packages are just for test. I think I will put it in order when I have more free time.
If you have any suggestions I will be glad to know :)
-
Thanks for your libraries, could this libs support mobiles?
-
I'm not sure about that, but I think it is not simple to build all the stuff for mobiles. Maybe be in future this feature will be available. Thanks for the response :)
[quote author="stereomatching" date="1372390497"]Thanks for your libraries, could this libs support mobiles?[/quote] -
Hi, congratulations for the job done. Is there any chance to have the source code you have used to generate .deb packages? I wasn't able to install .deb on my os. I tried to modify source code for Windows but i got some errors.
Thank you in advance,
Marco -
Hi, did you find a preset for libvpx + vorbis, I need to save the webcam stream as a webm or ogg video.
I changed these lines in your CameraExample:m_recorder->encoder()->setVideoCodec(EncoderGlobal::VP8);
m_recorder->encoder()->setAudioCodec(EncoderGlobal::VORBIS);But the app crashes when the recording starts. Help please.