<div dir="ltr"><div>Hello,</div><div>In the old versions of the ffmpeg source code, there was a nice example showing how to create a video file from scratch, setting the most important variables of its components.</div><div>This is it:<br></div><div><a href="https://github.com/rvs/ffmpeg/blob/master/libavformat/output-example.c">https://github.com/rvs/ffmpeg/blob/master/libavformat/output-example.c</a></div><div><br></div><div>I just wonder if there is an updated version of it or some other reference I can use to create a video file using the same logic but calling the latest API methods, as much of them in the old example are already deprecated.</div><div><br></div><div>I have seen some comments in the documentation suggesting things like: "instead use this...", but the truth is the information is really vague. A working example as the one I referenced would be a great pedagogic tool. <br></div><div><br></div><div>Most of the "recent" examples take the parameters from an incoming (pre-existing) input file to run some kind of "operation" into an output file, but what if I want to create a video file from scratch? (i.e. from an image sequence)<br></div><div><br></div><div>Any advice/hint would be really appreciated. Thanks.<br></div><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>--<br>  Gustav Gonzalez<br>  <a href="mailto:xtingray@gmail.com" target="_blank">xtingray@gmail.com</a><br><br></div></div></div></div>