QFrameCatcher

Video Apps

Source (required if based on other people's work):

0
Score 82%
Description:

QFrameCatcher is a program that captures frames from a video file and save these frames as thumbnails in a single image file or inside a folder.

Requirements:

* Qt 4.1.0 or higher
* libxine 1.1.1 or higher

megabyte

11 years ago

thanks

working in mandriva spring :-)

just add path to temp dir (all images go to /home/user)

Report

ziletka

11 years ago

I have suse linux 10.1.
Qt 4.1.0, libxine1 1.1.2.
(And also: xine-lib 1.1.1 a Qt3 3.3.5 it is problem?)

1) qmake ...nothing do
2) make
/usr/bin/uic forms/preferencesd.ui -o ui_preferencesd.h
/usr/bin/uic forms/about.ui -o ui_about.h
/usr/bin/uic forms/main_form.ui -o ui_main_form.h
g++ -c -pipe -fno-strict-aliasing -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -D
QT_SHARED -I/usr/share/qt/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include
-I. -I. -o main.o main.cpp
In file included from gmain.h:16,
from main.cpp:6:
filefunctions.h:4:18: error: xine.h: není souborem ani adresářem
filefunctions.h:5:28: error: xine/xineutils.h: není souborem ani adresářem
filefunctions.h:25: error: ISO C++ forbids declaration of ‘xine_t’ with no type
filefunctions.h:25: error: expected ‘;’ before ‘*’ token
filefunctions.h:26: error: ISO C++ forbids declaration of ‘xine_stream_t’ with no type
filefunctions.h:26: error: expected ‘;’ before ‘*’ token
filefunctions.h:27: error: ISO C++ forbids declaration of ‘xine_video_port_t’ with no type
filefunctions.h:27: error: expected ‘;’ before ‘*’ token
filefunctions.h:28: error: ISO C++ forbids declaration of ‘xine_audio_port_t’ with no type
filefunctions.h:28: error: expected ‘;’ before ‘*’ token
filefunctions.h:29: error: ISO C++ forbids declaration of ‘xine_event_queue_t’ with no type
filefunctions.h:29: error: expected ‘;’ before ‘*’ token
make: *** [main.o] Error 1

Can you help me.
thanks
ziletka

Report

C

RaulE

11 years ago

Have you the xine-lib dev package installed?

In order to generate the binary of qframecatcher you need the dev package of xine-lib then you can run qframecatcher without xine-lib dev package.

Report

ziletka

11 years ago

Yes, I have xine-lib.

Report

C

RaulE

11 years ago

I am talking about devel packages.

You have to install a package called xine-devel or libxine-devel.

Report

ziletka

11 years ago

sorry...

Yes, I have libxine-devel. And when I type qmake: nothnig to do,

I type make:

g++ -c -pipe -fno-strict-aliasing -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -D
QT_SHARED -I/usr/share/qt/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include
-I. -I. -o main.o main.cpp
g++ -c -pipe -fno-strict-aliasing -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -D
QT_SHARED -I/usr/share/qt/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include
-I. -I. -o preferences.o preferences.cpp
g++ -c -pipe -fno-strict-aliasing -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -D
QT_SHARED -I/usr/share/qt/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include
-I. -I. -o filefunctions.o filefunctions.cpp
g++ -c -pipe -fno-strict-aliasing -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -D
QT_SHARED -I/usr/share/qt/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include
-I. -I. -o images.o images.cpp
g++ -c -pipe -fno-strict-aliasing -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -D
QT_SHARED -I/usr/share/qt/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include
-I. -I. -o preferencesd.o preferencesd.cpp
g++ -c -pipe -fno-strict-aliasing -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -D
QT_SHARED -I/usr/share/qt/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include
-I. -I. -o about.o about.cpp
g++ -c -pipe -fno-strict-aliasing -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -D
QT_SHARED -I/usr/share/qt/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include
-I. -I. -o gmain.o gmain.cpp
gmain.cpp:45: warning: unused parameter ‘pos’
gmain.cpp:68: warning: unused parameter ‘column’
g++ -c -pipe -fno-strict-aliasing -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -D
QT_SHARED -I/usr/share/qt/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include
-I. -I. -o imageprinter.o imageprinter.cpp
g++ -c -pipe -fno-strict-aliasing -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -D
QT_SHARED -I/usr/share/qt/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include
-I. -I. -o imagefolder.o imagefolder.cpp
g++ -c -pipe -fno-strict-aliasing -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -D
QT_SHARED -I/usr/share/qt/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include
-I. -I. -o clipboard.o clipboard.cpp
/usr/bin/moc -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/default -I. -
I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -I. preferencesd.h -o moc_preferencesd.cpp
g++ -c -pipe -fno-strict-aliasing -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -D
QT_SHARED -I/usr/share/qt/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include
-I. -I. -o moc_preferencesd.o moc_preferencesd.cpp
/usr/bin/moc -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/default -I. -
I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -I. about.h -o moc_about.cpp
g++ -c -pipe -fno-strict-aliasing -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -D
QT_SHARED -I/usr/share/qt/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include
-I. -I. -o moc_about.o moc_about.cpp
/usr/bin/moc -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/default -I. -
I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -I. gmain.h -o moc_gmain.cpp
g++ -c -pipe -fno-strict-aliasing -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -D
QT_SHARED -I/usr/share/qt/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include
-I. -I. -o moc_gmain.o moc_gmain.cpp
/usr/bin/rcc -name images images.qrc -o qrc_images.cpp
g++ -c -pipe -fno-strict-aliasing -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -D
QT_SHARED -I/usr/share/qt/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -I. -o qrc_images.o qrc_images.cpp
g++ -o qframecatcher main.o preferences.o filefunctions.o images.o preferencesd.o about.o gmain.o imag eprinter.o imagefolder.o clipboard.o moc_preferencesd.o moc_about.o moc_gmain.o qrc_images.o -L/usr/l ib -lxine -lQtGui -L/usr/lib -L/usr/X11R6/lib -lpng -lSM -lICE -lXi -lXrender -lXrandr -lXcursor -lXine rama -lfreetype -lfontconfig -lXext -lX11 -lQtCore -lz -lm -ldl -lpthread

and then I log as sudo and type make install:

make: Nothing to be done for `install'.

Than I run: qframecather and when I something do, program closed (no error on screen)

Report

zekant

12 years ago

Thanks for making timestamps an option !
Now i can get to work :)

Cheers

Report

zekant

12 years ago

Compiling with qt 4.1.3, qmake runs fine, but i've got an error with main.cpp

In file included from gmain.h:17,
from main.cpp:7:
preferencesd.h:14: error: `Ui' is not a class or namespace
preferencesd.h:14: error: `options' is not a class or namespace
preferencesd.h:14: error: invalid base-class specification

any ideas ? :D

Thanks for sharing this tool, it's the perfect solution for me to generate animated tiled texture for blender. I can't wait to try it

Report

C

RaulE

12 years ago

Test in Linux box with qt 4.1.3 and qmake and make works without errors and also qframecatcher runs in this enviroment.

Have you installed all qt4 packages and also dev packages?

Report

zekant

12 years ago

Ok, i may have screwed up somewhere, i tried again and now no pb... I don't understand, but as long as it works !...
A feature request, though : could make the text on each individual frame optional ? Because i'm using the generated file as a texture in a 3d engine, so the timestamps are not quite useful :D

thanks again and keep up the good work

Report

google01103

12 years ago

smiley@CIRCUS:~/temp/qframecatcher/src> qmake
WARNING: Found potential symbol conflict of preferencesd.cpp (preferencesd.cpp) in SOURCES
WARNING: Found potential symbol conflict of preferencesd.h (preferencesd.h) in HEADERS
WARNING: Found potential symbol conflict of about.cpp (about.cpp) in SOURCES
WARNING: Found potential symbol conflict of about.h (about.h) in HEADERS
smiley@CIRCUS:~/temp/qframecatcher/src> make
Makefile:266: warning: overriding commands for target `moc_preferencesd.cpp'
Makefile:254: warning: ignoring old commands for target `moc_preferencesd.cpp'
Makefile:269: warning: overriding commands for target `moc_about.cpp'
Makefile:257: warning: ignoring old commands for target `moc_about.cpp'
/usr/lib/qt3/bin/uic main_form.ui -o main_form.h
uic: File generated with too recent version of Qt Designer (4.0 vs. 3.3.5)
make: *** [main_form.h] Error 1

Report

C

RaulE

12 years ago

In your make log , you see this line :
>/usr/lib/qt3/bin/uic main_form.ui -o main_form.h

This means that you try to qmake and make with qt 3.3.x and this program use qt 4.1.x
You need to install qt-4.1.0 and qt-devel-4.1.0 packages

Report

google01103

12 years ago

Better but now I get /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: cannot find -lxine

I think I have the all/most xine rpms loaded (see below), could problem be because all my xine rpms are 386 and the actual os is 64 bit? I use the 386 because the wmv codes are not available in 64 bit.

rpm -qa|grep xine
gxine-browser-plugin-0.5.6-0.pm.0
libxine1-devel-1.1.1-16.pm.0
gxine-0.5.6-0.pm.0
xine-ui-0.99.4cvs-20060423.pm.0
xine-lib-32bit-1.1.1-24
libxine1-sdl-1.1.1-16.pm.0
xinetd-2.3.14-12
libxine1-1.1.1-16.pm.0
amarok-xine-1.4.0_0.3c-2.guru.suse101
libxine1-dvb-1.1.1-16.pm.0
libxine1-directfb-1.1.1-16.pm.0


Report

C

RaulE

12 years ago

>could problem be because all my xine rpms are 386 and the actual os is 64 bit?
Yes , it needs the 64bit version of xine.

Ok , try this , install qt-32bit-4.1.0 package for x86_64.

Then type : linux32 qmake and linux32 make.

Report

google01103

12 years ago

smiley@CIRCUS:~/temp/qframecatcher/src> linux32 qmake
smiley@CIRCUS:~/temp/qframecatcher/src> linux32 make
< snip>
/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libxine.so when searching for -lxine
/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: cannot find -lxine
collect2: ld returned 1 exit status
make: *** [qframecatcher] Error 1

thanks,

Report

C

RaulE

12 years ago

Well , try this :
linux32 qmake
Then open the Makefile and change all -m64 strings to -m32 also in LIBS entry change the strings that have /lib64 to /lib (Example -L/usr/lib64 to -L/usr/lib)
linux32 make

Report

google01103

12 years ago

Sorry, but some how the make command is forcing the return of -m64 and -/lib64

I've done as requested and yet still get: g++ -m64 -o qframecatcher main.o preferences.o filefunctions.o images.o preferencesd.o about.o gmain.o imageprinter.o imagefolder.o moc_preferencesd.o moc_about.o moc_gmain.o qrc_images.o -L/usr/lib64 -lxine -lQtGui -L/usr/lib64 -L/usr/X11R6/lib64 -lpng -lSM -lICE -lXi -lXrender -lXrandr -lXcursor -lXinerama -lfreetype -lfontconfig -lXext -lX11 -lQtCore -lz -lm -ldl -lpthread

Thanks for your time but if I'm the only one with this issue then you shouldn't spend the tiime on it - if these kind of things keep happening I'll go back to a full 32 bit or do a virtualization thing

Report

google01103

12 years ago

It may not be not quite what I wanted because I can't handle wmv files but I do have it working (I assume the 32bit hanldes wmv - correct)

What I did is install the 64bit devel rpm and the 64bit libraries and made qframecatcher, then I renamed them so that when I installed the 32 bit the 64bit files would would not be removed and after running make I renamed the 64bits to the original. So now I can play wmv files and run qframecatcher

Only problem so far is that the fonts in qframecatcher are very tiny.

Report

C

RaulE

12 years ago

I'm happy you can use now qframecatcher :-)

To change font size , run :
qtconfig

There you can change font size.

Report

minahd

12 years ago

I have created a patch that addresses two things.

1: The seg-fault when clicking on an image.
2: You should use qApp->processEvents() so your app doesn't freeze while doing hefty operations.

The patch is located:

http://www.ellenia.com/minahd/patches/qframecatcher-0.2.1.patch

Question...why don't you use the signals/slots? Also, are you allergic to indenting? :P

Report

C

RaulE

12 years ago

Thanks minahd , I apply your patch in qframecatcher 0.2.2

It's my first app , so i don't know how to use more signals/slots.

Report

minahd

12 years ago

I'm not the best coder around, but I'm okay. Would you like some help?

Report

C

RaulE

12 years ago

Thanks for your offer minahd , at the moment i no need help , i'm learning Qt while coding :-)

Report

CpuWhiz

12 years ago

I tried the app out and it reminds me of this one app that does the same thing in Windows. For some reason I get a segfault when clicking a image on the left. gmain.cpp:37 is where it crashed.

Things I would like to see added:
* Option to make a thumb every x frames or x seconds.
* Option to save all the images (full size ) into a folder.
* A sizer between the thumbnail list and the preview on the right.

Qt 4.1 is cool, I'm working on a app using it to. Are you planing to port this to KDE 4 once it becomes stable?

Other then that, it works well and is handy when you want to post a video or something along those lines.

Report

C

RaulE

12 years ago

Segfault bug is fixed in qframecatcher 0.2.2

I take notes about your features but don't expect these features soon.

I need learn how to make KDE 4 apps when it will released.

Thanks for your feedback.

Report

product-maker 16 94

File (click to download) Version Description Packagetype Architecture Downloads Date Filesize DL OCS-Install
Pling
Details
license
version
0.4.1
updated Nov 06 2006
added Mar 30 2006
downloads today
0
page views today 1
System Tags app software