My php video transcoder

Web programming topics
Post Reply
Mysoogal
Captain
Captain
Posts: 223
Joined: Thu Dec 17, 2009 7:15 am
Location: Planet VPS

My php video transcoder

Post by Mysoogal » Fri Oct 01, 2010 10:58 am

php video transcoder for x264 mp4, and theora video after spending some time looking for a free admin panel i found Transdmin light and set out to do my ideal video transcoder, the interface is very pretty and easy to understand I've tried my best to code and make the whole process automated, you only need to install the requirements and are very small, which i provided in my other thread

screen dump
Image

Image


download transcoder
MysoogalsTranscoder.zip
php files
(2.25 MiB) Downloaded 616 times

i wanted to add the VP8 but it was really a pain to setup, the official ivenc from Google is not working because some --options simply do not work and i didn't bother to use webm

next update probably will add cURL FTP support so you can automatically upload the encoded file to remote ftp server :D

wish i had a experienced developer ! we can build this into a cool application, my abilities are limited in every way in php, to shell scripting so don't expect me to know everything :mrgreen:
Mysoogal
Captain
Captain
Posts: 223
Joined: Thu Dec 17, 2009 7:15 am
Location: Planet VPS

Re: My php video transcoder

Post by Mysoogal » Fri Oct 01, 2010 11:04 am

sorry when you add all the files, please replace this file theora.php with this one below, it had typo to x264 shell script instead of theora :cry:
theora.php.zip
replace old file with updated
(1.61 KiB) Downloaded 507 times
User avatar
Saman
Lieutenant Colonel
Lieutenant Colonel
Posts: 828
Joined: Fri Jul 31, 2009 10:32 pm
Location: Mount Lavinia

Re: My php video transcoder

Post by Saman » Fri Oct 01, 2010 11:10 am

Thanks for sharing... I'll give it a try as soon as I get a time.
Mysoogal
Captain
Captain
Posts: 223
Joined: Thu Dec 17, 2009 7:15 am
Location: Planet VPS

Re: My php video transcoder

Post by Mysoogal » Sat Oct 02, 2010 3:37 am

updated transcoder , fixed some issues with x264 and sed, there was some problems with filenames having whitespace and %20 in filenames had to be removed

little layout changed so thumbs and download link look visible

new look, now its simple to copy the url and thumbnail, you can just post in your word-press
Image
updated_transcoder.zip
updated fixed sed issues
(1.92 MiB) Downloaded 534 times
Mysoogal
Captain
Captain
Posts: 223
Joined: Thu Dec 17, 2009 7:15 am
Location: Planet VPS

Re: My php video transcoder

Post by Mysoogal » Mon Oct 04, 2010 1:49 am

transcoder update 3

includes

ftp upload files to remote server
Delete all encoded files and files in tmp


your server must have simple apt-get install curl ! :D
Image

to change ftp info, look into tools/ftp.sh replace with your ftp info
transcoder_update_3.zip
updated
(1.92 MiB) Downloaded 474 times
Mysoogal
Captain
Captain
Posts: 223
Joined: Thu Dec 17, 2009 7:15 am
Location: Planet VPS

Re: My php video transcoder

Post by Mysoogal » Mon Oct 04, 2010 2:00 am

sorry forget to edit all over files to include the buttons :mrgreen:

download and replace old files with new from zip
replace_with_this.zip
replace
(4.93 KiB) Downloaded 497 times
Mysoogal
Captain
Captain
Posts: 223
Joined: Thu Dec 17, 2009 7:15 am
Location: Planet VPS

Re: My php video transcoder

Post by Mysoogal » Mon Oct 04, 2010 9:26 am

totally important updated

please replace index.php theora.php h264.php with the new files

the issue was with the highslide js cache being turned to :true this in effect disabled user from encoding again or within the same page finally fixed this annoying thing, in the first release until to transcoder 3 users had to basically refresh the page to encode again on , but now i figured the issue and everything should be working smooth


replace_old_with_this.zip
updated
(4.96 KiB) Downloaded 543 times
Pansophic
Sergeant
Sergeant
Posts: 25
Joined: Sun Feb 13, 2011 4:05 pm

Re: My php video transcoder

Post by Pansophic » Tue Mar 01, 2011 3:32 pm

what is the actual work of a transcoder, sorry if its a foolish question :(
User avatar
Saman
Lieutenant Colonel
Lieutenant Colonel
Posts: 828
Joined: Fri Jul 31, 2009 10:32 pm
Location: Mount Lavinia

Re: My php video transcoder

Post by Saman » Tue Mar 01, 2011 5:15 pm

what is the actual work of a transcoder
It's about converting an encoded file in to another format. For example, If you want to convert a WMV file to MPG format, you need a transcoder which can decode WMV in to raw data and then encode it to MPG format. So that transcoder has two important components. A decoder and an encoder.

Mysoogal is our expert on this field.
Mysoogal
Captain
Captain
Posts: 223
Joined: Thu Dec 17, 2009 7:15 am
Location: Planet VPS

Re: My php video transcoder

Post by Mysoogal » Thu Mar 03, 2011 10:27 pm

sorry very late reply, think about it this way, its just a on line version of a desktop application that lets you encode different video formats into other formats, for example, from Xvid to VP8 or maybe mpeg4 for mobiles iphone etc :geek:


the recent terrible update to mint 10 has really screwed pieces of my operating system, sorry if the updates don't keep coming because I've got some other projects going on.
Post Reply

Return to “Web programming”