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

Audio, but no Video (frames in: xxx frames out:0) #108

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. build and install mplayer, dsshowserer, and CoreAVCDecoder.ax as described 
in this guide.

2. run mplayer with .mkv video (-vc coreserve -nocorrect-pts)

3.

What is the expected output? What do you see instead?
Expected video and audio of .mkv video file playing in mplayer window, and at 
mplayer exit, dshowserver message with non-zero frames out.

Got audio, but no video at all. when mplayer exits, dshowserver states the 
number of frames in, which is non-zero, and the number of frames out, which is 
0.

What version of the product are you using? On what operating system?

CoreAVC Profession 2.0
(corevc-for-linux: latest download)
mplayer snapshot as of 9/10/2010
Fedora 13 updated as of today.

Please provide any additional information below.
did some snooping in the dshowserver code. in loader/dshow/DS_VideoDecoder.c, 
line 479 "if( sampleProcData.frame[sampleProcData.lastFrame].state == PD_SET)" 
always returns false, hence framecount never gets incrememnted. Forcing the 
"if" block to be executed resulted in a green screen.

Don't know if that is relevant or not, tho.

FWIW: CoreAVCDecoder and dshowserver both run okay, as described in the guide 
(dshowserver -c CoreAVCDecoder.ax --config). Also, built mplayer as close to 
the repo package as possible (all outputs and codecs built).

Original issue reported on code.google.com by daytoo...@gmail.com on 17 Sep 2010 at 6:23