On Thu, 17 Apr 2014 10:50:29 -0400 "Peter Stevens" <[email protected]> wrote:
> When video is decoded using avcodec_decode_video2 is there an > intermediate/internal pixel format that is converted to by default? or > is it kept in the original source pixel format? I ask as I need Normally, the decoder outputs the format that's most convenient and fastest to output. Maybe some fringe codecs are handled less efficiently, though. > transcode to one raw format as fast as possible and the overhead of > sws_scale is becoming a problem. Depending in what the source/target formats are, and if you don't need scaling, writing your own conversion routines instead of using libswscale might be faster. libswscale's architecture can make some conversions pretty slow. _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
