Hi,
You can change video convert command.
vshare -> include -> settings ->video_conversion.php
Thanks,
Buyscripts Team.
Hi,
You can change video convert command.
vshare -> include -> settings ->video_conversion.php
Thanks,
Buyscripts Team.
What values do i change so that videos uploaded will be 100% same quality of the local files?PHP Code:
<?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=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -srate 22050 -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames";
# 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=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -srate 22050 -ofps 24 -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;
There is absolutely no way to convert a video and retain 100% of the quality. I did a post a few years back explaining the reason why this is the case. But, in a nutshell, video codecs such as MPEG, Flash, etc., are lossy formats. This means that every time you convert a video, there will be quality loss. Flash is a very poor retainer of video quality (even at high bit rates such as what you set). Most popular sites that wish to better maintain quality use H.264, which is still a lossy format, but has the ability to retain video quality much better at much smaller bit rates (which is partly the reason why H.264 is used for HD video on just about every website and even on Blu-ray discs). If you are really concerned about maintaining a quality level that is as close to the original source video as possible, you may want to consider using H.264 instead of flash.
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!
How do I switch flash for H.264?
I also would like to know how to set it for H.264, please.
Bookmarks