Closed dericed closed 7 years ago
priorities to add
frame/@stream_index (used to relate/group frames to stream [significant when there's multiple streams of one stream_type])
frame/@pkt_pos
frame/@pkt_size
frame/@pix_fmt
frame/@pict_type
closing though i may add another ticket to add stream and format data to the qctools report.
The output of QCTools for a 2 frame sample (made via
ffmpeg -f lavfi -i mandelbrot -f lavfi -i sine -pix_fmt yuv420p -vframes 1 -c:v ffv1 sample.mkv
) looks likebut the output of ffprobe via
ffprobe -f lavfi -i "movie=sample.mkv:s=v+a[in0][in1],[in0]signalstats=stat=tout+vrep+brng,cropdetect=reset=1,split[a][b];[a]field=top[a1];[b]field=bottom[b1],[a1][b1]psnr[out0];[in1]ebur128=metadata=1[out1]" -show_frames -show_versions -of xml=x=1:q=1 -noprivate > output.xml
looks like:The qctools frame node looks like
<frame media_type="video" key_frame="1" pkt_pts_time="0.0060000" pkt_duration_time="0.0400000" width="640" height="480">
and ffprobe frame node looks like<frame media_type="video" stream_index="0" key_frame="1" pkt_pts="6" pkt_pts_time="0.006000" pkt_dts="6" pkt_dts_time="0.006000" best_effort_timestamp="6" best_effort_timestamp_time="0.006000" pkt_pos="1359" pkt_size="230400" width="640" height="240" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="I" coded_picture_number="0" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0">
I propose supplementing the qctools output to look more like the ffprobe output. Some of the additional values of ffprobe, such as
pkt_size
may be worth plotting as well.