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

mplayer parent process died unexpectedly, exceptionally slow decoding #88

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When I try to play a h264 file with mplayer/coreavc, it processes one frame per 
several 
seconds, but does not use anywhere near 100% cpu. This is the mplayer stdout I 
get:

MPlayer SVN-r29417-4.3.2 (C) 2000-2009 MPlayer Team
137 audio & 300 video codecs

Playing ../../Downloads/video.mp4.
libavformat file format detected.
[lavf] Audio stream found, -aid 0
[lavf] Video stream found, -vid 1
VIDEO:  [avc1]  1280x720  24bpp  23.986 fps    0.0 kbps ( 0.0 kbyte/s)
=================================================================
=========
Forced video codec: coreserve
Opening video decoder: [dshowserver] DirectShowServer video codecs
shm:/dshow_shm.b74ba710
sem1:/dshow_sem1.b74ba710
sem2:/dshow_sem2.b74ba710
Got BIH
Opening device
Called unk_IsDebuggerPresent
len: 992
ProductVersion: 1.9.5
Win32 LoadLibrary failed to load: nvcuvid.dll, /usr/lib/win32/nvcuvid.dll, 
/usr/local/lib/win32/nvcuvid.dll
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 720 (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.78:1 - prescaling to correct movie aspect.
VO: [xv] 1280x720 => 1280x720 Planar YV12 
[ASPECT] Warning: No suitable new res found!
Found DirectShow filterSelected video codec: [coreserve] vfm: dshowserver 
(CoreAVC 
DShow H264 decoder 1.3 for x86 - http://corecodec.org/)
=================================================================
=========
=================================================================
=========
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
=================================================================
=========
AO: [null] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
Parent process 11368 died unexpectedly

I installed coreavc using the mplayer dshow method, with no errors. I've tried  
with -ao null, 
with no speedup (I thought it might be pulseaudio being tetchy.) Does anyone 
know what's 
going on?

Original issue reported on code.google.com by james.n....@gmail.com on 11 Jul 2009 at 9:00

GoogleCodeExporter commented 8 years ago
I am finding a similar problem, although I find I get some playback for about
15-20seconds then crash. 

[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
[mkv] Track ID 2: audio (A_AC3), -aid 0, -alang und
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO:  [avc1]  1280x544  24bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Forced video codec: coreserve
Opening video decoder: [dshowserver] DirectShowServer video codecs
Opening device
Called unk_IsDebuggerPresent
len: 992
ProductVersion: 1.9.5
Decoder supports the following YUV formats: YUY2 UYVY YV12 I420 
Decoder is capable of YUV output (flags 0x2b)
Setting fmt
Starting
Initialization is complete
[PP] Using codec's postprocessing, max q = 4.
Movie-Aspect is 2.35:1 - prescaling to correct movie aspect.
VO: [xv] 1280x544 => 1280x544 Planar YV12  [fs] [zoom]
Dshowserver Connected to host
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, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
pts value < previousV: -0.125 ct:  0.000   0/  0 ??% ??% ??,?% 0 0              

*** glibc detected *** ./mplayer: free(): invalid next size (normal): 
0x09418938 ***

======= Backtrace: =========
/lib/libc.so.6[0xc702a1]
./mplayer[0x8084480]
======= Memory map: ========
00101000-00108000 r-xp 00000000 09:00 4933496    /lib/librt-2.10.1.so
00108000-00109000 r-xp 00006000 09:00 4933496    /lib/librt-2.10.1.so
00109000-0010a000 rwxp 00007000 09:00 4933496    /lib/librt-2.10.1.so

Original comment by stuart.l...@gmail.com on 17 Oct 2009 at 3:23

GoogleCodeExporter commented 8 years ago
Please try again using release

Original comment by alannis...@gmail.com on 8 Jan 2010 at 8:36

GoogleCodeExporter commented 8 years ago
No response

Original comment by alannis...@gmail.com on 12 Mar 2010 at 4:23