Stream/Frame information in VLC

This forum is about all development around libVLC.
amitabhaghosh
New Cone
New Cone
Posts: 6
Joined: 25 Jan 2011 22:54
VLC version: 1.1.5
Location: Princeton, NJ

Stream/Frame information in VLC

Postby amitabhaghosh » 02 Mar 2011 23:19

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Stream/Frame information in VLC

Postby Jean-Baptiste Kempf » 03 Mar 2011 12:26

did you look at the vlcinfo project in libvlc-demo git?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

amitabhaghosh
New Cone
New Cone
Posts: 6
Joined: 25 Jan 2011 22:54
VLC version: 1.1.5
Location: Princeton, NJ

Re: Stream/Frame information in VLC

Postby amitabhaghosh » 03 Mar 2011 20:11

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

amitabhaghosh
New Cone
New Cone
Posts: 6
Joined: 25 Jan 2011 22:54
VLC version: 1.1.5
Location: Princeton, NJ

Re: Stream/Frame information in VLC

Postby amitabhaghosh » 03 Mar 2011 21:48

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

amitabhaghosh
New Cone
New Cone
Posts: 6
Joined: 25 Jan 2011 22:54
VLC version: 1.1.5
Location: Princeton, NJ

Re: Stream/Frame information in VLC

Postby amitabhaghosh » 05 Mar 2011 07:03

Figured out myself :) qmake to generate the Makefile, and then make..!! Pretty cool.

Minakshi
New Cone
New Cone
Posts: 8
Joined: 24 Dec 2010 10:38
Operating System: linux
Location: India

Re: Stream/Frame information in VLC

Postby Minakshi » 16 Mar 2011 12:28

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....

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Stream/Frame information in VLC

Postby Jean-Baptiste Kempf » 16 Mar 2011 12:30

VLC version?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Minakshi
New Cone
New Cone
Posts: 8
Joined: 24 Dec 2010 10:38
Operating System: linux
Location: India

Re: Stream/Frame information in VLC

Postby Minakshi » 17 Mar 2011 10:54

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...

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Stream/Frame information in VLC

Postby Jean-Baptiste Kempf » 17 Mar 2011 11:10

Stop using 2 topics for the same problem.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 18 guests