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 63 of 81 FirstFirst ... 1353616263646573 ... LastLast
Results 931 to 945 of 1209
Like Tree7Likes

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

  1. #931
    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
    Absolutely!
    Late to reply me

    I had bought it

  2. #932
    Senior Coder
    Join Date
    Nov 2010
    Posts
    1,383
    Thanks
    264
    Thanked 32 Times in 31 Posts
    I use this all the time, its fast and i like it.. its free
    http://www.youtube-mp3.org/

  3. #933
    New to the CF scene
    Join Date
    Sep 2013
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    anyone can help me why the converting not run?

    I think all server setting is ok

    root@host [~]# ffmpeg
    ffmpeg version 1.2 Copyright (coffee) 2000-2013 the FFmpeg developers
    built on Sep 23 2013 09:17:36 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-3)
    configuration: --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libvo-aacenc --enable-libxvid --disable-ffplay --enable-shared --enable-gpl --enable-postproc --enable-nonfree --enable-avfilter --enable-pthreads --extra-cflags=-fPIC
    libavutil 52. 18.100 / 52. 18.100
    libavcodec 54. 92.100 / 54. 92.100
    libavformat 54. 63.104 / 54. 63.104
    libavdevice 54. 3.103 / 54. 3.103
    libavfilter 3. 42.103 / 3. 42.103
    libswscale 2. 2.100 / 2. 2.100
    libswresample 0. 17.102 / 0. 17.102
    libpostproc 52. 2.100 / 52. 2.100
    Hyper fast Audio and Video encoder
    usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

    Use -h to get full help or, even better, run 'man ffmpeg'
    anyone can tell me what's wrong
    why the converting not run and not generate the log files?

    all folder already writable (chmod 777)

    Thanks before and waiting for your reply

  4. #934
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,794
    Thanks
    19
    Thanked 156 Times in 147 Posts
    Quote Originally Posted by bluex View Post
    anyone can help me why the converting not run?

    I think all server setting is ok



    anyone can tell me what's wrong
    why the converting not run and not generate the log files?

    all folder already writable (chmod 777)

    Thanks before and waiting for your reply
    Try using an absolute path for the log file locations in your FFmpeg commands (in config.class.php).

    I.e., at the end of any FFmpeg command:

    PHP Code:
    2> /home/user/public_html/logs/%id%.txt 
    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!

  5. #935
    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
    Try using an absolute path for the log file locations in your FFmpeg commands (in config.class.php).

    I.e., at the end of any FFmpeg command:

    PHP Code:
    2> /home/user/public_html/logs/%id%.txt 

    I have changed to
    PHP Code:
    const _LOGSDIR '/home/USERNAME/public_html/logs/%id%.txt'
    but still not generate the log

    Please test
    h++p://bulkmirror.com/

  6. #936
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,794
    Thanks
    19
    Thanked 156 Times in 147 Posts
    Quote Originally Posted by bluex View Post
    I have changed to
    PHP Code:
    const _LOGSDIR '/home/USERNAME/public_html/logs/%id%.txt'
    but still not generate the log

    Please test
    h++p://bulkmirror.com/
    I meant you should try editing the log file path in the FFmpeg commands. The FFmpeg commands are located in the $_convertedFileTypes array. The _LOGSDIR constant is not in the $_convertedFileTypes array.
    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. #937
    New to the CF scene
    Join Date
    Aug 2013
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    hi all. i have an big tubetomp3 site with 30k uniq users a day, my server i i7 16gb ram. but very loaded, load average: 229.70, 228.12, 175.45, so how to optimize a server or script. regards

  8. #938
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,794
    Thanks
    19
    Thanked 156 Times in 147 Posts
    Quote Originally Posted by krater13 View Post
    hi all. i have an big tubetomp3 site with 30k uniq users a day, my server i i7 16gb ram. but very loaded, load average: 229.70, 228.12, 175.45, so how to optimize a server or script. regards
    First of all, are you using my code? If you are using someone else's code, then I can't vouch for the quality of the code you're using.

    That said, in general, the server resources primarily used to download videos and convert them via FFmpeg are CPU and bandwidth. RAM is not as important. How many cores does your CPU have?

    What you will want to do first is check your list of running processes on the server and determine what process or processes are causing the excessive CPU load. Then you will at least know where you need to troubleshoot the issue further.
    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. #939
    New to the CF scene
    Join Date
    May 2013
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by chump2877 View Post
    Hi everyone,

    A new (updated and hopefully stable) distribution of files is located at 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.

    hi 1srt thanks for free scrpit but i have prblm its not work properly i dont know y chek here --> http://i.imgur.com/5qjVgnE.jpg waiting for reaply thanks

  10. #940
    New to the CF scene
    Join Date
    Oct 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by chump2877 View Post
    I think http://www.warriorforum.com/ would be a good place to look for ideas about advertising for this kind of site.

    One of my clients highly recommends: http://www.adreactor.com/

    Edit: Another one is http://www.clicksor.com/, but you will earn more with http://www.adreactor.com (according to my client). Good luck!

    After waiting answer few weeks from adreactor, answer was :
    After closer inspection of your website, we have concluded that it does not fit within the scope of websites we are currently looking for.

  11. #941
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,794
    Thanks
    19
    Thanked 156 Times in 147 Posts
    Hello everyone,

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

    1. You can now enable the direct downloading of videos from YouTube and Dailymotion, for video file types only. This feature works as follows:
      • Each video file type in the VideoConverter::$_convertedFileTypes array now has a new 'qualityTolerance' key.
      • Possible values are 'hd', 'hq', 'sd', or 'ld' (corresponding to 'high definition', 'high quality', 'standard definition', and 'low definition' respectively).
      • The 'qualityTolerance' value indicates the minimum video quality that can be downloaded directly without FFmpeg conversion.
      • A couple of examples demonstrating how the 'qualityTolerance' setting works (assuming the new feature is enabled):
        • Your site user is converting a video to FLV, and the video hosting site has hd, hq, sd, and ld versions of FLV video available for download. You have set FLV to have a 'qualityTolerance' of hq. In this case, your user could download the video without FFmpeg conversion because both hd and hq versions meet your 'qualityTolerance' level of hq.
        • Your site user is converting a video to FLV, and the video hosting site has only sd and ld versions of FLV video available for download. You have set FLV to have a 'qualityTolerance' of hq. In this case, your user would have to download AND convert the video because neither sd nor ld versions meet your 'qualityTolerance' level of hq.
      • Note: When the feature is enabled and direct download is not possible, FFmpeg conversion is used as a fallback mechanism. And rest assured that the highest quality video (with respect to the corresponding file type) is being downloaded for use in FFmpeg conversions (just as it was before, and just like it will continue to be when the new feature is disabled).
      • In summary, when the feature is enabled, your site visitors can now (more often than not) download videos without needing to spend the extra time to convert them as well. Whether or not they can actually do this will depend on the availability of video file types of a certain quality as well as how you configure your 'qualityTolerance' settings for each video file type.
      • In general, enabling this feature will result in less CPU resources consumed on your server. Because, if you don't need FFmpeg for every conversion, then that can only decrease your server load averages.
      • Setting the volume to anything other than 100% will force a video to be downloaded AND converted via FFmpeg, regardless of whether or not the new feature is enabled.
      • Finally, and perhaps most important, you can enable or disable direct downloads (without FFmpeg conversion) via the Config::_ENABLE_DIRECT_DOWNLOAD constant in config.class.php. Again, if the requested video file type is available to download, AND it is at least the corresponding 'qualityTolerance' level set in Config::$_convertedFileTypes, then a 'true' value enables video download without conversion.
    2. General refactoring of code


    The following files/directories were changed/added:
    1. VideoConverter.class.php updated
    2. config.class.php updated
    3. index.php updated


    All files listed experienced significant code revisions. If you have modified these files (from their default versions), then you will likely need to use some kind of file content comparison utility to make the necessary changes to each file.

    One last comment: I am aware that the nature of this "direct download" feature could be improved upon. Thus, I consider this feature a "stepping stone" to future, further enhancements to the functionality. In the future, I'd like to offer an intermediate screen between the conversion form and progress bar screens that allows your site users to choose an alternate file type for direct download if the requested file type is not available. For now, this feature still enables the majority of videos to be downloaded directly (without conversion) for video file types. And, in the process, it lessens the CPU load on your server (that would otherwise be required for FFmpeg).

    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!

  12. #942
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,794
    Thanks
    19
    Thanked 156 Times in 147 Posts
    Quote Originally Posted by ShaNi Ax View Post
    hi 1srt thanks for free scrpit but i have prblm its not work properly i dont know y chek here --> http://i.imgur.com/5qjVgnE.jpg waiting for reaply thanks
    Hi, please search the forum thread for answers to frequently asked questions and common methods for troubleshooting. This is a very common issue, and it has been addressed over and over again.

    I am generally very busy (trying to keep the software free, for one!), but one of these days I do intend to post a FAQ to address these kinds of common concerns. In the meantime, I need you guys to really make an effort and exploit the abundance of useful information that is in this forum thread.

    That said, this is your first step (posted roughly 2 weeks ago): http://www.codingforums.com/showpost...&postcount=921
    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. #943
    New to the CF scene
    Join Date
    Oct 2013
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Hi bro

    Hi bro i'm the owner of you4mp3.com
    i have probelm
    Error downloading video

  14. #944
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,794
    Thanks
    19
    Thanked 156 Times in 147 Posts
    Quote Originally Posted by Theyoutuber View Post
    Hi bro i'm the owner of you4mp3.com
    i have probelm
    Error downloading video
    I see a blank page when visiting your site.

    That said, please try the following:

    1) Ensure that you have installed cURL and the PHP cURL extension correctly
    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) Try a generic cURL request to any YouTube video page to see if a connection can be established.
    5) Check your Apache error log for related errors
    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. #945
    New to the CF scene
    Join Date
    Oct 2013
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    ahhh

    oki here bro
    http://www.you4mp3.com/index.php

    just i delete index.html now check please


 
Page 63 of 81 FirstFirst ... 1353616263646573 ... 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
  •