[FFmpeg-devel] [PATCH 1/3] ffmpeg: use avformat_init_output to initialize output files
michael at niedermayer.cc
Mon Nov 27 23:25:05 EET 2017
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
> 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 <jamrial at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 181 bytes
Desc: Digital signature
More information about the ffmpeg-devel