If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Enjoy an ad free experience by logging in. Not a member yet? Register.

the page can be opened but does nothing when converting. immediately comes an error downloading video!

php = 5.3

lg

Several things are unclear to me here:

1) Are you running Windows or Linux (or XAMPP)?
2) If you are running Linux, then your FFmpeg binary is in a (very) non-standard location. How and who installed FFmpeg for you, and are you perhaps using a standalone version of FFmpeg? If you type 'which ffmpeg' at the command line, what is the output? If you type 'ffmpeg' in the command line, what is the output?
3) You are using a combination of relative and absolute file paths to assign your constant values. Is there a reason for this? Perhaps you could try all relative paths or all absolute paths, instead of a mix of both?
4) Are you using the free or commercial version of the software? Both versions require the libmp3lame codec to be installed, and the paid-for version additionally requires libx264 and aac codecs.

In terms of troubleshooting, please try the following:

1) Please check that the _FFMPEG constant value in config.class.php points to the correct location of the FFmpeg binary on your Linux server.
2) Please ensure that all relevant directories and files are chmod to 0777
3) Please check your ‘videos’ directory. Are there video files in the directory? If so, are the video files playable? Are the videos fully downloaded? Are the videos 0 kb in length?
4) Please check your ‘logs’ directory for FFmpeg log files. Are there any log files in the directory? If so, please copy and paste the contents of a log file that corresponds to a failed conversion. (There should be errors in the log file.)

New version!

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

I have improved the auto-updating feature that automatically updates YouTube video signature decryption code as needed.

The code used to decipher encrypted YouTube video signatures has changed.

I have added support for the download and conversion of Vimeo (vimeo.com) videos

Please note the following:

With this release, the entire system for updating decryption code is automated. Up until now, the system was automated on your end, but I still had to manually update my server regularly with new decryption code whenever YouTube changed its encryption algorithm. This is no longer the case! Again, the auto-update feature is now completely automated and free of human intervention. (And I can spend my week nights relaxing instead of waiting for YouTube to change their encryption code several times a week! Hallelujah! )

This version of the auto-update feature should virtually eliminate any possible downtime when YouTube encryption changes.

UtilityFunctions.class.php has been removed from the distribution. It is no longer required. The software.xml file now contains (and combines) both software version and decryption algorithm data.

The old method of auto-updating the software and decrypting video signatures is deprecated, and it may stop working at any point in the near future. It is therefore imperative that you update your software ASAP to the newest version to keep your software working and converting encrypted videos!

The following files were changed/added:

VideoConverter.class.php updated

FixYouTubeDecryption() method changed

DecryptYouTubeCypher() method added

LegacyDecryptYouTubeCypher() method added

DecryptYouTubeCypher() is no longer a static method, so calls to it must be prefixed with $this-> instead of UtilityFunctions:: (see PrepareYouTubeDownloadLink() method)

fixed css width applied to video thumbnail preview image, so thumbnails for all video hosting sites are same size

css/styles.cssupdated

minor changes to 'p' and 'form p' selectors

The existing VideoConverter.class.php and software.xml files were modified, and UtilityFunctions.class.php has been removed. There should be no need to edit software.xml, and thus modifying this file is strongly discouraged.

VideoConverter.class.php experienced significant code revisions. If you have modified this file (from its default version), then you will likely need to use some kind of file content comparison utility to make the necessary changes.

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.

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!

In the commercial version, especially on CentOS/Red Hat systems, try substituting the '-vpre verfast' flag with '-preset veryfast' in the FFmpeg commands located in the $_convertedFileTypes array in config.class.php.

it's work -preset but you need not using ffmpeg when the people want convert to mp4 or flv or 3gp that's kill the server
bestregards

If the same video downloads without conversion on the demo site but doesn't on your site, then I'd guess that you need to lower the 'qualityTolerance' levels for the corresponding converted file types in the $_convertedFileTypes array in config.class.php. Also, the _ENABLE_DIRECT_DOWNLOAD constant in config.class.php needs to be set to true.

If that doesn't solve your problem, then I don't know what to tell you really. If it works on the demo site and it's working for other people, then it should work for you.

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

I have improved the "direct download" feature that allows downloading video file types without FFmpeg conversion.

I have programmed the code to automatically (and temporarily) lower the ‘qualityTolerance’ level for the requested file type IF (for a given site's video) there are no available-to-download video files on the site (of any file type) that are least ‘qualityTolerance’ quality.

The code continues to lower the ‘qualityTolerance’ level for the requested file type until at least one downloadable video file (of any file type) from the site is at least ‘qualityTolerance’ quality.

For example, a given YouTube video has only a 'sd' MP4 video and 'ld' FLV video available for download. ('sd' corresponds to standard definition, and 'ld' stands for low definition.) A visitor to your site has requested a MP4 version of the video, and you have set the 'qualityTolerance' level for MP4 to 'hq' (high quality) in your config.class.php file. Following the initial conversion request, the code sees that there are no 'hq' MP4 files available -- and, in fact, there are no 'hq' files of any file type available. So the 'qualityTolerance' level of 'hq' set for MP4 is automatically (and temporarily) decremented one level, and the code then looks for any available, downloadable files that are at least 'sd' quality. At this point, the code finds the 'sd' MP4 file that is available on YouTube, and proceeds to download this MP4 file without requiring additional FFmpeg conversion.

In a nutshell, this improvement to the "direct download" feature further reduces the possibility that a requested video file type will require FFmpeg conversion. Which, in turn, cuts down on your server's use of FFmpeg and ultimately lowers your system load averages.

I have introduced a new _ENABLE_UNICODE_SUPPORT constant in config.class.php. When set to true, this constant enables Unicode (i.e., foreign language) characters in file names and video titles. By default, the constant's value is set to false -- because some older operating systems (that your site visitors still use!) do not support Unicode characters.

The following files were changed/added:

VideoConverter.class.php updated

FilterVidUrlsForDownload() method changed

DownloadConvertedFile() method changed

RetrieveVidInfo() method changed

SetConvertedFileName() method changed

config.class.phpupdated

const _ENABLE_UNICODE_SUPPORT added

VideoConverter.class.php experienced significant code revisions. If you have modified this file (from its default version), then you will likely need to use some kind of file content comparison utility to make the necessary changes.

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!