Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 62 of 82 FirstFirst ... 1252606162636472 ... LastLast
Results 916 to 930 of 1227
Like Tree7Likes

Thread: YouTube-to-MP3 conversion - PHP class and script

  1. #916
    New to the CF scene
    Join Date
    Sep 2013
    Posts
    4
    Thanks
    2
    Thanked 0 Times in 0 Posts
    thanx alot bro
    i hav 200mbps server

  2. #917
    New to the CF scene
    Join Date
    Jul 2013
    Location
    Bali, Indonesia
    Posts
    8
    Thanks
    2
    Thanked 2 Times in 1 Post

    Question

    Hi!

    How can we know if Youtube has blocked our server's IP address?

    Is it by getting a "Connection timed out", means our server's IP has been blocked?

    Thanks.

  3. #918
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,802
    Thanks
    19
    Thanked 157 Times in 148 Posts
    Quote Originally Posted by chiman View Post
    Hi!

    How can we know if Youtube has blocked our server's IP address?

    Is it by getting a "Connection timed out", means our server's IP has been blocked?

    Thanks.
    A "Connection timed out" response means the connection timed out. There are many reasons that you might receive this message. One of those reasons could be because your IP is blocked. But you need to eliminate all other possible reasons before you can conclude that this 100% means YouTube has blocked your IP.

    What you might do is:

    1) Send a regular cURL request to a page hosted on another server (not a YouTube page).
    2) Send another "regular" cURL request to a YouTube video page
    3) Send a cURL request to the same YouTube video page, but change the outgoing IP address via CURLOPT_INTERFACE or CURLOPT_PROXY. (The IP you use should not be a shared IP, and should not otherwise have been used to connect to YouTube in the past.)
    4) Repeat steps #1-3 a few times

    If you are consistently unable to connect via #2 but can connect via #1 and #3, then you could make a case that your regular server IP is banned or blocked by YouTube.
    Regards, R.J.

    ---------------------------------------------------------

    Help spread the word! Like my YouTube-to-Mp3 Conversion Script on Facebook !! :)
    [Related videos and tutorials are also available at my YouTube channel and on Dailymotion]
    Get free updates about new software version releases, features, and bug fixes!

  4. #919
    New to the CF scene
    Join Date
    Sep 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hello,

    Firstly, thanks !

    I try to download MP3 from youtube links, when I write the URL and click to download, I get a flv files in videos folder.

    Then it's stop on "Converting video. . ." and I never get the mp3 files

    I use Uwamp and Win8.. thanks for help

    Robin

  5. #920
    New to the CF scene
    Join Date
    Jul 2013
    Location
    Bali, Indonesia
    Posts
    8
    Thanks
    2
    Thanked 2 Times in 1 Post

    Question

    Quote Originally Posted by chump2877 View Post
    A "Connection timed out" response means the connection timed out. There are many reasons that you might receive this message. One of those reasons could be because your IP is blocked. But you need to eliminate all other possible reasons before you can conclude that this 100% means YouTube has blocked your IP.

    What you might do is:

    1) Send a regular cURL request to a page hosted on another server (not a YouTube page).
    2) Send another "regular" cURL request to a YouTube video page
    3) Send a cURL request to the same YouTube video page, but change the outgoing IP address via CURLOPT_INTERFACE or CURLOPT_PROXY. (The IP you use should not be a shared IP, and should not otherwise have been used to connect to YouTube in the past.)
    4) Repeat steps #1-3 a few times

    If you are consistently unable to connect via #2 but can connect via #1 and #3, then you could make a case that your regular server IP is banned or blocked by YouTube.
    Is Youtube blocking IP addresses only for temporary time limit or forever? Because now my server is back to normal.

  6. #921
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,802
    Thanks
    19
    Thanked 157 Times in 148 Posts
    Quote Originally Posted by retwas View Post
    Hello,

    Firstly, thanks !

    I try to download MP3 from youtube links, when I write the URL and click to download, I get a flv files in videos folder.

    Then it's stop on "Converting video. . ." and I never get the mp3 files

    I use Uwamp and Win8.. thanks for help

    Robin
    Hi,

    1) Please check that the _FFMPEG constant value in config.class.php points to the correct location of the FFmpeg binary on your Linux server.
    2) Please ensure that all relevant directories and files are chmod to 0777
    3) Please check your videos directory. Are there video files in the directory? If so, are the video files playable? Are the videos fully downloaded? Are the videos 0 kb in length?
    4) Please check your logs directory for FFmpeg log files. Are there any log files in the directory? If so, please copy and paste the contents of a log file that corresponds to a failed conversion. (There should be errors in the log file.)
    Regards, R.J.

    ---------------------------------------------------------

    Help spread the word! Like my YouTube-to-Mp3 Conversion Script on Facebook !! :)
    [Related videos and tutorials are also available at my YouTube channel and on Dailymotion]
    Get free updates about new software version releases, features, and bug fixes!

  7. #922
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,802
    Thanks
    19
    Thanked 157 Times in 148 Posts
    Quote Originally Posted by chiman View Post
    Is Youtube blocking IP addresses only for temporary time limit or forever? Because now my server is back to normal.
    In my experience, YouTube only blocks/bans your IP for a finite period of time. The amount of time will vary -- generally, anywhere from a few minutes to a few days.

    If you are frequently getting blocked by YouTube (and if that is indeed what is happening here), then you may want to consider rotating IPs/proxies regularly. You can change the outgoing IP address via CURLOPT_INTERFACE or leverage a proxy server via CURLOPT_PROXY.

    In addition, please see these posts:

    http://www.codingforums.com/showpost...&postcount=856
    http://www.codingforums.com/showpost...&postcount=866

    Edit: You can also try obtaining/purchasing extra IPs from your web hosting provider as an alternative to using a dedicated proxy service.
    Last edited by chump2877; 09-17-2013 at 01:46 PM.
    Regards, R.J.

    ---------------------------------------------------------

    Help spread the word! Like my YouTube-to-Mp3 Conversion Script on Facebook !! :)
    [Related videos and tutorials are also available at my YouTube channel and on Dailymotion]
    Get free updates about new software version releases, features, and bug fixes!

  8. #923
    New Coder
    Join Date
    Jun 2012
    Posts
    45
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Hi, looks like vevo has stopped converting again.

  9. #924
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,802
    Thanks
    19
    Thanked 157 Times in 148 Posts
    Quote Originally Posted by bbrog View Post
    Hi, looks like vevo has stopped converting again.
    The demo is working: http://ut2mp3.com/index.php
    Regards, R.J.

    ---------------------------------------------------------

    Help spread the word! Like my YouTube-to-Mp3 Conversion Script on Facebook !! :)
    [Related videos and tutorials are also available at my YouTube channel and on Dailymotion]
    Get free updates about new software version releases, features, and bug fixes!

  10. #925
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,802
    Thanks
    19
    Thanked 157 Times in 148 Posts

    new version!

    Hi everyone,

    A new (updated and hopefully stable) distribution of files is located at the bottom of this post.

    PLEASE SEE THIS POST FOR IMPORTANT INFO REGARDING THE USE AND INSTALLATION OF THIS SCRIPT.

    DO NOT USE THE ZIP DISTRIBUTION LOCATED AT THE ABOVE LINKED PAGE. USE ONLY THE ZIP FILE ATTACHED TO THE BOTTOM OF THIS POST.
    New in this release:

    1) Fixed a bug that periodically caused video downloads to fail on Windows and XAMPP platforms.

    The existing YouTubeToMp3Converter.class.php file was modified, and only the SetFlvUrls() method was updated.

    As always, please let me know if you have any questions/concerns regarding the above and/or the code.
    Attached Files Attached Files
    Regards, R.J.

    ---------------------------------------------------------

    Help spread the word! Like my YouTube-to-Mp3 Conversion Script on Facebook !! :)
    [Related videos and tutorials are also available at my YouTube channel and on Dailymotion]
    Get free updates about new software version releases, features, and bug fixes!

  11. #926
    New to the CF scene
    Join Date
    Sep 2013
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    If I buy your script

    I get Conversion bookmarklet/browser plugin too?

    - how long the converting files to be saved on the server?
    - What files will automatically deleted?
    - how about update? lifetime update?

    Thanks

  12. #927
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,802
    Thanks
    19
    Thanked 157 Times in 148 Posts
    Hello everyone,

    I have just finished updating the paid-for version of my software. New in this version:

    1. Fixed a bug that periodically caused video downloads to fail on Windows and XAMPP platforms.


    The following files/directories were changed/added:
    1. VideoConverter.class.php updated


    Only VideoConverter.class.php was updated, and only the relevant code in the SetVidSourceUrls() method was modified.

    All previous customers who have purchased the paid-for version of my app are receiving this new, updated version via the e-mail addresses that you provided at Tradebit.com.

    Please report any issues with either the paid-for version or the free version in this forum thread. Your feedback is encouraged. Donations are welcome!

    Thanks!
    Regards, R.J.

    ---------------------------------------------------------

    Help spread the word! Like my YouTube-to-Mp3 Conversion Script on Facebook !! :)
    [Related videos and tutorials are also available at my YouTube channel and on Dailymotion]
    Get free updates about new software version releases, features, and bug fixes!

  13. #928
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,802
    Thanks
    19
    Thanked 157 Times in 148 Posts
    Please see my responses in red:

    Quote Originally Posted by bluex View Post
    If I buy your script

    I get Conversion bookmarklet/browser plugin too?

    Yes.

    - how long the converting files to be saved on the server?

    As long as you want them to be! The length of time the files remain on the server can be set in config.class.php (via a class constant value). And a separate PHP file (schedule.php), intended to be run as a cron job (scheduled task) on your server, deletes old converted files per the corresponding setting in the Config class. I recommend setting up the cron job to run at least once a day.

    - What files will automatically deleted?

    Generally, log files and temporary video files are automatically deleted after each conversion. In the event that they aren't deleted automatically (i.e., if a conversion is abandoned before it completes), then schedule.php can also be configured to "clean up" and delete old files in the 'logs' and 'videos' directories as well.


    - how about update? lifetime update?

    All customers receive free lifetime updates to the software. When I fix bugs or add new features, you are sent a new version of the software to the email address that you provided during your Tradebit.com purchase.


    Thanks
    Last edited by chump2877; 09-18-2013 at 10:05 PM.
    Regards, R.J.

    ---------------------------------------------------------

    Help spread the word! Like my YouTube-to-Mp3 Conversion Script on Facebook !! :)
    [Related videos and tutorials are also available at my YouTube channel and on Dailymotion]
    Get free updates about new software version releases, features, and bug fixes!

  14. #929
    New to the CF scene
    Join Date
    Sep 2013
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by chump2877 View Post
    Please see my responses in red:
    Thanks for your response.

    I don't know you have free version.
    May I try your free version before I buy the paid version?

    Thanks

  15. #930
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,802
    Thanks
    19
    Thanked 157 Times in 148 Posts
    Quote Originally Posted by bluex View Post
    May I try your free version before I buy the paid version?
    Absolutely!
    Regards, R.J.

    ---------------------------------------------------------

    Help spread the word! Like my YouTube-to-Mp3 Conversion Script on Facebook !! :)
    [Related videos and tutorials are also available at my YouTube channel and on Dailymotion]
    Get free updates about new software version releases, features, and bug fixes!


 
Page 62 of 82 FirstFirst ... 1252606162636472 ... LastLast

LinkBacks (?)

  1. 08-24-2014, 04:09 AM
  2. 07-21-2014, 05:32 PM
  3. 07-12-2014, 05:59 PM
  4. 06-26-2014, 03:39 PM
  5. 05-31-2014, 09:13 PM
  6. 04-24-2014, 07:53 PM
  7. 04-19-2014, 10:22 AM
  8. 04-04-2014, 08:33 PM
  9. 04-04-2014, 01:58 AM
  10. 03-28-2014, 06:03 AM
  11. 03-20-2014, 06:11 PM
  12. 03-16-2014, 01:22 AM
  13. 03-08-2014, 04:56 PM
  14. 03-07-2014, 06:21 PM
  15. 03-01-2014, 12:48 PM
  16. 02-22-2014, 08:40 PM
  17. 02-22-2014, 12:02 AM
  18. 02-21-2014, 08:15 PM
  19. 02-21-2014, 12:00 AM
  20. 02-20-2014, 08:37 PM
  21. 02-20-2014, 06:53 PM
  22. 02-20-2014, 03:21 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •