]> git.cworth.org Git - apitrace/blobdiff - README.markdown
specs: GL_VERTEX_ATTRIB_ARRAY_INTEGER param is a boolean
[apitrace] / README.markdown
index 7545982e1110556bc9726aa53e261a8c4fdf4afd..03f9e886bd57b048abd1fbfa860ee97fa07d01b4 100644 (file)
@@ -277,6 +277,14 @@ You can make a video of the output by doing
     apitrace dump-images -o - application.trace \
     | ffmpeg -r 30 -f image2pipe -vcodec ppm -i pipe: -vcodec mpeg4 -y output.mp4
 
+Recording a video with gstreamer
+--------------------------------------
+
+You can make a video of the output with gstreamer by doing
+
+    glretrace --snapshot-format=RGB -s - smokinguns.trace | gst-launch-0.10 fdsrc blocksize=409600 ! queue \
+    ! videoparse format=rgb width=1920 height=1080 ! queue ! ffmpegcolorspace ! queue \
+    ! vaapiupload direct-rendering=0 ! queue ! vaapiencodeh264 ! filesink location=xxx.264
 
 Trimming a trace
 ----------------