Hello, I have a tube site script that converts the most common video formats to flv files.
The standard setting for the video bitrate is 800, making the video look very bad(u can easily count the pixels, just to give you an idea)..
Anyway increased this value, now it's 10000 and the videos still look bad, while the original video looks good.

The conversion paths are ok, and the converting works everytime, the result however... 🙁

Anyone knowing what I could try next?

    tablex,

    Without knowing what the script is it is impossible to help.

    Most of these tube sites will use a server-side software on a cloud to allow batch converting without affecting website performance.

    One thing to note: Its HIGHLY doubtful you're allowed to do this on a shared web host.. so if that's what you're on, you may want to reconsider where its being hosted, if not, all is well.

    Any script-based video conversion, would be PHP/Perl Based, and as it runs through an interpreter it may be why the quality is so poor. Again, any compiled application (written in C/C++, etc) would be much to your benefit.

    For cost effectiveness, you may want to look into an online video conversion service, there are many out there which allow you to upload via an API.

    This will save your server tons of bandwidth and may possibly be more cost effective.

    However - to answer your question, we would need to know what script you are using.

      it depends on what library your script is using to do the conversion. ffmpeg is one possibility and it has many many options you can specify. Unfortunately, there is probably no easy answer to this question as video conversions can involve a lot of trial and error to get something that looks good. At least that's been my experience.

        big.nerd;10942883 wrote:

        tablex,

        Without knowing what the script is it is impossible to help.

        Most of these tube sites will use a server-side software on a cloud to allow batch converting without affecting website performance.

        One thing to note: Its HIGHLY doubtful you're allowed to do this on a shared web host.. so if that's what you're on, you may want to reconsider where its being hosted, if not, all is well.

        Any script-based video conversion, would be PHP/Perl Based, and as it runs through an interpreter it may be why the quality is so poor. Again, any compiled application (written in C/C++, etc) would be much to your benefit.

        For cost effectiveness, you may want to look into an online video conversion service, there are many out there which allow you to upload via an API.

        This will save your server tons of bandwidth and may possibly be more cost effective.

        However - to answer your question, we would need to know what script you are using.

        sneakyimp;10942938 wrote:

        it depends on what library your script is using to do the conversion. ffmpeg is one possibility and it has many many options you can specify. Unfortunately, there is probably no easy answer to this question as video conversions can involve a lot of trial and error to get something that looks good. At least that's been my experience.

        Thanks for the help, the script I'm using is mediaxxx and use it as a tube site.

        It would be a good idea to do the converting at some other sites, however this means I'll have to upload the original file first, then download the new file and last upload it to my own site.
        Also the site is supposed to let other users upload their own videos as well, not everyone has a video in flv format or wants to convert it.

        Bandwidth and space isn't a problem for the site.

        The script uses the following programs in order to convert and play the videos: FFMPEG,MPLAYER,MENCODER and FLVTOOL2.

          Write a Reply...