Am 10.10.2011 19:22, schrieb c:
On 10/10/2011 09:45 AM, Steffen Ebersbach wrote:
Am 9.10.2011 16:46, schrieb Veysel Macit:
Hi every developer,

i need length of packet for detect scene changing is it possiable to get lengt of packets(i-p-b) in data before decoded?
Thanks...
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

After reading a packet from the input stream the return value of the function is the length of the packet of the encoded content.

Steffen
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user
which function you meant exactly?
Thanks...
Veysel
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user



The function I mean is "av_read_packet" , but im wrong, the return value isn't the packetsize , but in the av_packet structure a field called "size" exists, which are the number of bytes of the decoded frame.


Steffen
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to