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

Virgil Stokes virgil.stokes at it.uu.se
Sun May 15 21:15:24 CEST 2016

Ok Moritz,
How can I add a subtitle to only the first frame?
From: ffmpeg-user [ffmpeg-user-bounces at ffmpeg.org] on behalf of Moritz Barsnick [barsnick at gmx.net]
Sent: Sunday, May 15, 2016 19:02
To: FFmpeg user discussions
Subject: Re: [FFmpeg-user] Prepend a single frame to a MP4 file

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.

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

To unsubscribe, visit link above, or email
ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

More information about the ffmpeg-user mailing list