<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Riding The Rails with Raspberry Pi Zero 2W: Camera</title><link>/products/roadtest/b/blog/posts/riding-the-rails-with-raspberry-pi-zero-2w-camera</link><description>Welcome to the fifth of six blog posts in support of the Raspberry Pi Zero 2W Roadtest. The blog posts will explore different aspects of the product while attempting to engage the E14 Community members. Comments and questions to the blog posts are w.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Riding The Rails with Raspberry Pi Zero 2W: Camera</title><link>https://community.element14.com/products/roadtest/b/blog/posts/riding-the-rails-with-raspberry-pi-zero-2w-camera</link><pubDate>Fri, 18 Mar 2022 11:10:58 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:52d6de6d-d885-46f2-8867-ca355c3d6dc8</guid><dc:creator>no_carrier</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;I did this some years ago and successfully streamed at 720p/25ips in H.264. The streaming was done using RTSP and VLS as client.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Here are the notes I took at that time :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;INSTALL Gstreamer&lt;/p&gt;
&lt;p&gt;sudo apt-get install gstreamer1.0-plugins-bad gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-tools libgstreamer1.0-dev libgstreamer1.0-0-dbg libgstreamer1.0-0 gstreamer1.0-omx-rpi gstreamer1.0-omx-rpi-dbg libgstreamer-plugins-base1.0-dev gtk-doc-tools&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;INSTALL Camera driver&lt;/p&gt;
&lt;p&gt;sudo apt-get install git&lt;br /&gt;git clone &lt;a rel="nofollow" target="_blank" href="https://github.com/thaytan/gst-rpicamsrc.git"&gt;github.com/.../gst-rpicamsrc.git&lt;/a&gt;&lt;br /&gt;cd gst-rpicamsrc&lt;br /&gt;./autogen.sh&lt;br /&gt;make&lt;br /&gt;sudo make install&lt;br /&gt;gst-inspect-1.0 |grep rpicamsrc (to test that the camera works)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;INSTALL RTSP Server&lt;/p&gt;
&lt;p&gt;git clone git://anongit.freedesktop.org/gstreamer/gst-rtsp-server&lt;br /&gt;gst-launch-1.0 --version &lt;br /&gt;git checkout 1.10 (according to previous line)&lt;br /&gt;./autogen.sh&lt;br /&gt;make&lt;br /&gt;sudo make install&lt;/p&gt;
&lt;p&gt;TEST&lt;/p&gt;
&lt;p&gt;~/gst-rtsp-server/examples/test-launch &amp;quot;( rpicamsrc preview=false bitrate=2000000 keyframe-interval=15 ! video/x-h264, framerate=15/1 ! h264parse ! rtph264pay name=pay0 pt=96 )&amp;quot;&lt;/p&gt;
&lt;p&gt;(server listens to rtsp://rtsppicamera:8554/test)&lt;/p&gt;
&lt;p&gt;CONFIG Automatic startup&lt;/p&gt;
&lt;p&gt;sudo nano /etc/systemd/system/RTSPpiCamera.service&lt;br /&gt; [Unit]&lt;br /&gt; Description=RTSPpiCamera Process.&lt;br /&gt; After=network.target&lt;br /&gt; &lt;br /&gt; [Service]&lt;br /&gt; ExecStart=/home/pi/gst-rtsp-server/examples/test-launch &amp;quot;( rpicamsrc rotation=180 preview=false bitrate=10000000 keyframe-interval=15 ! video/x-h264, framerate=25/1 ! h264parse ! rtph264pay name=pay0 pt=96 )&amp;quot;&lt;br /&gt; WorkingDirectory=/home/pi/&lt;br /&gt; StandardOutput=syslog&lt;br /&gt; StandardError=syslog&lt;br /&gt; SyslogIdentifier=RTSPpiCamera&lt;br /&gt; User=pi&lt;br /&gt; &lt;br /&gt; [Install]&lt;br /&gt; WantedBy=multi-user.target&lt;/p&gt;
&lt;p&gt;sudo chmod 644 /etc/systemd/system/RTSPpiCamera.service&lt;br /&gt;sudo systemctl daemon-reload&lt;br /&gt;sudo systemctl enable RTSPpiCamera.service&lt;br /&gt;sudo systemctl start RTSPpiCamera.service&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=23206&amp;AppID=14&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Riding The Rails with Raspberry Pi Zero 2W: Camera</title><link>https://community.element14.com/products/roadtest/b/blog/posts/riding-the-rails-with-raspberry-pi-zero-2w-camera</link><pubDate>Thu, 17 Mar 2022 01:10:02 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:52d6de6d-d885-46f2-8867-ca355c3d6dc8</guid><dc:creator>colporteur</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;An update on this blog post. I noticed on the Raspberry Pi Camera documentation side a disclaimer about some of the commands.&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/1280x720/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-52d6de6d-d885-46f2-8867-ca355c3d6dc8/pastedimage1647479295021v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;It seems the problems I experienced using some of the commands are not unique.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=23206&amp;AppID=14&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Riding The Rails with Raspberry Pi Zero 2W: Camera</title><link>https://community.element14.com/products/roadtest/b/blog/posts/riding-the-rails-with-raspberry-pi-zero-2w-camera</link><pubDate>Sat, 12 Mar 2022 14:31:44 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:52d6de6d-d885-46f2-8867-ca355c3d6dc8</guid><dc:creator>beacon_dave</dc:creator><slash:comments>1</slash:comments><description>&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;&amp;quot;I will assume since the board is new, the software doesn&amp;rsquo;t fully support the hardware, resulting in the picture. The hardware identified doesn&amp;#39;t exist and has no model number.&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Not sure it will make a difference but you can pass &lt;strong&gt;pinout&lt;/strong&gt; the revision code of the board rather than relying on autodetection.&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/1280x720/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-52d6de6d-d885-46f2-8867-ca355c3d6dc8/pastedimage1647095056727v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Looks like &lt;strong&gt;902120&lt;/strong&gt; is the revision code for the Zero 2 W&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/1280x720/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-52d6de6d-d885-46f2-8867-ca355c3d6dc8/pastedimage1647095166457v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;so &lt;strong&gt;pinout -r 902120&lt;/strong&gt;&amp;nbsp;may or may not do something interesting...&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=23206&amp;AppID=14&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Riding The Rails with Raspberry Pi Zero 2W: Camera</title><link>https://community.element14.com/products/roadtest/b/blog/posts/riding-the-rails-with-raspberry-pi-zero-2w-camera</link><pubDate>Fri, 11 Mar 2022 20:07:30 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:52d6de6d-d885-46f2-8867-ca355c3d6dc8</guid><dc:creator>robogary</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;&amp;quot;CRAP!&amp;quot; made me smile . I have a well worn path on CRAP road. Looking forward to the final ride on the Pi Zero Express&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=23206&amp;AppID=14&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>