Re: [FFmpeg-devel] [PATCH] [WIP] avcodec/videotoolbox: add Annex B support

2015-10-01 Thread wm4
On Thu, 1 Oct 2015 07:33:40 + (UTC) Carl Eugen Hoyos wrote: > wm4 googlemail.com> writes: > > > a) move ff_isom_write_avcc() to libavcodec, and use it as avpriv_ > >from libavformat > > What's the disadvantage? avpriv functions should be avoided. __

Re: [FFmpeg-devel] [PATCH] [WIP] avcodec/videotoolbox: add Annex B support

2015-10-01 Thread Carl Eugen Hoyos
wm4 googlemail.com> writes: > a) move ff_isom_write_avcc() to libavcodec, and use it as avpriv_ >from libavformat What's the disadvantage? Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-

[FFmpeg-devel] [PATCH] [WIP] avcodec/videotoolbox: add Annex B support

2015-09-30 Thread wm4
This adds support for decoding .ts files demuxed by libavformat and such. The problem is that the VideoToolbox API wants mp4-style data for input, but the extradata used to initialize the decoder was still in Annex B format. It has to be reformatted to mp4-style data. Fortunately, libavformat alr