Eugene Kovgar | 2 Aug 2010 20:23
Favicon

How to make MPlayer to play video with CoreAVC?

In windows xp is installer latest CoreAVC 2.0 video decoder.
And with mplayer.exe -vc coreavcwindows video.mkv command I'm getting  
working sound and dark video window without picture. So how to make it  
work?
compn | 3 Aug 2010 00:29
Picon
Favicon

Re: How to make MPlayer to play video with CoreAVC?

On Mon, 02 Aug 2010 21:23:20 +0300, Eugene Kovgar wrote:
>In windows xp is installer latest CoreAVC 2.0 video decoder.
>And with mplayer.exe -vc coreavcwindows video.mkv command I'm getting  
>working sound and dark video window without picture. So how to make it  
>work?

i think the coreavcwindows codec is not working. gianluigi got it
working with his dsnative code tho.

http://oss.netfarm.it/mplayer-win32.php

quote from his site:
dsnative: updated dsnative, now it handles coreavc, ffdshow (some
problems with framedrop), cineformhd, ffdshow dxva untested but it may
work. If the codec is registered in the system you don't need to put i
codecs directory
MPlayer: experimental dsnative wrapper, included in
the package, you can try using -vc coreavc and send me feedbacks
MPlayer: work in progress native dshow video decoder, it works with
coreavc and mpeg4ds on the samples I've tested

you'll have to ask him when he wants to apply dsnative to svn

-compn
Eugene Kovgar | 3 Aug 2010 01:42
Favicon

Re: How to make MPlayer to play video with CoreAVC?

> On Mon, 02 Aug 2010 21:23:20 +0300, Eugene Kovgar wrote:
>> In windows xp is installer latest CoreAVC 2.0 video decoder.
>> And with mplayer.exe -vc coreavcwindows video.mkv command I'm getting
>> working sound and dark video window without picture. So how to make it
>> work?
>
> i think the coreavcwindows codec is not working. gianluigi got it
> working with his dsnative code tho.
>
> http://oss.netfarm.it/mplayer-win32.php
>
>
> quote from his site:
> dsnative: updated dsnative, now it handles coreavc, ffdshow (some
> problems with framedrop), cineformhd, ffdshow dxva untested but it may
> work. If the codec is registered in the system you don't need to put i
> codecs directory
> MPlayer: experimental dsnative wrapper, included in
> the package, you can try using -vc coreavc and send me feedbacks
> MPlayer: work in progress native dshow video decoder, it works with
> coreavc and mpeg4ds on the samples I've tested
>
> you'll have to ask him when he wants to apply dsnative to svn
>
> -compn

The thing is dsnative is no offisial thing and I don't really like such  
things. I thought that there is some possibilities (maybe patches) to make  
it works with -vc coreavcwindows options that, as official thing, must be  
working but it is not. But I see that it's not. So we'll wait. May be in  
(Continue reading)

Milen Manev | 3 Aug 2010 07:38
Picon

Re: How to make MPlayer to play video with CoreAVC?

1) You do not need any patches to make CoreAVC working.
2) Check you have codecs.conf in your .\mplayer folder (. is folder
where your mplayer.exe is placed). If you do not have it, copy
mplayer_sources_folder\etc\codecs.conf in .\mplayer
3) check you have section "videocodec coreavcwindows" in codecs.conf
file. If not your version of mplayer is too old (may be more then one
year) - get new version
4) copy CoreAVCDecoder.ax in your .\codecs folder. May be it can work
from original location but I never tried. May be you have to edit part
" dll "CoreAVCDecoder.ax"" in codecs.conf to give full name in this
case.
5) If your copy of CoreAVC is not registered it will not work.

Run
mplayer.exe -vc coreavcwindows ...

If still doe not work then post the log from execution.

--

-- 
Milen Manev

On Mon, Aug 2, 2010 at 9:23 PM, Eugene Kovgar <ken20001 <at> ukr.net> wrote:
> In windows xp is installer latest CoreAVC 2.0 video decoder.
> And with mplayer.exe -vc coreavcwindows video.mkv command I'm getting
> working sound and dark video window without picture. So how to make it work?
>
> _______________________________________________
> MPlayer-cygwin mailing list
> MPlayer-cygwin <at> mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-cygwin
(Continue reading)

Eugene Kovgar | 3 Aug 2010 14:57
Favicon

Re: How to make MPlayer to play video with CoreAVC?

1) Of course I have codecs.conf in ./mplayer folder.
2) Of course I have following in codecs.conf file:

videocodec coreavcwindows
   info "CoreAVC H.264 for x86 - http://corecodec.org/"
   comment "this codec will only work after purchasing it"
   status working
   fourcc H264,h264
   fourcc X264,x264
   fourcc avc1 AVC1,AVC1
   fourcc davc,DAVC
   fourcc VSSH
   format 0x10000005
   driver dshow
   dll "CoreAVCDecoder.ax"
   guid 0x09571a4b, 0xf1fe, 0x4c60, 0x97, 0x60, 0xde, 0x6d, 0x31, 0x0c,  
0x7c, 0x31
   out YV12,IYUV,I420,YUY2

3) Of course I have very new MPlayer because I've compiled it two days ago  
after you gave me an advice with error with vorbisencoder during MPlayer  
compilation (Thanks again!)
4) First I puted CoreAVCDecoder.ax in ./codecs folder but it it not helped.
5) Next I just installed CoreAVCDecoder in my system.
6) After that I've got working sound and black empty video window without  
picture.
7) Here is normal output info:

MPlayer SVN-r31859-4.5.0 (C) 2000-2010 MPlayer Team
159 audio & 340 video codecs
(Continue reading)

Milen Manev | 3 Aug 2010 15:35
Picon

Re: How to make MPlayer to play video with CoreAVC?

This is output for playing m2ts stream from camcorder.

D:\Temp\MPlayer\May\MPlayer>mplayer -vc coreavcwindows ..\..\Produce_1.m2ts
MPlayer SVN-r31247-snapshot-4.5.0 (C) 2000-2010 MPlayer Team
154 audio & 339 video codecs

Playing ..\..\Produce_1.m2ts.
Seek failed
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (ac3), -aid 0
LAVF: Program 1
VIDEO:  [H264]  1920x1080  0bpp  59.940 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Forced video codec: coreavcwindows
Opening video decoder: [dshow] DirectShow video codecs
Decoder supports the following YUV formats: YUY2 UYVY YV12 I420
Decoder is capable of YUV output (flags 0x2b)
[PP] Using codec's postprocessing, max q = 4.
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [directx] 1920x1080 => 1920x1080 Planar YV12
VideoDecoder::SetExtAttr: registry failure
Selected video codec: [coreavcwindows] vfm: dshow (CoreAVC H.264 for x86 - http:
//corecodec.org/)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 256.0 kbit/16.67% (ratio: 32000->192000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
(Continue reading)

Eugene Kovgar | 3 Aug 2010 17:22
Favicon

Re: How to make MPlayer to play video with CoreAVC?

Tue, 03 Aug 2010 16:35:20 +0300 було написано Milen Manev  
<mmanev <at> gmail.com>:

> This is output for playing m2ts stream from camcorder.
>
> D:\Temp\MPlayer\May\MPlayer>mplayer -vc coreavcwindows  
> ..\..\Produce_1.m2ts
> MPlayer SVN-r31247-snapshot-4.5.0 (C) 2000-2010 MPlayer Team
> 154 audio & 339 video codecs
>
> Playing ..\..\Produce_1.m2ts.
> Seek failed
> libavformat file format detected.
> [lavf] stream 0: video (h264), -vid 0
> [lavf] stream 1: audio (ac3), -aid 0
> LAVF: Program 1
> VIDEO:  [H264]  1920x1080  0bpp  59.940 fps    0.0 kbps ( 0.0 kbyte/s)
> ==========================================================================
> Forced video codec: coreavcwindows
> Opening video decoder: [dshow] DirectShow video codecs
> Decoder supports the following YUV formats: YUY2 UYVY YV12 I420
> Decoder is capable of YUV output (flags 0x2b)
> [PP] Using codec's postprocessing, max q = 4.
> Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
> VO: [directx] 1920x1080 => 1920x1080 Planar YV12
> VideoDecoder::SetExtAttr: registry failure
> Selected video codec: [coreavcwindows] vfm: dshow (CoreAVC H.264 for x86  
> - http:
> //corecodec.org/)
> ==========================================================================
(Continue reading)

Thomas Plank | 3 Aug 2010 19:03
Picon
Picon

Re: How to make MPlayer to play video with CoreAVC?

Eugene Kovgar (ken20001 <at> ukr.net) wrote:

> 6) After that I've got working sound and black empty video window without
> picture.

I'm encountering the same issue.
The sound gets decoded, but the video doesn't ...

CoreAVC version 2.0
--

-- 
mfg Thomas
Eugene Kovgar | 4 Aug 2010 15:35
Favicon

Re: How to make MPlayer to play video with CoreAVC?

Milen, thank you for you Mplayer.exe file. I found that your MPlayer.exe  
couse the same resoult on my system. So, as I understood the problem not  
in my MPlayer, but may be in the system or may be in DirectX or something.  
I don't really know. And followint messages appearing during playback of  
video:

pts value < previousV:  0.049 ct:  0.019   0/  0  0% 95%  3.8% 9 0
pts value < previousV:  0.133 ct:  0.023   0/  0  0% 101%  3.9% 9 0
pts value < previousV:  0.080 ct:  0.031   0/  0  0% 80%  2.9% 10 0
pts value < previousV:  0.198 ct:  0.035   0/  0  0% 84%  3.2% 10 0
pts value < previousV:  0.188 ct:  0.048   0/  0  0% 75%  3.1% 10 0
pts value < previousV:  0.265 ct:  0.052   0/  0  0% 78%  3.3% 10 0
pts value < previousV:  0.260 ct:  0.060   0/  0  0% 73%  3.1% 10 0
pts value < previousV:  0.296 ct:  0.069   0/  0  0% 69%  2.8% 10 0
pts value < previousV:  0.391 ct:  0.073   0/  0  0% 72%  3.0% 10 0
pts value < previousV:  0.365 ct:  0.081   0/  0  0% 68%  2.8% 11 0
pts value < previousV:  0.396 ct:  0.090   0/  0  0% 65%  2.6% 11 0
pts value < previousV:  0.489 ct:  0.094   0/  0  0% 68%  2.7% 11 0
pts value < previousV:  0.469 ct:  0.102   0/  0  0% 64%  2.5% 12 0
pts value < previousV:  0.553 ct:  0.106   0/  0  0% 66%  2.5% 12 0
pts value < previousV:  0.538 ct:  0.115   0/  0  0% 61%  2.6% 13 0
pts value < previousV:  0.661 ct:  0.119   0/  0  0% 63%  2.7% 13 0
pts value < previousV:  0.647 ct:  0.131   0/  0  0% 61%  2.6% 14 0
pts value < previousV:  0.733 ct:  0.135   0/  0  0% 63%  2.6% 14 0
pts value < previousV:  0.716 ct:  0.144   0/  0  0% 60%  2.5% 15 0
pts value < previousV:  0.805 ct:  0.148   0/  0  0% 62%  2.5% 15 0
pts value < previousV:  0.790 ct:  0.156   0/  0  0% 59%  2.4% 15 0
pts value < previousV:  0.911 ct:  0.160   0/  0  0% 60%  2.5% 15 0
pts value < previousV:  0.897 ct:  0.173   0/  0  0% 60%  2.4% 15 0
A:   3.2 V:   2.1 A-V:  1.065 ct:  0.177   0/  0  0% 64%  2.5% 15 0
(Continue reading)

compn | 4 Aug 2010 16:58
Picon
Favicon

Re: How to make MPlayer to play video with CoreAVC?

On Wed, 04 Aug 2010 16:35:36 +0300, Eugene Kovgar wrote:
>Milen, thank you for you Mplayer.exe file. I found that your MPlayer.exe  
>couse the same resoult on my system. So, as I understood the problem not  
>in my MPlayer, but may be in the system or may be in DirectX or something.  
>I don't really know. And followint messages appearing during playback of  
>video:
>
>pts value < previousV:  0.049 ct:  0.019   0/  0  0% 95%  3.8% 9 0

whats in your config file?

try -nocorrect-pts or -demuxer lavf ?

-compn

Gmane