On Fri, Apr 17, 2020 at 4:37 PM James Almer <jamr...@gmail.com> wrote:
>
> The movenc test does not produce any files. It creates bogus packets
> that are dumped into the AVOutputFormat output using a custom
> AVIOContext on each stream that just calculates an md5 hash of the data.
>
> I think the one line change i posted is enough to reproduce the changes,
> and we don't need the patch author to essentially rewrite the movenc
> test just to dump everything into a file we can pass to ffprobe that may
> or may not be parseable to begin with.

You can give the test the parameter 'w' for writing files or 'h' for
help (it's calling getopt so I think this is `-w` and `-h`).

I think the test itself by default just doing memory I/O and
calculating the md5 is not a bad idea. Just means you have to re-run
it manually to get actual output files. Also it is one of the few
API-based tests that we have around.

For output files, you can check the diff with something like L-SMASH's
boxdumper with the `--box` parameter, which dumps the box structure of
the file. Then you can diff those two outputs from before/after.

Best regards,
Jan
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to