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 74 of 78 FirstFirst ... 24647273747576 ... LastLast
Results 1,096 to 1,110 of 1168
Like Tree4Likes

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

  1. #1096
    New to the CF scene
    Join Date
    Mar 2014
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    BadScript the log file
    sh: /usr/bin/ffmpeg: No such file or directory
    i think the ffmpeg not installed or you entred the wrong path
    =======================================
    i didn't received any update i have the payed version

  2. #1097
    New to the CF scene
    Join Date
    Mar 2014
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    badscript your host it's hostgator and this hosting not allow ffmpeg if you need hosting with ffmpeg contact me

  3. #1098
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,774
    Thanks
    19
    Thanked 155 Times in 146 Posts
    Quote Originally Posted by BadScript View Post
    i get to this point...the video is downloaded in the videos section then this happens
    Hi,

    I assume you are referring to these issues as well:
    Warning: Division by zero in /home4/private/public_html/mp3taker.com/VideoConverter.class.php on line 140

    Error generating converted file!
    Suggestions for possible solutions to all of your issues can be found in the FAQ. Please follow the troubleshooting tips there first, and see if they can help you to solve these common problems.

    If the issues persist, do let me know, and I can help you to troubleshoot further.

    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!

  4. #1099
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,774
    Thanks
    19
    Thanked 155 Times in 146 Posts
    Quote Originally Posted by Mp3converter View Post
    i didn't received any update i have the payed version
    Hi,

    You should have been emailed a copy of the latest version of the software when it was released earlier this month. Please ensure that messages from my email address (admin {at} rajwebconsulting {dot} com) are not marked as spam.

    That said, please PM me with your Tradebit.com email address (that you provided during the purchase of my software), and I will send you a free download link to the latest 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!

  5. #1100
    New to the CF scene
    Join Date
    Mar 2014
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    hi dear thanks i have received the product look when you convert and you download the file
    you can't convert other in the same time you need to download the first converted file

  6. #1101
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,774
    Thanks
    19
    Thanked 155 Times in 146 Posts
    Quote Originally Posted by Mp3converter View Post
    hi dear thanks i have received the product look when you convert and you download the file
    you can't convert other in the same time you need to download the first converted file
    I'm a little confused about the exact issue you are experiencing. Could you try to explain this better or perhaps provide a screenshot?

    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!

  7. #1102
    New to the CF scene
    Join Date
    Mar 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hello, How Can I add 1080p, 480P and 4K mp4 qualities?

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

    New Version!

    Hello everyone,

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

    1. Fixed and updated the software's conversion bookmarklet/plugin. (UPDATE: Live demo of plugin located here: http://www.grabfrom.com/Addon.php !!) Integrated the plugin with the rest of the software by including a new "Get Plugin" instructions page in the default layout/design.
    2. Some general information about the plugin:

      • This plugin is a bookmarklet. A bookmarklet is a tiny program stored inside a browser bookmark, and it's typically executed by clicking a button in the browser's bookmarks/favorites toolbar. If you are unfamiliar with bookmarklets, please see the corresponding documentation for the Firefox and Chrome browsers.
      • To install the bookmarklet, your site users simply need to drag a text link to their browsers' bookmarks/favorites toolbar.
      • To use the bookmarklet, your site users need to navigate to a YouTube, Dailymotion, Vimeo, or Metacafe video page, click the bookmarklet in their browsers' bookmarks/favorites toolbar to launch the plugin, choose a file type, and then press the "Go!" button. A new tab will open in their browsers where their video will automatically be converted on your site!
      • The bookmarklet's "Convert Video!" text link may be placed on any page of your website.
      • Edit the _APPROOT constant in Config.class.php to reflect the application root directory. So, if you have uploaded the app files to 'yoursite.com/app/', then you would set _APPROOT to '/app/'.
      • Given an application root of 'yoursite.com/app/', CSS styles for the bookmarklet can be edited/modified in 'yoursite.com/app/bookmarklet/bookmarklet-styles.css'.
      • Given an application root of 'yoursite.com/app/', relevant HTML markup (including bookmarklet help/instruction text) can be configured at the top of file 'yoursite.com/app/bookmarklet/bookmarklet.js'. Please do not edit other parts of this file unless you know what you are doing.
      • Given an application root of 'yoursite.com/app/', the plugin logo image is located at 'yoursite.com/app/bookmarklet/img/logo.jpg'. You should replace the default logo with your own logo image.
      • Changes to bookmarklet CSS and markup will automatically be available to consumers of the bookmarklet!
      • Edit the _SSL_ENABLED constant in Config.class.php to indicate whether or not SSL is enabled on your server. In general, the bookmarklet will work better on https:// video pages with SSL enabled. But SSL is not required for the bookmarklet to function on most https:// video pages.
      • You can obtain a free SSL certificate from various online services (this service is a great place to start), or you can create your own self-signed certificate.
      • If SSL is NOT enabled on your web server, and your site users encounter problems, you can advise them to do one of the following:
        • Sometimes a setting in the user's browser, OS, or anti-virus program will force a secure https:// connection if it's available. In that case, site users should disable this setting for a given video hosting site in order to use this plugin.
        • With respect to YouTube specifically, site users can try logging out of their Google/Gmail accounts to avoid using a forced https:// connection on YouTube.
        • Site users can initiate a "private" browser session first before using the plugin. Please see the corresponding Firefox and Chrome documentation for instructions on how to achieve this.

      • The bookmarklet will not work on Facebook video pages, with or without SSL enabled on your server! Facebook has some sort of protection in place that prevents the insertion of even SSL-secured markup into its pages.
      • The bookmarklet has been tested in the latest versions of Firefox and Chrome. It may work in other browsers as well. If for some reason the bookmarklet is not working, please report the issue in the help forum.
      • If you need to, you can remove the Get Plugin page from the software/layout by deleting the following link code:

        <a href="plugin.php"><?php echo Menu_Plugin_Link; ?></a>

        ...in index.php and inc/static_page_header.php.

    3. Fixed a bug that prevented the submission of a new conversion immediately following an initial, successful conversion. (Prior to the fix, the user was redirected to an empty conversion form instead.)
    4. Fixed a bug that caused conversion to fail when a video conversion was initiated, the initial conversion was canceled during the conversion progress bar stage (by clicking the conversion cancel button), and the user then tried to convert the same video immediately after.
    5. In the event that a conversion error does occur, "Try again" links have been added to easily steer the user back to the conversion form (to try their conversion again).
    6. Various (minor) bug fixes and refactoring of code


    Extensive modifications were made to the software in this release
    . So many, in fact, that I have included a 'reports' directory in this ZIP distribution to clearly identify which code has changed since the previous version. Each report shows a side-by-side, graphic comparison of the previous and current versions of a given file.

    The following files were changed/added:

    1. bookmarklet/bookmarklet.js** updated
    2. bookmarklet/bookmarklet-styles.css** updated
    3. bookmarklet/getFileTypes.php** updated
    4. css/images/bulb.png new
    5. inc/static_page_header.php**updated
    6. langs/us.xml** updated
      • Clear sessions/cookies in your browser to see new language file changes.

    7. bookmarklet.php deleted
    8. Config.class.php** updated
    9. edit.php** updated
    10. exec_ffmpeg.php** updated
    11. ffmpeg_stop.php** updated
    12. index.php** updated
    13. plugin.php new

    ** See corresponding report in 'reports' directory in attached ZIP file for line-by-line illustration of code changes

    If you create a new language file for the software, please donate the file to the code base so that others can benefit from your translations! Simply send me a copy of your updated index.xml file as well as your new *.xml translation file, and I will add it to the software in a future release!


    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!
    Last edited by chump2877; 04-06-2014 at 09:57 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!

  9. #1104
    New Coder
    Join Date
    Jul 2012
    Posts
    14
    Thanks
    3
    Thanked 0 Times in 0 Posts
    My site suddenly fails to convert any youtube video today, youtube just changed their code again?
    Last edited by chump2877; 04-06-2014 at 10:00 PM. Reason: unnecessary inclusion of quote; quote not relevant to post topic

  10. #1105
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,774
    Thanks
    19
    Thanked 155 Times in 146 Posts
    Quote Originally Posted by zhanly View Post
    My site suddenly fails to convert any youtube video today, youtube just changed their code again?
    The demo site is working fine: Dailymotion, Youtube Video Downloader, Mp3 Converter- GrabFrom.

    Please check the FAQ for solutions to common issues like this.

    If that doesn't help, then we can troubleshoot your site further.

    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!

  11. #1106
    New Coder
    Join Date
    Jul 2012
    Posts
    14
    Thanks
    3
    Thanked 0 Times in 0 Posts
    I found the cause, issue was on my end, thanks.

    Quote Originally Posted by chump2877 View Post
    The demo site is working fine: Dailymotion, Youtube Video Downloader, Mp3 Converter- GrabFrom.

    Please check the FAQ for solutions to common issues like this.

    If that doesn't help, then we can troubleshoot your site further.

    Thanks!

  12. #1107
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,774
    Thanks
    19
    Thanked 155 Times in 146 Posts
    Quote Originally Posted by nazmoon View Post
    Hello, How Can I add 1080p, 480P and 4K mp4 qualities?
    Hi,

    I'm going to assume you are referring to the commercial version of my software.

    Here's a quick rundown of how the software, by default, assigns converted file qualities for videos downloaded from any of the available video hosting sites:

    Available copies of a video from any video hosting site (Youtube, Dailymotion, Facebook, Vimeo, MetaCafe, etc.) are automatically assigned to one of 4 quality categories: HD, HQ, SD, LD (corresponding to high definition, high quality, standard definition, and low definition, respectively). Note: You can visualize this if you inspect the $_videoHosts array in Config.class.php. This practice normalizes the number of different qualities available from each of the different video hosting sites (because the actual number of different qualities is variable from site to site), so that the software can manipulate and assign qualities easier, and to facilitate the addition of more video hosting sites to the software in the future.

    For video file types (except .3gp), the software operates on the premise that the majority of users want the best quality video available. So if an HD, HQ, and LD .mp4 version of a video is available, and the user downloads and/or converts to .mp4, then the user will receive an HD version of the file.

    So, given this paradigm, the easiest way to do what you want (or the near equivalent) is to try to work within the system -- instead of rewriting the foundation of the software. That said, for a novice programmer, this customization may not be "easy".

    First, if your primary concern is getting YouTube videos in 1080p, then check out this forum post: YouTube-to-MP3 conversion - PHP class and script. Maybe that's all you need. But beware of enabling the download/conversion of super high resolution video. At an even moderately large scale, it will slow down your server.

    A more "granular" approach to allowing users to convert to different video qualities could be something like the following:

    1) Add additional .mp4 file types to the $_convertedFileTypes array in Config.class.php (just copy the existing .mp4 array key into a new array key, and repeat this process until you have no more than 4 different qualities of .mp4 -- again, corresponding to HD, HQ, SD, and LD).
    2) For all of your .mp4 file types in the $_convertedFileTypes array, add a new 'resolution' index to each .mp4, like so:

    PHP Code:
                2 => array(
                    
    'fileExt' => 'mp4',
                    
    'mimeType' => 'video/mp4',
                    
    'ffmpeg' => '********************************',
                    
    'maxDuration' => 1200,  // Max length of video allowed, in seconds. A value of -1 indicates no limit.
                     
    'qualityTolerance' => 'hq',  // Minimum video quality  that can be downloaded directly without FFmpeg conversion. Values can be  'hd', 'hq', 'sd', or 'ld' (corresponding to 'high definition', 'high  quality', 'standard definition', and 'low definition' respectively).
                     
    'jPlayerName' => 'm4v'  // jPlayer media type name.  Referenced when cropping files using jPlayer preview. (See  http://jplayer.org/latest/developer-guide/#jPlayer-setMedia for  available media types.) Inclusion of this key enables cropping of the  associated converted file type.
                    
    'resolution' => array('abbrev' => 'hd''niceName' => 'high definition''ffmpegFallback' => 1080)
                ), 
    3) With the new resolution key, you can build your file type drop down menu to include the new file types, i.e.:

    .mp4 (high definition)
    .mp4 (high quality)
    ........etc

    Notice that we aren't using specific numeric resolutions in the file types menu so that we can better work within the parameters and methods of the existing software.

    4) After conversion form submission, I guess I'd add the video resolution to a new class field via a $this->SetConvertedFileResolution() property in VideoConverter::ValidateConversionForm().
    5) Then, in VideoConverter::FilterVidUrlsForDownload(), you could use $this->GetConvertedFileResolution() property to retrieve the resolution 'abbrev' of the converted file (in my example, this is "hd") and filter video files based on requested quality in addition to best-available quailty. (I'll let you figure out the code for that.) Basically, if the requested file type and quality is available, then you give the user that quality, otherwise you revert to the existing code that finds the best available (and, particularly in this case, the next closest "match") to the requested file type and quality -- keeping in mind the "qualityTolerance" level for that file type.
    6) If there is no .mp4 file available, no .mp4 with the requested quality, and no .mp4 file that at least meets your "qualityTolerance" level for a given .mp4 file type (in other words, $urls is empty in VideoConverter::SaveVideo()), then you use FFmpeg as the fallback mechanism for delivering the requested quality .mp4 to the user. So in the 'ffmpeg' key for your various .mp4 file types in the $_convertedFileTypes array in Config.class.php:

    PHP Code:
                2 => array(
                    
    'fileExt' => 'mp4',
                    
    'mimeType' => 'video/mp4',
                    
    'ffmpeg' => '********************************',
                    
    'maxDuration' => 1200,  // Max length of video allowed, in seconds. A value of -1 indicates no limit.
                     
    'qualityTolerance' => 'hq',  // Minimum video quality  that can be downloaded directly without FFmpeg conversion. Values can be  'hd', 'hq', 'sd', or 'ld' (corresponding to 'high definition', 'high  quality', 'standard definition', and 'low definition' respectively).
                     
    'jPlayerName' => 'm4v'  // jPlayer media type name.  Referenced when cropping files using jPlayer preview. (See  http://jplayer.org/latest/developer-guide/#jPlayer-setMedia for  available media types.) Inclusion of this key enables cropping of the  associated converted file type.
                    
    'resolution' => array('abbrev' => 'hd''niceName' => 'high definition''ffmpegFallback' => 1080)
                ), 
    ...you modify the FFmpeg commands to include the "-vf scale" flag, to resize the video to the requested resolution.
    7) Finally, in VideoConverter:oConversion(), you substitute the %scale% value in the FFmpeg command with the corresponding resolution "ffmpegFallback" value (in our example, 1080).

    Edit: Before doing #7, you would want to check via FFmpeg what the resolution of the temporary video file is before converting it. So if the temporary video is 480p and your resolution "ffmpegFallback" value is 1080, then you would not want to convert 480p to 1080p. Instead you would convert to the highest resolution possible -- in this case, 480p.


    So in this way, you still try to minimize FFmpeg usage (and thus CPU) by attempting to download the requested file type and quality -- or something close to it -- before falling back to FFmpeg conversion if none of the available video files coincide with the parameters you have set in the $_convertedFileTypes array.

    I know this is probably a lot to digest, but this is what I would do to roughly get the results that you require....Without scrapping a good portion of my existing software logic and starting over from scratch...
    Last edited by chump2877; 04-06-2014 at 11:25 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!

  13. #1108
    New to the CF scene
    Join Date
    Apr 2014
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi,

    I bought YouYube-to-MP3 Converter in march and I'm with problem with some channels.
    If I try to convert videos from Vevo or from Coldplay oficial channel ( https://www.youtube.com/watch?v=rLm_aSP369M ), for example, I got an error:
    Error downloading video!

    Do you know why? Anybody has the same problem?

    Thank you very much.

  14. #1109
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,774
    Thanks
    19
    Thanked 155 Times in 146 Posts
    Quote Originally Posted by easyconvertme View Post
    Hi,

    I bought YouYube-to-MP3 Converter in march and I'm with problem with some channels.
    If I try to convert videos from Vevo or from Coldplay oficial channel ( https://www.youtube.com/watch?v=rLm_aSP369M ), for example, I got an error:
    Error downloading video!

    Do you know why? Anybody has the same problem?

    Thank you very much.
    Hi!

    I am able to download/convert that video on the demo site: Dailymotion, Youtube Video Downloader, Mp3 Converter- GrabFrom

    It sounds like you are having trouble downloading encrypted videos, which means there is a problem with software.xml.

    Is software.xml chmod to 0777? Is the containing folder also set to 0777, or the lowest permissions possible that still enable programmatic manipulation of files like software.xml?

    It's also remotely possible that there was a problem updating your software.xml in the distant past due to server performance problems. That said, newer versions of the software (are you running an older version?) virtually eliminate possible issues with decryption code updates.

    You can try deleting your software.xml file from the server. It will regenerate and perhaps fix itself.

    Do let me know if this helps and if you have any further questions/concerns.
    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. #1110
    New to the CF scene
    Join Date
    Jul 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi, thank you for the great software! I'm a little confuse as to where to download the free version and also where to buy the paid version.


 
Page 74 of 78 FirstFirst ... 24647273747576 ... 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
  •