Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 24 of 24
Search took 0.13 seconds.
Search: Posts Made By: drakus
Forum: Post a PHP snippet 09-19-2012, 01:36 AM
Replies: 677
Views: 121,850
Posted By drakus
Those 2 lines fix for php 5.2 which is way...

Those 2 lines fix for php 5.2 which is way outdated. If a host is still using it, than do not use them, it's a sign of no security updates. centrix is running cpanel which always uses the lateste...
Forum: Post a PHP snippet 09-18-2012, 06:12 PM
Replies: 677
Views: 121,850
Posted By drakus
on line 121 change of VideoConverter.class.php ...

on line 121 change of VideoConverter.class.php
$percent = round($downloaded/$downloadSize, 2) * 100;

to

$percent = @round($downloaded/$downloadSize, 2) * 100;

than on line 230 same file,...
Forum: Post a PHP snippet 03-08-2012, 04:03 PM
Replies: 677
Views: 121,850
Posted By drakus
You can do this by inserting into a database so...

You can do this by inserting into a database so that it is always available, or you can do some random string generators or maybe even use http://php.net/manual/en/function.tempnam.php to generate a...
Forum: Post a PHP snippet 03-07-2012, 10:20 PM
Replies: 677
Views: 121,850
Posted By drakus
TY one good thing about Ubuntu is their packages...

TY one good thing about Ubuntu is their packages are more up to dae than debian... I will incorporate this into my script...

Thanks
Forum: Post a PHP snippet 03-05-2012, 11:31 PM
Replies: 677
Views: 121,850
Posted By drakus
umm no wonder so fast... u on same network / dc...

umm no wonder so fast... u on same network / dc as one of the cache servers

you will never see a download progress bar
Forum: Post a PHP snippet 03-05-2012, 04:54 PM
Replies: 677
Views: 121,850
Posted By drakus
Cana, I want to see a traceroute to youtube or...

Cana, I want to see a traceroute to youtube or youtube cache server from your vps/server. I am pinging 100 to you no matter which server I am on of mine.

I wonder if they have a cache server in...
Forum: Post a PHP snippet 03-05-2012, 12:56 AM
Replies: 677
Views: 121,850
Posted By drakus
welcome.. my only guess is you are downloading so...

welcome.. my only guess is you are downloading so fricken fast. even a huge 100+Meg video that it has no time to check status and it goes right into the conversion.

sorry to say, with out really...
Forum: Post a PHP snippet 03-04-2012, 11:58 PM
Replies: 677
Views: 121,850
Posted By drakus
I have a gut feeling that it may be the version...

I have a gut feeling that it may be the version of ffpmeg you are running. you seem to be running a nightly build

try the stable one

http://ffmpeg.org/releases/ffmpeg-0.10.tar.gz

let me know...
Forum: Post a PHP snippet 03-04-2012, 11:30 PM
Replies: 677
Views: 121,850
Posted By drakus
Something weird is going on with your ffmpeg ...

Something weird is going on with your ffmpeg

if you look at your log

http://zaap.ch/logs/1330827379_4f52d073217a16.68506985.txt

and then look at mine

ffmpeg version 0.7.11, Copyright (c)...
Forum: Post a PHP snippet 03-04-2012, 11:20 PM
Replies: 677
Views: 121,850
Posted By drakus
yes looks good.. give me version of ffmpeg using...

yes looks good.. give me version of ffmpeg using this

ffmpeg --version
also do you have php-ffmpeg installed (if linux box)
and what distro
Forum: Post a PHP snippet 03-04-2012, 10:20 PM
Replies: 677
Views: 121,850
Posted By drakus
anytime. back to work on the install script

anytime. back to work on the install script
Forum: Post a PHP snippet 03-04-2012, 09:44 PM
Replies: 677
Views: 121,850
Posted By drakus
none what so ever. i have been using the 768...

none what so ever. i have been using the 768 option and they have been sounding good on anything i play them on. my djs have said the same thing. so i guess it is all good

If you are going to add...
Forum: Post a PHP snippet 03-04-2012, 07:34 PM
Replies: 677
Views: 121,850
Posted By drakus
added a switch to the ffmpeg command to output...

added a switch to the ffmpeg command to output the sound a little louder.

take this line in the YouTubeToMp3Converter.class.php

$exec_string = parent::_FFMPEG.' -i...
Forum: Post a PHP snippet 03-04-2012, 07:19 PM
Replies: 677
Views: 121,850
Posted By drakus
post your YouTubeToMp3Converter.class.php file ...

post your YouTubeToMp3Converter.class.php file

the ffmpeg conversion is in there

also what distro are you using
Forum: Post a PHP snippet 03-04-2012, 07:18 PM
Replies: 677
Views: 121,850
Posted By drakus
All work i do is in linux counsel

All work i do is in linux counsel
Forum: Post a PHP snippet 03-04-2012, 04:54 PM
Replies: 677
Views: 121,850
Posted By drakus
looking good... it may be the amount of ram.. cpu...

looking good... it may be the amount of ram.. cpu should be good. my servers are all at minimum 8 cores 2.6+ with 16 gig ram. I check a home server later and see what i get for conversion speed. but...
Forum: Post a PHP snippet 03-03-2012, 10:25 PM
Replies: 677
Views: 121,850
Posted By drakus
Make sure that your host is running php 5.3.x and...

Make sure that your host is running php 5.3.x and latest ffmpeg & libmp3lame and make sure they are running php-ffmpeg as well

latest version of ffmpeg is FFmpeg 0.10 "Freedom"...
Forum: Post a PHP snippet 03-03-2012, 02:38 PM
Replies: 677
Views: 121,850
Posted By drakus
curl_setopt($ch, CURLOPT_PROGRESSFUNCTION,...

curl_setopt($ch, CURLOPT_PROGRESSFUNCTION, array($this, 'UpdateVideoDownloadProgress'));

if you are getting an error with that, your curl may not be installed properly. I have a few minor errors...
Forum: Post a PHP snippet 02-27-2012, 03:39 AM
Replies: 677
Views: 121,850
Posted By drakus
yes I am familiar with debian & centos. Ubuntu is...

yes I am familiar with debian & centos. Ubuntu is based on debian so should be about the same. .

PM on exactly what you want it to do.
I am guessing a shell script of some sort to install all...
Forum: Post a PHP snippet 02-26-2012, 11:48 PM
Replies: 677
Views: 121,850
Posted By drakus
Chump, I just wanted to say thank you for the...

Chump, I just wanted to say thank you for the awesome script, my djs love it after some customization. mine is private, not public like some are.
Forum: Post a PHP snippet 02-26-2012, 11:47 PM
Replies: 677
Views: 121,850
Posted By drakus
Make sure you have latest php 5.3.10 or whatever...

Make sure you have latest php 5.3.10 or whatever is latst version for your distro.

I had same problem, slower than slow, it took about 3 - 5 min for any of my servers to download it and they are...
Forum: Post a PHP snippet 02-26-2012, 08:00 PM
Replies: 677
Views: 121,850
Posted By drakus
http:\/\/o-o.preferred.ord12s06.v22.lscache8.c.you...

http:\/\/o-o.preferred.ord12s06.v22.lscache8.c.youtube.com\/generate_204?sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Csource%2Calgorithm%2Cburst%2Cfactor%2Ccp\u0026fexp=913528\u0026algorithm=throttle-fa...
Forum: Post a PHP snippet 02-26-2012, 07:21 PM
Replies: 677
Views: 121,850
Posted By drakus
For some reason your server is grabbing it from...

For some reason your server is grabbing it from the cache of youtube & not the main url.

i bolded the cache part...
...
Forum: Post a PHP snippet 02-26-2012, 06:56 PM
Replies: 677
Views: 121,850
Posted By drakus
worked fine here...

worked fine here...
Showing results 1 to 24 of 24

 
Forum Jump

All times are GMT +1. The time now is 09:13 AM.