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

Cannot find codec matching selected -vo and video format 0x31637661 #41

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Followed steps to build mplayer with coreavc  I checked out of svn
mplayer and coreavc-for-linux, and used static dshowserver.  I am using
Fedora 9 x86_64, and I purchased coreavc 1.7

What is the expected output? What do you see instead?

When I try and play Casino Royale, a .mkv movie, this is my output.  I have
sound, but no picture.  I see the error in the output, but I do not know
what to do to fix it.

[hondaman@hondalap1 Casino Royale (2006)]$ mplayer -vc coreavc13
Casino.Royale.2006.1080p.BluRay.x264-hV.mkv 
MPlayer dev-SVN-r27092-4.3.0 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU     T5450  @ 1.66GHz (Family: 6, Model: 15,
Stepping: 13)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
parse error at line 755

Playing Casino.Royale.2006.1080p.BluRay.x264-hV.mkv.
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
[mkv] Track ID 2: audio (A_DTS), -aid 0, -alang eng
[mkv] Track ID 3: subtitles (S_TEXT/UTF8), -sid 0, -slang eng
[mkv] Track ID 4: subtitles (S_TEXT/UTF8), -sid 1, -slang swe
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO:  [avc1]  1920x800  24bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Forced video codec: coreavc13
Cannot find codec matching selected -vo and video format 0x31637661.
Read DOCS/HTML/en/codecs.html!
==========================================================================
==========================================================================
Requested audio codec family [dts] (afm=libdca) not available.
Enable it at compilation.
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [ffdca] afm: ffmpeg (FFmpeg DTS)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:   5.5 (05.5) of 8652.6 ( 2:24:12.6)  3.9%                              

MPlayer interrupted by signal 2 in module: play_audio
A:   5.5 (05.5) of 8652.6 ( 2:24:12.6)  3.8%                              

Exiting... (Quit)

Original issue reported on code.google.com by honda...@gmail.com on 18 Jun 2008 at 4:02

GoogleCodeExporter commented 8 years ago
well, it looks like it isn't even trying to start coreavc.
what does your codecs.conf look like for the coreavc13 entry?
I've had issues where it didn't like 'avc1' but worked fine with 'AVC1' but I 
believe
that it should work properly with coreavc-1.7 and the codecs.conf entry in the 
wiki

Original comment by alannis...@gmail.com on 20 Jun 2008 at 1:51

GoogleCodeExporter commented 8 years ago
I have the same problem after just upgrading to Fedora Core 9 from 8.
It is also and x86_64 machine, kernel 2.6.25.11-97.fc9.x86_64.

My codecs.conf looks like this:

videocodec coreserve
  info "CoreAVC DShow H264 decoder 1.3 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

Thanks

Original comment by sirwilh...@gmail.com on 28 Jul 2008 at 3:48

GoogleCodeExporter commented 8 years ago
Same problem here too:

libavformat file format detected.
LAVF: Program 1 
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
VIDEO:  [mpg2]  1920x1080  0bpp  29.970 fps  38810.4 kbps (4737.6 kbyte/s)
==========================================================================
Forced video codec: coreserve
Cannot find codec matching selected -vo and video format 0x3267706D.
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, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video

Original comment by nathanfi...@gmail.com on 30 Sep 2008 at 6:38

GoogleCodeExporter commented 8 years ago
I have experienced this problem too. This bug appeared without me recompiling 
mplayer
and therefore I tried to delete ~/.mplayer/codecs.conf, replace it with the 
standard
one from the etc dir in the mplayer source code. Then I added the relevant 
entry for
CoreAVC and now it works.

So it seems to be something with the codecs.conf-file. What it is I'm not sure.

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

GoogleCodeExporter commented 8 years ago
I have experienced this problem too. 

Playing 00005.m2ts.
TS file format detected.
VIDEO MPEG2(pid=4113) NO AUDIO!  NO SUBS (yet)!  PROGRAM N. 1
VIDEO:  MPEG2  1920x1080  (aspect 3)  29.970 fps  38000.0 kbps (4750.0 kbyte/s)
==========================================================================
Forced video codec: coreavc
Cannot find codec matching selected -vo and video format 0x10000002.
Read DOCS/HTML/en/codecs.html!

anyone could make it work ? Please Comment here....

Original comment by pinkme...@gmail.com on 7 Jan 2009 at 5:01

GoogleCodeExporter commented 8 years ago
pinkme005: You're trying to play MPEG2 video. Have you told mplayer that 
CoreAVC will
also handle MPEG2 video?

I.e., in the file ~/.mplayer/codecs.conf there needs to be a line below the line
"videocodec coreavc" that says:

fourcc mpg2,MPG2

Original comment by runesv...@gmail.com on 7 Jan 2009 at 5:21

GoogleCodeExporter commented 8 years ago
I have player the MPEG2 video,but mplayer played it with own MPEG2 or libavcode 
lib ,not coreavc。I tested my coreavc lib with dshowserver  ,it worked 
normally.It 
seems that mplayer dont't know how to use the dshowserver to load 
coreavcdocoder.ax.
By a way ,how to play HD-DVD video with mplayer (*.evo file)?

Original comment by pinkme...@gmail.com on 8 Jan 2009 at 12:14

GoogleCodeExporter commented 8 years ago
mplayer erro

MPlayer dev-SVN-r28275-4.3.0 (C) 2000-2008 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5000+ (Family: 15, Model: 67, 
Stepping: 3)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
parse error at line 16

Playing 00001.m2ts.
TS file format detected.
VIDEO MPEG2(pid=4113) NO AUDIO!  NO SUBS (yet)!  PROGRAM N. 1
VIDEO:  MPEG2  1920x1080  (aspect 3)  29.970 fps  30000.0 kbps (3750.0 kbyte/s)
==========================================================================
Forced video codec: coreserve
Cannot find codec matching selected -vo and video format 0x10000002.
Read DOCS/HTML/en/codecs.html!
==========================================================================

Exiting... (End of file)

codecs.conf

videocodec coreserve

  info "CoreAVC DShow H264 decoder 1.3 for x86 - http://corecodec.org/"
  status working
  format 0x10000005
  fourcc mpg2,MPEG2
  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

coreavc test

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
len: 992
ProductVersion: 1.7.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 pinkme...@gmail.com on 8 Jan 2009 at 1:27

GoogleCodeExporter commented 8 years ago
I move the codecs.conf in mplayer standard etc path(/usr/etc/mplayer  now),it 
works.
but the coreavc couldn't support the  *.m2ts format video ..mpeg2 ts..anyone 
can ?

Original comment by pinkme...@gmail.com on 8 Jan 2009 at 3:10

GoogleCodeExporter commented 8 years ago
I've finally found a way to reproduce this bug on my system (in a strange way 
though):

1. With the attached codecs.conf CoreAVC works fine. No problems.
2. If I uncomment the line "format 0x31435657" under the codec wmvvc1dmo (not 
under
the coreserver codec no, but under an entirely different codec (MS's VC1 codec),
CoreAVC won't work and comes with the error:

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

Commenting out the line "format 0x31435657" under the codec wmvvc1dmo makes 
CoreAVC
work again.

I'm using the following arguments with mplayer:

mplayer -fs -vc coreserver "<filename>"

$ mplayer --version
MPlayer dev-SVN-r28207-4.2.4 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 Quad  CPU   Q9550  @ 2.83GHz (Family: 6, Model: 23, 
Stepping: 7)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Original comment by runesv...@gmail.com on 10 Jan 2009 at 3:01

Attachments:

GoogleCodeExporter commented 8 years ago
same problem here
btw, the codecs.conf file above doesn't work for me...

Original comment by cnye...@gmail.com on 28 Jul 2009 at 2:11

GoogleCodeExporter commented 8 years ago
I resolved this error by deleting extra spaces in the "out" option line of the
"videocodec coreavc" section.

Before: out YV12, UYVY, I420, YUY2
Corrected: out YV12,UYVY,I420,YUY2

And now it works flawlessly :) (MPlayer SVN-r29455-4.3.3)

Original comment by adrien.d...@gmail.com on 28 Jul 2009 at 5:28

GoogleCodeExporter commented 8 years ago

Original comment by alannis...@gmail.com on 9 Jan 2010 at 6:15