Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

minitube!

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
Burt
Posts: 33
Joined: 2010-01-03 21:16

minitube!

#1 Post by Burt »

hi :) i seem to be stumbling from one problem to another right now haha. my next problem concerns minitube and its installation. i downloaded the source from the website and followed the instructions given in the readme file :

sudo apt-get install build-essential qt4-dev-tools libphonon-dev

followed by
'qmake', then 'make'

after which i get this error

Code: Select all

g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DDATADIR=\"/usr/share\" -DPKGDATADIR=\"/usr/share/minitube\" -DQT_NO_DEBUG -DQT_PHONON_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXml -I/usr/include/phonon -I/usr/include/phonon -I/usr/include/qt4 -I/usr/include/phonon -Isrc/qtsingleapplication -Isrc/thlibrary -Ilocale -Ibuild/moc -I. -o build/obj/MainWindow.o src/MainWindow.cpp
In file included from src/MainWindow.cpp:5:
src/global.h:8:32: error: QNetworkProxyFactory: No such file or directory
In file included from src/MainWindow.cpp:5:
src/global.h: In function ‘void The::maybeSetSystemProxy()’:
src/global.h:32: error: ‘QNetworkProxyQuery’ was not declared in this scope
src/global.h:32: error: expected `;' before ‘proxyQuery’
src/global.h:33: error: ‘proxyQuery’ was not declared in this scope
src/global.h:34: error: ‘QNetworkProxyFactory’ has not been declared
src/MainWindow.h: In constructor ‘MainWindow::MainWindow()’:
src/MainWindow.h:143: warning: ‘MainWindow::audioOutput’ will be initialized after
src/MainWindow.h:99: warning:   ‘QWidget* MainWindow::aboutView’
src/MainWindow.cpp:7: warning:   when initialized here
src/MainWindow.cpp: In member function ‘void MainWindow::showWidget(QWidget*)’:
src/MainWindow.cpp:425: warning: unused variable ‘oldWidget’
src/Constants.h: At global scope:
src/Constants.h:9: warning: ‘Constants::ORG_NAME’ defined but not used
src/Constants.h:10: warning: ‘Constants::ORG_DOMAIN’ defined but not used
src/Constants.h:12: warning: ‘Constants::EMAIL’ defined but not used
make: *** [build/obj/MainWindow.o] Error 1
any suggestions? the readme file also recommended to try 'qmake-qt4' if the first qmake didnt succeed, which i did. I'm using debian lenny stable btw.

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: minitube!

#2 Post by craigevil »

Why bother with building it?

All I did was download http://flavio.tordini.org/files/minitub ... 8.1.tar.gz extract it and execute minitube.

Works great, thanks for pointing this cool app out.
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

Burt
Posts: 33
Joined: 2010-01-03 21:16

Re: minitube!

#3 Post by Burt »

doesnt work for me. i'm using the openbox window manager btw, not sure if thats anything to do with it

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: minitube!

#4 Post by craigevil »

Burt wrote:doesnt work for me. i'm using the openbox window manager btw, not sure if thats anything to do with it
I use lxde. Try making sure you have phonon installed.

libphonon4
phonon-backend-xine

Should do it.
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

Burt
Posts: 33
Joined: 2010-01-03 21:16

Re: minitube!

#5 Post by Burt »

I installed those two packages, the error is just the same when i try to do the make after qmake. and right clicking on the executable and selecting execute does nothing either :/ hmmm

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: minitube!

#6 Post by craigevil »

Image

Works here.

craig@craigevil:~/Download/minitube$ ./minitube or right clicking on minitube launches it. You might have to set the executable bit on minitube.

Too bad there isn't a Debain package.

Take a look at the Minitube FAQ page:
Minitube FAQ
Why do I get no video and/or audio?
If you’re on Linux you probably miss the Gstreamer Phonon backend or the GStreamer codecs (or both). Install phonon-backend-gstreamer, gstreamer-ffmpeg and gstreamer-plugins-bad. If the problem persists, try to run this command

sudo ln -s /usr/lib/kde4/plugins/phonon_backend /usr/lib/qt4/plugins/phonon_backend

Minitube doesn't start.
You probably have an old Qt version. Minitube requires 4.5 or better. You can check by running Minitube from command line. It should give something like:

./minitube: symbol lookup error:
./minitube: undefined symbol:
_ZN18QNetworkProxyQueryC1ERK4QUrlNS_9QueryTypeE
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

Burt
Posts: 33
Joined: 2010-01-03 21:16

Re: minitube!

#7 Post by Burt »

hmm, i found a 64 bit deb package via here : http://bugs.debian.org/cgi-bin/bugrepor ... =561012#10
and when i tried to dpkg i got this error, which corroborates whats said about needing qt 4.5 or higher :

Code: Select all

Selecting previously deselected package minitube.
(Reading database ... 119691 files and directories currently installed.)
Unpacking minitube (from minitube_0.8.1-1_amd64.deb) ...
dpkg: dependency problems prevent configuration of minitube:
 minitube depends on libqt4-network (>= 4:4.5.3); however:
  Version of libqt4-network on system is 4.4.3-1.
 minitube depends on libqt4-xml (>= 4:4.5.3); however:
  Version of libqt4-xml on system is 4.4.3-1.
 minitube depends on libqtcore4 (>= 4:4.5.3); however:
  Version of libqtcore4 on system is 4.4.3-1.
 minitube depends on libqtgui4 (>= 4:4.5.3); however:
  Version of libqtgui4 on system is 4.4.3-1.
 minitube depends on phonon (>= 4:4.5.2); however:
  Version of phonon on system is 4:4.2.0-2.
dpkg: error processing minitube (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 minitube
trouble is, i got my versions of qt from the repos only today and yesterday. i'm not sure where i could get updated versions of those packages^^. forgive me if that sounds silly, im quite new to linux, a few weeks with this version of debian and about a month with fedora 11 prior. any ideas how i can update those packages?

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: minitube!

#8 Post by craigevil »

You would most likely need to get the packages from testing, if you aren't running kde it shouldn't be a problem. However if you are using kde3.5 from stable it would get upgraded to kde4.

You can always add the testing repo to your sources.list then run aptitude -t testing install package -s

The -s will simulate the install so you can see what all would be installed/upgraded.

You would need to add :
deb http://debian.sur5r.net/minitube testing main

deb http://ftp.debian.org/debian/ testing main contrib non-free

to your /etc/apt/sources.list then run aptitude update, followed by aptitude install minitube -s
Keep an eye on what it wants to upgrade and install, if it looks ok go for it. But keep in mind mixing releases is not a good idea.

Annoying things like this are why I run unstable.
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: minitube!

#9 Post by craigevil »

if you were on sid I would tell you to use:
deb http://frickelplatz.de/debian/ sid main non-free contrib

Nice minitube .deb that works great.
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

Burt
Posts: 33
Joined: 2010-01-03 21:16

Re: minitube!

#10 Post by Burt »

we're getting closer and closer with each step :) i followed all your instructions, minitube starts fine now, but i get a message saying 'A required codec is missing. You need to install the following codec(s) to play this content: MPEG-4 AAC"
tried installing faad ect but to no avail....so close lol

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: minitube!

#11 Post by craigevil »

$ apt-cache show minitube
Package: minitube
Priority: extra
Section: video
Installed-Size: 692
Maintainer: Torsten Wohlfarth <towo@frickelplatz.de>
Architecture: i386
Version: 0.8.1-1
Depends: libc6 (>= 2.3.6-6~), libgcc1 (>= 1:4.1.1), libphonon4 (>= 4:4.2.0), libqt4-network (>= 4:4.5.3), libqt4-xml (>= 4:4.5.3), libqtcore4 (>= 4:4.5.3), libqtgui4 (>= 4:4.5.3), libstdc++6 (>= 4.1.1), phonon (>= 4:4.5.2), gstreamer0.10-plugins-good, gstreamer0.10-ffmpeg, gstreamer0.10-plugins-bad
Filename: dists/unstable/main/binary-i386/video/minitube_0.8.1-1_i386.deb
Size: 210068
MD5sum: 2f18ef6cde09cde57207984b55be8108
SHA1: 5d5c2bb4276ca051dc0d4dce502c50d1541165bc
SHA256: 126f5d73b37b6c24194ba5d92f9990039f76dfd679e95f638e68488a8cfe6ec3
Description: a native YouTube client
Minitube is a native YouTube client. With it you can watch YouTube videos in a new way: you type a keyword,
Minitube gives you an endless video stream. Minitube does not require the Flash Player.
Minitube is not about cloning the original YouTube web interface, it strives to create a new TV-like experience.
Minitube is in its early stages. It lacks some features I planned for it. That said, it works.
Try it, report your experience in the comments and spread the word.
Homepage: http://flavio.tordini.org/minitube
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

Burt
Posts: 33
Joined: 2010-01-03 21:16

Re: minitube!

#12 Post by Burt »

ive got all those dependencies bar one , the grstreamer0.10-plugins-bad
when i try an apt-get i get the error message

Code: Select all


The following information may help to resolve the situation:

The following packages have unmet dependencies.
  gstreamer0.10-plugins-bad: Depends: libdirac-encoder0 but it is not going to be installed
E: Broken packages


Burt
Posts: 33
Joined: 2010-01-03 21:16

Re: minitube!

#13 Post by Burt »

i think i shall give up on this, when i select to install gstreamer bad plugins, synaptic says that it will remove a huge amount of packages.

sur5r
Posts: 1
Joined: 2010-01-20 23:46

Re: minitube!

#14 Post by sur5r »

Hi there!

For me, minitube works with either phonon-backend-gstreamer or phonon-backend-xine.

For both, you need an AAC decoder, faad. For gstreamer, this is contained in the plugins from the bad set,
for xine, it comes with libxine1-ffmpeg.

Please note that I created my packages for the testing distribution only, because minitube needs qt4.5 which is only available in testing so far.

Regards,
sur5r
ceterum censeo microsoftem esse delendam.

Burt
Posts: 33
Joined: 2010-01-03 21:16

Re: minitube!

#15 Post by Burt »

thanks for the reply sur5r, i have phonon-backend-xine installed and libxine1-ffmpeg. still no joy :/

Burt
Posts: 33
Joined: 2010-01-03 21:16

Re: minitube!

#16 Post by Burt »

well, i finally got minitube to work. i'd removed those two sources you gave me as i'd ran update manager and it was having problems. i'm putting that down to mixing versions of debian -

deb http://debian.sur5r.net/minitube testing main
deb http://ftp.debian.org/debian/ testing main contrib non-free

once i'd deleted and updated my sources list, i thought i'd see if i could download the gstreamer bad plugins with my old source list. and hey presto i could, without removing half of my packages! after that i ran minitube just out of curiosity and there it is, running perfectly showing vids. thanks to all concerned for your help :)

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: minitube!

#17 Post by craigevil »

minitube is now in the sid repo.

$ apt-cache policy minitube
minitube:
Installed: 1.0-3
Candidate: 1.0-3
Version table:
*** 1.0-3 0
500 http://ftp.debian.org sid/main Packages
100 /var/lib/dpkg/status
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

Post Reply