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 22 of 90 FirstFirst ... 1220212223243272 ... LastLast
Results 316 to 330 of 1342
Like Tree13Likes

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

  1. #316
    New Coder
    Join Date
    Feb 2012
    Posts
    15
    Thanks
    4
    Thanked 0 Times in 0 Posts
    I tried to 3 different servers, same problem with downloading progress bar. I miss something bat I dont know what??? :S

    This is in new server, with slower internet connections.
    http://www.zaap.ch

    Code:
    traceroute to www.youtube.com (209.85.148.190), 30 hops max, 60 byte packets
     1  130.185.109.33 (130.185.109.33)  1.403 ms  1.394 ms  1.583 ms
     2  80.255.15.105 (80.255.15.105)  0.171 ms  0.468 ms  0.453 ms
     3  xae0-2004.fra20.core-backbone.com (81.95.15.142)  3.426 ms  3.421 ms xae0-20                             06.fra20.core-backbone.com (80.255.15.75)  3.401 ms
     4  de-cix20.net.google.com (80.81.193.108)  4.578 ms  4.573 ms  5.027 ms
     5  72.14.238.46 (72.14.238.46)  4.177 ms  4.534 ms 72.14.238.230 (72.14.238.230                             )  4.534 ms
     6  209.85.254.41 (209.85.254.41)  11.837 ms 209.85.254.57 (209.85.254.57)  6.96                             7 ms 209.85.254.41 (209.85.254.41)  11.450 ms
     7  fra07s07-in-f190.1e100.net (209.85.148.190)  4.585 ms  4.903 ms  4.887 ms

  2. #317
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,855
    Thanks
    22
    Thanked 157 Times in 148 Posts
    cana888, You seem to be having some kind of issue with output buffering. YouTubeToMp3Converter::UpdateVideoDownloadProgress() should look like the following:

    PHP Code:
            function UpdateVideoDownloadProgress($downloadSize$downloaded$uploadSize$uploaded)
            {
                
    $percent round($downloaded/$downloadSize2) * 100;
                if (
    $percent $this->_percentVidDownloaded)
                {
                    
    $this->_percentVidDownloaded++;
                    echo 
    '<script type="text/javascript">updateVideoDownloadProgress("'$percent .'");</script>';
                    
    ob_end_flush();
                    
    ob_flush();
                    
    flush();
                }
            } 
    The following code:

    PHP Code:
                    ob_end_flush();
                    
    ob_flush();
                    
    flush(); 
    ...is what flushes the output buffer immediately, every time cURL accesses YouTubeToMp3Converter::UpdateVideoDownloadProgress(). For some reason, this is not happening for you, and the <script> blocks do not output until ALL code is completely done running. I don't know why this is happening for you.
    mtd9897 likes this.
    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!
    ♪♪ Need Web Hosting For My YouTube-To-Mp3 Conversion Software? Check Here !! ♪♪

  3. #318
    New to the CF scene
    Join Date
    Apr 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi,

    sorry for my off topic question. Know somebody how Java applet based converter work? And where I can buy something like that?

    THX

  4. #319
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,855
    Thanks
    22
    Thanked 157 Times in 148 Posts
    Quote Originally Posted by secretja View Post
    Hi,

    sorry for my off topic question. Know somebody how Java applet based converter work? And where I can buy something like that?

    THX
    I've seen this before, and the java-based converters are nice because they appear to shift all or some of the burden of conversion from the server to the client.

    I can't remember where I saw the online service that used this. And I don't know who sells something like this. Perhaps someone else knows.
    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!
    ♪♪ Need Web Hosting For My YouTube-To-Mp3 Conversion Software? Check Here !! ♪♪

  5. #320
    New to the CF scene
    Join Date
    Apr 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi,

    thx for answer. All what I have found is this(vidfetch . c0m) and one more site which is selling the same thing.

    thx one more time.

    Quote Originally Posted by chump2877 View Post
    I've seen this before, and the java-based converters are nice because they appear to shift all or some of the burden of conversion from the server to the client.

    I can't remember where I saw the online service that used this. And I don't know who sells something like this. Perhaps someone else knows.

  6. #321
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,855
    Thanks
    22
    Thanked 157 Times in 148 Posts

    New Version Available!

    Hi all,

    I wanted to let everyone know that I have written a more fully-featured version of the free application offered in this thread. The new version of the app (based on the free version) does the following:

    • Converts YouTube, Dailymotion, Vimeo, Facebook, Metacafe, VK, SoundCloud, Instagram, and AOL content (9 of the most popular video/audio hosting sites in the world)
    • Outputs converted files to mp3, mp4, webm, f4v, and/or 3gp formats
    • Enables volume adjustment prior to conversion via jQuery slider control
    • Displays download AND conversion progress via corresponding progress bars
    • Leverages the power of FFmpeg (FFmpeg) to create crisp, clean, quality conversions of audio/video files.
    • Reduces server load by skipping FFmpeg conversion for video/audio file types (i.e., mp4 or mp3) that are already available from the video/audio hosting sites
    • Further reduces server load by providing users with a conversion "cancel" button that aborts ongoing conversions and subsequently kills unnecessary FFmpeg processes
    • Includes a tool that crops converted audio AND video files (with live preview of converted media during cropping process!)
    • Provides an editor for converted mp3 file meta data (ID3 tags), to control track information displayed on some audio players
    • Integrates Dropbox.com "Saver" buttons that enable converted files to be saved to site users' Dropbox.com accounts (in the "cloud") in addition to regular file download.
    • Includes JavaScript bookmarklet/browser plugin that enables your site visitors to convert videos directly on YouTube, Dailymotion, Vimeo, and Metacafe video pages. Bookmarklet loads conversion interface directly into video page, and forwards user to your site for actual conversion and converted file retrieval.
    • Enables multi-language support via a corresponding drop down menu and XML translation files
    • Dynamically changes HTML title and meta tag content to reflect information about the currently converting video/audio (i.e., the song title)
    • Allows a user to share a "direct-to-conversion" URL and post it on a variety of social networking sites following download/conversion, so that the user's friends can automatically download/convert the same video/audio by simply clicking on the posted link! This feature is triggered when the user clicks to download his/her converted file, and the frequency that the share option appears is adjustable.
    • Provides the ability to easily incorporate static pages (i.e., About, FAQ, and Contact pages) as well as rudimentary "templating" support for (primarily) static pages via common header/footer files
    • Initiates conversions via form submission (POST request) as well as URL query string (GET request)
    • Automatically updates the code required to decipher changing, encrypted, YouTube video signatures.
    • Validates video/audio URLs prior to conversion
    • Facilitates the addition of more video hosting sites as well as converted file types (by editing the code)
    • Expanded config file for a more customizable interface (i.e., easy access to FFmpeg commands for different converted file types and the ability to configure default video/audio qualities, default volume, and maximum allowed length of video/audio content)
    • Secures access to the server so that FFMPEG commands can only be run if a unique token is present
    • Includes script that can be run as a scheduled task on the server, that regularly deletes old converted files
    • Programmed entirely in easy-to-read PHP OOP (Object Oriented Programming), JavaScript/jQuery, and CSS to facilitate effortless editing/customization of code

    Note: The software requirements are detailed here. The Win32 version of my software caters to both Windows AND XAMPP users.
    At this time, I am not offering this latest version for free. If you're interested, please contact me by email or PM for further information, pricing details, and a demonstration. (For immediate purchase, please visit the Linux and Win32 versions of this software on their respective product pages.) My aim is to keep the paid-for version of this application affordable, so the price is negotiable to fit almost any budget. Again, please contact me, and I'm sure we can work something out.

    I will continue to maintain and provide support for both the free and paid-for versions of the application via this thread. For now, both versions of the script will coexist. When either YouTube or Dailymotion makes changes to the front-end of their site, I will continue to post fixes here to keep all versions of the application operational.

    Thank you for all of your interest in this application, and for visiting this thread. Your ongoing interest has really fueled the growth of this software. As always, I welcome any suggestions and/or feedback you might have.

    SPOTLIGHT! (new!): The following websites are currently using this software.*:

    . . . Note: I do not personally maintain these sites unless otherwise indicated.

    • GrabFrom.com ( Demo Site ― maintained by developer !! )
      Convert YouTube / Dailymotion / Vimeo / Facebook videos into MP3, FLV, MP4, and 3GP Formats.


    • ConvertFrom.net
      Convert YouTube, Dailymotion, Vimeo, and Facebook video to MP4, MOV, WEBM, OGV, AVI, MKV, 3GP, FLV, MP3, and AAC.


    • Convert-Mp3.eu
      Convert YouTube, Dailymotion, Vimeo, and Facebook video to MP4, MOV, WEBM, OGV, AVI, MKV, 3GP, FLV, MP3, and AAC + Music Charts!


    • Xenus.es
      Easiest way to download/convert your favorite online videos!


    • Musizz.com
      More than 700 million songs are available to play/download on Musizz!


    • Sonube.com
      Youtube-to-MP3 converter App for iPhone, iPad and Android




    * Please contact me if you would like to have your site listed here (FREE) or to notify me of dead links or non-functioning sites.
    Don't delay! Buy it now!

    For a limited time, I am offering this script for only $40.95 USD !! (That's 25% off the regular price of $54.60 USD!)
    Again, that includes all the functionality listed above plus free support for life. I urge you to take advantage of this offer as soon as possible.
    For immediate purchase, please visit the Linux and Win32 versions of this software on their respective product pages. Payment requires a valid PayPal account or credit card.
    Please contact me if you have any additional questions/concerns.

    Are You Looking For The Right Web Hosting To Host This Software? Maybe This Will Help!
    Attached Thumbnails Attached Thumbnails YouTube-to-MP3 conversion - PHP class and script-1-new.png   YouTube-to-MP3 conversion - PHP class and script-2-new.jpg   YouTube-to-MP3 conversion - PHP class and script-3-new.png   YouTube-to-MP3 conversion - PHP class and script-4-new.png  
    Last edited by chump2877; 12-07-2014 at 01:32 AM.
    lospper and Prizmo like this.
    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!
    ♪♪ Need Web Hosting For My YouTube-To-Mp3 Conversion Software? Check Here !! ♪♪

  7. #322
    New Coder
    Join Date
    Feb 2012
    Posts
    29
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Nice options that you have added !
    Last edited by bedo1975; 04-30-2012 at 06:31 PM.

  8. #323
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,855
    Thanks
    22
    Thanked 157 Times in 148 Posts
    Hi everyone,

    It has come to my attention that my code no longer works correctly with the latest 32-bit or 64-bit static builds of ffmpeg.exe on Windows servers or in an XAMPP environment.

    For the sake of backwards compatibility with previous versions of this app, and due to my own current time restraints, I have decided not to modify the code accordingly at this time, and instead offer a download link to the older build of ffmpeg.exe that does in fact work with my code.

    The differences between the older and newer builds of ffmpeg.exe are insignificant in terms of my app's performance.

    I have added the older ffmpeg.exe build's download link HERE. (Because the file is over 4 MB and this forum doesn't allow large file attachments, the file is being hosted at PutLocker.com instead.) Windows and XAMPP users should use this version of ffmpeg.exe to ensure continued functioning of the free version of my app.

    The paid-for, Windows version of my app will continue to work as advertised because it already includes the older build of ffmpeg.exe.

    Finally, this does not affect Linux users at all (because ffmpeg.exe is not required for Linux). Linux users can continue to use my app without issues.
    Last edited by chump2877; 05-01-2012 at 06:55 AM.
    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!
    ♪♪ Need Web Hosting For My YouTube-To-Mp3 Conversion Software? Check Here !! ♪♪

  9. #324
    New Coder
    Join Date
    May 2012
    Posts
    81
    Thanks
    2
    Thanked 0 Times in 0 Posts
    i want to buy this full script
    who convert
    youtube to mp3,mp4,3gp
    tell me price

  10. #325
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,855
    Thanks
    22
    Thanked 157 Times in 148 Posts
    Quote Originally Posted by blacktiger786 View Post
    i want to buy this full script
    who convert
    youtube to mp3,mp4,3gp
    tell me price
    For immediate purchase, please visit the Linux and Win32 versions of this software on their respective product pages.
    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!
    ♪♪ Need Web Hosting For My YouTube-To-Mp3 Conversion Software? Check Here !! ♪♪

  11. #326
    New Coder
    Join Date
    May 2012
    Posts
    81
    Thanks
    2
    Thanked 0 Times in 0 Posts
    what is different in linux and win32
    and i add some changes in this site
    1. i want some beautifull skin of this site..
    2. i want when conversion complete and show download link its show with some share opation like facebbok,tweet,gplus and email also

  12. #327
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,855
    Thanks
    22
    Thanked 157 Times in 148 Posts
    Quote Originally Posted by blacktiger786 View Post
    what is different in linux and win32
    and i add some changes in this site
    1. i want some beautifull skin of this site..
    2. i want when conversion complete and show download link its show with some share opation like facebbok,tweet,gplus and email also
    The Linux version is preconfigured for Linux servers, and the Win32 version is preconfigured for Windows/XAMPP servers. Linux version comes with some additional instructions for server install/set-up. Windows version comes with a version of ffmpeg.exe already included.

    The software comes with no default skin. The default design is minimalistic and intended to be enhanced by the purchaser via CSS, etc. I could add a default skin, but I doubt most people would use it. Can you imagine a bunch of web sites implementing my software that all looked the same? It's kind of like the default WordPress theme -- what's the point of providing a beautiful default theme/skin, if everyone will ultimately customize the theme or create a new theme for their personal sites?

    There is a placeholder div at the top of every page throughout the conversion process that can be easily edited to add social networking buttons. You will need to generate the required code for each button on their respective sites, i.e.:

    1) Facebook - http://developers.connect.facebook.c.../plugins/like/
    2) Twitter - http://twitter.com/about/resources/buttons
    3) Google +1 - http://www.google.com/intl/en/webmas...ton/index.html
    4) etc., etc....

    ...then you will need to insert the button code into the existing placeholder div element in my app.
    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!
    ♪♪ Need Web Hosting For My YouTube-To-Mp3 Conversion Software? Check Here !! ♪♪

  13. #328
    New Coder
    Join Date
    Jan 2012
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hello people. I have a strange problem. I run that script on my old pc with ubuntu 12.04 LTS (32 bit) and it work. I buy a new pc with 6 cores processor (AMD FX-6200 /3.8G/X6/BOX AM3+) and 8GB DDR III 1333Mhz but work slowly than my old pc with 1 core cpu on 2.2 GHz. I try 64 and 32 bits but there are no changes. Any ideas ?

  14. #329
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,855
    Thanks
    22
    Thanked 157 Times in 148 Posts
    Quote Originally Posted by atanas View Post
    Hello people. I have a strange problem. I run that script on my old pc with ubuntu 12.04 LTS (32 bit) and it work. I buy a new pc with 6 cores processor (AMD FX-6200 /3.8G/X6/BOX AM3+) and 8GB DDR III 1333Mhz but work slowly than my old pc with 1 core cpu on 2.2 GHz. I try 64 and 32 bits but there are no changes. Any ideas ?
    What OS is installed on the new system? You may have configured your new system incorrectly to run the script. Really, anything could be at fault here. You need to supply more specifics about what isn't working. Error messages and server error log output would be helpful.
    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!
    ♪♪ Need Web Hosting For My YouTube-To-Mp3 Conversion Software? Check Here !! ♪♪

  15. #330
    New Coder
    Join Date
    Jan 2012
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hello again. I install again Ubuntu 12.04 LTS and try 32 bits and 64 but again convert slowly than my older pc.


 
Page 22 of 90 FirstFirst ... 1220212223243272 ... LastLast

LinkBacks (?)

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