Igor R <boost.li...@...> writes: > > > Please correct me if I'm wrong, but I don't believe that's possible. > > I'm also decoding MP4's, and I haven't found a way to get around using a call to sws_scale() or the > deprecated img_convert to convert the images. > > I'm not sure I got you right - do you successfully use > avcodec_decode_video2() + sws_scale() to get RGB? Is it capable of > converting to various RGB formats (32, 24, 16 bits)? > Actually, I'm moving to ffmpeg from xvidcore, in order to get portable > optimized decoding that would work fast both on Win32 and on iPhone > (there's no xvidcore optimized for ARM). So the question is whether > avcodec_decode_video2() + sws_scale() will be faster, than xvidcore > decoding directly to RGB. >
just follow the path (debug) how this command does it: ffmpeg -i somevideo.somesupportedformat -vcodec rawvideo -pix_fmt rgba -f rawvideo somevideo.raw _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
