<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.geekworm.com/index.php?action=history&amp;feed=atom&amp;title=CSI_Audio_Video_capturing_using_GStreamer</id>
	<title>CSI Audio Video capturing using GStreamer - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.geekworm.com/index.php?action=history&amp;feed=atom&amp;title=CSI_Audio_Video_capturing_using_GStreamer"/>
	<link rel="alternate" type="text/html" href="https://wiki.geekworm.com/index.php?title=CSI_Audio_Video_capturing_using_GStreamer&amp;action=history"/>
	<updated>2026-06-18T02:39:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.geekworm.com/index.php?title=CSI_Audio_Video_capturing_using_GStreamer&amp;diff=36511&amp;oldid=prev</id>
		<title>Admin: Replace &lt;comments/&gt; with &lt;comment-streams /&gt;</title>
		<link rel="alternate" type="text/html" href="https://wiki.geekworm.com/index.php?title=CSI_Audio_Video_capturing_using_GStreamer&amp;diff=36511&amp;oldid=prev"/>
		<updated>2026-05-27T02:12:34Z</updated>

		<summary type="html">&lt;p&gt;Replace &amp;lt;comments/&amp;gt; with &amp;lt;comment-streams /&amp;gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:12, 27 May 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l88&quot;&gt;Line 88:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 88:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;!--Add review function! --&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;!--Add review function! --&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;comment-streams /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;comment-streams &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;id=&quot;main&quot; &lt;/ins&gt;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;!--Please choose the  --&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;!--Please choose the  --&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki_2026:diff:1.41:old-35905:rev-36511:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.geekworm.com/index.php?title=CSI_Audio_Video_capturing_using_GStreamer&amp;diff=35905&amp;oldid=prev</id>
		<title>Admin: Replace &lt;comments/&gt; with &lt;comment-streams /&gt;</title>
		<link rel="alternate" type="text/html" href="https://wiki.geekworm.com/index.php?title=CSI_Audio_Video_capturing_using_GStreamer&amp;diff=35905&amp;oldid=prev"/>
		<updated>2026-05-26T12:06:38Z</updated>

		<summary type="html">&lt;p&gt;Replace &amp;lt;comments/&amp;gt; with &amp;lt;comment-streams /&amp;gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:06, 26 May 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l88&quot;&gt;Line 88:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 88:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;!--Add review function! --&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;!--Add review function! --&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;comments &lt;/del&gt;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;comment-streams &lt;/ins&gt;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;!--Please choose the  --&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;!--Please choose the  --&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki_2026:diff:1.41:old-16460:rev-35905:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.geekworm.com/index.php?title=CSI_Audio_Video_capturing_using_GStreamer&amp;diff=16460&amp;oldid=prev</id>
		<title>Harry at 08:24, 27 June 2023</title>
		<link rel="alternate" type="text/html" href="https://wiki.geekworm.com/index.php?title=CSI_Audio_Video_capturing_using_GStreamer&amp;diff=16460&amp;oldid=prev"/>
		<updated>2023-06-27T08:24:05Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{GD Template Impl}}&lt;br /&gt;
&lt;br /&gt;
This article  describes how the X630 can be combined with the X630-A2 to capture stereo sound Audio and Video using GStreamer&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Capturing stereo audio with the X630-A2 from the HDMI source is supported.&lt;br /&gt;
&lt;br /&gt;
If you need to run RASPISTILL or RASPIVID again after the GStreamer is installed. You will need to reinstall a fresh Raspberry Pi OS and follow [[X630-Hardware-Reset | this guide]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1. After the device is booted, update your Raspberry Pi by running the following commands in a terminal window:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get upgrade -y&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2. Install necessary dependency and remaining plugins for GStreamer&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 sudo apt-get install libx264-dev libjpeg-dev&lt;br /&gt;
 sudo apt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-ugly gstreamer1.0-tools&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3. With all GStreamer modules installed let&amp;#039;s test the installation with (not via SSH)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 gst-launch-1.0 --version&lt;br /&gt;
 gst-launch-1.0 videotestsrc ! videoconvert ! autovideosink&lt;br /&gt;
[[File:TestRPi-X630.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4. Edit /boot/config.txt and enter the following&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 sudo nano /boot/config.txt&lt;br /&gt;
Then add the following comments:&lt;br /&gt;
 dtoverlay=tc358743&lt;br /&gt;
 dtoverlay=tc358743-audio&lt;br /&gt;
 dtoverlay=cma,cma-128&lt;br /&gt;
Save and exit with ctrl + x, followed by y when prompted to save, and then enter.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;5. Reboot the Raspberry Pi&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 sudo reboot&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6. Once rebooted and check that the audio drivers / card is available to ALSA.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 arecord  -l&lt;br /&gt;
If the X630 module and drivers have been installed correctly you should see something similar to:&lt;br /&gt;
&lt;br /&gt;
[[File:Arecord-X630.jpg]]&lt;br /&gt;
&lt;br /&gt;
Note: card 2 means that the card number for the TC358743XBG is &amp;quot;2&amp;quot; and it might be different.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;7. Create an EDID file so it can be loaded into the chip to allow it to tell the HDMI source what resolutions are supported.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 sudo nano edid.txt&lt;br /&gt;
then enter the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
00ffffffffffff005262888800888888&lt;br /&gt;
1c150103800000780aEE91A3544C9926&lt;br /&gt;
0F505400000001010101010101010101&lt;br /&gt;
010101010101011d007251d01e206e28&lt;br /&gt;
5500c48e2100001e8c0ad08a20e02d10&lt;br /&gt;
103e9600138e2100001e000000fc0054&lt;br /&gt;
6f73686962612d4832430a20000000FD&lt;br /&gt;
003b3d0f2e0f1e0a202020202020014f&lt;br /&gt;
020321434e041303021211012021a23c&lt;br /&gt;
3d3e1f2309070766030c00300080E300&lt;br /&gt;
7F8c0ad08a20e02d10103e9600c48e21&lt;br /&gt;
0000188c0ad08a20e02d10103e960013&lt;br /&gt;
8e210000188c0aa01451f01600267c43&lt;br /&gt;
00138e21000098000000000000000000&lt;br /&gt;
00000000000000000000000000000000&lt;br /&gt;
00000000000000000000000000000028&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Save and exit with ctrl + x, followed by y when prompted to save, and then enter.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;8. Push this to the device using&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 v4l2-ctl --set-edid=file=edid.txt --fix-edid-checksums&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;9. To print the currently detected timings&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 v4l2-ctl --query-dv-timings&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;10. To select the currently detected timings&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 v4l2-ctl --set-dv-bt-timings query&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;11. Capture the incoming audio (no video)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 arecord -D hw:x,0 -V stereo -r 48000 -f S16_LE -c 2 audio.wav&lt;br /&gt;
&lt;br /&gt;
Note: &amp;#039;&amp;#039;&amp;#039;hw:x&amp;#039;&amp;#039;&amp;#039; - You must replace &amp;quot;x&amp;quot; with correct audio card number.&lt;br /&gt;
&lt;br /&gt;
Press ctrl + c to finish a recording, the file will be saved to /home/pi&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;12. Capture the incoming video and audio&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 gst-launch-1.0 v4l2src io-mode=0 ! video/x-raw, format=UYVY, framerate=25/1 ! v4l2h264enc output-io-mode=4 ! video/x-h264,profile=high ! h264parse ! queue ! matroskamux name=mux ! filesink location=video.mkv alsasrc device=hw:2 ! audio/x-raw,rate=48000,channels=2 ! audioconvert ! avenc_aac bitrate=48000 ! aacparse ! queue ! mux.&lt;br /&gt;
&lt;br /&gt;
Note: &amp;#039;&amp;#039;&amp;#039;alsasrc device=hw:&amp;lt;span style=&amp;quot;color:red;&amp;gt;2&amp;lt;/span&amp;gt; - &amp;quot;&amp;lt;span style=&amp;quot;color:red;&amp;gt;2&amp;lt;/span&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;quot; means the audio card number, You must change to correct audio card number.&lt;br /&gt;
&lt;br /&gt;
Press ctrl + c to finish a recording, the file will be saved to /home/pi&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--Add review function! --&amp;gt;&lt;br /&gt;
&amp;lt;comments /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--Please choose the  --&amp;gt;&lt;br /&gt;
&amp;lt;!--Remove other categories, just keep the appropriate categories --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Product Manual]]&lt;br /&gt;
[[Category:Raspberry pi]]&lt;br /&gt;
[[Category:Knowledge]]&lt;/div&gt;</summary>
		<author><name>Harry</name></author>
	</entry>
</feed>