From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 21 Jun 2007 17:19:59 -0700 From: Roman Shaposhnick Subject: Re: [9fans] Multimedia on Plan 9 In-reply-to: <467AC14B.1070705@kix.in> To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Message-id: <1182471599.25089.272.camel@work.sfbay.sun.com> MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT References: <467AC14B.1070705@kix.in> Topicbox-Message-UUID: 84a76c00-ead2-11e9-9d60-3106f5b1d025 On Thu, 2007-06-21 at 23:49 +0530, Anant Narayanan wrote: > Hi All, > > While madplay does a good job of playing MP3s, I haven't been able to > get mpeg_play working yet. (It just displays a blank screen and does > nothing, killing it gives no messages either) > > There are large number of other A/V formats out there, which are > conventionally played, in form on another, via the ffmpeg library on > Linux/BSD machines. Looking at the 9fans archives it seems like there > was some effort to port it, but I can't find any code. It is on my TODO list. > Also, the SDL/madplay/mpeg_play ports are all based on APE (for obvious > reasons), but APE always seems like a sub-optimal solution as far as > Plan 9 is concerned. How difficult would it be to develop a native Plan > 9 library for A/V decoding? Note that most A/V libraries out there make > extensive use of inline assembly, how would that fit in with "The Plan 9 > way"? FFmpeg can be easily configured in a way that #ifdefs out all of the GNUisms. But you pay a hefty price in performance for that. Thanks, Roman.