Results 1 to 4 of 4

Thread: Qt Media Encoding Library 1.0 alpha1 available!

  1. #1
    Join Date
    Jan 2010
    Posts
    7
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default Qt Media Encoding Library 1.0 alpha1 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 Alpha1
    Website: http://kibsoft.ru
    Source code: Here
    Issue tracker: Here
    Ready to use build: Here
    Examples(binaries): Here

    Key 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

  2. #2
    Join Date
    Jan 2010
    Posts
    7
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default Re: Qt Media Encoding Library 1.0 alpha1 available!

    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:


    Just unpack it and add paths to your .pro file.
    • FFmpeg for QtMEL(deb package) – Download
    • OpenCV for QtMEL(deb package) – Download
    • QtMEL(deb package) – Download


    You must install them by turns. After that you can just include needed headers to our project.

    NOTE: Not all dependencies are include 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

  3. #3
    Join Date
    Jun 2013
    Posts
    11
    Thanks
    1
    Qt products
    Qt5
    Platforms
    MacOS X Windows

    Default Re: Qt Media Encoding Library 1.0 alpha1 available!

    Hi Kirill and all readers

    I should have found your project earlier ! But I missed this and rolled my own OpenCV and then added FFMPEG.
    I have a compiler error which I would appreciate your help.

    Summary
    Windows 32 bit Development environment

    #1 Download QT MingGW version
    #2 Build MingW Libs using cmake

    (#1 & #2 details in http://embeddedprogrammer.blogspot.i...nd-imageq.html)

    #3 added FFMPEG Development Includes and Library by :
    a) Download Windows "32 bit Dev" from zeranoe Windows build http://ffmpeg.zeranoe.com/builds/
    b) setup .pro path accordingly to lib and include in that downloaded directory

    #4 added FFMPEG run time shared DLLs
    a) Download "32 bit Shared" from zeranoe http://ffmpeg.zeranoe.com/builds/
    b) Set PATH (Via Control Panel->System->Advanced Settings PATH to bin in that downloaded directory

    .pro is below

    #-------------------------------------------------
    #
    # Project created by QtCreator 2013-06-10T09:06:49
    #
    #-------------------------------------------------

    QT += core gui xml

    greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

    TARGET = VideoEditor2
    TEMPLATE = app



    SOURCES += main.cpp\
    mainwindow.cpp



    HEADERS += mainwindow.h


    FORMS += mainwindow.ui


    RESOURCES += \
    images.qrc



    //OPENCV Cmake generated include in C:\OpenCV-2.4.6\install\include
    INCLUDEPATH += "C:\OpenCV-2.4.6\install\include"

    //OPENCV Cmake generated install in C:\OpenCV-2.4.6\install\lib
    LIBS += -LC:\\OpenCV-2.4.6\\install\\lib \
    -lopencv_core246.dll \
    -lopencv_highgui246.dll \
    -lopencv_imgproc246.dll \
    -lopencv_features2d246.dll \
    -lopencv_calib3d246.dll


    //FFMPEG 32-Bit Dev Lib
    LIBS += "C:\Users\seanyiu\FFMPEG\ffmpeg_zeranoe_latest-win32-dev\lib\avformat.lib"
    LIBS += "C:\Users\seanyiu\FFMPEG\ffmpeg_zeranoe_latest-win32-dev\lib\avcodec.lib"
    LIBS += "C:\Users\seanyiu\FFMPEG\ffmpeg_zeranoe_latest-win32-dev\lib\swscale.lib"
    LIBS += "C:\Users\seanyiu\FFMPEG\ffmpeg_zeranoe_latest-win32-dev\lib\avutil.lib"
    LIBS += "C:\Users\seanyiu\FFMPEG\ffmpeg_zeranoe_latest-win32-dev\lib\avutil.lib"

    //FFMPEG 32-Bit Dev Include
    INCLUDEPATH += "C:\Users\seanyiu\FFMPEG\ffmpeg_zeranoe_latest-win32-dev\include"

    ---------------------------------------------------------------------------------

    Path Info:
    echo %PATH%
    ...............
    \;C:\Program Files (x86)\CMake 2.8\bin; << Cmake required
    C:\Users\seanyiu\FFMPEG\ffmpeg-20130706-git-63d7684-win32-shared\bin; << FFMPEG 32-Bit Shared run time required
    C:\Qt\5.1.0\mingw48_32\bin;C:\qt\Tools\MinGW\bin << QT MingW run time required
    C:\OpenCV-2.4.6\install\bin << OpenCV run time required

    When I compile, I get this error in inttypes from the FFMPEG package:
    C:\Users\seanyiu\FFMPEG\ffmpeg_zeranoe_latest-win32-dev\include\inttypes.h:34: error: #error "Use this header only with Microsoft Visual C++ compilers!"

    The workaround which I get around it is to just do a #define MSC_VER 1600 in FFMPEG Dev's include/inttypes to signify this is
    is Microsoft Visual Studio 2010 compiler and problem goes way.

    #define _MSC_VER 1600
    #ifndef _MSC_VER // [
    #error "Use this header only with Microsoft Visual C++ compilers!"
    #endif // _MSC_VER ]

    I am not sure this is the right way as the QT I am using is QT MingGW which uses g++ or gcc and not the Visual Studio 2010 compiler.
    However, my workaround compiles FFMPEG as if it were Visual Studio 2010 compiler. As to why I chose MSVC 2010, it's because I was using QT MSVC 2010 before I was
    forced to go to QT MingW version to compile OpenCV.

    Appreciate if you have any insight on right approach

    Thanks

    Sean

  4. #4
    Join Date
    Dec 2013
    Posts
    2
    Qt products
    Qt3
    Platforms
    Windows

    Default Re: Qt Media Encoding Library 1.0 alpha1 available!

    This is better than other sites. Always so inteesting to visit your site. What a grat info thank you for sharing this will help me so much in my learning

Similar Threads

  1. my media player
    By Fafa in forum Qt Programming
    Replies: 0
    Last Post: 23rd July 2011, 06:50
  2. How to create a media graph?
    By Potter in forum Qt Programming
    Replies: 2
    Last Post: 16th July 2010, 15:00
  3. Help With Media Key Events
    By painja in forum Qt Programming
    Replies: 0
    Last Post: 8th July 2010, 19:18
  4. Media content (mov, avi, wmv) in QTWebKit
    By deimus in forum Qt Programming
    Replies: 1
    Last Post: 3rd July 2010, 17:41
  5. Seekable media formats
    By Mari in forum Qt Programming
    Replies: 2
    Last Post: 6th August 2008, 10:27

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.