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

Liran Sharoni Liran.Sharoni at sandisk.com
Wed Oct 21 22:08:59 CEST 2015

Forget what mediainfo I posted , I am a new user and I am asking for advice:
How can I re-encode a video after changing it while keeping it as identical as possible?

I guess I need help evaluating the parameters for " identical" so I am consulting with you guys :
I want to keep the timestamps , quality and the file-type
Is there  anything else I am forgetting  ?

-----Original Message-----
From: ffmpeg-user [mailto:ffmpeg-user-bounces at ffmpeg.org] On Behalf Of Moritz Barsnick
Sent: Monday, October 19, 2015 12:40 PM
To: FFmpeg user discussions
Subject: Re: [FFmpeg-user] Slicing a 4K video to images and then encoding them back using the same codec

On Sun, Oct 18, 2015 at 11:46:34 +0000, Liran Sharoni wrote:
> I don’t have 2 files, I have only 1 movie , and thats it.

You do: You posted mediainfo info for two files (the input and the output), and I requested you provide that with ffmpeg.

> When I mean "nearly identical" I mean EVERYTHING = contaminate the
> video as little as possible ( besides the superimposed numbers)

That is a question of encoding quality settings, not solely of codec parameters.

> Instead of following the parameters Data-rate (constant\variable and
> quantity), Frame-rate(constant\variable and quantity) etc. I want a
> method to keep the previous encoding parameters of the video ( the
> original non-numbered one).

Data rate and frame rate are also encoding parameters.

Why do you want to keep as many parameters of the original video as possible?

> If a suggestion like Kieran would work with "-vcodec copy" I'd be a
> happy man , but this isn't the case , because I get an error ( for
> applying a filter)

Yes, that is a user error. You cannot change the contents of the video while copying, those are two totally different concepts. In other
words: Copying a video stream implies _not_ changing it at all.

ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org


PLEASE NOTE: The information contained in this electronic mail message is intended only for the use of the designated recipient(s) named above. If the reader of this message is not the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify the sender by telephone or e-mail (as shown above) immediately and destroy any and all copies of this message in your possession (whether hard copies or electronically stored copies).

More information about the ffmpeg-user mailing list