[FFmpeg-user] Slicing a 4K video to images and then encoding them back using the same codec

Kieran O Leary kieran.o.leary at gmail.com
Wed Oct 14 21:25:53 CEST 2015

On 14 Oct 2015 18:50, "Liran Sharoni" <Liran.Sharoni at sandisk.com> wrote:
> Hi,
> I am trying to slice a 4K video losslessly to frames , draw numbers on
every frame(used matlab) and then recombine all the frames to create a
nearly identical video.
> Is it possible in ffmpeg , and how?
> Thanks,
> Liran

Do you have to turn your video into an image sequence for a specific
reason? You should be able to use the drawtext filter to add text to your
image. You should choose a lossless codec such as ffv1 in order to preserve
the quality of your original video, minus your superimposed image.

It might help if you post whatever attempts you've tried thus far with the
full uncut console output.



More information about the ffmpeg-user mailing list