today i got 1 request from one of my client.
He wants to change color pattern of his video. He wants to convert his colorful video into "black & white", "sepia" , etc.,
Is it possible using javascript or PHP [PHP using any server software].
Thanks
It depends on many factors:
canvas
tagyou can find several tutorials for video processing using JS (eg:http://html5doctor.com/video-canvas-magic/)
for php (if you are using linux):
<?php exec('/usr/bin/env ffmpeg -i input_video.mp4 -vf "hue=s=0" bw_video.mp4'); ?>
It may take a long time (maybe more than max_execution_time), it may not work on shared hosting...
If you don't care about the job is finished or not (and avoid max_execution_time problem):
<?php exec('2>/dev/null 1>/dev/null /usr/bin/env ffmpeg -i input_video.mp4 -vf "hue=s=0" bw_video.mp4 &'); ?>