X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;ds=sidebyside;f=README.markdown;h=c6eced574d28e416c727f8818a09c2d202fc10a3;hb=fde03adeadfe1d34e82c79b08be94df8e597185e;hp=e22527eba848df7aa4379740b06d98ec0b002b89;hpb=a4cc74563f9b403fe480613ceaf8525b283270df;p=apitrace diff --git a/README.markdown b/README.markdown index e22527e..c6eced5 100644 --- a/README.markdown +++ b/README.markdown @@ -269,10 +269,15 @@ This works only on Unices, and it will truncate the traces due to performance limitations. -Recording a video with FFmpeg ------------------------------ +Recording a video with FFmpeg/Libav +----------------------------------- -You can make a video of the output by doing +You can make a video of the output with FFmpeg by doing + + apitrace dump-images -o - application.trace \ + | ffmpeg -r 30 -f image2pipe -vcodec ppm -i pipe: -vcodec mpeg4 -y output.mp4 + +or Libav (which replaces FFmpeg on recent Debian/Ubuntu distros) doing apitrace dump-images -o - application.trace \ | avconv -r 30 -f image2pipe -vcodec ppm -i - -vcodec mpeg4 -y output.mp4