You are not logged in.
Hi!
I've just reformatted my system and I'm trying to get everything up and running. A few problems are popping up.
One thing I'm struggling with is getting .mkv files to play using mplayer. I've installed the mplayer-coreavc-svn package
in AUR, but something is wrong.
When I try to start a movie I get the following:
bash-3.2$ mplayer -vc coreserve 10000\ BC.mkv
MPlayer dev-SVN-r27907-4.3.2 (C) 2000-2008 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ (Family: 15, Model: 43, Stepping: 1)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
120 audio & 254 video codecs
Playing 10000 BC.mkv.
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
[mkv] Track ID 2: audio (A_AC3), -aid 0, -alang eng
[mkv] Track ID 3: subtitles (S_TEXT/UTF8), -sid 0, -slang eng
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO: [avc1] 1920x1080 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Forced video codec: coreserve
Opening video decoder: [dshowserver] DirectShowServer video codecs
shm:/dshow_shm.b787a700
sem1:/dshow_sem1.b787a700
sem2:/dshow_sem2.b787a700
Opening device
len: 992
ProductVersion: 1.8.5
Called unk_LoadImageA
DirectShow filter failedVDecoder init failed :(
Cannot find codec matching selected -vo and video format 0x31637661.
Read DOCS/HTML/en/codecs.html!
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 640.0 kbit/41.67% (ratio: 80000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 6.6 (06.5) of 6535.7 ( 1:48:55.6) 0.8%
MPlayer interrupted by signal 2 in module: play_audio
A: 6.6 (06.5) of 6535.7 ( 1:48:55.6) 0.8%
Exiting... (Quit)
As you can see I'm having some problems with the sound too, but that seems to be connected to me trying to get softvol up and running.
Why won't the video play? What codecs am I missing? I've installed mplayer-codecs, codecs, mplayer-w32codecs from AUR, ffmpeg, x264
and xvidcore.
Last edited by Perre (2008-12-07 13:13:10)
Offline
Hmm... I downloaded the newest version of the dshowserver, but still no video. The process of starting the playback was much
faster, but no video.
This seems to be the problem:
Forced video codec: coreserver
Cannot find codec matching selected -vo and video format 0x31637661.
Read DOCS/HTML/en/codecs.html!
Offline
Bump...
Anyone have any suggestion?
Edit: I'll try to install the normal version of mplayer and then apply the patch manually. Hopefully this will work cause I'm having no
luck with mplayer-coreavc-svn...
Last edited by Perre (2008-11-19 19:15:32)
Offline
Ah, seems this is a problem that has been affecting alot of people and there seems to be a sollution http://code.google.com/p/coreavc-for-li … tail?id=62
My problem is that I'm not that linux handy yet that I'm able to compile the right version of dshowserver into mplayer. Has anyone here done it? Can you please post
the PKGBUILD if you have?
Or maybe tell me how I can apply the new version of dshowserver into the PKGBUILD of mplayer-coreavc-svn?
Last edited by Perre (2008-11-19 20:23:27)
Offline
This works for me, change ./configure to suite your needs
# Mplayer-svn-coreavc
# mplayer-svn patched with support for coreavc
# Modified : me
# Original PKGBUILD by below-----
# Maintainer: Tom Killian <tom@archlinux.org>
# Contributor: lucke <lucke at o2 dot pl>
pkgname=mplayer-svn-coreavc
pkgver=27902
pkgrel=1
pkgdesc="A movie player for linux"
depends=('libxxf86dga' 'libxv' 'libmad' 'libungif' 'cdparanoia'
'sdl' 'lame' 'libtheora' 'xvidcore'
'libgl' 'aalib' 'jack-audio-connection-kit'
'x264>=20070616' 'faac')
makedepends=('subversion' 'pkgconfig' 'libcaca' 'unzip' 'live-media' 'libdts')
conflicts=('mplayer')
provides=('mplayer')
url="http://www.mplayerhq.hu/"
license="GPL"
arch=('i686' 'x86_64')
source=()
md5sums=()
_svntrunk=svn://svn.mplayerhq.hu/mplayer/trunk
_svnmod=mplayer
_coreavctrunk=http://coreavc-for-linux.googlecode.com/svn/trunk
_coremod=coreavc-for-linux
build() {
cd $startdir/src
svn co $_svntrunk $_svnmod --config-dir ./ -r $pkgver
cp -r $_svnmod $_svnmod-build
cd $_svnmod-build
unset CFLAGS
./configure --prefix=/usr --enable-gui --disable-arts --enable-x11 \
--enable-runtime-cpudetection --confdir=/etc/mplayer --disable-nas \
--enable-gl --enable-tv-v4l1 --enable-tv-v4l2 --enable-largefiles \
--disable-liblzo --disable-speex --disable-openal \
--enable-fribidi --disable-libdv --disable-musepack \
--language=all --disable-dvdnav --disable-esd --disable-mga \
--disable-libamr_nb \
--with-extraincdir=/usr/lib/live-media
[ "$CARCH" = "i686" ] && sed 's|-march=i486|-march=i686|g' -i config.mak
# Lines for coreavc-for-linux
cd $startdir/src
svn co $_coreavctrunk $_coremod
cp -r $_coremod $_coremod-copy
cd $_coremod-copy
make -C dshowserver
mkdir -p $startdir/pkg/usr/bin
install -m755 dshowserver/dshowserver $startdir/pkg/usr/bin
install -m755 loader/registercodec $startdir/pkg/usr/bin
cd $startdir/src/$_svnmod-build
patch -p0 < $startdir/src/$_coremod-copy/mplayer/dshowserver.patch
# End of lines for coreavc-for-linux
make || return 1
make DESTDIR=$startdir/pkg install || return 1
install -m644 etc/{codecs.conf,input.conf,example.conf,menu.conf} $startdir/pkg/etc/mplayer
rm -rf $startdir/pkg/usr/share/mplayer/font
cat $startdir/codec.conf >> $pkgdir/etc/mplayer/codecs.conf
rm -rf ../$_svnmod-build
}
and here is codec.conf file - put it in the same directory as PKGBUILD
videocodec coreserve
info "CoreAVC DShow H264 decoder 1.8.5 for x86 - http://corecodec.org/"
status working
format 0x10000005
fourcc H264,h264 H264
fourcc X264,x264
fourcc avc1,AVC1 AVC1
fourcc davc,DAVC
fourcc VSSH
driver dshowserver
dll "CoreAVCDecoder.ax"
guid 0x09571a4b, 0xf1fe, 0x4c60, 0x97, 0x60, 0xde, 0x6d, 0x31, 0x0c, 0x7c, 0x31
out YV12,IYUV,I420,YUY2
Last edited by qubit (2008-11-21 21:10:10)
Offline
Thanks man! I'll try it out first thing tomorrow.
Btw, should I change --confdir=/etc/mplayer to --confdir=/home/per/.mplayer when I use ~/.mplayer as the directory for
my mplayer config file?
Offline
Hmm... There seems to be a problem with this PKGBUILD. When running makepkg I get:
Checked out revision 27973.
Unknown parameter: --disable-smb--disable-liblzo
sed: can't read config.mak: No such file or directory
which later leads to:
install: cannot stat `loader/registercodec': No such file or directory
patching file libmpcodecs/vd.c
patching file Makefile
patching file libmpcodecs/vd_dshowserver.c
Makefile:22: config.mak: No such file or directory
make: *** osdep/: Is a directory. Stop.
==> ERROR: Build Failed.
How can I fix this?
Offline
Looks like a typo to me. Is there a file called config.mk ?
-steve
Offline
I think it's supposed to be config.mak.
Seems I'll have to try the 1.7 version of coreavc. hopefully it will work.
Offline
Btw, should I change --confdir=/etc/mplayer to --confdir=/home/per/.mplayer when I use ~/.mplayer as the directory for
my mplayer config file?
No, if you have ~/.mplayer/ it will check first then /etc/mplayer
I updated the PKGBUILD it should work now
Offline
Seems I'll have to try the 1.7 version of coreavc. hopefully it will work.
Definately or even better try the latest version 1.8.5
Offline
The problem comes with the 1.8.5 version http://blog.mymediasystem.net/?p=148.
Seems there's a bug that prevents video from being shown. I'm gonna try the 1.8.0 version with the mplayer-coreavc-svn in the Aur and see if
it works. Too bad I can't get your PKGBUILD to work. Don't know what is causing the problem...[
Edit: Ok, got it working with the AUR PKGBUILD and 1.8.0 version!! Finally! Thanks for the help guys.
Last edited by Perre (2008-11-21 21:37:23)
Offline
Had to recompile mplayer after the update and now your PKGBUILD worked like a charm.
Thanks qubit!
Offline
hi
do these instructions still work?
Offline
I'm getting the same error when trying to compile mplayer-coreavc-svn:
Makefile:22: config.mak: No such file or directory
make: *** osdep/: Is a directory. Stop.
==> ERROR: Build Failed.
Last edited by zamolxis (2009-04-05 08:19:24)
Offline
me too with the latest AUR using coreavc 1.7...
Offline
*sigh*
same issues here:
Makefile:22: config.mak: No such file or directory
make: *** osdep/: Is a directory. Stop.
==> ERROR: Build Failed.
using: http://aur.archlinux.org/packages.php?ID=20145 mplayer-coreavc-svn 28990-3
any ideas?
ARCH64 archSKYNET server AMD Phenom(tm) II X2 550 HDD 6TB Ram 8GB
Hobbies: Running, Pistol Marksmanship, Classic Music
Offline
I too am getting that error. I'll email Perre and see if he can chime in.
-steve
Offline
...
using: http://aur.archlinux.org/packages.php?ID=20145 mplayer-coreavc-svn 28990-3
any ideas?
Are you sure that have tried release 4? Do you have arch i686 or 64 bit?
I've upload the package here
Sorry for my bad english :-)
Offline
greenfish wrote:...
using: http://aur.archlinux.org/packages.php?ID=20145 mplayer-coreavc-svn 28990-3
any ideas?Are you sure that have tried release 4? Do you have arch i686 or 64 bit?
I've upload the package here
hi el_cammello
What do you mean by releas 4? I can only find 1 coreavc in aur. Yes im on arch-i686. Thanks for the package you uploaded but i'm getting these errors:
sudo pacman -U mplayer-coreavc-svn-29185-4-i686.pkg.tar.gz
Password:
loading package data...
checking dependencies...
(1/1) checking for file conflicts [########################################] 100%
error: failed to prepare transaction (conflicting files)
mplayer-coreavc-svn: /etc/mplayer/codecs.conf exists in filesystem
mplayer-coreavc-svn: /etc/mplayer/example.conf exists in filesystem
mplayer-coreavc-svn: /etc/mplayer/input.conf exists in filesystem
mplayer-coreavc-svn: /usr/bin/mencoder exists in filesystem
mplayer-coreavc-svn: /usr/bin/mplayer exists in filesystem
mplayer-coreavc-svn: /usr/share/man/cs/man1/mencoder.1.gz exists in filesystem
mplayer-coreavc-svn: /usr/share/man/cs/man1/mplayer.1.gz exists in filesystem
mplayer-coreavc-svn: /usr/share/man/de/man1/mencoder.1.gz exists in filesystem
mplayer-coreavc-svn: /usr/share/man/de/man1/mplayer.1.gz exists in filesystem
mplayer-coreavc-svn: /usr/share/man/es/man1/mencoder.1.gz exists in filesystem
mplayer-coreavc-svn: /usr/share/man/es/man1/mplayer.1.gz exists in filesystem
mplayer-coreavc-svn: /usr/share/man/fr/man1/mencoder.1.gz exists in filesystem
mplayer-coreavc-svn: /usr/share/man/fr/man1/mplayer.1.gz exists in filesystem
mplayer-coreavc-svn: /usr/share/man/hu/man1/mencoder.1.gz exists in filesystem
mplayer-coreavc-svn: /usr/share/man/hu/man1/mplayer.1.gz exists in filesystem
mplayer-coreavc-svn: /usr/share/man/it/man1/mencoder.1.gz exists in filesystem
mplayer-coreavc-svn: /usr/share/man/it/man1/mplayer.1.gz exists in filesystem
mplayer-coreavc-svn: /usr/share/man/man1/mencoder.1.gz exists in filesystem
mplayer-coreavc-svn: /usr/share/man/man1/mplayer.1.gz exists in filesystem
mplayer-coreavc-svn: /usr/share/man/pl/man1/mencoder.1.gz exists in filesystem
mplayer-coreavc-svn: /usr/share/man/pl/man1/mplayer.1.gz exists in filesystem
mplayer-coreavc-svn: /usr/share/man/ru/man1/mencoder.1.gz exists in filesystem
mplayer-coreavc-svn: /usr/share/man/ru/man1/mplayer.1.gz exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/README exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/VERSION exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/about.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/bareqb.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/barexit.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/barffwd.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/barfwd.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/barmute.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/barplay.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/barrev.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/barrevv.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/barstop.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/barzoom.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/eqb.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/exit.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/font-pl.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/font.fnt exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/forward.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/icons/icon32x32.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/icons/icon48x48.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/load.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/main-silver.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/main.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/menu.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/menus.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/minimize.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/mute.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/next.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/play.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/playbar.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/playlist.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/pos.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/prefs.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/prev.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/progres-long2c.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/progres-long2d.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/rev.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/skin exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/skinb.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/stop.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/subblue.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/subload.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/symbols.fnt exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/symbols2.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/symbolsg.fnt exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/skins/default/zoom-3.png exists in filesystem
mplayer-coreavc-svn: /usr/share/mplayer/subfont.ttf exists in filesystem
OFF TOPIC: Could you also answer me why theres no mplayer-svn-ffmpeg on aur? I'm just curious since it looks like ffmpeg today is multi-threaded+x264 support
If I can use open source instead of closed binaries, well that's the best way imo
Last edited by greenfish (2009-04-17 11:19:35)
ARCH64 archSKYNET server AMD Phenom(tm) II X2 550 HDD 6TB Ram 8GB
Hobbies: Running, Pistol Marksmanship, Classic Music
Offline
try:
sudo pacman -Uf mplayer-coreavc-svn-29185-4-i686.pkg.tar.gz
with "release 4" I meant the new release of the package in aur..
I didn't know answer to mplayer-svn-ffmpeg..
Sorry for my bad english :-)
Offline