I am developing thumbnail extractor with ff- series(means ffmpeg, ffplay, ffprobe).
I need to know the location of frames, so I use a command like below which I found another posting in stackoverflow.
ffprobe -show_frames -select_streams v -print_format json=c=1 0001.wmv
Actually it works nice and makes a file with lots of information of packet.
The output file like below.
"frames": [
{ "media_type": "video", "key_frame": 1, "pkt_pts": 900000, "pkt_pts_time": "10.000000", "pkt_dts": 900000, "pkt_dts_time": "10.000000", "pkt_duration": 3003, "pkt_duration_time": "0.033367", "pkt_pos": "453", "pkt_size": "9744", "width": 720, "height": 480, "pix_fmt": "yuv420p", "sample_aspect_ratio": "8:9", "pict_type": "I", "coded_picture_number": 0, "display_picture_number": 0, "interlaced_frame": 0, "top_field_first": 0, "repeat_pict": 0 },...
There is a column named "pkt_size", which I assume that size of packet.
It displays some numbers in, but no information of units.
I wonder that unit is 'byte' or 'bit'.
If somebody has some information of this, Tell me.
Thanks.