[Libav-user] Fwd: Help, Transcoding video

Carl Eugen Hoyos ceffmpeg at gmail.com
Thu Jan 24 14:18:30 EET 2019

2019-01-24 12:05 GMT+01:00, NDJORE BORIS <ndjoreboris at gmail.com>:

> As Carl said, I see that in the transcodig.c example the coder is
> initialised in the function open_output_file()
> and this function is called juste after the open_input_file() in te main.
> Then something is not clear in my mind. I want to know where the codec
> which is initialised
> in the open_output_file() function is called exactly in the main? Is it
> where the open_output_file()
> funtion is called or somewhere in the while(1)  loop. If it is in the the
> while() loop, can someone help
> me to enderstand when and where exactly please?

main() calls filter_encode_write_frame() which calls encode_write_frame().

Before asking another question, find out what top-posting means
and don't do it here!

Carl Eugen

More information about the Libav-user mailing list