[FFmpeg-devel] Preview video and start recording with exact same stream settings

Lou Logan lou at lrcd.com
Tue Dec 31 03:11:33 EET 2019

On Mon, Dec 30, 2019, at 3:18 PM, Audric Ackermann wrote:
> Hi,
> I think I already know the answer but I want to play UDP stream (h264 &
> klv) in an android app, and be able to toggle a "recording button" to save
> the data as a file with the exact same input parameters than what is sent
> to be.
> The only way to do this is  to decode the whole frame (display it) and
> reencode it when the button is pressed, right?
> Because of the h264 I am not sure when the button is pressed I have a
> keyframe already, so there is no other way than doing this way?
> Thanks for this clarification,
> Audric

This is the ffmpeg-devel mailing list which is for patch submissions.

User help for the ffmpeg cli tools is at ffmpeg-user, and for help using the
libraries see libav-user.

More information about the ffmpeg-devel mailing list