Web Analytics Made Easy -
StatCounter YouTube-to-MP3 conversion - PHP class and script - CodingForum

Announcement

Collapse
No announcement yet.

YouTube-to-MP3 conversion - PHP class and script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • character error this ' ِğşçضĞŞا ' example sz.mp3 original sِz.mp3 help please

    Comment


    • Originally posted by hmz_06 View Post
      character error this ' ِğşçضĞŞا ' example sz.mp3 original sِz.mp3 help please
      Hi,

      I don't understand the nature of your issue. Can you please explain in more detail?

      What is the error message you are receiving? What happens as a result of the error?

      Unicode character support in converted file names can be toggled on or off in Config.class.php.

      Thanks!
      Regards, R.J.

      ---------------------------------------------------------

      Help spread the word! Like our YouTube-to-Mp3 Conversion Script on Facebook !! :-)
      [Instructional videos and tutorials are also available on YouTube, Dailymotion, and Vimeo]
      Explore all products and services, view demos, review documentation, check prices, and more!
      ♪♪ …Need Web Hosting For Our YouTube-To-Mp3 Conversion Software? Check Here !!… ♪♪

      Comment


      • For example; original song file name Sertap erener sِz.mp3 , converted and downloaded
        the song file name Sertap erener sz.mp3 . "ِ" character no.
        How do I open the Unicode character support ?
        Last edited by hmz_06; Jan 11th, 2015, 08:42 PM.

        Comment


        • Originally posted by hmz_06 View Post
          For example; original song file name Sertap erener sِz.mp3 , converted and downloaded
          the song file name Sertap erener sz.mp3 . "ِ" character no.
          How do I open the Unicode character support ?
          Just use charset UTF-8 encoding system.

          PHP Code:
          content-dispositionattachmentfilename="sِz.mp3"filename*=UTF-8''sِz.mp3 

          Comment


          • Originally posted by hmz_06 View Post
            For example; original song file name Sertap erener sِz.mp3 , converted and downloaded
            the song file name Sertap erener sz.mp3 . "ِ" character no.
            How do I open the Unicode character support ?
            In Config.class.php:

            PHP Code:
            const _ENABLE_UNICODE_SUPPORT true;  // When true, allows Unicode characters in file names and video titles. A false value replaces/removes Unicode characters. Note: Not all operating systems support Unicode characters! 
            Regards, R.J.

            ---------------------------------------------------------

            Help spread the word! Like our YouTube-to-Mp3 Conversion Script on Facebook !! :-)
            [Instructional videos and tutorials are also available on YouTube, Dailymotion, and Vimeo]
            Explore all products and services, view demos, review documentation, check prices, and more!
            ♪♪ …Need Web Hosting For Our YouTube-To-Mp3 Conversion Software? Check Here !!… ♪♪

            Comment


            • thanks

              Comment


              • Hello, Chump.

                I really like the script you've developed. It has a lot of amazing features one would ever need in conversations. It converts from many sites. This is why it is the best script ever. I'm really interested in it, and I want to purchase this. It'd be easier for a beginner like me to seek a bit of help from you in installing the script, etc. I realise you have mentioned everything on the site, along with instructing videos, but I find it complicated, so this is why I'd prefer to add you on skype (if you have) so, please, add me: bliek1337

                Thank you very much.

                Comment


                • Originally posted by Aziz77 View Post
                  Hello, Chump.

                  I really like the script you've developed. It has a lot of amazing features one would ever need in conversations. It converts from many sites. This is why it is the best script ever. I'm really interested in it, and I want to purchase this. It'd be easier for a beginner like me to seek a bit of help from you in installing the script, etc. I realise you have mentioned everything on the site, along with instructing videos, but I find it complicated, so this is why I'd prefer to add you on skype (if you have) so, please, add me: bliek1337

                  Thank you very much.
                  Hi,

                  Thank you for your praise!

                  I can help you with any questions that you have about the software.

                  I tried to add your Skype ID to my contacts list, and it said: "No results found for bliek1337".

                  I will PM you my Skype handle, and you can contact me.

                  Thanks again!
                  Regards, R.J.

                  ---------------------------------------------------------

                  Help spread the word! Like our YouTube-to-Mp3 Conversion Script on Facebook !! :-)
                  [Instructional videos and tutorials are also available on YouTube, Dailymotion, and Vimeo]
                  Explore all products and services, view demos, review documentation, check prices, and more!
                  ♪♪ …Need Web Hosting For Our YouTube-To-Mp3 Conversion Software? Check Here !!… ♪♪

                  Comment


                  • Hello Please tell me what I did wrong that the script does not show the status of the download only displays the conversion process immediately. Is this wine apache settings? if so, what changed? My website is The Best YouTube to MP3, MP4 Converter - iConv.pl php info phpinfo()

                    Comment


                    • Originally posted by kamillx View Post
                      Hello Please tell me what I did wrong that the script does not show the status of the download only displays the conversion process immediately. Is this wine apache settings? if so, what changed? My website is The Best YouTube to MP3, MP4 Converter - iConv.pl php info phpinfo()
                      Hi,

                      Please see the relevant section of the FAQ:

                      Q.Videos are downloaded and converted, but I never see the download progress bar (only the conversion progress bar appears). How come?
                      That said, judging from your phpinfo() output, the first thing I would try is changing PHP to run as an Apache module instead of as CGI/FastCGI.

                      Do let me know if I can be of any further assistance.

                      Thanks!
                      Regards, R.J.

                      ---------------------------------------------------------

                      Help spread the word! Like our YouTube-to-Mp3 Conversion Script on Facebook !! :-)
                      [Instructional videos and tutorials are also available on YouTube, Dailymotion, and Vimeo]
                      Explore all products and services, view demos, review documentation, check prices, and more!
                      ♪♪ …Need Web Hosting For Our YouTube-To-Mp3 Conversion Software? Check Here !!… ♪♪

                      Comment


                      • This small changed but Work. Thank you:-)

                        Comment


                        • Chump! love the software and cant wait to get it up and running again. I am running into an issue with the latest build.

                          Warning: curl_getinfo() expects parameter 1 to be resource, integer given in /home/mpyeti/public_html/YouTubeToMp3Converter.class.php on line 116

                          Warning: Missing argument 5 for YouTubeToMp3Converter::UpdateVideoDownloadProgress() in /home/mpyeti/public_html/YouTubeToMp3Converter.class.php on line 114
                          Any idea's? I had to enable error's just to see whats going on.

                          This is the function its asking about
                          private function UpdateVideoDownloadProgress($curlResource, $downloadSize, $downloaded, $uploadSize, $uploaded)
                          {
                          $httpCode = curl_getinfo($curlResource, CURLINFO_HTTP_CODE);
                          if ($httpCode == "200")
                          {
                          $percent = @round($downloaded/$downloadSize, 2) * 100;
                          if ($percent > $this->_percentVidDownloaded)
                          {
                          $this->_percentVidDownloaded++;
                          echo '<script type="text/javascript">updateVideoDownloadProgress("'. $percent .'");</script>';
                          ob_end_flush();
                          ob_flush();
                          flush();
                          }
                          }
                          }
                          Last edited by boniggy; Jan 13th, 2015, 06:52 PM.

                          Comment


                          • Originally posted by boniggy View Post
                            Chump! love the software and cant wait to get it up and running again. I am running into an issue with the latest build.



                            Any idea's? I had to enable error's just to see whats going on.

                            This is the function its asking about
                            Hi,

                            My installation of the default, free software is not exhibiting those errors.

                            Have you modified my code in some way? If you install the default, unmodified code on your server, does it work without errors? It should!

                            Do let me know if you have any additional questions or concerns.

                            Thanks!
                            Regards, R.J.

                            ---------------------------------------------------------

                            Help spread the word! Like our YouTube-to-Mp3 Conversion Script on Facebook !! :-)
                            [Instructional videos and tutorials are also available on YouTube, Dailymotion, and Vimeo]
                            Explore all products and services, view demos, review documentation, check prices, and more!
                            ♪♪ …Need Web Hosting For Our YouTube-To-Mp3 Conversion Software? Check Here !!… ♪♪

                            Comment


                            • hmm weird. i may have tweaked something and not realized it. I'll reupload the virgin code and let you know.

                              thanks!

                              Comment


                              • New Version!

                                Hi everyone,

                                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. YouTube recently made a minor change to the way it identifies videos that require signature decryption. This fix addresses that change.


                                To update an existing installation:

                                In 'YouTubeToMp3Converter.class.php', you must replace the following code on line 360 (of the default, unmodified software):

                                PHP Code:
                                $this->_ytCypherUsed = isset($output['use_cipher_signature']) && $output['use_cipher_signature'] == 'True'
                                ...with:
                                PHP Code:
                                if ((isset($output['use_cipher_signature']) && $output['use_cipher_signature'] == 'True') || preg_match('/signature=/is'urldecode(urldecode($output['url_encoded_fmt_stream_map']))) != 1)
                                {
                                     
                                $this->_ytCypherUsed true;

                                Only YouTubeToMp3Converter.class.php was modified.

                                There should be no need to edit software.xml, and thus modifying this file is strongly discouraged.


                                software.xml should be set to chmod 0777, or the lowest permissions possible that still enable programmatic modification of the file. Moreover, the directory that contains software.xml should be writable, and directory permissions should be modified accordingly.

                                **I have already updated the commercial version of the software, and I have emailed the fix (for free) to all previous, paying customers. (Updates were sent to the email addresses provided during your purchases at Tradebit.com.)**

                                As always, please let me know if you have any questions/concerns regarding the above and/or the code.

                                Keep the free version FREE !!
                                Please make a donation to help finance ongoing maintenance of this code.
                                Thanks!

                                Edit: Updated on 2017-1-21: Refined the mechanism used to detect encrypted YouTube videos!

                                Edit: Updated on 2019-6-20: Updated and improved YouTube download URL extraction as well as the mechanism used to detect encrypted YouTube videos!
                                Attached Files
                                Last edited by chump2877; Jun 20th, 2019, 07:40 PM.
                                Regards, R.J.

                                ---------------------------------------------------------

                                Help spread the word! Like our YouTube-to-Mp3 Conversion Script on Facebook !! :-)
                                [Instructional videos and tutorials are also available on YouTube, Dailymotion, and Vimeo]
                                Explore all products and services, view demos, review documentation, check prices, and more!
                                ♪♪ …Need Web Hosting For Our YouTube-To-Mp3 Conversion Software? Check Here !!… ♪♪

                                Comment

                                Working...
                                X