[MPlayer-users] How to create a "neutral sequence" at the beginning of a video track ?

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Aug 8 18:47:55 CEST 2015


On Fri, Aug 07, 2015 at 07:13:54PM +0200, Dominik 'Rathann' Mierzejewski wrote:
> You could have such sequence stored in a separate file and compressed with
> a lossless codec and reencode it each time you need to append it to some new
> video file, matching the file's codec parameters.

Well, in the real world it's not unlikely that even if you match
the codec parameters exactly it's likely there will be some kind of
"break" between the two parts and a few less forgiving players
might stumble (e.g. DVD players might assume a fixed keyframe
interval which would break, or your new encode can't really know
the variable bitrate buffer state and thus might go above or below
the required bitrate - even if going below normally should not matter).
I guess the summary is: If you want a quick hack that mostly works,
you can likely script something.
If you want something that actually properly works, good luck,
I'm fairly sure the only way is a really significant expense in
either time, money or both.


More information about the MPlayer-users mailing list