Pages

Showing posts with label Conversion. Show all posts
Showing posts with label Conversion. Show all posts

Sunday, August 18, 2013

Best FLV conversion parameters from ffmpeg

Recently while developing one of my projects We were using Hit and Try to get best output from ffmpeg to convert to a flv.

when one of my co-developers finally came out with following command

exec ("/usr/bin/ffmpeg -qscale 4 -i" old_video_loc new_video_loc);

Thanks Hitesh for efforts

Tuesday, July 3, 2012

Date Conversion using PHP using DateTime object

$duedate=Datetime::CreateFromFormat('d-m-y',$this->data['Payment']['duedate']);

$converted_due_date=$duedate->format('Y-m-d);