My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
MplayerInstallation  
Instructions for using CoreAVC with mplayer
Updated Apr 12, 2010 by alannis...@gmail.com

Introduction

The mplayer build does not support interlaced playback (it will fail rather than just look bad)

Details

Before beginning, ensure that you have a recent mplayer build (only SVN is supported, but recent snapshots should work as well)

1) Download the code from svn:

svn checkout http://coreavc-for-linux.googlecode.com/svn/trunk/ coreavc-for-linux 
cd coreavc-for-linux

2) Install dshowserver forrlowing these instructions: DshowserverInstall

3) Install patch into mplayer:

cd <path to mplayer source code>
patch -p0 < <path to coreavc-for-linux>/mplayer/dshowserver.patch
make
make install

4) Update codecs.conf

  • If you don't have ~/.mplayer/codecs.conf
  • mkdir ~/.mplayer
    cp <path to mplayer source>/etc/codecs.conf ~/.mplayer/
  • Add the following to the end of ~/.mplayer/codecs.conf
  • videocodec coreserve
      info "CoreAVC DShow H264 decoder x.x for x86 - http://corecodec.org/"
      status working
      format 0x10000005
      fourcc H264,h264 H264
      fourcc X264,x264
      fourcc avc1,AVC1 AVC1
      fourcc davc,DAVC
      fourcc VSSH
      driver dshowserver
      dll "CoreAVCDecoder.ax"
      guid 0x09571a4b, 0xf1fe, 0x4c60, 0x97, 0x60, 0xde, 0x6d, 0x31, 0x0c, 0x7c, 0x31
      out YV12,IYUV,I420,YUY2

Playing tips

to use coreavc, you may need to add '-vc coreserve' (assuming you use the above codecs.conf options)

you may also need to use '-demuxer lavf' for some formats (TS streams for example)

with current mplayer you may also need -no-correct-pts to prevent jerky playback.

Comment by duarte.m...@gmail.com, Sep 11, 2011

Hello. I need some help. Can you give me an example or tell me what is "<path to mplayer source code>" in point 3? Many thanks

Comment by mestrez....@gmail.com, Nov 4, 2011

duarte.m...@gmail.com, You should download the source code of mplayer for example in your $HOME/mplayer with this command : svn checkout svn://svn.mplayerhq.hu/mplayer/trunk $HOME/mplayer


Sign in to add a comment
Powered by Google Project Hosting