Hi,
I am using customized write routine to handle output of encoder :

int write_packet( void* opaq, uint8_t* buffer, int buffer_size)
{
... do domething...
 ..remux into asf container
}

what is relation between the data written into "buffer" and AVPacket data type?

To be more specific: can I get pts from that data , like
(AVPacket*)buffer->pts , or
does the "buffer" correspond to AVPacket->data , buffer_size =
AVpacket->size and all other data is lost?

I have to re- mux data in "buffer" into different container format and
wonder how to obtain pts value....

Thanks,
-V
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to