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 61 of 78 FirstFirst ... 1151596061626371 ... LastLast
Results 901 to 915 of 1167
Like Tree4Likes

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

  1. #901
    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 pablos View Post
    Done. After that I see next in screen :
    Code:
    /usr/local/bin/ffmpeg/ -i videos/1377702083_521e10c3ef4081.86060449.flv -vol 256 -y -acodec libmp3lame -ab 128k output/Autechre_-_Puch_uuid-521e111d0a2ab.mp3 2> logs/1377702083_521e10c3ef4081.86060449.txt
    First, you should remove the trailing '/' here:

    Code:
    /usr/local/bin/ffmpeg/
    And I meant you should try and run that FFmpeg command at that Linux command line (CLI). See if you can execute a FFmpeg conversion from there.

    You may need to substitute absolute paths for the directory paths in the command, i.e.:

    Code:
    /usr/local/bin/ffmpeg -i /home/user/public_html/videos/1377702083_521e10c3ef4081.86060449.flv -vol 256 -y -acodec libmp3lame -ab 128k /home/user/public_html/output/Autechre_-_Puch_uuid-521e111d0a2ab.mp3 2> /home/user/public_html/logs/1377702083_521e10c3ef4081.86060449.txt
    Run that in the CLI and then check your 'logs', 'videos', and 'mp3' directories. What do you see in those directories (that corresponds with this particular conversion)? Anything?

    Do you get any errors when you run that command?

    What happens when you just type '/usr/local/bin/ffmpeg' at the command prompt? Can you paste the resulting output?
    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. #902
    New to the CF scene
    Join Date
    Aug 2013
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by chump2877 View Post
    First, you should remove the trailing '/' here:

    Code:
    /usr/local/bin/ffmpeg/
    i make this.

    Quote Originally Posted by chump2877 View Post
    And I meant you should try and run that FFmpeg command at that Linux command line (CLI). See if you can execute a FFmpeg conversion from there.

    You may need to substitute absolute paths for the directory paths in the command
    I run that command in command line:
    Code:
    /usr/local/bin/ffmpeg -i /home/sotiris/www/youtubeconverting.com/VideoConverter/videos/1377751138_521ed062b3ca68.64358917.flv -vol 256 -y -acodec libmp3lame -ab 128k /home/sotiris/www/youtubeconverting.com/VideoConverter/output/Autechre_-_Puch_uuid-521ed12949664.mp3 2> /home/sotiris/www/youtubeconverting.com/VideoConverter/logs/1377751138_521ed062b3ca68.64358917.txt
    Quote Originally Posted by chump2877 View Post
    Run that in the CLI and then check your 'logs', 'videos', and 'mp3' directories. What do you see in those directories (that corresponds with this particular conversion)? Anything?
    Now - "log" and "mp3" are empty, "output" content mp3 file (well played, I check it)

    Quote Originally Posted by chump2877 View Post
    Do you get any errors when you run that command?
    No, there are no errors here.

    Quote Originally Posted by chump2877 View Post
    What happens when you just type '/usr/local/bin/ffmpeg' at the command prompt? Can you paste the resulting output?
    Code:
    [sotiris@so1 ~]$ /usr/local/bin/ffmpeg
    ffmpeg version 0.7.15, Copyright (c) 2000-2013 the FFmpeg developers
      built on Aug 22 2013 17:52:55 with gcc 4.2.1 20070831 patched [FreeBSD]
      configuration: --prefix=/usr/local --mandir=/usr/local/man --enable-shared --enable-gpl --enable-postproc --enable-avfilter --enable-pthreads --enable-memalign-hack --enable-runtime-cpudetect --cc=cc --extra-cflags='-I/usr/local/include/vorbis -I/usr/local/include' --extra-ldflags='-L/usr/local/lib ' --extra-libs=-pthread --disable-debug --enable-libaacplus --disable-indev=alsa --disable-outdev=alsa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libcelt --enable-libdirac --enable-libfaac --disable-ffserver --enable-libfreetype --enable-frei0r --enable-libgsm --enable-libmp3lame --enable-libopencv --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --disable-ffplay --enable-libspeex --enable-libtheora --disable-vaapi --disable-vdpau --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-nonfree --enable-version3
      libavutil    50. 43. 0 / 50. 43. 0
      libavcodec   52.123. 0 / 52.123. 0
      libavformat  52.111. 0 / 52.111. 0
      libavdevice  52.  5. 0 / 52.  5. 0
      libavfilter   1. 80. 0 /  1. 80. 0
      libswscale    0. 14. 1 /  0. 14. 1
      libpostproc  51.  2. 0 / 51.  2. 0
    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'

  3. #903
    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
    pablos,

    I have already responded to your PMs regarding this same issue.

    Hopefully, you have resolved the issue by now.

    If not, do let me know!
    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. #904
    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. Fixed a bug preventing conversion of Dailymotion.com videos


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


    Only VideoConverter.class.php was updated, and only the relevant code in the SetVidSourceUrls() method was modified.

    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!

  5. #905
    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. Fixed a bug preventing conversion of Dailymotion.com videos that have double quotes in the video title
    2. Fixed a bug that caused all Dailymotion conversions to fail if no SD (Standard Definition) video is available
    3. Fixed a bug that caused Dailymotion conversions to MP3 to fail if only a low-quality video is available


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


    Only VideoConverter.class.php was updated, and only the relevant code in the SetVidSourceUrls() method was modified.

    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!

  6. #906
    New to the CF scene
    Join Date
    Sep 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation

    Hello Chump,

    I have bought the script the day 13/August/2013
    Download token : T130812063541-6fec

    And so far I have not received any update to my email .
    ....
    Also wanted to let you know that I can not use the script , I use Linux so I think it is not necessary to use the ffmpeg.exe right?

    I have also since 0777 chmod to all files ".php" , " software.xml " and folders inside .
    In the "log" nothing appears .

    I tried to use the script and the only thing that does save the videos in . Flv in my folder "/videos/" with normal weighing kb . ( between 15,000 to 32,000kb or more , depending on the time of each video)

    My script save flv videos only, but the progress bar does not load on the website .
    and not convert it to mp3.

    Also wanted to comment, as I can do to use proxies? , since I also drive a traffic that maybe I can be blocked by YouTube .

    I read other reviews where they say you can advise via skype and even install the script , for an additional cost .

    How much is the price for this installation work ?
    You can send it to me by private message ? and also send me your Skype to converse better.

    Also I wonder if you could also add a database to this script , so that when converting videos with the same IDyoutube , not create new files . " Flv " with a different name , but rather that file loads previously already been generated by some other visitors.

    I await your prompt response.
    Please add me to Skype to chat :
    Skype: zJosek

    Regards

  7. #907
    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
    See my responses in red:

    Quote Originally Posted by Jhoseph View Post
    Hello Chump,

    I have bought the script the day 13/August/2013
    Download token : T130812063541-6fec

    And so far I have not received any update to my email .
    ....

    I send updates to the email address that you used at Tradebit.com when you purchased the software. If you're not getting updates, then please check your Junk email folder and/or spam filter, and please whitelist my email address: admin [at] rajwebconsulting [dot] com. As a last resort, you can provide me with your Tradebit.com-supplied email address, and I will send you a download link for the latest version of the software.

    Also wanted to let you know that I can not use the script , I use Linux so I think it is not necessary to use the ffmpeg.exe right?

    If you bought the Windows version of the software, and you now need to install it on a Linux server, then you don't need ffmpeg.exe. You need to install the FFmpeg and ffmpeg-php packages on Linux, as well as the libmp3lame, libx264, and aac codecs. You may also have to tweak some of the Config class code so that it works correctly on Linux.


    I have also since 0777 chmod to all files ".php" , " software.xml " and folders inside .
    In the "log" nothing appears .

    I tried to use the script and the only thing that does save the videos in . Flv in my folder "/videos/" with normal weighing kb . ( between 15,000 to 32,000kb or more , depending on the time of each video)

    My script save flv videos only, but the progress bar does not load on the website .
    and not convert it to mp3.

    I'm having a hard time understanding your English. It sounds like the videos are downloading, but not converting? What is your site's URL?

    Also wanted to comment, as I can do to use proxies? , since I also drive a traffic that maybe I can be blocked by YouTube .

    I read other reviews where they say you can advise via skype and even install the script , for an additional cost .

    How much is the price for this installation work ?
    You can send it to me by private message ? and also send me your Skype to converse better.

    I have accepted your Skype invitation. You can PM me as well. I can customize your software to use proxies for an additional fee. (Currently, proxy integration is not built into the software by default.) Please contact me to discuss this work further.

    Also I wonder if you could also add a database to this script , so that when converting videos with the same IDyoutube , not create new files . " Flv " with a different name , but rather that file loads previously already been generated by some other visitors.

    You are referring to a converted file "cache". This is also something I have not yet included by default with the software. However, I have programmed this before on a per-client basis. Again, please contact me to discuss this further and for pricing.

    I await your prompt response.
    Please add me to Skype to chat :
    Skype: zJosek

    Regards
    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. #908
    New to the CF scene
    Join Date
    Sep 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i would like to buy your script however just wonder a couple things, first off you stated in the install video that you need ssh and all that jazz, if i have cpanel access and a database can i just install it that way? or does it have to be via ssh.

    let me know where the best spot is to purchase and how long it takes to get the script once purchased...

    Cheers

  9. #909
    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
    Please see my responses in red:

    Quote Originally Posted by nubdesigns View Post
    i would like to buy your script however just wonder a couple things, first off you stated in the install video that you need ssh and all that jazz, if i have cpanel access and a database can i just install it that way? or does it have to be via ssh.

    AFAIK, the installations of certain software dependencies like FFmpeg and the audio/video codecs cannot be automated via cPanel. You will either need to install them yourself via SSH or, if you have a managed server, you can have your hosting company or server admin install these packages for you.


    let me know where the best spot is to purchase and how long it takes to get the script once purchased...

    Please purchase the script by navigating here and clicking on the corresponding links: YouTube-to-MP3 conversion - PHP class and script. After you purchase the script, it is instantly available for download.

    Cheers
    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. #910
    New to the CF scene
    Join Date
    Sep 2013
    Posts
    4
    Thanks
    2
    Thanked 0 Times in 0 Posts
    hi bro ur script downloading only hd videos from youtube , how can i chnage it to medium quality

  11. #911
    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 kamaljatana View Post
    hi bro ur script downloading only hd videos from youtube , how can i chnage it to medium quality
    For the commercial version of my software, please change this code in VideoConverter::SetVidSourceUrls() in VideoConverter.class.php (for YouTube):

    PHP Code:
        else
        {
        if (
    preg_match('/quality=hd1080/'$url) != 1)
        {
            
    $vidUrls[] = $this->PrepareYouTubeDownloadLink($url$vidTrackTitle);
        }
        } 
    ...to:

    PHP Code:
        else
        {
        if (
    preg_match('/quality=hd1080|quality=hd720|quality=large/'$url) != 1)
        {
            
    $vidUrls[] = $this->PrepareYouTubeDownloadLink($url$vidTrackTitle);
        }
        } 
    That should do the trick!
    Last edited by chump2877; 09-14-2013 at 06:02 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. Users who have thanked chump2877 for this post:

    kamaljatana (09-18-2013)

  13. #912
    New to the CF scene
    Join Date
    Sep 2013
    Posts
    4
    Thanks
    2
    Thanked 0 Times in 0 Posts
    its not wrking bro downloading same hd video

  14. #913
    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 kamaljatana View Post
    its not wrking bro downloading same hd video
    What version of the software do you have (paid-for or free version)? If the paid-for version, what file type are you converting to?
    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. #914
    New to the CF scene
    Join Date
    Sep 2013
    Posts
    4
    Thanks
    2
    Thanked 0 Times in 0 Posts
    i hav paid version m converting to mp3 and i want to download hq video from youtube but its downloading in hd ,it takes alot time

  16. #915
    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 kamaljatana View Post
    i hav paid version m converting to mp3 and i want to download hq video from youtube but its downloading in hd ,it takes alot time
    Comment out this line in the same file and class method, like so (line 462 in my editor):
    PHP Code:
    //$vidUrls = ($ftype == 'mp3') ? array_reverse($vidUrls) : $vidUrls; 
    What is your server's download and network connection speeds?
    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!

  17. Users who have thanked chump2877 for this post:

    kamaljatana (09-18-2013)


 
Page 61 of 78 FirstFirst ... 1151596061626371 ... 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
  •