On Sun, Nov 26, 2017 at 05:51:02PM -0300, James Almer wrote:
> Postpone writing the header until the first output packet is ready to be
> written.
> This makes sure any stream parameter change that could take place while
> processing an input frame will be taken into account when writing the
> output file header.
> Signed-off-by: James Almer <jamr...@gmail.com>
> ---
>  fftools/ffmpeg.c | 31 ++++++++++++++++++++++++++-----
>  fftools/ffmpeg.h |  3 +++
>  2 files changed, 29 insertions(+), 5 deletions(-)

This changes (generates a file before, does not afterwards)
./ffmpeg  -i ~/tickets/5114/test_case.ivf -an -y test.mp4

ill see if i can find a failure that is more clear, as this one
arguable doesnt produce a very usefull file

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you fake or manipulate statistics in a paper in physics you will never
get a job again.
If you fake or manipulate statistics in a paper in medicin you will get
a job for life at the pharma industry.

Attachment: signature.asc
Description: Digital signature

ffmpeg-devel mailing list

Reply via email to