Hello,
I have been able to get accurate bitrate stats by using the
OutputStream's data_size structure in the print_report method.
total_size += ost->data_size; // For enc->codec_type
AVMEDIA_TYPE_VIDEO and AVMEDIA_TYPE_AUDIO.
Progress reports now have valid size and bitrate for non-seekable
medi
Hello,
It appears that the progress information is more valid for 'seek'able
media. But for live capture/encode, the frame_size and bitrate values
are not valid. If there was access to the AVPacket structure or frame
data at the time of sending the progress, we may have had reliable
size and bitra
Thanks for your suggestion on the use of progress. This is definitely
a user question. Though some further questions are:
frame=4866
fps=24.1
stream_0_0_q=32.0
bitrate=N/A
total_size=N/A
out_time_ms=202688000
out_time=00:03:22.688000
dup_frames=0
drop_frames=0
speed= 1x
progress=continue
There
Thanks for your suggestion on the use of progress. This is definitely
a user question. Though some further questions are:
frame=4866
fps=24.1
stream_0_0_q=32.0
bitrate=N/A
total_size=N/A
out_time_ms=202688000
out_time=00:03:22.688000
dup_frames=0
drop_frames=0
speed= 1x
progress=continue
There