Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28516 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28044 invoked by uid 1010); 21 Mar 2007 09:09:25 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 28028 invoked from network); 21 Mar 2007 09:09:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Mar 2007 09:09:25 -0000 Authentication-Results: pb1.pair.com header.from=tijnema@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=tijnema@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.182.186 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: tijnema@gmail.com X-Host-Fingerprint: 64.233.182.186 nf-out-0910.google.com Linux 2.4/2.6 Received: from [64.233.182.186] ([64.233.182.186:21406] helo=nf-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0A/F3-21072-926F0064 for ; Wed, 21 Mar 2007 04:08:59 -0500 Received: by nf-out-0910.google.com with SMTP id l35so827641nfa for ; Wed, 21 Mar 2007 02:08:55 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fwn5afc+D6/a6T5Aww6FX6BC7eo7RbnwYt8xp1GPtNbGLyePI3Zk299jhqNjTgZxikIUdtg/5hHiPBBTIFu1CVMX1fYYou81ymLlJVWTPm6pyYHc7KfD3La7fiAAt1ekx3IhukDloMYeCh/kZ8cWsotSTIsWbuGKfO+l00EyFTA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=h3PFV82+pQLZjjLFj+zSQgDTYrTnni86TrteDLOEN+P021t2oXFWEWzGZNtFpZhN/tam68SFhm85lRPgiutNzjLvV2wmzNfRVvn04EGcagmiRV6uyEY96FP4gw9y7G6jHMGpfOaGch3PGGajVXkk5JL97Pganv1slmnaahE612M= Received: by 10.82.188.15 with SMTP id l15mr1193104buf.1174468133450; Wed, 21 Mar 2007 02:08:53 -0700 (PDT) Received: by 10.82.98.10 with HTTP; Wed, 21 Mar 2007 02:08:53 -0700 (PDT) Message-ID: Date: Wed, 21 Mar 2007 10:08:53 +0100 To: "Antony Dovgal" Cc: internals@lists.php.net In-Reply-To: <4600F35E.2050707@zend.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1405337330.20070315155023@marcus-boerger.de> <4E49AB3E-7BCE-4B10-8696-F0427C4AAAD4@prohost.org> <1475201111.20070315162711@marcus-boerger.de> <167173066.20070315224827@marcus-boerger.de> <45049.216.230.84.67.1174434279.squirrel@www.l-i-e.com> <4600F35E.2050707@zend.com> Subject: Re: [PHP-DEV] GSoC From: tijnema@gmail.com ("Tijnema !") On 3/21/07, Antony Dovgal wrote: > On 03/21/2007 10:47 AM, Tijnema ! wrote: > > On 3/21/07, Richard Lynch wrote: > >> > >> I splice the ID3 tags onto the front of an MP3 stream in PHP on this > >> site: > >> > >> http://uncommonground.com/ > >> > >> The id3 library in PHP is quite good at this, but needs a maintainer... > >> > > > > Well, it is a start, now only processing work needs to be done :) > > To convert from MP3 to Wave for example, I think this will require the > > LAME lib, and to use with OGG, it will require the OGGvorbis lib. But > > about WMA, I never saw a Linux lib for it. So that would require > > creating a new lib for WMA, or directly implementing it into the PHP > > source. So the MP3 and OGG support shouldn't bee too hard to > > implement, but other file formats might be harder. And now I'm only > > talking about Audio, my first idea was to implement Video > > (Audio+Video). Video is even more advanced, then we should work with > > DivX and XviD codecs. (Thank god, they are Open Source). But having > > this support for video, it would be possible to easily create a site > > like youtube, where they even have a "screenshot" of the movie, which > > is actually just a frame in the middle of the file. And of course it > > would be possible to resize the video files. > > I don't think anybody sane is doing audio encoding and video resizing in PHP. > PHP is about interface, clients are not going to wait an hour or two for a page to load. Like i said, video resizing might be useful for sites like youtube. And what i'm trying to do with audio is more extending the limits of PHP. Ever wanted to become a web DJ? > > There is a bunch of mature opensource utilities (transcoder, lame, oggenc etc.) and you > can always use them to convert WAV to MP3 and AVI to OGG, it's just a matter of implementation. What about WMA? do you know a library/encoder dat does convert from/to WMA? > > That said, I would be glad to see a PECL extension able to read video files and grab screenshots > (that seems to be quite common requirement). > The ffmpeg extension is GPLed, which is a no-no for PECL. Well, video files are just a set of frames, so if a PECL extension is able to read video files, they already need to be decoded, and so, all work is done already, it shoudl be very easy to also create other formats then. > > Re sound files, we already do have something: http://cvs.php.net/viewvc.cgi/pecl/sndfile/ > It just wasn't released. Ah, never checked the CVS for items. I will take a look at this PECL extension, and see what's done already :) Tijnema > > -- > Wbr, > Antony Dovgal >