[FFmpeg-user] Split a video file in two by size and merge it back

Julien Dotsev j.docev at gmail.com
Thu Oct 17 04:08:54 EEST 2019

Hi Carl,
By size i mean by bits and by the same i mean identical. Exactly as it was
I can do this programmatically by splitting a file into bits. Than when I
merge it back it will be exactly as the original one. The problem is that I
want to be able to visualize every part. And by this kind of splitting a
video player won't play them.


On Thu, 17 Oct 2019, 02:58 Carl Zwanzig, <cpz at tuunq.com> wrote:

> On 10/16/2019 5:10 PM, Julien Dotsev wrote:
> > Is it possible to split a video in two by size and merge it back to the
> > original file? Can that merged file be exactly the same as the original
> one?
> By size? Is that half the number of seconds, of v or a frames, packets, or
> bytes?
> Split how? Does that mean using ffmpeg or an editor to take the the first
> n
> seconds/frames and the remainder or using a low-level took to take the
> first
> n BYTES and the remainder? In the latter, the second file probably won't
> be
> playable.
> What is "the same"?
> If you mean bit-for-bit the same, highly unlikely. If you mean having the
> same content, then possibly (depending on codecs, split point, and
> probably
> other factors).
> In other words, please expand on the question.
> Later,
> z!
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

More information about the ffmpeg-user mailing list