toad.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server operated by David Troy, a tech pioneer and investigative journalist addressing threats to democracy. Thoughtful participation and discussion welcome.

Administered by:

Server stats:

214
active users

#v4l2

0 posts0 participants0 posts today
jablkoziemne<p><span class="h-card" translate="no"><a href="https://mstdn.social/@BrodieOnLinux" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>BrodieOnLinux</span></a></span> About turning phone into camera, at least on <a href="https://101010.pl/tags/android" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>android</span></a> ( <a href="https://101010.pl/tags/android15" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>android15</span></a> ), you can just connect your phone to the computer with the cable, and select internet camera on the connection type, and then at least with <a href="https://101010.pl/tags/V4L2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>V4L2</span></a> you can use the phone in the <a href="https://101010.pl/tags/OBS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OBS</span></a>. I saw there is beta of <a href="https://101010.pl/tags/pipewire" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pipewire</span></a> camera integration, but it didnt yet for me.</p><p>I suppose Christian uses <a href="https://101010.pl/tags/iphone" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>iphone</span></a> and (after quick search) <a href="https://101010.pl/tags/ContinuityCamera" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ContinuityCamera</span></a>, and after another search it seems to be only be integrating with the <a href="https://101010.pl/tags/apple" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>apple</span></a> ecosystem :/ so <a href="https://101010.pl/tags/droidcam" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>droidcam</span></a> seems to be required in this case</p>
dorotaC<p>Remember <a href="https://fosstodon.org/tags/libobscura" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>libobscura</span></a> ?</p><p>I applied to have the project as part of <a href="https://fosstodon.org/tags/freedesktop_org" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>freedesktop_org</span></a> <span class="h-card" translate="no"><a href="https://floss.social/@XOrgFoundation" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>XOrgFoundation</span></a></span> .</p><p>I'd like to start publishing docs and sources ASAP!</p><p>So can I get some acks from people who know about <a href="https://fosstodon.org/tags/cameras" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cameras</span></a> ? </p><p><span class="h-card" translate="no"><a href="https://floss.social/@libcamera" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>libcamera</span></a></span> <a href="https://fosstodon.org/tags/linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>linux</span></a> <a href="https://fosstodon.org/tags/linuxmobile" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>linuxmobile</span></a> <a href="https://fosstodon.org/tags/v4l2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>v4l2</span></a> <a href="https://fosstodon.org/tags/opensource" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>opensource</span></a></p>
Robert Mader<p><a href="https://mastodon.social/tags/chromium" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>chromium</span></a> on <a href="https://mastodon.social/tags/Linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Linux</span></a> nightly (upcoming 132) now has better <a href="https://mastodon.social/tags/V4L2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>V4L2</span></a> hardware decoders support - used by <a href="https://mastodon.social/tags/arm" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>arm</span></a> devices instead of VA-API. It's still disabled by default, but the flags to enable it have been unified. To enable it you'll need:<br> - AcceleratedVideoDecoder (enabled by default for VA-API)<br> - AcceleratedVideoDecodeLinuxGL (only if you use GL, not VK)<br> - AcceleratedVideoDecodeLinuxZeroCopyGL (only EGL, not GLX: use video formats like NV12 directly)</p><p><a href="https://chromium-review.googlesource.com/c/chromium/src/+/5872600" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">chromium-review.googlesource.c</span><span class="invisible">om/c/chromium/src/+/5872600</span></a></p><p><a href="https://mastodon.social/tags/linuxmobile" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>linuxmobile</span></a></p>
Robert Mader<p>Most of the things needed will be part of upstream in upcoming <a href="https://floss.social/tags/gtk" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gtk</span></a> / <a href="https://floss.social/tags/GStreamer" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GStreamer</span></a> / <a href="https://floss.social/tags/weston" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>weston</span></a> / <a href="https://floss.social/tags/gnome" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gnome</span></a> releases, some things are still in the PoC stage, most importantly some patches for <a href="https://floss.social/tags/v4l2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>v4l2</span></a> Gstreamer elements, see also my previous post: <a href="https://floss.social/@rmader/111738015095626519" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">floss.social/@rmader/111738015</span><span class="invisible">095626519</span></a></p>
Robert Mader<p>Update regarding <a href="https://floss.social/tags/wayland" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>wayland</span></a> zero-copy video playback (using hardware planes): with a few small patches it works with <a href="https://floss.social/tags/Chromium" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Chromium</span></a>, both with <a href="https://floss.social/tags/vaapi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vaapi</span></a> (Intel/AMD) and <a href="https://floss.social/tags/v4l2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>v4l2</span></a> stateless.</p><p>Here a short video using a <a href="https://floss.social/tags/rk3399" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rk3399</span></a> - the <a href="https://floss.social/tags/PINE64" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PINE64</span></a> <a href="https://floss.social/tags/PinebookPro" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PinebookPro</span></a> - playing a 4k 60fps video - only possible with hardware plane offloading. Playback is *almost* smooth already (~50fps), the goal is to catch up with <a href="https://floss.social/tags/GStreamer" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GStreamer</span></a> where we get stable 60.</p><p>I hope this will all get upstreamed in the coming months.</p>
Robert Mader<p>Just uploaded some WIP patches which close the missing gap to get hardware video decoding to work with the <a href="https://floss.social/tags/Linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Linux</span></a> (not <a href="https://floss.social/tags/ChromeOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ChromeOS</span></a>) <a href="https://floss.social/tags/Chromium" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Chromium</span></a> <a href="https://floss.social/tags/Wayland" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Wayland</span></a> backend. Both <a href="https://floss.social/tags/vaapi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vaapi</span></a> (only Intel) and <a href="https://floss.social/tags/v4l2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>v4l2</span></a> (only stateless).</p><p>For interested parties: <a href="https://partnerissuetracker.corp.google.com/issues/311459822" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">partnerissuetracker.corp.googl</span><span class="invisible">e.com/issues/311459822</span></a></p><p>So far consisting of:<br><a href="https://chromium-review.googlesource.com/c/chromium/src/+/5040560" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">chromium-review.googlesource.c</span><span class="invisible">om/c/chromium/src/+/5040560</span></a><br><a href="https://chromium-review.googlesource.com/c/chromium/src/+/5038699" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">chromium-review.googlesource.c</span><span class="invisible">om/c/chromium/src/+/5038699</span></a><br><a href="https://chromium-review.googlesource.com/c/chromium/src/+/5038617" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">chromium-review.googlesource.c</span><span class="invisible">om/c/chromium/src/+/5038617</span></a><br><a href="https://chromium-review.googlesource.com/c/chromium/src/+/5038702" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">chromium-review.googlesource.c</span><span class="invisible">om/c/chromium/src/+/5038702</span></a></p>
Robert Mader<p>3. A simple API. If your app has its own <a href="https://floss.social/tags/v4l2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>v4l2</span></a> handling code, switching to <a href="https://floss.social/tags/PipeWire" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PipeWire</span></a> gives you a much nicer API to work with. This is especially true if your app already support screen sharing on <a href="https://floss.social/tags/Wayland" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Wayland</span></a> - in that case you already have both <a href="https://floss.social/tags/PipeWire" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PipeWire</span></a> and portal support and can reuse a lot of that. That's for example done in <a href="https://floss.social/tags/libwebrtc" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>libwebrtc</span></a> for <a href="https://floss.social/tags/Firefox" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Firefox</span></a> and <a href="https://floss.social/tags/Chromium" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Chromium</span></a>.</p>
Robert Mader<p>So we'll have a neat little camera indicator in <a href="https://floss.social/tags/gnome45" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gnome45</span></a>. </p><p>It will only show up for apps that use <a href="https://floss.social/tags/PipeWire" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PipeWire</span></a> for camera access so we depend on more apps switching to that.</p><p>During the <a href="https://floss.social/tags/GUADEC2023" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GUADEC2023</span></a> "State of the Shell" talk I was asked what incentives there are for app developers to do so and unfortunately I messed up to make the probably most convincing ones, so short 🧵 </p><p>1. support for modern cameras via <a href="https://floss.social/tags/libcamera" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>libcamera</span></a> (as opposed to only <a href="https://floss.social/tags/v4l2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>v4l2</span></a> / UVC cameras).</p><p><a href="https://floss.social/tags/GUADEC" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GUADEC</span></a></p>
Kevin Karhan :verified:<p><span class="h-card"><a href="https://hachyderm.io/@recursive" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>recursive</span></a></span> *nodds in agreement*</p><p>Personally, I hate this obsession and when some shitty company demanded me to do an exam and record me while I'm at it I was thinking about just using <a href="https://mstdn.social/tags/v4l2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>v4l2</span></a> - loopback to stream a static image instead before deciding: "No, I'm not gonna do this shit and your rules suck - find someone else instead, cuz I don't want your job if you don't trust me having skills!"</p>
Tech News Worldwide<p>Tracing Stateless Video Hardware Decoding in V4L2 <br> <br> <a href="https://www.linuxtoday.com/developer/tracing-stateless-video-hardware-decoding-v4l2/" rel="nofollow noopener" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">linuxtoday.com/developer/traci</span><span class="invisible">ng-stateless-video-hardware-decoding-v4l2/</span></a> <br> <br> <a href="https://aspiechattr.me/tags/Developer" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Developer</span></a> <a href="https://aspiechattr.me/tags/stateless" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>stateless</span></a> <a href="https://aspiechattr.me/tags/hardware" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>hardware</span></a> <a href="https://aspiechattr.me/tags/tracing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tracing</span></a> <a href="https://aspiechattr.me/tags/v4l2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>v4l2</span></a></p>