Results 1 to 5 of 5

Thread: I need more quality video - HELP ME

  1. #1
    Join Date
    Dec 2008
    Posts
    6

    Default I need more quality video - HELP ME

    Hi

    Se my video_conversion.php


    <?php
    $cmd_ffmpeg = "$config[ffmpeg] -i '$video_src' -acodec libmp3lame -ar 22050 -ab 32 -f flv $video_flv";

    # For old version of mplayer
    # $cmd_mencoder = "$config[mencoder] '$video_src' -o $video_flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=800:mbd=2:mv0:trell:v4mv:cbp:l ast_pred=3 -srate 22050 -lavfopts i_certify_that_my_video_stream_does_not_use_b_fram es";

    # For latest version of mplayer
    $cmd_mencoder = "$config[mencoder] '$video_src' -o $video_flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=800:mbd=2:mv0:trell:v4mv:cbp:l ast_pred=3 -srate 22050 -ofps 25 -vf harddup";

    $cmd_all = $cmd_mencoder;

    $convert_3gp = $cmd_all;
    $convert_mp4 = $cmd_all;
    $convert_mov = $cmd_all;
    $convert_asf = $cmd_all;
    $convert_mpg = $cmd_all;
    $convert_avi = $cmd_all;
    $convert_mpeg = $cmd_all;
    $convert_wmv = $cmd_all;
    $convert_rm = $cmd_all;
    $convert_dat = $cmd_all;


    Please help me this
    I need more quality
    Regards

  2. #2
    Join Date
    May 2007
    Posts
    394

    Default Re: I need more quality video - HELP ME

    Change this:
    Code:
    -ofps 25

    To this:
    Code:
    -ofps 29.97
    Makes the framerate higher more compatible with the videos you're likely converting. Should make a big difference - although this is the North American video standard (NTSC) not the European (PAL).

  3. #3
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: I need more quality video - HELP ME

    I don't think that changing the frame rate would lead to better quality for flash video. More than likely, the encoding would get faster, however. The only way to get more quality out of flash is to raise your encoding rate (vbitrate=800 to vbitrate=1200, for example). This will, however, result in much larger files and will require your visitors to have to have internet connections of at least 1.5Mb to view your videos without stuttering all of the time. Also, note that vShare does not encode (well, re-encode) FLV files so if you upload an FLV, it will be at whatever quality it was when you uploaded it.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  4. #4
    Join Date
    May 2007
    Posts
    394

    Default Re: I need more quality video - HELP ME

    Well, maybe it was my imagination, but it seems a lot better to me encoding at NTSC than at PAL - maybe because all my originals were ntsc. Or maybe it's sunspots.

  5. #5
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: I need more quality video - HELP ME

    Don't get me wrong, the encoding is better at the native frame rate (as you are not having to drop and rsync frames). However, it's not a major improvement... At least not technically.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

Similar Threads

  1. HD, Video Quality, and vShare - What You Really Need To Know
    By bplex in forum General Discussions
    Replies: 6
    Last Post: 06-06-2011, 11:14 PM
  2. Video Quality
    By Jimmii in forum Installation Support
    Replies: 17
    Last Post: 01-01-2009, 04:58 AM
  3. ffmpeg video quality
    By mersh in forum Frequently Asked Questions
    Replies: 3
    Last Post: 03-01-2008, 04:31 PM
  4. Video Quality
    By ryce889 in forum Installation Support
    Replies: 5
    Last Post: 09-19-2007, 10:53 PM
  5. Video Quality
    By dlewis23 in forum Sales Questions
    Replies: 7
    Last Post: 06-23-2007, 02:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •