Page 15 of 30 FirstFirst ... 5131415161725 ... LastLast
Results 141 to 150 of 297

Thread: HowTo: Install the very latest MPlayer under Jaunty Jackalope

  1. #141
    Join Date
    Jun 2007
    Beans
    17,337

    Re: HowTo: Install the very latest MPlayer under Jaunty Jackalope

    What on earth is, or are, electricsheep?
    It's actually kinda interesting idea, remembered ck.ing out last year

    http://electricsheep.org/tour/

  2. #142
    Join Date
    Dec 2006
    Beans
    7,349

    Re: HowTo: Install the very latest MPlayer under Jaunty Jackalope

    Hi Nullack,

    Quote Originally Posted by Nullack View Post
    Code:
    cd ~/src/mplayer
    svn checkout svn://svn.ffmpeg.org/soc/wmapro wmapro
    cp wmapro/wma* libavcodec
    patch -p0 <wmapro/audioframesize.patch
    patch -p0 <wmapro/mplayer.patch
    patch -p0 <wmapro/wmapro_ffmpeg.patch
    It has taken a little prodding on these forums and a pointer from the MPlayer-users but I have finally taken your advice and installed the wmapro work from SOC. You of course were right: it works brilliantly!

    Only slight modification I made is copying the files a little differently:

    Code:
    cp -v wmapro/wma3dec.c wmapro/wma3data.h wmapro/wma3.h libavcodec
    It is a minor niggle but copying as 'wm*' also copies wmapro_ffmpeg.patch, this makes no difference but I am a little anal at times .

    Playing a demo file now gives:

    Code:
    andrew@skamandros~/samples$ mplayer WMVHDsplash.wmv 
    MPlayer SVN-r29318-4.2.4 (C) 2000-2009 MPlayer Team
    
    Playing WMVHDsplash.wmv.
    ASF file format detected.
    [asfheader] Audio stream found, -aid 1
    [asfheader] Video stream found, -vid 2
    VIDEO:  [WMV3]  1280x720  24bpp  1000.000 fps  6500.0 kbps (793.5 kbyte/s)
    ==========================================================================
    Opening video decoder: [dmo] DMO video codecs
    DMO dll supports VO Optimizations 0 1
    DMO dll might use previous sample when requested
    Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555 RGB565 RGB24 RGB32 
    Decoder is capable of YUV output (flags 0x1b)
    VDec: vo config request - 1280 x 720 (preferred colorspace: Packed YUY2)
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is undefined - no prescaling applied.
    VO: [xv] 1280x720 => 1280x720 Planar YV12 
    Selected video codec: [wmv9dmo] vfm: dmo (Windows Media Video 9 DMO)
    ==========================================================================
    ==========================================================================
    Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
    [wmapro @ 0x8f576f0][18] [0] [3f] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [e0] [0] [0] [0] 
    [wmapro @ 0x8f576f0] ed sample bit depth = 16
    [wmapro @ 0x8f576f0] ed decode flags = e0
    [wmapro @ 0x8f576f0] samples per frame = 2048
    [wmapro @ 0x8f576f0] log2 frame size = 17
    [wmapro @ 0x8f576f0] max num subframes = 16
    [wmapro @ 0x8f576f0] len prefix = 1
    [wmapro @ 0x8f576f0] num channels = 6
    [wmapro @ 0x8f576f0] lossless = 0
    AUDIO: 48000 Hz, 6 ch, s16le, 384.0 kbit/8.33% (ratio: 48000->576000)
    Selected audio codec: [ffwmapro] afm: ffmpeg (FFmpeg WMA Pro audio)
    ==========================================================================
    AO: [oss] 48000Hz 6ch s16le (2 bytes per sample)
    Starting playback...
    [wmapro @ 0x8f576f0]input buffer to small413/413 24%  4%  1.8% 0 0 
    A:  22.9 V:  22.9 A-V:  0.004 ct:  0.086 479/479 23%  4%  1.8% 0 0 
    
    Exiting... (End of file)
    I am not sure if this belongs in the Jaunty guide but I might consider adding it in this weekend as I am rewriting some sections based on advice from Carl Eugene you may have seen in MPlayer-users. Exciting times indeed for MPlayer .

    Andrew
    You think that's air you're breathing now?

  3. #143
    Join Date
    Jun 2007
    Beans
    17,337

    Re: HowTo: Install the very latest MPlayer under Jaunty Jackalope

    The one thing I've noticed (and others have confirmed ) is that at times lately (last couple of weeks) the current svn of ffmpeg, when used with the current svn of wmapro will result in 3 possibilities
    1. it succeeds
    2 it fails with numerous wma3dec.c (wma3dec.o) errors (then adding bitstream.h to libavcodec allows build to succeed
    3. it fails with a simple error and won't compile "libavcodec/wma3dec.c:315: error: too many arguments to function ‘ff_mdct_init’"

    right now ffmpeg revision 18839 and wmapro -r 4283 will build perfectly ( whether in mplayer or ffmpeg itself
    and also the latest -r 18892

    ( I do a quick ck. using wmapro's checkout.sh to see if it will build
    Last edited by mc4man; May 22nd, 2009 at 01:55 AM.

  4. #144
    Join Date
    Dec 2006
    Beans
    7,349

    Re: HowTo: Install the very latest MPlayer under Jaunty Jackalope

    Hi mc4man,

    Quote Originally Posted by mc4man View Post
    right now ffmpeg revision 18839 and wmapro -r 4283 will build perfectly
    Sounds a little 'bleeding edge' for this guide perhaps . I guess the question is when will ffwmapro join FFmpeg proper?

    Andrew
    You think that's air you're breathing now?

  5. #145
    Join Date
    Sep 2007
    Location
    /dev/null/
    Beans
    1,589

    Re: HowTo: Install the very latest MPlayer under Jaunty Jackalope

    IMHO ffmpeg should hurry up and merge the wmapro decoder code. Its been ages and most of the SVN changes are fluff rather than core changes.
    He that will not reason is a bigot; he that cannot reason is a fool; he that dares not reason is a slave.

  6. #146
    Join Date
    Jun 2007
    Beans
    17,337

    Re: HowTo: Install the very latest MPlayer under Jaunty Jackalope

    Sounds a little 'bleeding edge' for this guide perhaps
    Maybe so, though it's almost always worked for me

    The wmapro -r's (going back a little ways, seem to be the same, it's just 'some' ffmpeg -r's have an issue

    The one that caused an issue the other day for someone was ffmpeg -r 18875, tonights -r 18892 works fine.

    (the quick test only takes a few minutes or so, doesn't seem suitable for a guide though

    Edit: the bitstream.h thing was resolved apparently some -r's back, so the patch should work virtually all the time


    < #include "bitstream.h"
    ---
    > #include "get_bits.h"
    the hang up would be an errant ffmpeg -r and it seems that mplayer always uses the latest ffmpeg svn when you checkout an mplayer svn. (good thing or not ...?

    Edit: it's sorta a viable alternate dual install, a patched ffmpeg and patched mplayer, getting the wwmapro, mplayer sources at the same time.
    If a .checkout.sh, configure and make works for ffmpeg, then it will work for mplayer, if not then it won't.

    The easiest immediate solution would be to replace (replace, not merge,) the 5 ffmpeg dir.'s in mplayer with those from an earlier ffmpeg -r, most likely just a couple back. (I say that's the 'sorta' part
    Last edited by mc4man; May 22nd, 2009 at 07:07 AM.

  7. #147
    Join Date
    Dec 2006
    Beans
    7,349

    Re: HowTo: Install the very latest MPlayer under Jaunty Jackalope

    Hi mc4man,

    Quote Originally Posted by mc4man View Post
    it seems that mplayer always uses the latest ffmpeg svn when you checkout an mplayer svn. (good thing or not ...?
    I think it is often a cautious thing to avoid updating MPlayer immediately after a sync with the FFmpeg libraries .

    Andrew
    You think that's air you're breathing now?

  8. #148
    Join Date
    Feb 2008
    Location
    Helsinki. Finland
    Beans
    8
    Distro
    Xubuntu 9.10 Karmic Koala

    Re: HowTo: Install the very latest MPlayer under Jaunty Jackalope

    Thank you for a very good tutorial!

    pen

  9. #149
    Join Date
    Dec 2006
    Beans
    7,349

    Re: HowTo: Install the very latest MPlayer under Jaunty Jackalope

    Hi pen,

    Quote Originally Posted by penC View Post
    Thank you for a very good tutorial!
    It is my pleasure, I am glad it all worked out for you .

    Andrew
    You think that's air you're breathing now?

  10. #150
    Join Date
    May 2009
    Beans
    9

    Re: HowTo: Install the very latest MPlayer under Jaunty Jackalope

    Thank you for this guide! It was very useful, I'm glad someone linked it to me because I'd wasted hours trying to get mplayer to work when I hadn't installed all that stuff previously. Great guide with plenty of detail but perfectly clear.

Page 15 of 30 FirstFirst ... 5131415161725 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •