On Mon, Oct 4, 2010 at 5:36 PM, Kulti <[email protected]> wrote: > Hi, all. > > I've try to transcode mjpeg to flv. I used two input streams for test. You > can download their from http://rapidshare.com/files/423062773/input.mjpegand > http://rapidshare.com/files/423063306/input2.mjpeg > When I transcode first test-stream I've received black-and-white video on > output(http://rapidshare.com/files/423063800/output.flv), but with second > test-stream all's OK. > > Can you help me, with tunning of AVCodecContext? At now I've used code, > based on output_example and no more any options. >
Wow! I found root cause. It's happened because first test stream have pixel format YUVJ422P, second - YUVJ420P, and flv support only YUV420P, but I'm not convert from one to other. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
