[Libav-user] Packet extra side data is not received

Nicolas George george at nsup.org
Thu Apr 9 01:19:59 EEST 2020


Mohamed Fouad (12020-04-09):
>  av_packet_add_side_data(&pkt, AV_PKT_DATA_NEW_EXTRADATA,(uint8_t*)
> value, size);

> Input #0, matroska,webm, from 'tcp://192.168.100.86:8090':
>   Metadata:
>     ENCODER         : Lavf58.20.100
>   Duration: N/A, bitrate: N/A
>     Stream #0:0: Video: h264, none, 640x480, 1k tbn (default)

> But i'm not receiving any side data?

Side data is not arbitrary data attached to a packet, it is a signal to
do something special in the muxer. The Matroska muxer only uses
NEW_EXTRADATA for a few codecs, not including H.264. And it would not be
demuxed as side data anyway.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20200409/a2ca9fb3/attachment.sig>


More information about the Libav-user mailing list