Hi, I want to share my experience with dvbcut on Suse 10.
First of all, it's a great package. It does just what I need to trim my mpeg2 files. I capture video from my camcorder using a Hauppage PVR 350, which encodes directly to mpeg2. Before I found dvbcut, I had to demultiplex the mpeg2, cut it, and then remultiplex. Argh! Suse does not include an rpm for dvbcut. I added packman as an installation source in Yast (packman.iu-bremen.de, directory suse/10.0). Then I could install dvbcut using yast. Everything worked fine for my first few videos. Then I ran into a bug that I think is described in an email from Sven: http://www.mail-archive.com/dvbcut-user%40lists.sourceforge.net/msg00042.html I was able to download the source tarball and apply the fix as suggested. When I tried to build I found out there is a dependence on the scons package. Again, no Suse package for it so I googled and found http://www.scons.org/. I first tried the source tarball but that was a mistake. I then downloaded the regular tarball. Then I found a dependence on python distutils. I searched for this package in yast but did not find it. Then I figured out it is in python-devel. I installed that, then was able to build scons. When I try make for dvbcut-0.5.3, I get a lot of errors. The output is 19KB so I did not attach it to this mail. The beginning and end of the output are pasted below. I hope this does not sound like complaining. I like the package, I am just having some trouble getting it to work. Also I want to save time for any other Suse users. I would appreciate any tips on getting dvbcut to build, or whether there might be a bugfix release soon. Also, forgive me for asking on this list: is there a workaround? A different tool that might accomplish the same thing? All I really need is to cut a 120 minute mpeg2 into two files, the first is 0 - 65 minutes and the second is 60 - 120 minutes. Regards, Larry Howe Beginning ==================================================== Script started on Sun Mar 5 21:21:08 2006 bashful:/home/lhowe/downloads/dvbcut-0.5.3 # make scons \ scons: Reading SConscript files ... Checking for main() in C library ao... no Checking for libao... not found scons: done reading SConscript files. scons: Building targets ... g++ -O3 -Wall -DQT_NO_DEBUG -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/usr/lib/qt3/include -Iffmpeg/ include -c -o src/dvbcut.o src/dvbcut.cpp In file included from src/dvbcut.cpp:46: src/dvbcut.h:24:24: error: dvbcutbase.h: No such file or directory src/dvbcut.cpp:50:30: error: mplayererrorbase.h: No such file or directory In file included from src/dvbcut.cpp:53: src/progresswindow.h:24:32: error: progresswindowbase.h: No such file or directory In file included from src/dvbcut.cpp:58: src/exportdialog.h:23:30: error: exportdialogbase.h: No such file or directory /usr/lib/qt3/include/qnetworkprotocol.h:58: warning: ‘class QNetworkProtocolFactoryBase’ has virtual fu nctions but non-virtual destructor /usr/lib/qt3/include/qfiledialog.h:78: warning: ‘class QFilePreview’ has virtual functions but non-virt ual destructor src/dvbcut.h:31: error: expected class-name before ‘{’ token src/dvbcut.h:66: error: ‘WFlags’ has not been declared src/dvbcut.h:31: warning: ‘class dvbcut’ has virtual functions but non-virtual destructor src/dvbcut.h:66: error: ‘WType_TopLevel’ was not declared in this scope src/dvbcut.h:66: error: ‘WDestructiveClose’ was not declared in this scope End =========================================================== /usr/lib/qt3/include/qmessagebox.h:117: note: static int QMessageBox::critical(QWidget*, const QString&, const QString&, const QString&, const QString&, const QString&, int, int) src/dvbcut.cpp:1087: error: no matching function for call to ‘QFileDialog::getSaveFileName(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, QString, dvbcut* const, const char [21], const char [34])’ /usr/lib/qt3/include/qfiledialog.h:121: note: candidates are: static QString QFileDialog::getSaveFileName(const QString&, const QString&, QWidget*, const char*, const QString&, QString*, bool) src/dvbcut.cpp:1141: error: ‘statusBar’ was not declared in this scope src/dvbcut.cpp:1214: error: no matching function for call to ‘EventListItem::width(<type error>)’ src/eventlistitem.h:49: note: candidates are: virtual int EventListItem::width(const QListBox*) const src/dvbcut.cpp:1236: error: no matching function for call to ‘EventListItem::EventListItem(<type error>, QImage, EventListItem::eventtype&, int&, int, long long int)’ src/eventlistitem.h:32: note: candidates are: EventListItem::EventListItem(QListBox*, const QPixmap&, EventListItem::eventtype, int, int, pts_t) src/eventlistitem.h:27: note: EventListItem::EventListItem(const EventListItem&) src/dvbcut.cpp: In member function ‘void dvbcut::setviewscalefactor(int)’: src/dvbcut.cpp:1344: error: ‘viewFullSizeAction’ was not declared in this scope src/dvbcut.cpp:1345: error: ‘viewHalfSizeAction’ was not declared in this scope src/dvbcut.cpp:1346: error: ‘viewQuarterSizeAction’ was not declared in this scope scons: *** [src/dvbcut.o] Error 1 scons: building terminated because of errors. make: *** [build] Error 2 bashful:/home/lhowe/downloads/dvbcut-0.5.3 # exit exit Script done on Sun Mar 5 21:21:22 2006 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ DVBCUT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dvbcut-user
