I forgot. I expect the raw data to be my encoded mpeg4 video frame, but it seems this is not so. So if this is the case then my question would be how do I get my mpeg4 video frame from opkt (AVPacket) ?
Thanks On Thu, May 7, 2009 at 5:51 PM, Alejandro Oyarbide < [email protected]> wrote: > Hello, > > I'm new to the API so please forgive any amateur questions: > > I tryed to dump the packet I pass to a binary file in order to do some > tests on the received video. > > typedef struct AVPacket { > int64_t pts; > int64_t dts; > uint8_t *data; > int size; > int stream_index; > int flags; > int duration; > void (*destruct)(struct AVPacket *) > void *priv; > int64_t pos; > } AVPacket; > > I based on the structure above and the packets I passed to > av_interleaved_write_frame were copied considering size and data assuming > this was pure VIDEO info. > > But aparently this is not the case. > > My question is how to get the VIDEO raw data from a particular AVPacket. > > Regards. > _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
