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 33 of 75 FirstFirst ... 23313233343543 ... LastLast
Results 481 to 495 of 1118
Like Tree2Likes

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

  1. #481
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,748
    Thanks
    18
    Thanked 155 Times in 146 Posts
    Quote Originally Posted by dareweb View Post
    After 2 days searching, applying and claiming my money back from several hosters I finally found one with ffmpeg and PHP 5.3

    It is HostForWeb
    http://www.hostforweb.com/1873.html
    It will cost you $6.36 for 1 month when you use promotional code "autumn"
    I think it is a good choice for those who want to test their scripts first before applying for more serious hosting.

    Script is working properly.
    Thanks for posting this. I get a lot of questions about which web hosting companies offer shared hosting plans that support this script. That's as good a deal as any, and even cheaper than $6.36/mo if you purchase a longer term.
    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. #482
    New Coder
    Join Date
    Sep 2012
    Location
    Germany
    Posts
    38
    Thanks
    11
    Thanked 1 Time in 1 Post
    I have a question,
    how do I get off the frame (border)?

  3. #483
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,748
    Thanks
    18
    Thanked 155 Times in 146 Posts
    Quote Originally Posted by Luckyplaya View Post
    I have a question,
    how do I get off the frame (border)?
    You need to provide some more context for your question. I don't really know what you are talking about.
    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. #484
    New Coder
    Join Date
    Sep 2012
    Location
    Germany
    Posts
    38
    Thanks
    11
    Thanked 1 Time in 1 Post
    sorry my english is not good

    I mean the white frame (see it on screenshot) how can I delete?



  5. #485
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,748
    Thanks
    18
    Thanked 155 Times in 146 Posts
    Quote Originally Posted by Luckyplaya View Post
    sorry my english is not good

    I mean the white frame (see it on screenshot) how can I delete?
    Delete the line of CSS in red:



    Code:
    body { margin:5px 0; padding:0; font: 74% Arial, Sans-Serif; color:#000; line-height: 1.4em; background : #F0F0F0;}
    .content { color: #505050; margin: 0 auto; padding: 0; width: 791px; background: #FFFFFF url(bg.jpg) repeat-y center; }
    
    #toph { background: #F0F0F0 url(top.jpg) no-repeat center top; height: 14px; margin: 0; padding: 0;}
    #header { color: #FFF; padding: 0 15px 0 15px; line-height: 1.0em; }
    	#header .rside { background: #125E81 url(header.jpg) no-repeat; color: #337493; float: right; height: 129px; width: 587px;  font-size: 90%; }
    	#header .citation { text-align: right; padding: 60px 25px 25px 6px; color: #f0f0f0;}
    	#header .lside { background: #FFB424 ; color: #FFF; height: 129px; width: 174px; padding: 0; margin: 0; float: left; }
    	#header h2 { background-color: inherit; color: #FFF; letter-spacing: 1px; }
    	#header .title { text-align: center; padding-top: 30px;}
    	#header .rside2 { background: #125E81 url(conv-bg.png) no-repeat; color: #337493; float: right; height: 370px; width: 761px;  font-size: 90%; }
    	#header .convert {
    	text-align: center; 
    	font:13px Verdana,Arial;
    	margin-top:20px;
    	padding: 60px 25px 25px 6px;
    	color: #FFF;
    }
    	
    
    #main { margin: 0 20px 0 15px; }	
    #main h2 { background-color: inherit; color: #156184; line-height: 0.2em; }
    #main h3 { font: 85% Arial, Sans-Serif; margin: 0 0 10px 0; padding: 0; color: #5f5f5f; background: inherit; }
    .center { background: #FFF;  width: 725px !important; width: 535px;  float: right; margin: 15px; }
    .leftmenu { background: #FFF url(leftbg.jpg) repeat-x; width: 174px; float: left; padding: 0; margin: 0; }
    .padding { padding: 15px; }
    
    .img { background: #FFF; float: left; padding: 1px; margin: 5px 8px 5px 0; color: #333; border: 1px solid #e0e0e0; }
    
    /* FOOTER */
    #footer { background: #FFF url(footer.jpg) no-repeat; color: #a0a0a0; height: 43px; text-align: center; font-size: 90%; clear: both; padding: 0px; margin: 0;}
    #footer hr { width: 740px; color: #888; border: 1px solid #f0f0f0; margin: 0 25px 0 25px;  }
    #footer a { 	color: #999; background: #FFF;  text-decoration:none; }
    #footer a:hover { 	background: #FFF;	text-decoration: underline; color: #444;}
    
    /* NAVIGATION */
    .nav { clear: both; text-align: left; color: 	#7D8085; padding: 20px 0 0 0; }
    .nav li { font-weight: bold; margin: 0 0 8px 0; padding: 0 0 0 5px; border-bottom: 1px solid #ccc; }
    .nav li a { color: #546078; text-decoration: none;  }
    .nav li a:hover { color: #F29900; text-decoration: none;  }
    
    
    .box { background: #E7EDF0; padding: 5px; border: 1px solid #999; color: #333; }
    
    /* ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
    
    p { 	margin: 0 0 5px 0; 	padding: 0; color: #555; background: inherit; }
    
    hr { border: 0; height: 1px; color: #eee; background-color: #eee; }
    a { 	color: #0F5B7F; background: inherit;  text-decoration:none; }
    a:hover { 	background: inherit;	text-decoration: underline; }
    h1 { padding:0; margin:0; color: #0F5B7F; background: inherit;font: bold 1.8em Arial, Sans-Serif; letter-spacing: -1px; }
    h1 a {color: #0F5BFF; background: inherit;}
    h2 { background-color: inherit; 	color:#0F5B7F; font-size:140%; font-weight:bold; margin: 10px 0 10px 0; padding:0; }
    h2 a { color: #0F5B7F; }
    h2 a:hover { 	color: #0F5BAF; text-decoration: none;}
    
    ul { margin: 5px 0 20px 15px; padding : 0; list-style : none;  }
    li { list-style-type: none;	color: #F29900;	margin: 0 0 0px 0;	padding: 0 0 0 0px; }
    li a { color: #546078;  }
    li a:hover { color: #F29900; }
    
    /*----------------- for snews --------------------------*/
    
    fieldset {	border: 1px solid #eee; }
    textarea.text { height: 150px; width: 90%; border: 1px solid #ccc; background: #fff; color: #000; }
    textarea.text:hover { border: 1px solid #eee; background: #FFFFF4; color: #000; }
    input.field { border: 1px solid #ccc; background-color: #3C3C3C; width: 100px; color: #000; }
    input.field:hover { border: 1px solid #eee; background: #ccc; color: #000; }
    input.text { margin: 0; width: 110px;	border: 1px solid #546078; background: #FFF; color: #808080; }
    input.text:hover { border: 1px solid #3a4354; }
    input.searchbutton { 	margin: 0; font-size: 100%; font-family: Arial, Sans-serif; border: none; background: #FFFFFF; color: #333; padding: 1px; font-weight: bold; }
    .date { color: #505050; background: #FFF; text-align: right; margin: 4px 0 5px 0; padding: 0.4em 0 0 0; border-top: 1px solid #ddd; }
    .date a { color: #546078; }
    input.button { background: #FFFFF4; color: #808080; border-right: 1px solid #ccc;	border-bottom: 1px solid #ccc; }
    .comments { 	padding: 10px 10px 8px 10px; margin: 0 0 7px 0; background: #FFF; color: #333; }
    .commentsbox { padding: 8px 0 10px 10px; margin: 0 0 10px 0; background: #f4f4f4; color: #000; }
    .error {	color: #990000;	background-color: #FFF0F0; padding: 7px; margin-top: 5px; margin-bottom: 10px; border: 1px dashed #990000; }
    .error h2 { color: #990000; background: inherit; }
    .success { color: #000000; background: #FAFAFA;	padding: 7px; margin-top: 5px; margin-bottom: 5px; border: 1px dashed #546078; }
    .success h2 { color: #546078; background: inherit; }
    /*----------------- converter --------------------------*/
    form
    		{
    			width:450px;
    			margin:0 auto;
    			padding:15px;
    			border:1px solid #ccc;
    		}
    
    		form input[type="text"]
    		{
    			width:385px;
    			background-color:#f9f9f9;
    		}
    
    		form p
    		{
    			margin:10px 0;
    			font-weight:normal;
    		}
    
    		#progress-bar
    		{
    			width:200px;
    			padding:2px;
    			border:2px solid #aaa;
    			background:#fff;
    			margin:0 auto;
    		}
    
    		#progress
    		{
    			background:#000;
    			color:#fff;
    			overflow:hidden;
    			white-space:nowrap;
    			padding:5px 0;
    			text-indent:5px;
    			width:0%;
    		}
    
    		#conversion-status
    		{
    			width:200px;
    			padding:2px;
    			margin:0 auto;
    			color:#999;
    			text-align:center;
    		}
    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 (09-27-2012)

  7. #486
    New Coder
    Join Date
    May 2012
    Posts
    54
    Thanks
    1
    Thanked 0 Times in 0 Posts
    sir i ahve problem i get vps install cento linux then i install ffmepg.exe and pack but my converter not working its file download successfully but not convert it
    check it
    http://mp3-from-youtube.org/

  8. #487
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,748
    Thanks
    18
    Thanked 155 Times in 146 Posts
    Quote Originally Posted by blacktiger786 View Post
    sir i ahve problem i get vps install cento linux then i install ffmepg.exe and pack but my converter not working its file download successfully but not convert it
    check it
    http://mp3-from-youtube.org/
    ffmpeg.exe does not work on linux distros (only on Windows)...you have to instead install FFmpeg, ffmpeg-php, and codec packages via SSH (command line interface)...Have you done that?
    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. #488
    New Coder
    Join Date
    Sep 2012
    Location
    Germany
    Posts
    38
    Thanks
    11
    Thanked 1 Time in 1 Post
    Quote Originally Posted by blacktiger786 View Post
    sir i ahve problem i get vps install cento linux then i install ffmepg.exe and pack but my converter not working its file download successfully but not convert it
    check it
    http://mp3-from-youtube.org/
    Hi,

    ffmpeg.exe is only for Windows.

    Here is a HowTo for ffmpeg, ffmpeg-php and Multimedia Codec for CentOS

    http://www.crucialp.com/resources/tu...e-easy-way.php

    http://chrisjean.com/2009/01/13/inst...centos-easily/

    http://www.molengo.com/blog.article/...k-installieren
    Last edited by Luckyplaya; 10-01-2012 at 07:18 AM.

  10. #489
    New Coder
    Join Date
    Sep 2012
    Location
    Germany
    Posts
    38
    Thanks
    11
    Thanked 1 Time in 1 Post

    Lightbulb

    I had an idea for a later version.
    Users can adjust the volume itself.
    Some Youtube videos are very quiet because it would be beneficial that they can increase the volume.

  11. #490
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,748
    Thanks
    18
    Thanked 155 Times in 146 Posts
    Quote Originally Posted by Luckyplaya View Post
    I had an idea for a later version.
    Users can adjust the volume itself.
    Some Youtube videos are very quiet because it would be beneficial that they can increase the volume.
    It's a possibility. I could implement some kind of slider control for volume. The next time I push out a new version, I'll consider this suggestion as well as others.
    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. #491
    New Coder
    Join Date
    Jan 2012
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi. Is there a way to generate mp3 file and to host it to other server (not the server were work the script) with ftp ?

    Thanks !

  13. #492
    New Coder
    Join Date
    May 2012
    Posts
    54
    Thanks
    1
    Thanked 0 Times in 0 Posts
    hiw through this tutorial i install ffmpeg
    but when i star this command yum install php-gd php-devel
    its show No package php-gd available.
    No package php-devel available.

    please tell me whats command for install these packages
    thanks

  14. #493
    New to the CF scene
    Join Date
    Sep 2012
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by atanas View Post
    Hi. Is there a way to generate mp3 file and to host it to other server (not the server were work the script) with ftp ?

    Thanks !
    Can be done with cURL. Just goggle it
    If you use free version of the script, find "function GenerateMP3($audioQuality)" in YouTubeToMp3Converter.class.php and check out how it works

  15. #494
    New Coder
    Join Date
    Jan 2012
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hm. All day I search, but i can't find it.
    This is my end of exec_string
    Code:
    -y -acodec libmp3lame -ab 192k $new_name
    How to config this $new_name to locale the file to other server with sftp or ftp.

    Thanks !

  16. #495
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,748
    Thanks
    18
    Thanked 155 Times in 146 Posts
    Quote Originally Posted by atanas View Post
    Hm. All day I search, but i can't find it.
    This is my end of exec_string
    Code:
    -y -acodec libmp3lame -ab 192k $new_name
    How to config this $new_name to locale the file to other server with sftp or ftp.

    Thanks !
    It looks like you are trying to send ffmpeg output to another server directly via the ffmpeg command itself...I don't for sure if this is possible, but a quick Google search yielded the following:

    1) http://smorgasbork.com/component/con...-command-lines

    Excerpt from that link:

    ..we specify the output format as "rtp" with the -f option, and instead of a filename, we have a URL that indicates where ffmpeg should send the RTP packets.

    -f rtp rtp://127.0.0.1:9014
    That seems to imply that you can at least stream ffmpeg output to another server...If you can capture the stream on the receiving server (with ffmpeg as well?) and download it, then I suppose that might work...

    2) More on ffmpeg streaming:
    http://ffmpeg.org/trac/ffmpeg/wiki/StreamingGuide
    http://ffmpeg.org/ffserver.html

    3) Instead of trying to stream ffmpeg output directly to another server, you could also save the converted file to the server that executes the command, use PHP's FTP functions to upload the file to another server, and then delete the original converted file

    4) Similar to #3, you could use cURL to conduct the FTP transaction as well: http://www.web-development-blog.com/...load-via-curl/
    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!


 
Page 33 of 75 FirstFirst ... 23313233343543 ... LastLast

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
  •