Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

compression - Reducing video size with same format and reducing frame size -


this question might basic

is there way reduce frame size/rate of lossy compressed (wmv, mpeg) format, smaller video, of lesser size, same format.

are there open source or proprietary apis this?

ffmpeg provides functionality. need run someting like

ffmpeg -i <inputfilename> -s 640x480 -b 512k -vcodec mpeg1video -acodec copy <outputfilename> 

for newer versions of ffmpeg need change -b -b:v:

ffmpeg -i <inputfilename> -s 640x480 -b:v 512k -vcodec mpeg1video -acodec copy <outputfilename> 

to convert input video file video size of 640 x 480 , bitrate of 512 kilobits/sec using mpeg 1 video codec , copying original audio stream. of course, can plug in values need , play around size , bitrate achieve quality/size tradeoff looking for. there ton of other options described in documentation

run ffmpeg -formats or ffmpeg -codecs list of of available formats , codecs. if don't have target specific codec final output, can achieve better compression ratios minimal quality loss using state of art codec h.264.


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -