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 51 of 78 FirstFirst ... 41495051525361 ... LastLast
Results 751 to 765 of 1166
Like Tree4Likes

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

  1. #751
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,773
    Thanks
    19
    Thanked 155 Times in 146 Posts
    Quote Originally Posted by bbrog View Post
    ah ok, just my side then.

    Also just a suggestion is it possible to set something up like allowing users to signup for a newsletter that would contain info on new releases or new features added and have them emailed to the user directly? This would help get new changes to sites up much quicker.

    Thanks!
    This is a great idea! I will investigate this possibility....

    I do already email new releases directly to previous purchasers of the paid-for version. So they are aware of new versions as soon as they are released (assuming they check their email!).

    In the meantime, a couple of other ideas for you:

    1) You could subscribe to this forum thread. Then you would be notified by email whenever someone posts to this thread. (I always post to this thread when I release new versions of the free and paid-for versions, and I always provide documentation about new changes/features as well as files/code that has changed.)

    2) There are also various kinds of software that check for changes in your favorite web sites and report those changes to you: https://www.google.com/search?q=chec...ient=firefox-a.
    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!

  2. #752
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,773
    Thanks
    19
    Thanked 155 Times in 146 Posts
    Quote Originally Posted by bbrog View Post
    ah ok, just my side then.

    Also just a suggestion is it possible to set something up like allowing users to signup for a newsletter that would contain info on new releases or new features added and have them emailed to the user directly? This would help get new changes to sites up much quicker.

    Thanks!
    Per your excellent suggestion, I have created an email newsletter sign-up form for users of both the free and paid-for versions of my software.

    Please provide your email address via the supplied form if you would like to be sent free updates about new software version releases, features, and bug fixes. I may also use this list to gather feedback from you guys about existing features, to collect new ideas for software functionality, and/or to feature sites using my software in the SPOTLIGHT! section of this forum thread.

    Note: In general, I will only send out emails when it's relevant to your continued use of the software and/or when I require your feedback to improve the software. (I hate spam as much as the next guy! ) You will be provided with the means to unsubscribe from the list at any time.

    I encourage anyone who is currently using this software (or plans to use this software in the future) to sign up to this list. I hope to further facilitate the release process via this list as well as to use it as a means to improve the software in general. At the end of the day, I am just excited to have another way to communicate with all of you.

    Thank you all again for your continued, enthusiastic support of this software, and have a great day!

    Edit: Purchasers of the paid-for version of this script will continue to receive new versions of the software only via the email addresses that they supplied at Tradebit.com.
    Last edited by chump2877; 07-04-2013 at 02:25 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!

  3. Users who have thanked chump2877 for this post:

    bbrog (07-05-2013)

  4. #753
    New Coder
    Join Date
    Sep 2012
    Location
    Germany
    Posts
    39
    Thanks
    11
    Thanked 2 Times in 2 Posts

  5. #754
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,773
    Thanks
    19
    Thanked 155 Times in 146 Posts
    Quote Originally Posted by Luckyplaya View Post
    I can confirm this. Dailymotion changed something recently, and DM videos no longer convert in the paid-for version of my software. I will investigate solutions to this problem and post an update here when the problem is resolved. 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!

  6. Users who have thanked chump2877 for this post:

    Luckyplaya (07-05-2013)

  7. #755
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,773
    Thanks
    19
    Thanked 155 Times in 146 Posts

    Dailymotion Update!

    I have programmed a fix for the Dailymotion video conversion issue. I'll likely need a few hours to test the software, and then I will email all previous customers a copy of the new version.

    Again, I will post an update here when the latest release of the paid-for version of my software becomes available. Stay tuned!
    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. #756
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,773
    Thanks
    19
    Thanked 155 Times in 146 Posts
    Hello everyone,

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

    1. Dailymotion changed the location/format of their video URLs. This fix addresses that change.


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


    Only VideoConverter.class.php was updated, and (since the last update) only code in the DownloadVideo() and SetVidSourceUrls() methods was changed/added.

    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!

  9. #757
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,773
    Thanks
    19
    Thanked 155 Times in 146 Posts
    Hi everyone,

    A point of interest that I wanted to share:

    By default, the paid-for version of my software uses the libx264 codec for converting to FLV, MP4, and 3GP formats. It is best (if not required) to set a preset when using libx264 via FFmpeg. In my experience, using Ubuntu (and perhaps Debian as well), the following works fine for setting the 'veryfast' preset in your FFmpeg command:

    Code:
    -vpre veryfast
    However, you may find that on CentOS (and perhaps Red Hat as well) that you need to use the following flag instead:

    Code:
    -preset veryfast
    Hope that helps some of you out 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!

  10. #758
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,773
    Thanks
    19
    Thanked 155 Times in 146 Posts
    Hi everyone,

    YouTube has changed something on their site again, and it appears certain video channels (like Vevo) are not converting at the moment.

    I am aware of the issue, and I am investigating a fix.

    Thank you for your patience, and please stay tuned for an update in this forum thread regarding such a fix (and a new version of my software).
    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. #759
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,773
    Thanks
    19
    Thanked 155 Times in 146 Posts
    Here is the preliminary fix for both the free and paid-for versions. Replace the DecryptYouTubeCypher() method in the converter class with the following:

    PHP Code:
            private function DecryptYouTubeCypher($signature)
            {
                
    $s $signature;
                
    $sigLength strlen($s);
                switch (
    $sigLength)
                {
                    case 
    88:
                        
    $s substr($s481) . strrev(substr($s6814)) . substr($s821) . strrev(substr($s634)) . substr($s851) . strrev(substr($s4913)) . substr($s671) . strrev(substr($s1335)) . substr($s31) . strrev(substr($s48)) . substr($s21) . substr($s121);
                        break;
                    case 
    87:
                        
    $s substr($s621) . strrev(substr($s6320)) . substr($s831) . strrev(substr($s539)) . substr($s01) . strrev(substr($s349));
                        break;
                    case 
    86:
                        
    $s substr($s261) . substr($s821) . substr($s6418) . substr($s631);
                        break;
                    case 
    85:
                        
    $s substr($s761) . strrev(substr($s776)) . substr($s831) . strrev(substr($s6115)) . substr($s01) . strrev(substr($s519)) . substr($s11) . strrev(substr($s347));
                        break;
                    case 
    84:
                        
    $s strrev(substr($s3747)) . substr($s21) . strrev(substr($s279)) . substr($s31) . strrev(substr($s422)) . substr($s261);
                        break;
                    case 
    83:
                        
    //$s = substr($s, 52, 1) . strrev(substr($s, 56, 26)) . substr($s, 2, 1) . strrev(substr($s, 53, 2)) . substr($s, 82, 1) . strrev(substr($s, 37, 15)) . substr($s, 55, 1) . strrev(substr($s, 3, 33)) . substr($s, 36, 1);
                        
    $s substr($s081);
                        break;
                    case 
    82:
                        
    $s substr($s361) . strrev(substr($s6812)) . substr($s811) . strrev(substr($s4126)) . substr($s331) . strrev(substr($s373)) . substr($s401) . substr($s351) . substr($s01) . substr($s671) . strrev(substr($s132)) . substr($s341);
                        break;
                    default:
                        
    $s $signature;
                }
                return 
    $s;
            } 
    Please provide confirmation that this fix is working, and I will subsequently push out new versions of my software. Thanks!
    Last edited by chump2877; 07-10-2013 at 05:58 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!

  12. #760
    New Coder
    Join Date
    Jun 2012
    Posts
    45
    Thanks
    3
    Thanked 0 Times in 0 Posts
    works thanks!

  13. #761
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,773
    Thanks
    19
    Thanked 155 Times in 146 Posts
    The 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) YouTube changed the encryption used on video signatures again, and this fix addresses that change. (Vevo and other similar channels were affected.)

    Only YouTubeToMp3Converter.class.php was modified, and (since the last update) only code in the existing DecryptYouTubeCypher() method was updated.

    I will soon be updating the paid-for version of the app as well, and I will email an updated (free) copy to all those who have already purchased the script. (Updates will be sent to your Tradebit email addresses only.)

    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; 07-26-2013 at 03:42 PM. Reason: Updated zip file with latest version !!!!
    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. #762
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,773
    Thanks
    19
    Thanked 155 Times in 146 Posts
    Hello everyone,

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

    1. YouTube changed the encryption used on video signatures again, and this fix addresses that change. (Vevo and other similar channels were affected.)


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


    Only VideoConverter.class.php was updated, and (since the last update) only code in the DecryptYouTubeCypher() method was changed/added.

    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!

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

    I just wanna say thank you for this great scripts..

  16. #764
    New to the CF scene
    Join Date
    Jul 2013
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question error in generated mp3

    Hello,

    first thank you for this great script.
    But i got a little problem with the script: The resulting mp3 is a little bit broken because its not seekable und some players are reporting a wrong duration.
    I found out that this can happen with old versions of ffmpeg which are dont write the xing header correctly.

    ffmpeg version:
    ffmpeg 0.8.6-4:0.8.6-0ubuntu0.12.04.1
    libavutil 51. 22. 1 / 51. 22. 1
    libavcodec 53. 35. 0 / 53. 35. 0
    libavformat 53. 21. 1 / 53. 21. 1
    libavdevice 53. 2. 0 / 53. 2. 0
    libavfilter 2. 15. 0 / 2. 15. 0
    libswscale 2. 1. 0 / 2. 1. 0
    libpostproc 52. 0. 0 / 52. 0. 0


    So i tried to compile a newer one with the latest git repos:

    ffmpeg version N-54178-gbbe26ef
    built on Jun 25 2013 20:34:42 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
    configuration: --enable-libmp3lame
    libavutil 52. 37.101 / 52. 37.101
    libavcodec 55. 17.100 / 55. 17.100
    libavformat 55. 9.100 / 55. 9.100
    libavdevice 55. 2.100 / 55. 2.100
    libavfilter 3. 77.101 / 3. 77.101
    libswscale 2. 3.100 / 2. 3.100
    libswresample 0. 17.102 / 0. 17.102

    as i can see in mp3 folder, this version does generate a correkt mp3, its seekable und players are report the correct duration. but the problem is now that the script hangs after downloading the video from youtube. The conversion progressbar appears,but hang on 0% .

    So could anybody what could be the reason for this?
    Is it possible to disable the conversion progressbar, so that the download button will appear after creation of mp3 ?


    best regards,

    tequilaz

  17. #765
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,773
    Thanks
    19
    Thanked 155 Times in 146 Posts
    Hi tequilaz,

    To clarify:
    The resulting mp3 is a little bit broken because its not seekable und some players are reporting a wrong duration.
    So you are running the script on an Ubuntu Linux box, and in order to fix the above issue, you had to compile FFmpeg yourself using the latest code from the git source instead of doing a 'apt-get install ffmpeg' from the command line?

    Out of curiosity, what if you used 'avconv' instead of 'ffmpeg' to do the conversion? So, in config.class.php, just set _FFMPEG constant as (for example):

    PHP Code:
    const _FFMPEG '/usr/bin/avconv'
    Since FFmpeg is supposedly deprecated on Ubuntu/Debian, I wonder if the 'apt-get install' version of avconv produces "better" converted files? And with avconv, maybe your mp3 files are now 'seekable' and report correct duration on certain mp3 players?

    but the problem is now that the script hangs after downloading the video from youtube. The conversion progressbar appears,but hang on 0% .
    It sounds like the MP3 files are being generated, but the conversion progress bar is not moving. In that case, please copy/paste the output of a corresponding log file in the 'logs' directory. I'm guessing that I can find a clue to the source of the problem in there...
    Last edited by chump2877; 07-11-2013 at 12:16 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. Users who have thanked chump2877 for this post:

    tequilaz (07-11-2013)


 
Page 51 of 78 FirstFirst ... 41495051525361 ... LastLast

LinkBacks (?)

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