[plug] php script to concatenate video files (to h264) using ffmpeg & named pipes

2011-01-24 Thread Winelfred G. Pasamba
/dev/null < /dev/null&\n"; echo $cmd; `$cmd`; } $cmd = "cat "; foreach ($argv as $arg) { $cmd .= "fifo.$arg.mpg "; } //$cmd .= " | ffmpeg -f mpeg -i - -sameq -vcodec libx264 -vpre medium -ac 1 -ab 128k $finalfile"; $cmd .= " | ffmpeg -f mpeg -i - -sameq -vcodec libx264 -vpre medium $finalfi

[plug] hi all, I'm looking for help re content on linux.org.ph

2011-01-24 Thread Gabriel H. Mercado
Linux.org.ph is looking for a Contributing Editor to perform the following tasks on a volunteer basis: * Look for local content and content producers (ie. bloggers, local publications, orgs and companies, etc.) that write about or adapt open source technologies. * Add these to linux.org.ph

Re: [plug] hi all, I'm looking for help re content on linux.org.ph

2011-01-24 Thread hard wyrd
Hi, I'm new to this list but I'd be happy to help out any way I can. :) Regards! - HW On Tue, Jan 25, 2011 at 9:01 AM, Gabriel H. Mercado wrote: > Linux.org.ph is looking for a Contributing Editor to perform the > following tasks on a volunteer basis: > >* Look for local content and conten

[plug] Alienware conducting a survey about linux systems

2011-01-24 Thread Silverlokk
http://www.fsdaily.com/Business/Alienware_conducting_a_survey_about_linux_systems -- For those of you who like Alienware hardware, and maybe even those who are at best neutral. Sent to you by Silverlokk via Google Reader: Alienware conducting a survey about linux systems via fsdaily.com - Free So

[plug] CMU Sphinx- An Open Source Toolkit For Speech Recognition | Linux

2011-01-24 Thread Silverlokk
http://www.fsdaily.com/HighEnd/CMU_Sphinx_An_Open_Source_Toolkit_For_Speech_Recognition_Linux-1 -- I believe that's a Kinnect in the demo. Sent to you by Silverlokk via Google Reader: CMU Sphinx- An Open Source Toolkit For Speech Recognition | Linux via fsdaily.com - Free Software News - Publishe

Re: [plug] php script to concatenate video files (to h264) using ffmpeg & named pipes

2011-01-24 Thread Zak Elep
Backticks smells. :P There's posix_mkfifo() and ffmpeg-php extension. Why not use them? :) On Jan 24, 2011 9:28 PM, "Winelfred G. Pasamba" wrote: > // > // concatenate videos (using ffmpeg and named pipes) > // > // Winelfred G. Pasamba c2011 > // > > if ($argc <= 1) { > die ("usage: php joinvid

Re: [plug] php script to concatenate video files (to h264) using ffmpeg & named pipes

2011-01-24 Thread Michael Tinsay
Here's what I do manually for .avi files (I believe I found this in ubuntuforums.org): cat video1 video2 ... > tempfile mencoder -oac copy -ovc copy -forceidx -o tempfile2 tempfile after this, you can just feed tempfile2 to ffmpeg to convert it to mp4. --- mike t. > >From: Zak Elep >To: Phi

Re: [plug] php script to concatenate video files (to h264) using ffmpeg & named pipes

2011-01-24 Thread Michael Janapin
Hi Mike, What you suggested can't be done through the web, right? I think the original script is for those who can't have shell access. The php script probably assumes that file upload is allowed, and thus concatenating is also through php. Michael Janapin PBTS Baguio City http://mulingsilang.wor

Re: [plug] php script to concatenate video files (to h264) using ffmpeg & named pipes

2011-01-24 Thread JP Loh
The script uses $argc though. On Tue, Jan 25, 2011 at 14:15, Michael Janapin wrote: > Hi Mike, > What you suggested can't be done through the web, right? > > I think the original script is for those who can't have shell access. The > php script probably assumes that file upload is allowed, and th