On Sun, Dec 12, 2010 at 2:48 AM, Nicolas George <[email protected]> wrote: > The QuickTime muxer is not a RAWPICTURE muxer.
This isn't true. I already have it working. Some avformat versions may have disabled rawvideo writing with pix_fmt uyvy422, but that's only because the codec tag on QuickTime is 2vuy and not UYVY. Maybe this is already fixed. > Read the code: > > pkt.data= (uint8_t *)picture; > pkt.size= sizeof(AVPicture); > > Maybe it would be more obvious that way (which is equivalent): > > pkt.data= (uint8_t *)picture; > pkt.size= sizeof(picture); Yes, I'm aware. Thanks. Well, I think my question is answered -- I'll just do it how I suggested in my first email. In fact, I don't even have to use AVFrame / AVPicture structs at all, because I don't have to rely on a compression result to know the pkt.size. With raw video, it is always the same so I can just use the result from avpicture_get_size(). That's how I have it working now and it seems fine. Thanks for your help. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
