[FFmpeg-user] video to image seq. back to video - keep same length

Damon Edwards dzedward at gmail.com
Mon Apr 23 17:21:29 CEST 2012


Sorry:

*to image sequence:*
ffmpeg -i ' . $video_dir . $filename . '.mp4 -sameq ' . $image_dir .
'/%11d.jpg

*apply filters to images via PHP here*

*back to video:*
ffmpeg -f image2 -i ' . $image_dir . '/%11d-' . $filter . '.jpg -vcodec
libx264 -b ' . $bitrate . ' -r ' . $framerate . ' -vpre lossless_fast ' .
$video_dir . $filename . '-' . $unique . '-' . $filter . '.mp4

I execute this via PHP exec().

On Mon, Apr 23, 2012 at 7:43 AM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> Damon Edwards <dzedward <at> gmail.com> writes:
>
> > I have a process that spits out an image sequence then recompiles that
> into
> > a video, but it's always a little longer - 30 second video comes back as
> 36
> > seconds.
>
> Command lines and complete, uncut console output missing.
>
> Carl Eugen
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>



-- 
Damon Edwards
gplus.to/damonedwards


More information about the ffmpeg-user mailing list