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 3 of 81 FirstFirst 123451353 ... LastLast
Results 31 to 45 of 1211
Like Tree7Likes

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

  1. #31
    New to the CF scene
    Join Date
    May 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    @chump2877, very impresive... thanks for the code =)

  2. #32
    New Coder
    Join Date
    Mar 2011
    Posts
    11
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Hello,
    I am trying to make faster this script but i fail,can you tell me how can improve script speed? now mp3 convert time is 3min & i want max 1min or less so how can do this?

    waiting for reply


    thanks for this awesome script

  3. #33
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,795
    Thanks
    19
    Thanked 156 Times in 147 Posts
    You might be interested in this: http://www.codingforums.com/showthread.php?t=225446

    That's the only potential way I can think of to increase the speed of conversion. And I don't know exactly how that could be accomplished because I haven't tried anything like that (yet).

    If you figure this out, please share with the rest of us
    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. #34
    New Coder
    Join Date
    Mar 2011
    Posts
    11
    Thanks
    1
    Thanked 0 Times in 0 Posts
    ya if i got any solution i will share...here i got same...

    script is not take time for convert file...file convert speed is good but download speed is slow i also working on this issue, if you got any solution to improve download speed then please share.




    Thanks

  5. #35
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,795
    Thanks
    19
    Thanked 156 Times in 147 Posts
    Quote Originally Posted by expertmac View Post
    file convert speed is good but download speed is slow
    Well, you'll notice that the FLV video download is performed by PHP cURL extension. So, while I don't have an exact answer for you, the first thing I would do is search these keywords in Google.

    This might help a little. If zlib decompression is faster than cURL download speeds, you might try downloading a compressed version of the video and then decompressing the file on the server. I don't know if it would improve speed significantly (or even if it will work), but it's worth a try.

    Also, you could check out the cURL flags in general to see if there are any there that could improve performance in this case.
    Last edited by chump2877; 05-24-2011 at 10:04 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!

  6. #36
    Super Moderator Inigoesdr's Avatar
    Join Date
    Mar 2007
    Location
    Florida, USA
    Posts
    3,647
    Thanks
    2
    Thanked 406 Times in 398 Posts
    cURL is just an HTTP client, so the speed is mostly limited by the connection on the machine that is running it. Also note that zlib compression has to be supported by the server(YouTube) in order to take advantage of the compression using cURL.

  7. #37
    New to the CF scene
    Join Date
    Aug 2009
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    How can I use this with ffmpeg installed on server instead on windows.

    thanks

  8. #38
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,795
    Thanks
    19
    Thanked 156 Times in 147 Posts
    Quote Originally Posted by Elements View Post
    How can I use this with ffmpeg installed on server instead on windows.

    thanks
    I haven't tried it. I imagine its pretty similar to the way I've set it up in XAMPP.

    Have you tried to set it up on a server? Are you experiencing any specific problems?

    If you figure this out, and you notice glaring differences in implementation, then please share with the rest of us.
    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!

  9. #39
    New to the CF scene
    Join Date
    May 2011
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    What code should I use to make sure that the script works?

    The first post okay?
    Last edited by Vicar; 06-17-2011 at 08:54 PM.

  10. #40
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,795
    Thanks
    19
    Thanked 156 Times in 147 Posts
    Quote Originally Posted by Vicar View Post
    What code should I use to make sure that the script works?

    The first post okay?
    Not sure what your question is. The app is working for me.

    Please make sure you followed the instructions carefully and applied the applicable patches.

    What specific problems are you experiencing?
    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. #41
    New to the CF scene
    Join Date
    May 2011
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for the reply, now works.

    I followed this post and it works:
    http://www.codingforums.com/showpost...11&postcount=6

    There is only an error:
    when you

    includes 'YouTubeToMp3Converter.new.class.php';

    you have to do:

    includes 'YouTubeToMp3Converter.class.php';

    because the files you have listed above are:
    - YouTubeToMp3Converter.class.php
    - Index.php

    Now I try to improve it, after the place in the forum!

  12. #42
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,795
    Thanks
    19
    Thanked 156 Times in 147 Posts
    Quote Originally Posted by Vicar View Post
    There is only an error:
    when you

    includes 'YouTubeToMp3Converter.new.class.php';

    you have to do:

    includes 'YouTubeToMp3Converter.class.php';

    because the files you have listed above are:
    - YouTubeToMp3Converter.class.php
    - Index.php
    I will fix that. I meant for the file to actually be named YouTubeToMp3Converter.new.class.php because that class differs from the one that precedes it in this thread. Also, the class you are using only grabs 3GP files, which are lower quality videos, and the resulting MP3 conversion is unreliable and the sound quality is poorer.

    I would love to see if you can improve the 2nd version of the code (that manipulates 3GP) -- because it uses the YouTube API, but I would not presently rely on it for optimal results.
    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. #43
    New to the CF scene
    Join Date
    May 2011
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    But in that post, the script does not always work?

  14. #44
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,795
    Thanks
    19
    Thanked 156 Times in 147 Posts
    Correct. The functioning version, that produces the best quality, is here: http://www.codingforums.com/showpost...7&postcount=18
    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!

  15. #45
    New to the CF scene
    Join Date
    May 2011
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    If I download the zip, after what should I do?

    The converter works properly at localhost, if I put it on a server not, why?
    Last edited by Vicar; 06-18-2011 at 05:10 PM.


 
Page 3 of 81 FirstFirst 123451353 ... 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
  •