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

No Errors But No Video #53

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. I followed all insturctions
2. dshowserver test outputs correctly
3. mplayer svn patches nicely (using patch from other recent issue)
4. mplayer builds nicely. 
5. mplayer from CLI runs with what look like happy output but I get sound
and NO VIDEO..

What is the expected output? What do you see instead?
If i run
 mplayer -demuxer lavf -vc coreserve -vo xv -fs working.mkv 
on a short (5 second) 720p test video i download i get a squak of sound the
screen flashes and then instantly its over..  Here is my output from that.

MPlayer dev-SVN-r27496-4.2.3 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz (Family: 6, Model: 15,
Stepping: 11)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
128 audio & 258 video codecs

Playing working.mkv.
libavformat file format detected.
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
[lavf] Subtitle stream found, -sid 0
VIDEO:  [H264]  1280x688  0bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
 name: Paprika  (2006)
==========================================================================
Forced video codec: coreserve
Opening video decoder: [dshowserver] DirectShowServer video codecs
shm:/dshow_shm.b5a3d760
sem1:/dshow_sem1.b5a3d760
sem2:/dshow_sem2.b5a3d760
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 - 1280 x 688 (preferred colorspace: Packed YUY2)
[PP] Using codec's postprocessing, max q = 4.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.86:1 - prescaling to correct movie aspect.
VO: [xv] 1280x688 => 1280x688 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: [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] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
A:   0.4 V:   0.0 A-V:  0.353 ct:  0.000   0/  0 ??% ??% ??,?% 59 0 
************
framecount=0
************
Destroying filter
Exiting... (End of file)
duncan@blackbox:~/Desktop$ mplayer -demuxer lavf -vc coreserve -vo xv -fs
working.mkv 
MPlayer dev-SVN-r27496-4.2.3 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz (Family: 6, Model: 15,
Stepping: 11)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
128 audio & 258 video codecs

Playing working.mkv.
libavformat file format detected.
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
[lavf] Subtitle stream found, -sid 0
VIDEO:  [H264]  1280x688  0bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
 name: Paprika  (2006)
==========================================================================
Forced video codec: coreserve
Opening video decoder: [dshowserver] DirectShowServer video codecs
shm:/dshow_shm.b5a1f760
sem1:/dshow_sem1.b5a1f760
sem2:/dshow_sem2.b5a1f760
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 - 1280 x 688 (preferred colorspace: Packed YUY2)
[PP] Using codec's postprocessing, max q = 4.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.86:1 - prescaling to correct movie aspect.
VO: [xv] 1280x688 => 1280x688 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: [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] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
A:   0.1 V:   0.0 A-V:  0.078 ct:  0.000   0/  0 ??% ??% ??,?% 0 0 
************
framecount=0
************
Destroying filter
Exiting... (End of file)

If i run the same mplayer command on a Huge 1080P file I get a black screen
but the correct sound and this output is waiting when i hit escape.

MPlayer dev-SVN-r27496-4.2.3 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz (Family: 6, Model: 15,
Stepping: 11)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
128 audio & 258 video codecs

Playing Planet.Earth.02.Mountains.2006.1080p.HDDVD.x264-AJP.mkv.
libavformat file format detected.
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
[lavf] Subtitle stream found, -sid 0
VIDEO:  [H264]  1920x1080  0bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
==========================================================================
Forced video codec: coreserve
Opening video decoder: [dshowserver] DirectShowServer video codecs
shm:/dshow_shm.b5a43760
sem1:/dshow_sem1.b5a43760
sem2:/dshow_sem2.b5a43760
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 1080 (preferred colorspace: Packed YUY2)
[PP] Using codec's postprocessing, max q = 4.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
[swscaler @ 0x8da2170]using unscaled yuv420p -> rgb32 special converter
VO: [gl] 1920x1080 => 1920x1080 BGRA  [fs]
Found DirectShow filterSelected video codec: [coreserve] vfm: dshowserver
(CoreAVC DShow H264 decoder 1.3 for x86 - http://corecodec.org/)
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...

What version of the product are you using? On what operating system?
Gutsy Gibbson. Ubuntu 8.04
Coreacv 1.7.0
mplayer svn as of Aug 29 08

Any ideas how I'm getting no errors but I can't see any video?

Original issue reported on code.google.com by DuncanC....@gmail.com on 30 Aug 2008 at 6:02

GoogleCodeExporter commented 8 years ago
having similar issue with r27498

Original comment by mitsue...@gmail.com on 31 Aug 2008 at 2:00

GoogleCodeExporter commented 8 years ago
PCLinuxOS 2007
Coreavc 1.7.0
mplayer latest svn for the last 10 days

I have a mplayer build wich I created on 08-08-2008 from svn with CoreAVC 
included
and this one works.
I also got no errors but playing an 1080 move with my build from 08-08-2008 my
processor usage is from start 25-30%, first 2 minutes tested. With the latest 
svn and
CoreAVC the processor usage go to 100% from starting on one core.

My system is:
Core2Quad 6600 with 2 GB Mem on Gigabyte GA-p35-DS3R mainboard.

Original comment by c.assemv...@chello.nl on 31 Aug 2008 at 8:40

GoogleCodeExporter commented 8 years ago
Today, I compiled mplayer again from svn.

When I run: mplayer <filename> -demuxer mkv it works fine. But without the 
demuxer
option on the commandline, mplayer used lavf default.
Maybe someone know how to fix this, and let mplayer choose mkv default.

Original comment by c.assemv...@chello.nl on 1 Sep 2008 at 11:56

GoogleCodeExporter commented 8 years ago
I've solved the problem (for me) and created a patch. This is what I changed:

*** libmpdemux/demux_lavf.c.old 2008-09-04 22:56:49.000000000 +0200
--- libmpdemux/demux_lavf.c     2008-09-04 22:48:50.000000000 +0200
***************
*** 183,189 ****
      "mov,mp4,m4a,3gp,3g2,mj2",
      "mpc",
      "mpc8",
!     "matroska",
      NULL
  };

--- 183,189 ----
      "mov,mp4,m4a,3gp,3g2,mj2",
      "mpc",
      "mpc8",
! //    "matroska",
      NULL
  };

I've added a complete dshowserver.patch wich included this patch.

Original comment by c.assemv...@chello.nl on 4 Sep 2008 at 9:16

Attachments:

GoogleCodeExporter commented 8 years ago
I will not apply any patches that modify any portion of mplayer other than
vd_dshowserver.c

This specific issue is dut to yet another demuxer incompatibility.  as always, 
the
way to try to get things to work with CoreAVC is to try all possible demuxers 
and
hope for the best

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