Dragon Player

Video Players

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

2
Score 70.0%
Description:

Dragon Player is a video player for KDE 4 that focuses on simplicity
and easy of use. It is the successor of Codeine, a player for KDE 3.

It is now available in gutsy-backports, check out the Dragon Player website if you use Kubuntu.
Last changelog:

12 years ago

2.0.1
Removed the locking of the volumeSlider if the mute is active

2.0.0
Fixed issue where if the user ESCed the play media dialog it wouldn't reappear.
Pressing 'M' causes mute
Return to the logo when playback is explictly stopped
New Icon
Fixed crash on double click in KPart Bug #157579
The volumeSlider is locked if the mute is active

2.0-rc1
Fix status bar title disappearing on window resize
Can turn off subtitles
Can revert to the 'auto' audio channel
Save subtitle and audio channel selection
New DBus API under /Player and /TrackList. A full implementation of MPRIS.
Fix pausing and then playing causing the window size to revert.
A new smart "Play Disc" button that plays whatever kind of media is inserted and
if more then one disc is inserted it lets you pick which disc to play.
As a result, Video CD's and Audio CD's are now experimentally supported.

2.0-beta1
Fix hang on close when paused
Restore cursor hiding over the playing video widget
Restore video settings widget (contrast, brightness), as a sidebar instead of a window.
Restore KPart
Save video settings
Audio channel selectable
Volume slider toolbar. Volume saved globally, not per-file.
Imported Amarok's runtime-selectable debug() system

2.0-alpha1
New maintainer: Ian Monroe
Renamed to Dragon Player
Ported to Qt4, KDE4 and Phonon. Many feature regressions. None of Codeine's bugs though... a whole new set!

smileaf

14 years ago

first off after an hour of fighting scons I finally won!
http://smileaf.org/files/codeine-1.0_beta6.tar.bz2

Updated ebuild for beta6!

Ok Suggestio + n
loose the 3 button pop-up window and replace it with either a toolbar and/or menu. more standard and far nicer IMO.

2nd suggestion:
playlist
I could careless about the features you are already planing on doing however a playlist would be one of my top priority things! When I have nothing to do I tend to open up a directory of movies and play them all 1 right after the other (very handy for short series :))
when it ends press down and the next one starts very nice!
doesn't have to be fancy or anything..
seperate window, add to playlist, remove from playlist, play, moving them around (preferably via drag and drop ;))
Only display the filename for all I care! I hardly look at the playlist I just would really like one.

Keep up the excellent work!

Report

saev

14 years ago

for everyone having problems building this from an ambiguous method call to log10(), here is the very simple patch to src/app/xineEngine.cpp.

--- src/app/xineEngine.cpp 2005-06-17 23:56:12.596208944 -0400
+++ newsrc/app/xineEngine.cpp 2005-06-17 23:57:22.972510120 -0400
@@ -59,7 +59,7 @@
int cum = 0;
for( int v = 99; v >= 0; v-- ) {
xine_set_param( m_stream, XINE_PARAM_AUDIO_AMP_LEVEL, v );
- int sleep = int(13000 * (-std::log10( v + 1 ) + 2));
+ int sleep = int(13000 * (-std::log10( static_cast< double >(v + 1) ) + 2));

::usleep( sleep );

Report

MxCl

14 years ago

Thanks, applied.

Report

McQuaid

14 years ago

Hello I'm getting this error and having difficulty applying your patch.


mcquaid@mcquaid:~/more kde stuff/codeine-1.0-beta6$ patch -p0 <patch
(Patch is indented 1 space.)
patching file src/app/xineEngine.cpp
patch: **** malformed patch at line 4: int cum = 0;

Report

C

eean

14 years ago

Its only one line, you can do it manually.

Report

deadbabylon

14 years ago

Thx. Works fine for me.

Report

maniac

14 years ago

refer to the post above, my system is ubuntu hoary

Report

maniac

14 years ago

I got the same problem.

g++ -I/usr/include/kde/ -I/usr/include/qt3 -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I/usr/X11R6/include -Ibuild/app -Isrc/app -Ibuild -Isrc -I. -c -o build/app/xineEngine.o src/app/xineEngine.cpp
src/app/xineEngine.cpp: In destructor `virtual
Codeine::XineEngine::~XineEngine()':
src/app/xineEngine.cpp:62: error: call of overloaded `log10(int)' is ambiguous
/usr/include/bits/mathcalls.h:113: error: candidates are: double log10(double)
/usr/include/c++/3.3/cmath:429: error: float std::log10(float)
/usr/include/c++/3.3/cmath:437: error: long double
std::log10(long double)
scons: *** [build/app/xineEngine.o] Error 1
make: *** [all] Error 2

Report

deadbabylon

14 years ago

Hi.
I get an error when I try to compile codeine. ./configure works fine but make stops with this output:

$ make
scons -Q
g++ -I/usr/include/kde/ -I/usr/include/qt3 -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -Ibuild/app -Isrc/app -Ibuild -Isrc -I. -c -o build/app/actions.o src/app/actions.cpp
g++ -I/usr/include/kde/ -I/usr/include/qt3 -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -Ibuild/app -Isrc/app -Ibuild -Isrc -I. -c -o build/app/adjustSizeButton.o src/app/adjustSizeButton.cpp
/usr/bin/moc -o build/app/adjustSizeButton_moc.cpp src/app/adjustSizeButton.h
g++ -I/usr/include/kde/ -I/usr/include/qt3 -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -Ibuild/app -Isrc/app -Ibuild -Isrc -I. -c -o build/app/adjustSizeButton_moc.o build/app/adjustSizeButton_moc.cpp
g++ -I/usr/include/kde/ -I/usr/include/qt3 -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -Ibuild/app -Isrc/app -Ibuild -Isrc -I. -c -o build/app/analyzer.o src/app/analyzer.cpp
/usr/bin/moc -o build/app/analyzer_moc.cpp src/app/analyzer.h
g++ -I/usr/include/kde/ -I/usr/include/qt3 -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -Ibuild/app -Isrc/app -Ibuild -Isrc -I. -c -o build/app/analyzer_moc.o build/app/analyzer_moc.cpp
g++ -I/usr/include/kde/ -I/usr/include/qt3 -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -Ibuild/app -Isrc/app -Ibuild -Isrc -I. -c -o build/app/captureFrame.o src/app/captureFrame.cpp
g++ -I/usr/include/kde/ -I/usr/include/qt3 -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -Ibuild/app -Isrc/app -Ibuild -Isrc -I. -c -o build/app/xineEngine.o src/app/xineEngine.cpp
src/app/xineEngine.cpp: In destructor `virtual
Codeine::XineEngine::~XineEngine()':
src/app/xineEngine.cpp:62: error: call of overloaded `log10(int)' is ambiguous
/usr/include/bits/mathcalls.h:113: error: candidates are: double log10(double)
/usr/include/c++/3.3/cmath:429: error: float std::log10(float)
/usr/include/c++/3.3/cmath:437: error: long double
std::log10(long double)
scons: *** [build/app/xineEngine.o] Error 1
make: *** [all] Fehler 2

The system is Debian Sid. libxine1 and libxine-dev are version 1.0.1

Report

ChL

14 years ago

Your homepage isn't working: "Forbidden, perhaps you need to change the file permissions for this document or upload an index page."

Report

rubiojr

14 years ago

I had to configure it with:

./configure extraincludes=/usr/X11R6/include/

in Ubuntu Breezy.

Great work. My wishlist:

* Don't clutter it :). It is the most usable video player we have in KDE ;) (well, maybe the xine settings need a bit of work). A Just Works toy IMHO.

Thanks.

Report

maarizwan

15 years ago

I like it 1.0 pre6, especially the 'c' shortcut to get a snapshot of video!

Wishlist:

1. system tray icon
2. only 1 instance of codeine to play movie.
3. playlist, simple and functional much like xmms.
4. DVD subtitle menu as in kaffeine ( i like to see subtitles )
5. media:/ support (codeine can't play media:/hda1/my_movie.avi)

Report

Redeeman

15 years ago

hello... couldnt you be persuaded to add gstreamer engine support too? :D it would really be great

Report

C

eean

14 years ago

Why? And no it wouldn't.

Report

HJH

15 years ago

I also have a feature I would like codeine to support:
libxine can use several output libs to project the image on your screen.
At the moment codeine doesn't support switching between these output libs (at least, not as far as I can see).
I would like to be able to switch between these libs, as, for example, you need a different output lib if you also want to show a movie on a plugged in TV. (with for instance an ATI or Nvidia card with commercial drivers).

Hendrik-Jan

Report

ninjamalte

15 years ago

I've used codeine on ubuntu before, but after a recent reinstall (of ubuntu) I can't compile codeine beta6. :( The following is displayed, and then scons exits (SNIP is some text i removed):

# scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
-I/usr/include/kde/ -I/usr/include/qt3 -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -Ibuild/app -
Isrc/app -Ibuild -Isrc -I. -c -o build/app/actions.o src/app/actions.cpp
sh: -/: invalid option
Usage: sh [GNU long option] [option] ...
sh [GNU long option] [option] script-file ...
[SNIP]
scons: *** [build/app/actions.o] Error 2
scons: building terminated because of errors.

Report

HJH

15 years ago

Unfortunately I am unable to build this app. in MandrivaLinux 2005LE x86_64.
I get an error about xine being unavailable.
However, it seems that the app. has troubles finding qt-mt
How can I fix this.
Also, I have almost exactly the same problem with filelight.

Hendrik-Jan

Report

MxCl

15 years ago

I can't suggest anything without the exact error message.

Report

HJH

15 years ago

Here's the exact error message:

Configuring Codeine-1.0-beta6...

Checking for kde-config : kde-config was found
Checking for kde version : 3.3.2
Checking for the qt library : qt is in /usr/lib/qt3/
Checking for uic : uic was found as /usr/lib/qt3//bin/uic
Checking for moc : moc was found as /usr/lib/qt3//bin/moc
Checking for the qt includes : ok /usr/lib/qt3//include/
Checking for the kde includes : ok /usr/include/
Checking for KDElibs 3.3...ok
Checking for main() in C++ library xine... no

Configure could not find either the xine library or header on your system. You
should ammend the relevant

But if I look at the config.log file, it already says there that it can not find qt-mt:
g++ -L/usr/X11R6/lib -o .sconf_temp/conftest_0 .sconf_temp/conftest_0.o -L/usr/lib64 -L/usr/lib/qt3/lib -lqt-mt -lxine
/usr/bin/ld: cannot find -lqt-mt
collect2: ld returned 1 exit status

These are the config settings I used:
./configure --prefix=/usr

Report

HJH

15 years ago

I found it, sort of...

On x86_64 the locations of files are a bit different.
For instance: for the above mentioned problem, the "fix" was the make a link from /usr/lib/qt3/lib64 to /usr/lib/qt3/lib (not pretty!!!).
Next, I had sort of the same problem with the Xtest lib.:
/usr/X11R6/lib64/libXtst.so
But the program looks for: /usr/X11R6/lib/libXtst.so (here, I linked to fix as well).

And finally, the kde3 files were built in /usr/lib/kde3. This should have been: /usr/lib64/kde3. I did a "mv" in my .spec file to counter this.
In short: could you add "lib64" as possible libdir location to you makefile/makefile builder? That should solve most of the problems.
Also: the parameter "extraincludes=" at ./configure doesn't seem to do much (I tried to fix the library-issue thru this one first). I don't know whether that's a bug or not, but you might want to look at it.

I'll publish the rpm,for MandrivaLinux 2005LE, both for i586 and x86_64 in a couple of hours on: http://129.125.209.235/deel/RPM/Mandrivalinux2005LE

Hendrik-Jan

Report

minio

15 years ago

Codeine looks great. But could you add a playlist support? And it would be good to have volume control in main window.

Report

MxCl

15 years ago

Hi there :-) Can you justify a playlist for a video application? I'll add support for anything that can be justified and that won't violate my simple promise.

Volume control will appear as an action hopefully next release. It won't be enabled by default! But it'll be there for those who want it.

Thanks.

Report

minio

15 years ago

Playlist is useful for watching series and multiparted video files so you don't have to open each file which is annoying. Also you can have playlist file saved eg. in ~/Desktop diretory so you can open those files just by doubleclick instead of navigating through directory tree to the movie. Of course it mostly apply only if you have your movie files on HDD :)

BTW: I think it would be better if the "Play" menu itself has entries "Play File", "Play VCD" and "Play DVD". IMHO its faster to do what you want with those menu etries, because you don't have to move your mouse too far.

Thanks

P.S.: Sorry for my english :o)

Report

MxCl

15 years ago

I see. Well, I may make it possible to queue files, but there won't be an explicit playlist view. I'll try to make this intuitive.

I find that the current system for the Play menu is good. Yes the user has to do one extra click and a little more mouse movement, but I feel this is offset by the other usability advantages. Eg less menu items, less confusion due to two ways to achieve the same goal, letting the user get at the recent file list.

Thanks for the comments.

Report

minio

15 years ago

Thanks.

ad menu) Which two way to rach same goal you mean? And i think that play and stop entries do more clutter in menu.

Report

12 years ago

2.0.1
Removed the locking of the volumeSlider if the mute is active

2.0.0
Fixed issue where if the user ESCed the play media dialog it wouldn't reappear.
Pressing 'M' causes mute
Return to the logo when playback is explictly stopped
New Icon
Fixed crash on double click in KPart Bug #157579
The volumeSlider is locked if the mute is active

2.0-rc1
Fix status bar title disappearing on window resize
Can turn off subtitles
Can revert to the 'auto' audio channel
Save subtitle and audio channel selection
New DBus API under /Player and /TrackList. A full implementation of MPRIS.
Fix pausing and then playing causing the window size to revert.
A new smart "Play Disc" button that plays whatever kind of media is inserted and
if more then one disc is inserted it lets you pick which disc to play.
As a result, Video CD's and Audio CD's are now experimentally supported.

2.0-beta1
Fix hang on close when paused
Restore cursor hiding over the playing video widget
Restore video settings widget (contrast, brightness), as a sidebar instead of a window.
Restore KPart
Save video settings
Audio channel selectable
Volume slider toolbar. Volume saved globally, not per-file.
Imported Amarok's runtime-selectable debug() system

2.0-alpha1
New maintainer: Ian Monroe
Renamed to Dragon Player
Ported to Qt4, KDE4 and Phonon. Many feature regressions. None of Codeine's bugs though... a whole new set!

12345678910
4
product-maker slavslav Oct 06 2018 9 excellent
+
product-maker roentgen May 17 2014 9 excellent
product-maker YAFU Nov 22 2011 9 excellent
product-maker mtelesha Dec 04 2010 9 excellent
product-maker Base: 4 x 5.0 Ratings
roentgen
May 17 2014
helios17
Aug 12 2009
File (click to download) Version Description PackagetypeArchitectureRelease Channel Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
2.0.1
updated Feb 26 2008
added Oct 19 2004
downloads 24h
0
mediaviews 24h 0
pageviews 24h 3
System Tags app software