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 54 of 79 FirstFirst ... 444525354555664 ... LastLast
Results 796 to 810 of 1173
Like Tree5Likes

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

  1. #796
    New Coder
    Join Date
    Jun 2013
    Posts
    29
    Thanks
    3
    Thanked 1 Time in 1 Post
    Quote Originally Posted by RiPPERD View Post
    Hello, firstly thanks for your work on this script the concept is great...

    however i have spend the last 3 days trying to get it to work... i have it on my server... i have it grabbing videos... but cannot for the life of me get it to convert it just freezes on converting video and goes no further

    any ideas what im dong wrong? ive added the most recent sig patch (post above mine)
    what OS do you use? I think your server cannot find FFMPEG. it leads no converting because ffmpeg doesn't write the log file. If your FFMPEG sets properly, then check your libcurl setting.

    hope this helps you.

    If you have any question please feel free to find me at http://www.vidtunez.com/support

    because I'm not monitoring this forum every second.

    regards,
    vidtunez admin
    www.vidtunez.com

  2. #797
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,776
    Thanks
    19
    Thanked 155 Times in 146 Posts
    Guys and gals,

    I will be working on an auto-update feature for these encrypted signatures. The idea is that you run a cron job on your server that periodically checks my server for updates, and if one is available, then the cron job automatically downloads it and inserts the relevant decryption code into the software.

    I know these manual updates are getting tiresome, for you as well as me. I have been very busy lately, so I'm doing my best to keep up with YouTube and make time for everything else.

    I do intend to make this auto-updating feature a priority on my software's to-do list. When I have some free time, sooner rather than later, I will implement the functionality in a subsequent version. In the meantime, thanks for hanging in there with me, and I promise that the best is yet to come.
    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!

  3. Users who have thanked chump2877 for this post:

    RiPPERD (07-27-2013)

  4. #798
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,776
    Thanks
    19
    Thanked 155 Times in 146 Posts
    Quote Originally Posted by RiPPERD View Post
    Hello, firstly thanks for your work on this script the concept is great...

    however i have spend the last 3 days trying to get it to work... i have it on my server... i have it grabbing videos... but cannot for the life of me get it to convert it just freezes on converting video and goes no further

    any ideas what im dong wrong? ive added the most recent sig patch (post above mine)
    1) What is the site URL?
    2) Are there log files in the 'logs' directory? If so, please paste the contents of a log file corresponding to a failed conversion.
    3) Are permissions on folders set to 0777?
    4) Does the _FFMPEG constant value in config.class.php accurately reflect the location of the FFmpeg binary on your server? Common locations are /usr/bin/ffmpeg or usr/local/bin/ffmpeg. You can check this on your server or ask your hosting provider for assistance with this.
    5) Do you have the most recent, stable version of FFmpeg for your OS? The first line of FFMpeg log files indicate the date of your FFmpeg version (or you can type 'ffmpeg' at a command line). If the FFmpeg version is several years old, you may need to update to a more recent version.
    6) Have you compiled all of the necessary audio/video codecs with FFmpeg? In general, you'll need at least libmp3lame, libx264, and aac codecs.

    Let's start with those things and go from there...
    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. Users who have thanked chump2877 for this post:

    RiPPERD (07-27-2013)

  6. #799
    New to the CF scene
    Join Date
    Jul 2013
    Posts
    4
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by chump2877 View Post
    1) What is the site URL?
    2) Are there log files in the 'logs' directory? If so, please paste the contents of a log file corresponding to a failed conversion.
    3) Are permissions on folders set to 0777?
    4) Does the _FFMPEG constant value in config.class.php accurately reflect the location of the FFmpeg binary on your server? Common locations are /usr/bin/ffmpeg or usr/local/bin/ffmpeg. You can check this on your server or ask your hosting provider for assistance with this.
    5) Do you have the most recent, stable version of FFmpeg for your OS? The first line of FFMpeg log files indicate the date of your FFmpeg version (or you can type 'ffmpeg' at a command line). If the FFmpeg version is several years old, you may need to update to a more recent version.
    6) Have you compiled all of the necessary audio/video codecs with FFmpeg? In general, you'll need at least libmp3lame, libx264, and aac codecs.

    Let's start with those things and go from there...
    hello sorry for delay in my reply i have been really busy...

    i think im running linux uses plesk panel i will look in min to check

    here is log file...
    sh: ffmpeg/: is a directory

    thats all it says

    i have videos in the video folder though :S

    in reply to you numbers...

    1. i will pm you this due to privacy issues, only want it for personal use anyway

    2. sh: ffmpeg/: is a directory

    3. no i hadnt done this... now changed

    4. // Constants
    const _TEMPVIDDIR = 'videos/';
    const _SONGFILEDIR = 'mp3/';
    const _FFMPEG = 'ffmpeg/';
    const _LOGSDIR = 'logs/';

    5. got ext_ffmpeg_20050221.rar from a link on here somewhere i think

    6. dont know what this is mate sorry new to all this... can make websites and other things but linux and compiling... n00b alert lol

    ill pm you link and ill setup ftp for you so you can view the folder

  7. #800
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,776
    Thanks
    19
    Thanked 155 Times in 146 Posts
    See my responses in red:

    Quote Originally Posted by RiPPERD View Post
    here is log file...
    sh: ffmpeg/: is a directory

    I suspect that means that this is the wrong directory path on your server for the FFmpeg binary.

    4. // Constants
    const _TEMPVIDDIR = 'videos/';
    const _SONGFILEDIR = 'mp3/';
    const _FFMPEG = 'ffmpeg/';
    const _LOGSDIR = 'logs/';

    _FFMPEG should be a valid, absolute path on your server, like /usr/bin/ffmpeg or /usr/local/bin/ffmpeg. The way you have _FFMPEG set now, the server is looking for the FFmpeg binary in the same directory as your app files, which is clearly incorrect. The FFmpeg binary will be outside of your web root.
    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. #801
    New Coder
    Join Date
    Jul 2012
    Posts
    14
    Thanks
    3
    Thanked 0 Times in 0 Posts
    script stop working again, tried this video id: 5w5sMU5h1fg

    Thank

  9. #802
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,776
    Thanks
    19
    Thanked 155 Times in 146 Posts
    Quote Originally Posted by zhanly View Post
    script stop working again, tried this video id: 5w5sMU5h1fg

    Thank
    I am able to convert that video...make sure you have the latest decryption update...
    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. #803
    New Coder
    Join Date
    Jul 2012
    Posts
    14
    Thanks
    3
    Thanked 0 Times in 0 Posts
    you're right, its working now!, weird it wasn't working a couple hours ago.

  11. #804
    New Coder
    Join Date
    Mar 2010
    Posts
    11
    Thanks
    2
    Thanked 1 Time in 1 Post
    Quote Originally Posted by zhanly View Post
    script stop working again, tried this video id: 5w5sMU5h1fg

    Thank
    Works fine here too:

    www.youtube2music.com/index.php?vidHost=5w5sMU5h1fg

    Make sure the video is available where your server is located and that you have the latest update like stated above.

  12. Users who have thanked rbisconti97 for this post:

    RiPPERD (07-29-2013)

  13. #805
    New to the CF scene
    Join Date
    Jul 2013
    Posts
    4
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by chump2877 View Post
    See my responses in red:
    right that would make sense... i dont have access to install things backend on linux i dont think guess its time to give up

  14. #806
    New to the CF scene
    Join Date
    Jul 2013
    Posts
    4
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by rbisconti97 View Post
    Works fine here too:

    www.youtube2music.com/index.php?vidHost=5w5sMU5h1fg

    Make sure the video is available where your server is located and that you have the latest update like stated above.
    well yours works for me so ill just use your site lol

  15. #807
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,776
    Thanks
    19
    Thanked 155 Times in 146 Posts
    Ok kids,

    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) I have introduced an auto-updating feature that automatically updates YouTube video signature decryption code as needed. This feature will work as follows:

    - When your site users try to convert an encrypted video, and the decryption code in my software fails (and the conversion subsequently fails), then the software will poll my remote server and check for a new decryption code update.
    - If the software on your server has the most recent update, then I will immediately be notified that the current decryption code is malfunctioning, and I will start working on a fix. (In other words, we have a detection mechanism here that facilitates faster response times from me with respect to fixing decryption code problems.)
    - For the length of time that the software decryption code is failing, and no updated version is available, the code will continue to check for new updates every hour until it finds one. (During this time, you will not be able to convert encrypted videos. But some amount of downtime is unavoidable here between updates. The goal is to minimize the downtime.)
    - When the software detects that an update is available, it will download the relevant code from my server and automatically update the new UtilityFunctions.class.php file (which is where the decryption code is now located).

    The existing YouTubeToMp3Converter.class.php file was modified, and UtilityFunctions.class.php and software.xml were added. There should be no need to edit either UtilityFunctions.class.php or software.xml, and thus modifying those files is strongly discouraged.

    Both UtilityFunctions.class.php and software.xml should be set to chmod 0777, or the lowest permissions possible that still enable programmatic modification of those files.

    As always, please let me know if you have any questions/concerns regarding the above and/or the code.
    Attached Files Attached Files
    Last edited by chump2877; 08-02-2013 at 02:47 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!

  16. #808
    New to the CF scene
    Join Date
    Jul 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Dear sir i did purchase your domain yesterday
    but after i install it it's not working
    it's dosen't convert
    you can chek the website here www.youtube-converter.com
    so what i can do now ?and why you didn't update the commercial version ? but you can update the free one ? i can't understand you met othes purchase a script dosen't work .

  17. #809
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,776
    Thanks
    19
    Thanked 155 Times in 146 Posts
    Quote Originally Posted by yassin444 View Post
    Dear sir i did purchase your domain yesterday
    but after i install it it's not working
    it's dosen't convert
    you can chek the website here www.youtube-converter.com
    so what i can do now ?and why you didn't update the commercial version ? but you can update the free one ? i can't understand you met othes purchase a script dosen't work .
    Hello,

    There must be a problem with either the server configuration or script installation. Currently, your site is not downloading any videos. That could be caused by many things. I would need to know more about your server/script configurations before I could begin to isolate the problem. So could you please provide me with more detailed information in this regard?

    I can assure you that others are not having this problem.

    Have you tried following my tutorials, starting here: http://www.youtube.com/watch?v=-Ybg1f5Oaw0

    I didn't update the commercial version because I have added an experimental, largely untested feature to the free software. I will eventually add this feature to the paid-for version. But until such time that I am confident that the new feature is working correctly, it will not be included in the commercial version. And since this particular feature will be part of both the free and paid-for versions of the software in the future, it only makes sense to test the feature first in the free version to ensure that my paying customers continue to experience no problems with their product.

    Note: By purchasing the paid-for version, you will continue to receive new features, updates, and fixes to the software indefinitely. So please be assured that I have the best interests of my paying customers in mind when I plan my release cycle.

    Thank you for your understanding.

    Edit: Please also check this site. It is personally maintained by me, and it is functioning as expected. So the software does work. Thanks!
    Last edited by chump2877; 07-29-2013 at 05:33 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!

  18. #810
    New to the CF scene
    Join Date
    Jul 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by chump2877 View Post
    Hello,

    Have you tried following my tutorials, starting here: http://www.youtube.com/watch?v=-Ybg1f5Oaw0
    Is there anyway I can get access to some video which is watchable? I am sorry to say that in that video it's really impossible to understand what is being written on the notepad. Perhaps, you could have made the font size bigger.

    Anyway, here are the steps I am doing:

    . Unpack/Unzip the distribution file and upload the contents to a new directory on your web server via FTP
    ==> Done

    . Ensure that the "logs", "output", "ringtones", and "videos" folders (in your new directory) have write permissions
    ==> Done

    . Set the location of FFmpeg in config.class.php via the _FFMPEG constant
    ==> Done. Since it's on the root, I am using only the below:

    const _FFMPEG = 'ffmpeg.exe';

    . Configure additional constants/variables in config.class.php as needed

    ==> Other variables are done as below:

    const _SITENAME = 'youtube-converter.com';
    const _APPROOT = '/';
    const _TEMPVIDDIR = 'videos/';
    const _CONVERTED_FILEDIR = 'output/';

    All other directories such as videos, output, logs are in root.

    Can you please let me know what I am missing here?

    The site is - http://youtube-converter.com/. It's fetching the video but unable to convert them.

    Will appreciate if you can help me.

    Thanks!


 
Page 54 of 79 FirstFirst ... 444525354555664 ... LastLast

LinkBacks (?)

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