]> git.cworth.org Git - apitrace/blobdiff - README.markdown
Avoid pointless data structure copying.
[apitrace] / README.markdown
index 790407d4793c552f08e6acad961d2455ffee9ee6..e57d0b7ff69bbd98dfd7062e1153e3409fb8f53c 100644 (file)
@@ -126,9 +126,15 @@ to trace by using `glxtrace.so` as an ordinary `libGL.so` and injecting into
     export TRACE_LIBGL=/path/to/real/libGL.so.1
     /path/to/application
 
-See the 'ld.so' man page for more information about `LD_PRELOAD` and
+See the `ld.so` man page for more information about `LD_PRELOAD` and
 `LD_LIBRARY_PATH` environment flags.
 
+You can make a video of the output by doing
+
+    /path/to/glretrace -s - application.trace \
+    | ffmpeg -r 30 -f image2pipe -vcodec ppm -i pipe: -vcodec mpeg4 -y output.mp4
+
+
 
 Mac OS X
 --------
@@ -154,11 +160,11 @@ Windows
 
 * View the trace with
 
-        /path/to/tracedump application.trace
+        \path\to\tracedump application.trace
 
 * Replay the trace with
 
-        /path/to/glretrace application.trace
+        \path\to\glretrace application.trace
 
 
 Links