[FFmpeg-devel] [PATCH] Add example transcoding.c
Michael Niedermayer
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.
>
> ---8<---
> ---
> 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
patch applied
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
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140317/77545c64/attachment.asc>
More information about the ffmpeg-devel
mailing list