Results 1 to 10 of 10

Thread: VLC lib for Qt

  1. #1
    Join Date
    Nov 2010
    Posts
    48
    Thanks
    5
    Thanked 4 Times in 4 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default VLC lib for Qt

    hi,
    I am trying to using the VLC lib in my app. I don't know how to import the lib and how to call the function, any one could help me please,
    this is the link where i got the lib
    http://qt-apps.org/content/show.php/...content=133649
    I also got this link http://wiki.videolan.org/LibVLC_SampleCode_Qt but don't know how to implement it. Where is the lib and the header files?


    Please suggest me.
    Last edited by somnathbanik; 13th November 2010 at 07:09.

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: VLC lib for Qt

    Do some effort and read some documentation:

    In found this in 10 seconds:
    http://wiki.videolan.org/Libvlc

  3. #3
    Join Date
    Nov 2010
    Posts
    48
    Thanks
    5
    Thanked 4 Times in 4 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: VLC lib for Qt

    Quote Originally Posted by tbscope View Post
    Do some effort and read some documentation:

    In found this in 10 seconds:
    http://wiki.videolan.org/Libvlc
    The link you suggested me is already the in my first post.

  4. #4
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: VLC lib for Qt

    The lib you most likely need to build yourself, or install from your package repository.
    The headers are in the source (install them) or also in the package repository.

    Now don't be a dummy and go read some documentation.

  5. #5
    Join Date
    Nov 2010
    Posts
    48
    Thanks
    5
    Thanked 4 Times in 4 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: VLC lib for Qt

    Quote Originally Posted by tbscope View Post
    The lib you most likely need to build yourself, or install from your package repository.
    The headers are in the source (install them) or also in the package repository.

    Now don't be a dummy and go read some documentation.
    I read the doc http://wiki.videolan.org/LibVLC_SampleCode_Qt and there its mentioned that i need to get You need libvlc headers and Qt headers.Take those 3 files, put them in a folder. Run what are those files.I downloaded libvlc-qt_0.4.0_win32 from http://sourceforge.net/p/vlc-qt/wiki...2010-10-08%29/ and extracted now I don't know what are the files that I need to take form the folder. and alsohttp://wiki.videolan.org/Libvlc its mentioed that its out of date.


    Please suggest me.

  6. #6
    Join Date
    Nov 2010
    Posts
    48
    Thanks
    5
    Thanked 4 Times in 4 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: VLC lib for Qt

    anyone please suggest me.

  7. #7
    Join Date
    Sep 2010
    Posts
    45
    Thanks
    8
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: VLC lib for Qt

    Quote Originally Posted by somnathbanik View Post
    anyone please suggest me.
    by intuition:

    add in your source code:
    #include<vlc/libvlc.h>

    and link the libs: (in your .pro file)
    LIBS += -lvlc -lvlccore

    if you are using win find the locations of the include path and the vlc.lib vlccore.lib
    and set the correct INCLUDEPATH and LIBS in your .pro file.

    The vlc libs don't depends on Qt!
    Last edited by bred; 13th November 2010 at 12:39.

  8. #8
    Join Date
    Nov 2010
    Posts
    48
    Thanks
    5
    Thanked 4 Times in 4 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: VLC lib for Qt

    I an getting error in libvlc_exception_t i checked and didn;t fine libvlc_exception_t inside any .h file. Please suggest me what to do now?

  9. #9
    Join Date
    Sep 2010
    Posts
    45
    Thanks
    8
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: VLC lib for Qt

    Quote Originally Posted by somnathbanik View Post
    I an getting error in libvlc_exception_t i checked and didn;t fine libvlc_exception_t inside any .h file. Please suggest me what to do now?
    Search in the VLC API documentation, or ask in the forum of the VLC developers (if it exits)
    http://www.videolan.org/developers/v...tml/index.html

    In this forum you are completely off-topic.

  10. #10
    Join Date
    Jun 2010
    Posts
    137
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: VLC lib for Qt

    Hi somnathbanik,

    Did you succeed with using vlc library in your app. I too want to use vlc plugin to my qt app to play different encoded video files. So If you got succeed with the vlc lib usability in your app, please let me know I would be really grateful for the help.

    Thank you,
    Baluk

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.