
Phonon MPlayer Backend
Source (link to git-repo or to original if based on someone elses unmodified work):
@ KDE Projects
https://projects.kde.org/projects/kdesupport/phonon/phonon-mplayer
---
phonon-4.5.0 ebuild
phonon-9999 ebuild
phonon-mplayer-9999 ebuild
+i586-mplayer-backend-build-05-23-2011
---
phonon-4.4.4 ebuild
phonon-mplayer-9999 ebuild
+i586-mplayer-backend-build-03-30-2011
---
phonon-4.4.2 ebuild
+i586-mplayer-backend-build-07-28-2010
---
phonon-4.4.1 ebuild
+i586-mplayer-backend-build-06-29-2010
---
phonon-4.3.80 ebuild
+i586-mplayer-backend-build-04.25.2010
---
phonon-4.3.80 ebuild
+i586-mplayer-backend-build-02.23.2010
Ratings & Comments
12 Comments
updated me to , to 4.4.2 for mandriva 2010.1
sorry I did not patch nothing of all this I've only try a clean build : [code]-- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - found -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found. -- Looking for Q_WS_QWS -- Looking for Q_WS_QWS - not found. -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - not found. -- Found Qt-Version 4.6.2 (using /usr/bin/qmake) -- Looking for _POSIX_TIMERS -- Looking for _POSIX_TIMERS - found -- Configuring done -- Generating done -- Build files have been written to: /home/symbianflo/phonon-mplayer [symbianflo@localhost phonon-mplayer]$ make [ 2%] Generating moc_MPlayerVideoWidget.cxx [ 4%] Generating moc_MyProcess.cxx [ 6%] Generating moc_MPlayerProcess.cxx [ 9%] Generating moc_WidgetNoPaintEvent.cxx Scanning dependencies of target libmplayer [ 11%] Building CXX object mplayer/libmplayer/CMakeFiles/libmplayer.dir/MyProcess.cpp.o [ 13%] Building CXX object mplayer/libmplayer/CMakeFiles/libmplayer.dir/MediaData.cpp.o [ 15%] Building CXX object mplayer/libmplayer/CMakeFiles/libmplayer.dir/MediaSettings.cpp.o [ 18%] Building CXX object mplayer/libmplayer/CMakeFiles/libmplayer.dir/MPlayerVersion.cpp.o [ 20%] Building CXX object mplayer/libmplayer/CMakeFiles/libmplayer.dir/MPlayerProcess.cpp.o [ 22%] Building CXX object mplayer/libmplayer/CMakeFiles/libmplayer.dir/MPlayerLoader.cpp.o [ 25%] Building CXX object mplayer/libmplayer/CMakeFiles/libmplayer.dir/WidgetNoPaintEvent.cpp.o [ 27%] Building CXX object mplayer/libmplayer/CMakeFiles/libmplayer.dir/MPlayerVideoWidget.cpp.o [ 29%] Building CXX object mplayer/libmplayer/CMakeFiles/libmplayer.dir/MPlayerConfig.cpp.o [ 31%] Building CXX object mplayer/libmplayer/CMakeFiles/libmplayer.dir/moc_MyProcess.cxx.o [ 34%] Building CXX object mplayer/libmplayer/CMakeFiles/libmplayer.dir/moc_MPlayerProcess.cxx.o [ 36%] Building CXX object mplayer/libmplayer/CMakeFiles/libmplayer.dir/moc_WidgetNoPaintEvent.cxx.o [ 38%] Building CXX object mplayer/libmplayer/CMakeFiles/libmplayer.dir/moc_MPlayerVideoWidget.cxx.o Linking CXX static library liblibmplayer.a [ 38%] Built target libmplayer [ 40%] Generating moc_SeekStack.cxx [ 43%] Generating moc_Backend.cxx /home/symbianflo/phonon-mplayer/mplayer/Backend.h:44: Error: Undefined interface make[2]: *** [mplayer/moc_Backend.cxx] Error 1 make[1]: *** [mplayer/CMakeFiles/phonon_mplayer.dir/all] Error 2 make: *** [all] Error 2 [symbianflo@localhost phonon-mplayer]$[/code] Is not very important but since my friends from MRB are big fans of mplayer I've try to build it, and eventually a porting for mandriva .
I don't know how to build mplayer backend outside phonon source directory. As I said, you can copy the mplayer directory from phonon-mplayer-backend source directory (phonon-phonon-mplayer) into phonon source directory (where are the other backends, xine, gstreamer, etc) and patch/edit phonon CMakeLists.txt file (as above). Here you can also remove support for xine and gstreamer if you don't want them. Then build phonon.
ok I'll study the phonon policy on mdv keep in touch .
Ok successful build for mandriva 2010.0 x86_64 the packages are available on MRB, ( see my profile ) From the very first tests works smooth alsa/pulse. Thx m8 great work mplayer still mplayer.... Hope you'll mantain this backend ... THX again for your help and patience
I've try the git also wont build on x86_64 ( mandriva & suse) Do you intend to include this arch to ?
Can you post the build error? On my x86/32bit machine I have to add the gcc "-fPIC" flag to get it built. I don't have an 64bit machine. And how do you build it? I copy the mplayer directory from phonon mplayer source directory into the phonon source directory, then I patch it. In the phonon CMakeLists.txt: Quote:if (Q_WS_X11)
add_subdirectory(gstreamer)
add_subdirectory(xine)
+ add_subdirectory(mplayer)
endif (Q_WS_X11)
I'll try your ebuild on sabayon keep in touch . PS. is a ebuild for emerge ?
Yes, but there's the "-fPIC" issue. On my x86 machine I use "use x86 && append-cppflags -fPIC" in src_configure(). If it fails to build on your arch replace x86 with your arch, eg. "use amd64 && append-cppflags -fPIC".
I've tryed a package request for sabayon 5.2 here. http://bugs.sabayon.org/show_bug.cgi?id=1450 keep in touch
this repository is outdated, the project is active in gitorious and need members, actually one person work in this backend. http://gitorious.org/phonon/phonon-mplayer thanks for publish the source here, the 2 backends (xine and gstreamer) are useless for me to not have support for subtitles, audio normalization and native support for rmvb.
Good to know it's still developed.