Jump to content

H264 Analysis Tools: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 12: Line 12:


<pre>
<pre>
ffprobe -v trace -show_frames test.h264
ffprobe -v trace -show_frames file.h264
</pre>
</pre>


Line 90: Line 90:


<pre>
<pre>
ffmpeg -i test.h264 -c copy -bsf:v trace_headers -f null -
ffmpeg -i file.h264 -c copy -bsf:v trace_headers -f null -
</pre>
</pre>


Line 138: Line 138:
[trace_headers @ 0x7f81a8416d00] Packet: 589 bytes, no pts, dts 207998, duration 40000.
[trace_headers @ 0x7f81a8416d00] Packet: 589 bytes, no pts, dts 207998, duration 40000.
</pre>
</pre>
== Plot Frame Type and Size ==
The following command will plot the frame size and type vs time.
<pre>
plotframes -I file.h264
</pre>
Sample output:
[[File:Plotframes.png|frameless|center|Sample output of the plotframes command.]]
Cookies help us deliver our services. By using our services, you agree to our use of cookies.