[FFmpeg-devel] [PATCH] Add example transcoding.c
michaelni at gmx.at
Mon Mar 17 21:02:48 CET 2014
On Sun, Mar 09, 2014 at 02:20:41AM +0200, Andrey Utkin wrote:
> The reason of last problem was an unrecognized stream: dvd_nav_packet has been muxed into AVI, but ffmpeg cannot recognize the resulting stream. ffmpeg CLI util behaves exactly the same way regarding this.
> Two solutions are possible for this: skip such unrecognized elementary stream, and make up a input stream index to output stream index mapping, or just refuse to function in such case. I have chosen the latter as it is the simplest.
> configure | 2 +
> doc/Makefile | 1 +
> doc/examples/Makefile | 1 +
> doc/examples/transcoding.c | 597 +++++++++++++++++++++++++++++++++++++++++++++
> 4 files changed, 601 insertions(+)
> create mode 100644 doc/examples/transcoding.c
can you add a regression test using this code too ?
(will need CODEC_FLAG_BITEXACT)
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Avoid a single point of failure, be that a person or equipment.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel