chenyunecjtu / coreavc-for-linux

Automatically exported from code.google.com/p/coreavc-for-linux
GNU General Public License v2.0
0 stars 1 forks source link

Requested video codec family [coreserver] (vfm=dshowserver) not available. #27

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have used a recent mplayer svn checkout and used http://svn.mplayerhq.hu/
mplayer/branches/1.0rc2/etc/codecs.conf?revision=24724&view=markup this 
codecs.conf and added http://code.google.com/p/coreavc-for-linux/wiki/
MplayerInstallation as instructed here. I get Requested video codec family 
[coreserver] (vfm=dshowserver) not available. Enable it at compilation. No 
change with an RC2 tarball.

My dshowserver installation worked fine. 

Original issue reported on code.google.com by chx1...@gmail.com on 21 May 2008 at 12:03

GoogleCodeExporter commented 8 years ago
Note: I used videocodec coreserver:

videocodec coreserver
  info "CoreAVC DShow H264 decoder 1.7 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

If I do not comment out the format, I also get Cannot find codec matching 
selected -
vo and video format 0x31637661.

Original comment by chx1...@gmail.com on 21 May 2008 at 12:05

GoogleCodeExporter commented 8 years ago
Erm, sorry i get that regardless of what i do with format. Adding  format 
0x31637661 
results in " Cannot find codec matching selected -vo and video format 
0x31637661."

Original comment by chx1...@gmail.com on 21 May 2008 at 12:07

GoogleCodeExporter commented 8 years ago
what command line are you using?

you definitely don't want 'format 0x31637661'

it looks like the dshowserver patch didn't get activated in mplayer correctly.
can you verify that:
ls libmpcodecs/vd_dshowserver.*
shows:
libmpcodecs/vd_dshowserver.c  libmpcodecs/vd_dshowserver.o
libmpcodecs/vd_dshowserver.d

Also:
grep -a2 mpcodecs_vd_dshowserver libmpcodecs/vd.c
sould give:
extern vd_functions_t mpcodecs_vd_theora;
extern vd_functions_t mpcodecs_vd_dshow;
extern vd_functions_t mpcodecs_vd_dshowserver;
extern vd_functions_t mpcodecs_vd_dmo;
extern vd_functions_t mpcodecs_vd_vfw;
--
        &mpcodecs_vd_theora,
#endif
        &mpcodecs_vd_dshowserver,
#ifdef USE_WIN32DLL
        &mpcodecs_vd_dshow,

If all that looks ok, then (and I hate to ask this) are you sure you are 
running the
mplayer that you built?

Original comment by alannis...@gmail.com on 21 May 2008 at 12:48

GoogleCodeExporter commented 8 years ago
The answer to the last question is no. After typing which mplayer I saw 
/usr/local/
bin/mplayer so it did not occur to me that i need to type 
/usr/local/bin/mplayer . 
So this is solved and after installing a few more packages, now I even have the 
xv 
driver compiled and I have AVC running! Thanks much. (Though I get no audio, 
but I 
guess eventually I will find out the necessary option for that too)

Original comment by chx1...@gmail.com on 21 May 2008 at 4:11

GoogleCodeExporter commented 8 years ago
I have the exact same problem; however, when I type in 

grep -a2 mpcodecs_vd_dshowserver libmpcodecs/vd.c

I don't see this chunk of code:

&mpcodecs_vd_theora,
#endif
        &mpcodecs_vd_dshowserver,
#ifdef USE_WIN32DLL
        &mpcodecs_vd_dshow,

Any idea what's going on?

Original comment by mithun.d...@gmail.com on 18 Aug 2008 at 3:49

GoogleCodeExporter commented 8 years ago
I tried applying the patch again and this is the output I'm getting...

patching file libmpcodecs/vd.c
Hunk #2 FAILED at 62.
1 out of 2 hunks FAILED -- saving rejects to file libmpcodecs/vd.c.rej
patching file Makefile
Hunk #1 succeeded at 20 with fuzz 1 (offset 15 lines).
Hunk #2 succeeded at 224 (offset 14 lines).
patching file libmpcodecs/vd_dshowserver.c
# more libmpcodecs/vd.c.rej
***************
*** 61,66 ****
  #ifdef HAVE_OGGTHEORA
    &mpcodecs_vd_theora,
  #endif
  #ifdef USE_WIN32DLL
          &mpcodecs_vd_dshow,
          &mpcodecs_vd_dmo,
--- 62,68 ----
  #ifdef HAVE_OGGTHEORA
    &mpcodecs_vd_theora,
  #endif
+         &mpcodecs_vd_dshowserver,
  #ifdef USE_WIN32DLL
          &mpcodecs_vd_dshow,
          &mpcodecs_vd_dmo,

Seems like the patch isn't working anymore =(.

Original comment by mithun.d...@gmail.com on 18 Aug 2008 at 4:25

GoogleCodeExporter commented 8 years ago
Same problem here with latest SVN. Which version is actually compatible?

Original comment by nathanfi...@gmail.com on 30 Sep 2008 at 4:54

GoogleCodeExporter commented 8 years ago
latest release fixes the patch problem

Original comment by alannis...@gmail.com on 9 Oct 2008 at 4:44

GoogleCodeExporter commented 8 years ago
I am having this problem now. The strange thing is that it usually works and I
haven't recompiled mplayer in the meantime. So I'm not sure what has broken it. 
I get
the message:

==========================================================================
Forced video codec: coreserver
Cannot find codec matching selected -vo and video format 0x31637661.
Read DOCS/HTML/en/codecs.html!
==========================================================================

Original comment by runesv...@gmail.com on 4 Jan 2009 at 4:03

GoogleCodeExporter commented 8 years ago
i am actually still getting this problem and im not finding this block of code

#ifdef USE_WIN32DLL
        &mpcodecs_vd_dshow,

in fact i only see CONFIG_WIN32DLL, never USE_
i am using the latest svn of both mplayer and coreavc-for-linux

Original comment by TheShado...@gmail.com on 12 Apr 2009 at 9:22

GoogleCodeExporter commented 8 years ago
also, my output is a little bit different

Forced video codec: coreserve
Requested video codec family [coreserve] (vfm=dshowserver) not available.
Enable it at compilation.
Cannot find codec matching selected -vo and video format 0x31637661.
Read DOCS/HTML/en/codecs.html!

i did patch mplayer however, and my dshowserver tests fine
although it does have an extra line the install guide didnt have

dshowserver -c CoreAVCDecoder.ax -s 1280x720 -g 
09571a4b-f1fe-4c60-9760de6d310c7c31
-b 12 -f 0x34363248 -o 0x30323449
No id specified, assuming test mode
Opening device
Called unk_IsDebuggerPresent  //this line wasnt present in the install guide
len: 1016
ProductVersion: 1,6,0,0
Decoder supports the following YUV formats: YUY2 UYVY YV12 I420 
Decoder is capable of YUV output (flags 0x2b)
Setting fmt
Starting
Initialization is complete

Original comment by TheShado...@gmail.com on 12 Apr 2009 at 9:25

GoogleCodeExporter commented 8 years ago
sorry to triple post but i solved the problem for me by deleting the
~/.mplayer/codecs.conf file and copying a brand new one from the mplayer 
source, then
adding the relevant codec info from the install guide.

Original comment by TheShado...@gmail.com on 12 Apr 2009 at 10:01