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

Got illegal command 0 #46

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. build dshowserver in 32-bit chroot
2.  build MPlayer on x86_64
3. try to play a video

What is the expected output? What do you see instead?
Expected picture. Got green screen with an error message. I did manage to get 
picture few times, 
but refresh rate was around 30 seconds per frame.

What version of the product are you using? On what operating system?
CoreAVC 1.7, MPlayer SVN on Ubuntu Hardy Heron

Please provide any additional information below.

Had to build dshowserver in 32-bit chroot, the binaries from the site didn't 
work. Registered 
codec and ran:

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

 The codec appears to work fine. But when I try to play a video:

mplayer_coreavc -vc coreserve -fs rs-sample.mkv
MPlayer dev-SVN-r27449-4.2.3 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU         T7200  @ 2.00GHz (Family: 6, Model: 15, 
Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
127 audio & 256 video codecs
Playing rs-sample.mkv.
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC) "x264 1080p", -vid 0
[mkv] Track ID 2: audio (A_DTS) "DTS 1.5mbit", -aid 0, -alang eng
[mkv] Track ID 3: subtitles (S_TEXT/UTF8) "English Subs", -sid 0, -slang eng
[mkv] Track ID 4: subtitles (S_TEXT/UTF8) "Dutch Subs", -sid 1, -slang dut
[mkv] Track ID 5: subtitles (S_TEXT/UTF8) "Czech Subs", -sid 2, -slang cze
[mkv] Track ID 6: subtitles (S_TEXT/UTF8) "Finnish Subs", -sid 3, -slang fin
[mkv] Track ID 7: subtitles (S_TEXT/UTF8) "German Subs", -sid 4, -slang ger
[mkv] Track ID 8: subtitles (S_TEXT/UTF8) "Hungarian Subs", -sid 5, -slang hun
[mkv] Track ID 9: subtitles (S_TEXT/UTF8) "Portuguese Subs", -sid 6, -slang por
[mkv] Track ID 10: subtitles (S_TEXT/UTF8) "Romanian subs", -sid 7, -slang rum
[mkv] Track ID 11: subtitles (S_TEXT/UTF8) "Spanish Subs", -sid 8, -slang spa
[mkv] Track ID 12: subtitles (S_TEXT/UTF8) "Swedish Subs", -sid 9, -slang swe
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO:  [avc1]  1920x816  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.20f00780
sem1:/dshow_sem1.20f00780
sem2:/dshow_sem2.20f00780
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
VDec: vo config request - 1920 x 816 (preferred colorspace: Packed YUY2)
[PP] Using codec's postprocessing, max q = 4.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.35:1 - prescaling to correct movie aspect.
VO: [xv] 1920x816 => 1920x816 Planar YV12  [fs]
Found DirectShow filterSelected video codec: [coreserve] vfm: dshowserver 
(CoreAVC DShow 
H264 decoder 1.3 for x86 - http://corecodec.org/)
===========================================================
===============
===========================================================
===============
Opening audio decoder: [libdca] DTS decoding with libdca
Stream with high frequencies VQ coding
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [dts] afm: libdca (DTS-libdca)
===========================================================
===============
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Got illegal command 0
A:   0.3 V:   0.2 A-V:  0.177 ct:  0.000   0/  0 ??% ??% ??,?% 3 0

What am I doing wrong?

Original issue reported on code.google.com by macs...@gmail.com on 11 Aug 2008 at 8:38

GoogleCodeExporter commented 8 years ago
Exact same situation here.  Ubuntu 8.04 64-bit, I used the precompiled 
dshowserver
binaries though.

Original comment by mjwagn...@gmail.com on 31 Aug 2008 at 2:09

GoogleCodeExporter commented 8 years ago
The problem is likely something in the demuxer.  I've had a lot of trouble 
getting
mkv files working consistantly in mplayer.  It seems that either the demuxer or 
the
headers do not always provide the required information for decoding the stream 
with
dshowserver.  The only way I can debug these is to get test cases (usually at 
least
20 secods of video)

Original comment by alannis...@gmail.com on 12 Oct 2008 at 3:24

GoogleCodeExporter commented 8 years ago
I reproduced this problem on a different setup. I have a 64-bit Gentoo system. 
I compiled the latest svn of 
dshowserver statically on a 32-bit machine, and then compiled both xine and 
mplayer from the latest sources 
on my 64-bit machine. When attempting to play an mkv file with the following 
command:

mplayer -vc coreserve <path-to-mkv>

I obtained the error detailed in <a 
href="http://code.google.com/p/coreavc-for-linux/issues/detail?
id=28">Issue 28</a>. When I played the the same file in xine, I got a blank 
green screen, followed by the 
program crashing.

The following command: mplayer -vo null <path-to-mkv> reproduces the problem 
detailed here. I have 
attached a complete log of the failure. This bug is reproducible with multiple 
mkv files that previously ran 
without error in mplayer.

Original comment by Lina.Pez...@gmail.com on 23 Dec 2008 at 8:52

Attachments:

GoogleCodeExporter commented 8 years ago
No samples provided.  nothing I can do

Original comment by alannis...@gmail.com on 9 Jan 2010 at 3:13