[FFmpeg-user] Prepend a single frame to a MP4 file

Moritz Barsnick barsnick at gmx.net
Sun May 15 19:02:34 CEST 2016


On Sun, May 15, 2016 at 17:07:20 +0200, Virgil Stokes wrote:
> How can one prepend a single frame to an existing MP4 file downloaded from 
> YouTube? The purpose of this new "first frame" is to add some identification 
> information (text) to the MP4.

I don't like doubting people's goals, BUT:
A single frame wouldn't be very visible, would it? Since you would need
to use some form of concatenation (that's the key word to search for),
you would need to reencode the whole video just for the sake of the one
extra frame.

Perhaps adding metadata or subtitles would be a better alternative for
you? Both can be added without reencoding the video.

Cheers,
Moritz


More information about the ffmpeg-user mailing list