Page 1 of 1
Stream/Frame information in VLC
Posted: 02 Mar 2011 23:19
by amitabhaghosh
Hi,
I'm not sure if this is the right forum to post my question, if so, I apologize, if not, it will be great to have some pointers.
I am trying to look for the code in VLC (1.1.7) where I can see/extract stream or frame related information, i.e, I want to know the frame type, size, deadlines, etc. I have browsed through many files in several directories, but I was unable to pin point where exactly this functionality resides. Any help will be greatly appreciated.
thanks,
Amitabh
Re: Stream/Frame information in VLC
Posted: 03 Mar 2011 12:26
by Jean-Baptiste Kempf
did you look at the vlcinfo project in libvlc-demo git?
Re: Stream/Frame information in VLC
Posted: 03 Mar 2011 20:11
by amitabhaghosh
Thanks, I cloned the libvlc-demos project using git. It has two directories: vlcinfo and webcam. Is there a documentation on what this project does (or what the files contain), or how I can compile these files? Is this treated as a separate module in VLC and need to be compiled with VLC. Sorry, if my questions sound too naive, but will be very helpful if you could point me to the right direction.
Amitabh
Re: Stream/Frame information in VLC
Posted: 03 Mar 2011 21:48
by amitabhaghosh
Ok, I got some handle on the files that are in libvlc-demos, and a rough idea on what they do (extracts media, track information, ..). How do I compile these files?
thanks,
Amitabh
Re: Stream/Frame information in VLC
Posted: 05 Mar 2011 07:03
by amitabhaghosh
Figured out myself
qmake to generate the Makefile, and then make..!! Pretty cool.
Re: Stream/Frame information in VLC
Posted: 16 Mar 2011 12:28
by Minakshi
Hi all,
I am getting error on streaming video..using qt 4.7, meego touch framework..
Running build steps for project VLCPlayer...
Configuration unchanged, skipping qmake step.
Starting: "/usr/bin/make" -w
make: Entering directory `/home/minakshi/project/VLCPlayer-build-meego'
/usr/lib/madde/linux-i686/targets/meego-handset-ia32-1.1.2/bin/qmake -spec /usr/lib/madde/linux-i686/sysroots/meego-handset-ia32-madde-sysroot-1.1.20110106.1204-fs/usr/share/qt4/mkspecs/linux-g++ -o Makefile ../VLCPlayer/VLCPlayer.pro
make: Leaving directory `/home/minakshi/project/VLCPlayer-build-meego'
make: Entering directory `/home/minakshi/project/VLCPlayer-build-meego'
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DM_APPLICATION_NAME=\"VLCPlayer\" -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/madde/linux-i686/sysroots/meego-handset-ia32-madde-sysroot-1.1.20110106.1204-fs/usr/share/qt4/mkspecs/linux-g++ -I../VLCPlayer -I/usr/lib/madde/linux-i686/sysroots/meego-handset-ia32-madde-sysroot-1.1.20110106.1204-fs/usr/include/qt4/QtCore -I/usr/lib/madde/linux-i686/sysroots/meego-handset-ia32-madde-sysroot-1.1.20110106.1204-fs/usr/include/qt4/QtGui -I/usr/lib/madde/linux-i686/sysroots/meego-handset-ia32-madde-sysroot-1.1.20110106.1204-fs/usr/include/qt4/QtDBus -I/usr/lib/madde/linux-i686/sysroots/meego-handset-ia32-madde-sysroot-1.1.20110106.1204-fs/usr/include/qt4 -I/usr/local/include -I/usr/include/meegotouch -I. -I../VLCPlayer -I. -o main.o ../VLCPlayer/main.cpp
In file included from ../VLCPlayer/main.cpp:2:0:
../VLCPlayer/VLCPlayer.h:48:5: error: ‘libvlc_media_player_t’ does not name a type
../VLCPlayer/VLCPlayer.h:49:5: error: ‘libvlc_media_t’ does not name a type
make: Leaving directory `/home/minakshi/project/VLCPlayer-build-meego'
make: *** [main.o] Error 1
The process "/usr/bin/make" exited with code %2.
Error while building project VLCPlayer (target: MeeGo)
When executing build step 'Make'
Suggest me what i will do.....
Thnks....
Re: Stream/Frame information in VLC
Posted: 16 Mar 2011 12:30
by Jean-Baptiste Kempf
VLC version?
Re: Stream/Frame information in VLC
Posted: 17 Mar 2011 10:54
by Minakshi
Thnks for ur responce,
I am using vlc 1.0 version.. if i m using header file <vlc/vlc.h> instead of <vlc/lvlc.h> i m getting error........like.
Running build steps for project VLCPlayer...
Configuration unchanged, skipping qmake step.
Starting: "/usr/bin/make" -w
make: Entering directory `/home/minakshi/project/VLCPlayer-build-meego'
/usr/lib/madde/linux-i686/targets/meego-handset-ia32-1.1.2/bin/qmake -spec /usr/lib/madde/linux-i686/sysroots/meego-handset-ia32-madde-sysroot-1.1.20110106.1204-fs/usr/share/qt4/mkspecs/linux-g++ -o Makefile ../VLCPlayer/VLCPlayer.pro
make: Leaving directory `/home/minakshi/project/VLCPlayer-build-meego'
make: Entering directory `/home/minakshi/project/VLCPlayer-build-meego'
g++ -Wl,-O1 -o VLCPlayer main.o MainWindow.o VLCPlayer.o moc_MainWindow.o moc_VLCPlayer.o -L/usr/lib/madde/linux-i686/sysroots/meego-handset-ia32-madde-sysroot-1.1.20110106.1204-fs/usr/lib -lvlc -L/usr/lib -lmeegotouchcore -lmeegotouchsettings -lmeegotouchextensions -lQtDBus -lQtGui -lQtCore -lpthread
/usr/lib/madde/linux-i686/toolchains/meego-sdk-i586-toolchain-1.1-linux_i686/i586-meego-linux-gnu/bin/../lib/gcc/i586-meego-linux-gnu/4.5.0/../../../../i586-meego-linux-gnu/bin/ld: cannot find -lvlc
collect2: ld returned 1 exit status
make: Leaving directory `/home/minakshi/project/VLCPlayer-build-meego'
make: *** [VLCPlayer] Error 1
The process "/usr/bin/make" exited with code %2.
Error while building project VLCPlayer (target: MeeGo)
When executing build step 'Make'
Thnks...
Re: Stream/Frame information in VLC
Posted: 17 Mar 2011 11:10
by Jean-Baptiste Kempf
Stop using 2 topics for the same problem.