{"node_id": "f3d8c4af-2f95-11f1-a8fe-e86a64d24d78", "revisions": [{"id": "f3d9ba56-2f95-11f1-9c37-e86a64d24d78", "node_id": "f3d8c4af-2f95-11f1-a8fe-e86a64d24d78", "user_id": "edc3f576-2f95-11f1-900f-e86a64d24d78", "author": "foxhop", "data": "Screen Recording with audio on Linux\r\n=========================================\r\n\r\nI use this command to record my screen and audio into webm format:\r\n\r\n.. code-block:: bash\r\n\r\n  gst-launch ximagesrc ! ffmpegcolorspace ! queue ! vp8enc quality=10 speed=2 ! mux. pulsesrc ! audio/x-raw-int ! queue ! audioconvert ! vorbisenc ! mux. webmmux name=mux ! filesink location=screencast2.webm\r\n\r\npython gstreamer binding example\r\n====================================\r\n\r\nAccess the webcam from python:\r\n\r\n.. code-block:: python\r\n\r\n import gst\r\n\r\n mypipeline = \"\"\"v4l2src ! ffmpegcolorspace ! queue ! vp8enc quality=10 speed=6 ! mux. pulsesrc !\r\n audio/x-raw-int ! queue ! audioconvert ! vorbisenc ! mux. webmmux name=mux ! filesink location=screencast2.webm\"\"\"\r\n\r\n # create pipeline object\r\n pipeline = gst.parse_launch(mypipeline)\r\n\r\n # start capturing video from webcam!\r\n pipeline.set_state(gst.STATE_PLAYING)\r\n\r\n # stop capturing video from webcam\r\n pipeline.set_state(gst.STATE_NULL)\r\n \r\n \r\n", "source_format": "rst", "revision_number": 3, "created": 1378392799000}, {"id": "f3d9b194-2f95-11f1-9168-e86a64d24d78", "node_id": "f3d8c4af-2f95-11f1-a8fe-e86a64d24d78", "user_id": "edc3f576-2f95-11f1-900f-e86a64d24d78", "author": "foxhop", "data": "Screen Recording with audio on Linux\r\n=========================================\r\n\r\nI use this command to record my screen and audio into webm format:\r\n\r\n.. code-block:: bash\r\n\r\n  gst-launch ximagesrc ! ffmpegcolorspace ! queue ! vp8enc quality=10 speed=2 ! mux. pulsesrc ! audio/x-raw-int ! queue ! audioconvert ! vorbisenc ! mux. webmmux name=mux ! filesink location=screencast2.webm\r\n\r\npython gstreamer binding example\r\n====================================\r\n\r\nAccess the webcam from python:\r\n\r\n.. code-block:: python\r\n\r\n import gst\r\n\r\n mypipeline = \"\"\"v4l2src ! ffmpegcolorspace ! queue ! vp8enc quality=10 speed=4 ! mux. pulsesrc !\r\n audio/x-raw-int ! queue ! audioconvert ! vorbisenc ! mux. webmmux name=mux ! filesink location=screencast2.webm\"\"\"\r\n\r\n # create pipeline object\r\n pipeline = gst.parse_launch(mypipeline)\r\n\r\n # start capturing video from webcam!\r\n pipeline.set_state(gst.STATE_PLAYING)\r\n\r\n # stop capturing video from webcam\r\n pipeline.set_state(gst.STATE_NULL)\r\n \r\n \r\n", "source_format": "rst", "revision_number": 2, "created": 1378390589000}, {"id": "f3d9a451-2f95-11f1-aa14-e86a64d24d78", "node_id": "f3d8c4af-2f95-11f1-a8fe-e86a64d24d78", "user_id": "edc3f576-2f95-11f1-900f-e86a64d24d78", "author": "foxhop", "data": "Screen Recording with audio on Linux\r\n=========================================\r\n\r\nI use this command to record my screen and audio into webm format:\r\n\r\n.. code-block:: bash\r\n\r\n  gst-launch ximagesrc ! ffmpegcolorspace ! queue ! vp8enc quality=10 speed=2 ! mux. pulsesrc ! audio/x-raw-int ! queue ! audioconvert ! vorbisenc ! mux. webmmux name=mux ! filesink location=screencast2.webm", "source_format": "rst", "revision_number": 1, "created": 1378376480000}], "count": 3}