{ "version": "https://jsonfeed.org/version/1.1", "user_comment": "This feed allows you to read the posts from this site in any feed reader that supports the JSON Feed format. To add this feed to your reader, copy the following URL -- https://matoken.org/blog/tag/v4l2loopback/feed/json -- and add it your reader.", "home_page_url": "https://matoken.org/blog/tag/v4l2loopback", "feed_url": "https://matoken.org/blog/tag/v4l2loopback/feed/json", "language": "ja", "title": "v4l2loopback – matoken's blog", "description": "Is there no plan B?", "icon": "https://matoken.org/blog/wp-content/uploads/2025/03/cropped-1865f695c4eecc844385acef2f078255036adccd42c254580ea3844543ab56d9.jpeg", "items": [ { "id": "http://matoken.org/blog/?p=3559", "url": "https://matoken.org/blog/2022/03/29/output-android-device-screen-to-video-device-with-snap-version-scrcpy/", "title": "snap\u7248scrcpy\u3067Android\u30c7\u30d0\u30a4\u30b9\u753b\u9762\u3092\u30d3\u30c7\u30aa\u30c7\u30d0\u30a4\u30b9\u306b\u51fa\u529b", "content_html": "
\n

Android\u30a2\u30d7\u30ea\u306e\u753b\u9762\u3092snap\u7248\u306escrcpy\u3067\u30d3\u30c7\u30aa\u30c7\u30d0\u30a4\u30b9\u306b\u6d41\u3057\u8fbc\u3082\u3046\u3068\u3057\u305f\u3089\u5c11\u3057\u30cf\u30de\u3063\u305f\u306e\u3067\u30e1\u30e2\u3057\u3066\u304a\u304d\u307e\u3059\uff0e

\n
\n

\n
\n

Debian Bullseye amd64\u306escrcpy\u3067Android\u306e\u753b\u9762\u3092\u30d3\u30c7\u30aa\u30c7\u30d0\u30a4\u30b9\u306b\u51fa\u529b\u3057\u3066\u307f\u3088\u3046\u3068 --v4l2-sink \u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u305f\u3068\u3053\u308d\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u53e4\u304f\u672a\u5bfe\u5fdc\u3067\u3057\u305f\uff0e

\n
\n
\n
\n
$ /bin/scrcpy --v4l2-sink /dev/video8\n/bin/scrcpy: unrecognized option '--v4l2-sink'
\n
\n
\n
\n

Debian sid\u306e 1.23-1 \u3060\u3068\u5b58\u5728\u3059\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u306a\u306e\u3067\u3059\u304c\u305d\u308c\u3092\u5165\u308c\u308b\u3068\u4f9d\u5b58\u95a2\u4fc2\u304c\u304a\u304b\u3057\u304f\u306a\u308a\u305d\u3046\u306a\u306e\u3067\u907f\u3051\u305f\u3044\u3068\u3053\u308d\uff0e

\n
\n
\n

Android\u30a2\u30d7\u30ea\u306e\u753b\u9762\u3092snap\u7248\u306escrcpy\u3067\u30d3\u30c7\u30aa\u30c7\u30d0\u30a4\u30b9\u306b\u6d41\u3057\u8fbc\u3082\u3046\u3068\u3057\u305f\u3089\u5c11\u3057\u30cf\u30de\u3063\u305f\u306e\u3067\u30e1\u30e2\u3057\u3066\u304a\u304d\u307e\u3059\uff0e

\n
\n
\n
\n

Debian Bullseye amd64\u306escrcpy\u3067Android\u306e\u753b\u9762\u3092\u30d3\u30c7\u30aa\u30c7\u30d0\u30a4\u30b9\u306b\u51fa\u529b\u3057\u3066\u307f\u3088\u3046\u3068 --v4l2-sink \u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u305f\u3068\u3053\u308d\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u53e4\u304f\u672a\u5bfe\u5fdc\u3067\u3057\u305f\uff0e

\n
\n
\n
\n
$ /bin/scrcpy --v4l2-sink /dev/video8\n/bin/scrcpy: unrecognized option '--v4l2-sink'
\n
\n
\n
\n

Debian sid\u306e 1.23-1 \u3060\u3068\u5b58\u5728\u3059\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u306a\u306e\u3067\u3059\u304c\u305d\u308c\u3092\u5165\u308c\u308b\u3068\u4f9d\u5b58\u95a2\u4fc2\u304c\u304a\u304b\u3057\u304f\u306a\u308a\u305d\u3046\u306a\u306e\u3067\u907f\u3051\u305f\u3044\u3068\u3053\u308d\uff0e

\n
\n
\n
\n
$ rmadison scrcpy\nscrcpy     | 1.17-1        | stable         | source, amd64, arm64, armel, armhf, i386, mips64el, mipsel, ppc64el, s390x\nscrcpy     | 1.23-1        | unstable       | source, amd64, arm64, armel, armhf, i386, mips64el, mipsel, ppc64el, s390x\nscrcpy     | 1.23-1        | unstable-debug | source
\n
\n
\n
\n

snap\u3092\u78ba\u8a8d\u3059\u308b\u30681.23\u306e\u3088\u3046\u306a\u306e\u3067\u3053\u308c\u3092\u5c0e\u5165\u3057\u3066\u307f\u307e\u3057\u305f\uff0e

\n
\n
\n
\n
$ snap find scrcpy\nName       Version  Publisher   Notes  Summary\nscrcpy     v1.23    sisco311    -      Display and control your Android device\nguiscrcpy  v4.9.0   srevinsaju  -      An opensource graphical user interface for Android screen mirroring\n$ snao install scrcpy\n$ snap info scrcpy\nname:      scrcpy\nsummary:   Display and control your Android device\npublisher: sisco311\nstore-url: https://snapcraft.io/scrcpy\ncontact:   https://github.com/sisco311/scrcpy-snap/issues\nlicense:   Apache-2.0\ndescription: |\n  This application provides display and control of Android devices connected on USB (or over\n  TCP/IP). It does not require any root access.\n\n  This is an unofficial snap. The code of scrcpy can be found at:\n  https://github.com/Genymobile/scrcpy\ncommands:\n  - scrcpy.adb\n  - scrcpy\nsnap-id:      M7yvgnqOvyQj64bolfpawIAEwHv7dQ5G\ntracking:     latest/stable\nrefresh-date: today at 01:27 JST\nchannels:\n  latest/stable:    v1.23             2022-03-03 (379)  87MB -\n  latest/candidate: \u2191\n  latest/beta:      v1.23-2-gadbe7908 2022-03-02 (376)  87MB -\n  latest/edge:      v1.21-2-g5704ec6  2021-12-07 (358) 101MB -\ninstalled:          v1.23                        (379)  87MB -
\n
\n
\n
\n

1.23\u3067\u3059\uff0e

\n
\n
\n
\n
$ which scrcpy\n/snap/bin/scrcpy\n$ scrcpy --version\nscrcpy 1.23 <https://github.com/Genymobile/scrcpy>\n\nDependencies (compiled / linked):\n - SDL: 2.0.8 / 2.0.8\n - libavcodec: 57.107.100 / 57.107.100\n - libavformat: 57.83.100 / 57.83.100\n - libavutil: 55.78.100 / 55.78.100\n - libavdevice: 57.10.100 / 57.10.100\n - libusb: - / 1.0.21
\n
\n
\n
\n

\u65e9\u901f\u4f7f\u304a\u3046\u3068\u601d\u3044\u307e\u3057\u305f\u304c\u30a8\u30e9\u30fc\u3068\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\uff0e

\n
\n
\n
\n
$ scrcpy --v4l2-sink /dev/video8\nscrcpy 1.23 <https://github.com/Genymobile/scrcpy>\nINFO: Video orientation is locked for v4l2 sink. See --lock-video-orientation.\n/usr/local/share/scrcpy/scrcpy-server: 1 file pushed. 6.8 MB/s (41123 bytes in 0.006s)\n[server] INFO: Device: motorola moto g31(w) (Android 11)\nINFO: Renderer: opengl\nINFO: OpenGL version: 3.0 Mesa 20.0.8\nINFO: Trilinear filtering enabled\nINFO: Initial texture: 1080x2400\nERROR: Failed to open output device: /dev/video8\nERROR: Could not open frame sink 1\nERROR: Could not open decoder sinks\nERROR: Could not open packet sink 0\nERROR: Could not open demuxer sinks\nWARN: Device disconnected\nWARN: Killing the server...
\n
\n
\n
\n

\u3053\u306e\u30c7\u30d0\u30a4\u30b9\u306f\u5b58\u5728\u3059\u308b\u3057\uff0c\u5225\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304b\u3089\u52d5\u753b\u3092\u6d41\u3057\u8fbc\u3080\u3068\u52d5\u4f5c\u3057\u307e\u3059\uff0e

\n
\n
\n

issue\u3092\u691c\u7d22\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u30b3\u30e1\u30f3\u30c8\u3092\u898b\u3064\u3051\u307e\u3057\u305f\uff0e

\n
\n
\n
–v4l2-sink not working \u00b7 Issue #2757 \u00b7 Genymobile/scrcpy \u00b7 GitHub
\n

\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067snap\u306escrcpy\u306b\u30d3\u30c7\u30aa\u30c7\u30d0\u30a4\u30b9\u3092\u63a5\u7d9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3088\u3046\u3067\u3059\uff0e

\n
\n
\n
\n
$ snap connect scrcpy:camera
\n
\n
\n
\n

\u8a8d\u8b58\u3055\u305b\u305f\u3042\u3068\u5b9f\u884c\u3059\u308b\u3068\u3046\u307e\u304f\u884c\u304d\u307e\u3057\u305f\uff0e

\n
\n
\n
\n
$ scrcpy --v4l2-sink /dev/video8 --lock-video-orientation --max-size=720 -N\nscrcpy 1.23 <https://github.com/Genymobile/scrcpy>\n/usr/local/share/scrcpy/scrcpy-server: 1 file pushed. 10.6 MB/s (41123 bytes in 0.004s)\n[server] INFO: Device: motorola moto g31(w) (Android 11)\nINFO: v4l2 sink started to device: /dev/video8
\n
\n
\n
\n

\"scrcpy

\n
\n
\n
\u74b0\u5883
\n
\n
$ snap info scrcpy | grep installed:\ninstalled:          v1.23                        (379)  87MB -\n$ dpkg-query -W snap v4l2loopback-dkms v4l2loopback-source v4l2loopback-utils\nsnap\nv4l2loopback-dkms       0.12.5-1\nv4l2loopback-source     0.12.5-1\nv4l2loopback-utils      0.12.5-1\n$ lsb_release -dr\nDescription:    Debian GNU/Linux 11 (bullseye)\nRelease:        11\n$ uname -a\nLinux yoga-260 5.16.15-le9 #10 SMP PREEMPT Sat Mar 19 01:52:06 JST 2022 x86_64 GNU/Linux\n$ arch\nx86_64
\n
\n
\n
\n
\u95a2\u9023URL
\n\n
\n
\n
\n
$ rmadison scrcpy\nscrcpy     | 1.17-1        | stable         | source, amd64, arm64, armel, armhf, i386, mips64el, mipsel, ppc64el, s390x\nscrcpy     | 1.23-1        | unstable       | source, amd64, arm64, armel, armhf, i386, mips64el, mipsel, ppc64el, s390x\nscrcpy     | 1.23-1        | unstable-debug | source
\n
\n
\n
\n

snap\u3092\u78ba\u8a8d\u3059\u308b\u30681.23\u306e\u3088\u3046\u306a\u306e\u3067\u3053\u308c\u3092\u5c0e\u5165\u3057\u3066\u307f\u307e\u3057\u305f\uff0e

\n
\n
\n
\n
$ snap find scrcpy\nName       Version  Publisher   Notes  Summary\nscrcpy     v1.23    sisco311    -      Display and control your Android device\nguiscrcpy  v4.9.0   srevinsaju  -      An opensource graphical user interface for Android screen mirroring\n$ snao install scrcpy\n$ snap info scrcpy\nname:      scrcpy\nsummary:   Display and control your Android device\npublisher: sisco311\nstore-url: https://snapcraft.io/scrcpy\ncontact:   https://github.com/sisco311/scrcpy-snap/issues\nlicense:   Apache-2.0\ndescription: |\n  This application provides display and control of Android devices connected on USB (or over\n  TCP/IP). It does not require any root access.\n\n  This is an unofficial snap. The code of scrcpy can be found at:\n  https://github.com/Genymobile/scrcpy\ncommands:\n  - scrcpy.adb\n  - scrcpy\nsnap-id:      M7yvgnqOvyQj64bolfpawIAEwHv7dQ5G\ntracking:     latest/stable\nrefresh-date: today at 01:27 JST\nchannels:\n  latest/stable:    v1.23             2022-03-03 (379)  87MB -\n  latest/candidate: \u2191\n  latest/beta:      v1.23-2-gadbe7908 2022-03-02 (376)  87MB -\n  latest/edge:      v1.21-2-g5704ec6  2021-12-07 (358) 101MB -\ninstalled:          v1.23                        (379)  87MB -
\n
\n
\n
\n

1.23\u3067\u3059\uff0e

\n
\n
\n
\n
$ which scrcpy\n/snap/bin/scrcpy\n$ scrcpy --version\nscrcpy 1.23 <https://github.com/Genymobile/scrcpy>\n\nDependencies (compiled / linked):\n - SDL: 2.0.8 / 2.0.8\n - libavcodec: 57.107.100 / 57.107.100\n - libavformat: 57.83.100 / 57.83.100\n - libavutil: 55.78.100 / 55.78.100\n - libavdevice: 57.10.100 / 57.10.100\n - libusb: - / 1.0.21
\n
\n
\n
\n

\u65e9\u901f\u4f7f\u304a\u3046\u3068\u601d\u3044\u307e\u3057\u305f\u304c\u30a8\u30e9\u30fc\u3068\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\uff0e

\n
\n
\n
\n
$ scrcpy --v4l2-sink /dev/video8\nscrcpy 1.23 <https://github.com/Genymobile/scrcpy>\nINFO: Video orientation is locked for v4l2 sink. See --lock-video-orientation.\n/usr/local/share/scrcpy/scrcpy-server: 1 file pushed. 6.8 MB/s (41123 bytes in 0.006s)\n[server] INFO: Device: motorola moto g31(w) (Android 11)\nINFO: Renderer: opengl\nINFO: OpenGL version: 3.0 Mesa 20.0.8\nINFO: Trilinear filtering enabled\nINFO: Initial texture: 1080x2400\nERROR: Failed to open output device: /dev/video8\nERROR: Could not open frame sink 1\nERROR: Could not open decoder sinks\nERROR: Could not open packet sink 0\nERROR: Could not open demuxer sinks\nWARN: Device disconnected\nWARN: Killing the server...
\n
\n
\n
\n

\u3053\u306e\u30c7\u30d0\u30a4\u30b9\u306f\u5b58\u5728\u3059\u308b\u3057\uff0c\u5225\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304b\u3089\u52d5\u753b\u3092\u6d41\u3057\u8fbc\u3080\u3068\u52d5\u4f5c\u3057\u307e\u3059\uff0e

\n
\n
\n

issue\u3092\u691c\u7d22\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u30b3\u30e1\u30f3\u30c8\u3092\u898b\u3064\u3051\u307e\u3057\u305f\uff0e

\n
\n
\n
–v4l2-sink not working \u00b7 Issue #2757 \u00b7 Genymobile/scrcpy \u00b7 GitHub
\n

\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067snap\u306escrcpy\u306b\u30d3\u30c7\u30aa\u30c7\u30d0\u30a4\u30b9\u3092\u63a5\u7d9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3088\u3046\u3067\u3059\uff0e

\n
\n
\n
\n
$ snap connect scrcpy:camera
\n
\n
\n
\n

\u8a8d\u8b58\u3055\u305b\u305f\u3042\u3068\u5b9f\u884c\u3059\u308b\u3068\u3046\u307e\u304f\u884c\u304d\u307e\u3057\u305f\uff0e

\n
\n
\n
\n
$ scrcpy --v4l2-sink /dev/video8 --lock-video-orientation --max-size=720 -N\nscrcpy 1.23 <https://github.com/Genymobile/scrcpy>\n/usr/local/share/scrcpy/scrcpy-server: 1 file pushed. 10.6 MB/s (41123 bytes in 0.004s)\n[server] INFO: Device: motorola moto g31(w) (Android 11)\nINFO: v4l2 sink started to device: /dev/video8
\n
\n
\n
\n

\"scrcpy

\n
\n
\n
\u74b0\u5883
\n
\n
$ snap info scrcpy | grep installed:\ninstalled:          v1.23                        (379)  87MB -\n$ dpkg-query -W snap v4l2loopback-dkms v4l2loopback-source v4l2loopback-utils\nsnap\nv4l2loopback-dkms       0.12.5-1\nv4l2loopback-source     0.12.5-1\nv4l2loopback-utils      0.12.5-1\n$ lsb_release -dr\nDescription:    Debian GNU/Linux 11 (bullseye)\nRelease:        11\n$ uname -a\nLinux yoga-260 5.16.15-le9 #10 SMP PREEMPT Sat Mar 19 01:52:06 JST 2022 x86_64 GNU/Linux\n$ arch\nx86_64
\n
\n
\n
\n
\u95a2\u9023URL
\n\n
\n", "content_text": "Android\u30a2\u30d7\u30ea\u306e\u753b\u9762\u3092snap\u7248\u306escrcpy\u3067\u30d3\u30c7\u30aa\u30c7\u30d0\u30a4\u30b9\u306b\u6d41\u3057\u8fbc\u3082\u3046\u3068\u3057\u305f\u3089\u5c11\u3057\u30cf\u30de\u3063\u305f\u306e\u3067\u30e1\u30e2\u3057\u3066\u304a\u304d\u307e\u3059\uff0e\n\n\n\nDebian Bullseye amd64\u306escrcpy\u3067Android\u306e\u753b\u9762\u3092\u30d3\u30c7\u30aa\u30c7\u30d0\u30a4\u30b9\u306b\u51fa\u529b\u3057\u3066\u307f\u3088\u3046\u3068 --v4l2-sink \u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u305f\u3068\u3053\u308d\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u53e4\u304f\u672a\u5bfe\u5fdc\u3067\u3057\u305f\uff0e\n\n\n\n$ /bin/scrcpy --v4l2-sink /dev/video8\n/bin/scrcpy: unrecognized option '--v4l2-sink'\n\n\n\nDebian sid\u306e 1.23-1 \u3060\u3068\u5b58\u5728\u3059\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u306a\u306e\u3067\u3059\u304c\u305d\u308c\u3092\u5165\u308c\u308b\u3068\u4f9d\u5b58\u95a2\u4fc2\u304c\u304a\u304b\u3057\u304f\u306a\u308a\u305d\u3046\u306a\u306e\u3067\u907f\u3051\u305f\u3044\u3068\u3053\u308d\uff0e\n\n\nAndroid\u30a2\u30d7\u30ea\u306e\u753b\u9762\u3092snap\u7248\u306escrcpy\u3067\u30d3\u30c7\u30aa\u30c7\u30d0\u30a4\u30b9\u306b\u6d41\u3057\u8fbc\u3082\u3046\u3068\u3057\u305f\u3089\u5c11\u3057\u30cf\u30de\u3063\u305f\u306e\u3067\u30e1\u30e2\u3057\u3066\u304a\u304d\u307e\u3059\uff0e\n\n\n\nDebian Bullseye amd64\u306escrcpy\u3067Android\u306e\u753b\u9762\u3092\u30d3\u30c7\u30aa\u30c7\u30d0\u30a4\u30b9\u306b\u51fa\u529b\u3057\u3066\u307f\u3088\u3046\u3068 --v4l2-sink \u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u305f\u3068\u3053\u308d\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u53e4\u304f\u672a\u5bfe\u5fdc\u3067\u3057\u305f\uff0e\n\n\n\n$ /bin/scrcpy --v4l2-sink /dev/video8\n/bin/scrcpy: unrecognized option '--v4l2-sink'\n\n\n\nDebian sid\u306e 1.23-1 \u3060\u3068\u5b58\u5728\u3059\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u306a\u306e\u3067\u3059\u304c\u305d\u308c\u3092\u5165\u308c\u308b\u3068\u4f9d\u5b58\u95a2\u4fc2\u304c\u304a\u304b\u3057\u304f\u306a\u308a\u305d\u3046\u306a\u306e\u3067\u907f\u3051\u305f\u3044\u3068\u3053\u308d\uff0e\n\n\n\n$ rmadison scrcpy\nscrcpy | 1.17-1 | stable | source, amd64, arm64, armel, armhf, i386, mips64el, mipsel, ppc64el, s390x\nscrcpy | 1.23-1 | unstable | source, amd64, arm64, armel, armhf, i386, mips64el, mipsel, ppc64el, s390x\nscrcpy | 1.23-1 | unstable-debug | source\n\n\n\nsnap\u3092\u78ba\u8a8d\u3059\u308b\u30681.23\u306e\u3088\u3046\u306a\u306e\u3067\u3053\u308c\u3092\u5c0e\u5165\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\n\n\n\n$ snap find scrcpy\nName Version Publisher Notes Summary\nscrcpy v1.23 sisco311 - Display and control your Android device\nguiscrcpy v4.9.0 srevinsaju - An opensource graphical user interface for Android screen mirroring\n$ snao install scrcpy\n$ snap info scrcpy\nname: scrcpy\nsummary: Display and control your Android device\npublisher: sisco311\nstore-url: https://snapcraft.io/scrcpy\ncontact: https://github.com/sisco311/scrcpy-snap/issues\nlicense: Apache-2.0\ndescription: |\n This application provides display and control of Android devices connected on USB (or over\n TCP/IP). It does not require any root access.\n\n This is an unofficial snap. The code of scrcpy can be found at:\n https://github.com/Genymobile/scrcpy\ncommands:\n - scrcpy.adb\n - scrcpy\nsnap-id: M7yvgnqOvyQj64bolfpawIAEwHv7dQ5G\ntracking: latest/stable\nrefresh-date: today at 01:27 JST\nchannels:\n latest/stable: v1.23 2022-03-03 (379) 87MB -\n latest/candidate: \u2191\n latest/beta: v1.23-2-gadbe7908 2022-03-02 (376) 87MB -\n latest/edge: v1.21-2-g5704ec6 2021-12-07 (358) 101MB -\ninstalled: v1.23 (379) 87MB -\n\n\n\n1.23\u3067\u3059\uff0e\n\n\n\n$ which scrcpy\n/snap/bin/scrcpy\n$ scrcpy --version\nscrcpy 1.23 <https://github.com/Genymobile/scrcpy>\n\nDependencies (compiled / linked):\n - SDL: 2.0.8 / 2.0.8\n - libavcodec: 57.107.100 / 57.107.100\n - libavformat: 57.83.100 / 57.83.100\n - libavutil: 55.78.100 / 55.78.100\n - libavdevice: 57.10.100 / 57.10.100\n - libusb: - / 1.0.21\n\n\n\n\u65e9\u901f\u4f7f\u304a\u3046\u3068\u601d\u3044\u307e\u3057\u305f\u304c\u30a8\u30e9\u30fc\u3068\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\uff0e\n\n\n\n$ scrcpy --v4l2-sink /dev/video8\nscrcpy 1.23 <https://github.com/Genymobile/scrcpy>\nINFO: Video orientation is locked for v4l2 sink. See --lock-video-orientation.\n/usr/local/share/scrcpy/scrcpy-server: 1 file pushed. 6.8 MB/s (41123 bytes in 0.006s)\n[server] INFO: Device: motorola moto g31(w) (Android 11)\nINFO: Renderer: opengl\nINFO: OpenGL version: 3.0 Mesa 20.0.8\nINFO: Trilinear filtering enabled\nINFO: Initial texture: 1080x2400\nERROR: Failed to open output device: /dev/video8\nERROR: Could not open frame sink 1\nERROR: Could not open decoder sinks\nERROR: Could not open packet sink 0\nERROR: Could not open demuxer sinks\nWARN: Device disconnected\nWARN: Killing the server...\n\n\n\n\u3053\u306e\u30c7\u30d0\u30a4\u30b9\u306f\u5b58\u5728\u3059\u308b\u3057\uff0c\u5225\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304b\u3089\u52d5\u753b\u3092\u6d41\u3057\u8fbc\u3080\u3068\u52d5\u4f5c\u3057\u307e\u3059\uff0e\n\n\nissue\u3092\u691c\u7d22\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u30b3\u30e1\u30f3\u30c8\u3092\u898b\u3064\u3051\u307e\u3057\u305f\uff0e\n\n\n–v4l2-sink not working \u00b7 Issue #2757 \u00b7 Genymobile/scrcpy \u00b7 GitHub\n\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067snap\u306escrcpy\u306b\u30d3\u30c7\u30aa\u30c7\u30d0\u30a4\u30b9\u3092\u63a5\u7d9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3088\u3046\u3067\u3059\uff0e\n\n\n\n$ snap connect scrcpy:camera\n\n\n\n\u8a8d\u8b58\u3055\u305b\u305f\u3042\u3068\u5b9f\u884c\u3059\u308b\u3068\u3046\u307e\u304f\u884c\u304d\u307e\u3057\u305f\uff0e\n\n\n\n$ scrcpy --v4l2-sink /dev/video8 --lock-video-orientation --max-size=720 -N\nscrcpy 1.23 <https://github.com/Genymobile/scrcpy>\n/usr/local/share/scrcpy/scrcpy-server: 1 file pushed. 10.6 MB/s (41123 bytes in 0.004s)\n[server] INFO: Device: motorola moto g31(w) (Android 11)\nINFO: v4l2 sink started to device: /dev/video8\n\n\n\n\n\n\n\u74b0\u5883\n\n$ snap info scrcpy | grep installed:\ninstalled: v1.23 (379) 87MB -\n$ dpkg-query -W snap v4l2loopback-dkms v4l2loopback-source v4l2loopback-utils\nsnap\nv4l2loopback-dkms 0.12.5-1\nv4l2loopback-source 0.12.5-1\nv4l2loopback-utils 0.12.5-1\n$ lsb_release -dr\nDescription: Debian GNU/Linux 11 (bullseye)\nRelease: 11\n$ uname -a\nLinux yoga-260 5.16.15-le9 #10 SMP PREEMPT Sat Mar 19 01:52:06 JST 2022 x86_64 GNU/Linux\n$ arch\nx86_64\n\n\n\n\u95a2\u9023URL\n\nGitHub – Genymobile/scrcpy: Display and control your Android device\nscrcpy \u2013 matoken\u2019s meme\n\n\nscrcpy\u3092\u4f7f\u3063\u3066Android\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u306e\u52d5\u753b\u3092PC\u3067\u8996\u8074\u3059\u308b \u2013 matoken\u2019s meme\nPC\u3067Android\u7aef\u672b\u306e\u753b\u9762\u8ee2\u9001\u3068\u64cd\u4f5c\u304c\u51fa\u6765\u308bscrcpy \u2013 matoken\u2019s meme\n\n\n\nlinux:android:scrcpy [wiki.matoken.org]\n\n\n\n\n$ rmadison scrcpy\nscrcpy | 1.17-1 | stable | source, amd64, arm64, armel, armhf, i386, mips64el, mipsel, ppc64el, s390x\nscrcpy | 1.23-1 | unstable | source, amd64, arm64, armel, armhf, i386, mips64el, mipsel, ppc64el, s390x\nscrcpy | 1.23-1 | unstable-debug | source\n\n\n\nsnap\u3092\u78ba\u8a8d\u3059\u308b\u30681.23\u306e\u3088\u3046\u306a\u306e\u3067\u3053\u308c\u3092\u5c0e\u5165\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\n\n\n\n$ snap find scrcpy\nName Version Publisher Notes Summary\nscrcpy v1.23 sisco311 - Display and control your Android device\nguiscrcpy v4.9.0 srevinsaju - An opensource graphical user interface for Android screen mirroring\n$ snao install scrcpy\n$ snap info scrcpy\nname: scrcpy\nsummary: Display and control your Android device\npublisher: sisco311\nstore-url: https://snapcraft.io/scrcpy\ncontact: https://github.com/sisco311/scrcpy-snap/issues\nlicense: Apache-2.0\ndescription: |\n This application provides display and control of Android devices connected on USB (or over\n TCP/IP). It does not require any root access.\n\n This is an unofficial snap. The code of scrcpy can be found at:\n https://github.com/Genymobile/scrcpy\ncommands:\n - scrcpy.adb\n - scrcpy\nsnap-id: M7yvgnqOvyQj64bolfpawIAEwHv7dQ5G\ntracking: latest/stable\nrefresh-date: today at 01:27 JST\nchannels:\n latest/stable: v1.23 2022-03-03 (379) 87MB -\n latest/candidate: \u2191\n latest/beta: v1.23-2-gadbe7908 2022-03-02 (376) 87MB -\n latest/edge: v1.21-2-g5704ec6 2021-12-07 (358) 101MB -\ninstalled: v1.23 (379) 87MB -\n\n\n\n1.23\u3067\u3059\uff0e\n\n\n\n$ which scrcpy\n/snap/bin/scrcpy\n$ scrcpy --version\nscrcpy 1.23 <https://github.com/Genymobile/scrcpy>\n\nDependencies (compiled / linked):\n - SDL: 2.0.8 / 2.0.8\n - libavcodec: 57.107.100 / 57.107.100\n - libavformat: 57.83.100 / 57.83.100\n - libavutil: 55.78.100 / 55.78.100\n - libavdevice: 57.10.100 / 57.10.100\n - libusb: - / 1.0.21\n\n\n\n\u65e9\u901f\u4f7f\u304a\u3046\u3068\u601d\u3044\u307e\u3057\u305f\u304c\u30a8\u30e9\u30fc\u3068\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\uff0e\n\n\n\n$ scrcpy --v4l2-sink /dev/video8\nscrcpy 1.23 <https://github.com/Genymobile/scrcpy>\nINFO: Video orientation is locked for v4l2 sink. See --lock-video-orientation.\n/usr/local/share/scrcpy/scrcpy-server: 1 file pushed. 6.8 MB/s (41123 bytes in 0.006s)\n[server] INFO: Device: motorola moto g31(w) (Android 11)\nINFO: Renderer: opengl\nINFO: OpenGL version: 3.0 Mesa 20.0.8\nINFO: Trilinear filtering enabled\nINFO: Initial texture: 1080x2400\nERROR: Failed to open output device: /dev/video8\nERROR: Could not open frame sink 1\nERROR: Could not open decoder sinks\nERROR: Could not open packet sink 0\nERROR: Could not open demuxer sinks\nWARN: Device disconnected\nWARN: Killing the server...\n\n\n\n\u3053\u306e\u30c7\u30d0\u30a4\u30b9\u306f\u5b58\u5728\u3059\u308b\u3057\uff0c\u5225\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304b\u3089\u52d5\u753b\u3092\u6d41\u3057\u8fbc\u3080\u3068\u52d5\u4f5c\u3057\u307e\u3059\uff0e\n\n\nissue\u3092\u691c\u7d22\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u30b3\u30e1\u30f3\u30c8\u3092\u898b\u3064\u3051\u307e\u3057\u305f\uff0e\n\n\n–v4l2-sink not working \u00b7 Issue #2757 \u00b7 Genymobile/scrcpy \u00b7 GitHub\n\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067snap\u306escrcpy\u306b\u30d3\u30c7\u30aa\u30c7\u30d0\u30a4\u30b9\u3092\u63a5\u7d9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3088\u3046\u3067\u3059\uff0e\n\n\n\n$ snap connect scrcpy:camera\n\n\n\n\u8a8d\u8b58\u3055\u305b\u305f\u3042\u3068\u5b9f\u884c\u3059\u308b\u3068\u3046\u307e\u304f\u884c\u304d\u307e\u3057\u305f\uff0e\n\n\n\n$ scrcpy --v4l2-sink /dev/video8 --lock-video-orientation --max-size=720 -N\nscrcpy 1.23 <https://github.com/Genymobile/scrcpy>\n/usr/local/share/scrcpy/scrcpy-server: 1 file pushed. 10.6 MB/s (41123 bytes in 0.004s)\n[server] INFO: Device: motorola moto g31(w) (Android 11)\nINFO: v4l2 sink started to device: /dev/video8\n\n\n\n\n\n\n\u74b0\u5883\n\n$ snap info scrcpy | grep installed:\ninstalled: v1.23 (379) 87MB -\n$ dpkg-query -W snap v4l2loopback-dkms v4l2loopback-source v4l2loopback-utils\nsnap\nv4l2loopback-dkms 0.12.5-1\nv4l2loopback-source 0.12.5-1\nv4l2loopback-utils 0.12.5-1\n$ lsb_release -dr\nDescription: Debian GNU/Linux 11 (bullseye)\nRelease: 11\n$ uname -a\nLinux yoga-260 5.16.15-le9 #10 SMP PREEMPT Sat Mar 19 01:52:06 JST 2022 x86_64 GNU/Linux\n$ arch\nx86_64\n\n\n\n\u95a2\u9023URL\n\nGitHub – Genymobile/scrcpy: Display and control your Android device\nscrcpy \u2013 matoken\u2019s meme\n\n\nscrcpy\u3092\u4f7f\u3063\u3066Android\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u306e\u52d5\u753b\u3092PC\u3067\u8996\u8074\u3059\u308b \u2013 matoken\u2019s meme\nPC\u3067Android\u7aef\u672b\u306e\u753b\u9762\u8ee2\u9001\u3068\u64cd\u4f5c\u304c\u51fa\u6765\u308bscrcpy \u2013 matoken\u2019s meme\n\n\n\nlinux:android:scrcpy [wiki.matoken.org]", "date_published": "2022-03-29T20:20:37+09:00", "date_modified": "2022-03-29T20:25:55+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/1865f695c4eecc844385acef2f078255036adccd42c254580ea3844543ab56d9?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/1865f695c4eecc844385acef2f078255036adccd42c254580ea3844543ab56d9?s=512&d=mm&r=g" }, "tags": [ "Android", "scrcpy", "v4l2loopback", "bullseye", "Debian", "Linux" ] }, { "id": "http://matoken.org/blog/?p=2912", "url": "https://matoken.org/blog/2021/01/11/how-to-name-video-devices-created-with-the-v4l2loopback-module/", "title": "v4l2loopback\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u4f5c\u3089\u308c\u308b\u30d3\u30c7\u30aa\u30c7\u30d0\u30a4\u30b9\u3078\u306e\u540d\u524d\u306e\u4ed8\u3051\u65b9", "content_html": "
\n

v4l2loopback module\u3092\u5229\u7528\u3057\u3066\u4eee\u60f3\u30ab\u30e1\u30e9\u306a\u3069\u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3059\uff0e

\n
\n
\n

\u3053\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u547c\u3073\u51fa\u3059\u3068\u304d\u306b\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u3066\u8907\u6570\u306e\u30c7\u30d0\u30a4\u30b9\u306b\u3057\u305f\u308a\uff0c\u305d\u308c\u305e\u308c\u306b\u30c7\u30d0\u30a4\u30b9\u306b\u540d\u524d\u3092\u3064\u3051\u305f\u308a\u51fa\u6765\u307e\u3059\uff0e

\n
\n
\n
https://github.com/umlaeute/v4l2loopback/blob/f55da057b8c1f6d1c7a5c57feeadbbf532058e59/README.md \u3088\u308a
\n
\n
\n

If you need several independent loopback devices, you can pass the “devices” option, when loading the module; e.g.

\n
\n
\n

# modprobe v4l2loopback devices=4
\nWill give you 4 loopback devices (e.g. /dev/video1 \u2026\u200b /dev/video5)

\n
\n
\n

You can also specify the device IDs manually; e.g.

\n
\n
\n

# modprobe v4l2loopback video_nr=3,4,7
\nWill create 3 devices (/dev/video3, /dev/video4 & /dev/video7)

\n
\n
\n

# modprobe v4l2loopback video_nr=3,4,7 card_label=”device number 3″,”the number four”,”the last one”
\nWill create 3 devices with the card names passed as the second parameter:

\n
\n
\n

/dev/video3 \u2192 device number 3
\n/dev/video4 \u2192 the number four
\n/dev/video7 \u2192 the last one

\n
\n
\n
\n
\n

\u304a\u624b\u672c\u901a\u308a\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u547c\u3073\u51fa\u3059\u3068\uff0c

\n
\n
\n
\n
$ sudo modprobe v4l2loopback video_nr=3,4,7 card_label=\"device number 3\",\"the number four\",\"the last\none\"
\n
\n
\n
\n

\u60f3\u5b9a\u901a\u308a\u306b\u8a2d\u5b9a\u3055\u308c\u307e\u3057\u305f\uff0e(\u6700\u5f8c\u306eIntegrated Camera\u306f\u5185\u8535\u30ab\u30e1\u30e9\u3067\u3053\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3068\u306f\u7121\u95a2\u4fc2)

\n
\n
\n
\n
$ v4l2-ctl --list-devices\ndevice number 3\" (platform:v4l2loopback-000):\n        /dev/video3\n\n\"the number four\" (platform:v4l2loopback-001):\n        /dev/video4\n\n\"the last one (platform:v4l2loopback-002):\n        /dev/video7\n\nIntegrated Camera: Integrated C (usb-0000:00:1a.0-1.6):\n        /dev/video0\n        /dev/video1\n        /dev/media0
\n
\n
\n
\n

\u3057\u304b\u3057\u3053\u306e\u8a2d\u5b9a\u3092\u6c38\u7d9a\u5316\u3057\u3088\u3046\u3068\uff0c
\n/etc/modprobe.d/v4l2loopback.conf
\n\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u3092\u7528\u610f\u3057\u3066\u3053\u306e\u8a2d\u5b9a\u3092\u66f8\u3044\u3066\u547c\u3073\u51fa\u3059\u3068\u304a\u304b\u3057\u306a\u3053\u3068\u306b\u306a\u308a\u307e\u3059\uff0e

\n
\n
\n
\n
$ sudo rmmod v4l2loopback (1)\n$ echo 'options v4l2loopback video_nr=3,4,7 card_label=\"device number 3\",\"the number four\",\"the last one\"' | sudo tee /etc/modprobe.d/v4l2loopback.conf (2)\noptions v4l2loopback video_nr=3,4,7 card_label=\"device number 3\",\"the number four\",\"the last one\"\n$ sudo modprobe -v v4l2loopback (3)\ninsmod /lib/modules/5.10.0-1-amd64/updates/dkms/v4l2loopback.ko video_nr=3,4,7 card_label=\"device number 3\",\"the number four\",\"the last one\"\n$ v4l2-ctl --list-devices | grep v4l2loopback -A1 (4)\ndevice number 3\" (platform:v4l2loopback-000):\n        /dev/video3\n--\n\"the number four\" (platform:v4l2loopback-001):\n        /dev/video4\n--\n\"the last one (platform:v4l2loopback-002):\n        /dev/video7
\n
\n
\n
\n
    \n
  1. \u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u30a2\u30f3\u30ed\u30fc\u30c9
  2. \n
  3. \u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3078\u66f8\u304d\u8fbc\u307f
  4. \n
  5. \u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u518d\u8aad\u8fbc
  6. \n
  7. \u30c7\u30d0\u30a4\u30b9\u540d\u306e\u78ba\u8a8d
  8. \n
\n
\n
\n

\u30c0\u30d6\u30eb\u30af\u30aa\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u306e\u6271\u3044\u304c\u5909\u308f\u3063\u3066\u3057\u307e\u3046\u3088\u3046\u3067\u3059\uff0e\u66f4\u306b\u540d\u524d\u81ea\u4f53\u306b\u30c0\u30d6\u30eb\u30af\u30aa\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u304c\u542b\u307e\u308c\u3066\u3057\u307e\u3044\u307e\u3059\uff0e

\n
\n
\n

\u3068\u308a\u3042\u3048\u305a\u5168\u4f53\u30921\u30bb\u30c3\u30c8\u306e\u30c0\u30d6\u30eb\u30af\u30aa\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u3067\u56f2\u3080\u3068\u5927\u4e08\u592b\u306a\u3088\u3046\u3067\u3059\uff0e

\n
\n
\n
\n
$ echo 'options v4l2loopback video_nr=3,4,7 card_label=\"device number 3,the number four,the last one\"' | sudo tee /etc/modprobe.d/v4l2loopback.conf\noptions v4l2loopback video_nr=3,4,7 card_label=\"device number 3,the number four,the last one\"\n$ sudo modprobe -v v4l2loopback\ninsmod /lib/modules/5.10.0-1-amd64/updates/dkms/v4l2loopback.ko video_nr=3,4,7 card_label=\"device number 3,the number four,the last one\"\n$ v4l2-ctl --list-devices | grep v4l2loopback -A1\ndevice number 3 (platform:v4l2loopback-000):\n        /dev/video3\n--\nthe number four (platform:v4l2loopback-001):\n        /dev/video4\n--\nthe last one (platform:v4l2loopback-002):\n        /dev/video7
\n
\n
\n
\n

\u3061\u306a\u307f\u306b\u30c0\u30d6\u30eb\u30af\u30aa\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u306a\u3057\u3060\u3068\u3053\u3046\u306a\u308a\u307e\u3057\u305f\uff0e

\n
\n
\n
\n
$ sudo modprobe -v v4l2loopback\ninsmod /lib/modules/5.10.0-1-amd64/updates/dkms/v4l2loopback.ko video_nr=3,4,7 card_label=device number 3,the number four,the last one\n$ v4l2-ctl --list-devices | grep v4l2loopback -A1\ndevice (platform:v4l2loopback-000):\n        /dev/video3\n--\nDummy video device (0x0001) (platform:v4l2loopback-001):\n        /dev/video4\n--\nDummy video device (0x0002) (platform:v4l2loopback-002):\n        /dev/video7
\n
\n
\n
\n

\u6700\u8fd1\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u305f OBS Studio 26.1\u3067Linux\u7248, macOS\u7248\u306b\u3082\u4eee\u60f3\u30ab\u30e1\u30e9\u6a5f\u80fd\u304c\u5165\u308a\u307e\u3057\u305f\uff0e
\n\u3053\u308c\u3082 v4l2loopback \u3092\u5229\u7528\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\uff0c\u30c0\u30d6\u30eb\u30af\u30aa\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u304c\u542b\u307e\u308c\u308b\u5834\u5408\u3046\u307e\u304f\u52d5\u304b\u306a\u3044\u3088\u3046\u3067\u3059\uff0e

\n
\n
\n
\u74b0\u5883
\n
\n
$ dpkg-query -W v4l2loopback-* v4l-utils\nv4l-utils       1.20.0-2\nv4l2loopback-dkms       0.12.5-1\nv4l2loopback-modules\nv4l2loopback-utils      0.12.5-1\n$ lsb_release -dr\nDescription:    Debian GNU/Linux bullseye/sid\nRelease:        unstable\n$ uname -mv\n#1 SMP Debian 5.10.4-1 (2020-12-31) x86_64
\n
\n
\n

\n", "content_text": "v4l2loopback module\u3092\u5229\u7528\u3057\u3066\u4eee\u60f3\u30ab\u30e1\u30e9\u306a\u3069\u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3059\uff0e\n\n\n\u3053\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u547c\u3073\u51fa\u3059\u3068\u304d\u306b\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u3066\u8907\u6570\u306e\u30c7\u30d0\u30a4\u30b9\u306b\u3057\u305f\u308a\uff0c\u305d\u308c\u305e\u308c\u306b\u30c7\u30d0\u30a4\u30b9\u306b\u540d\u524d\u3092\u3064\u3051\u305f\u308a\u51fa\u6765\u307e\u3059\uff0e\n\n\nhttps://github.com/umlaeute/v4l2loopback/blob/f55da057b8c1f6d1c7a5c57feeadbbf532058e59/README.md \u3088\u308a\n\n\nIf you need several independent loopback devices, you can pass the “devices” option, when loading the module; e.g.\n\n\n# modprobe v4l2loopback devices=4\nWill give you 4 loopback devices (e.g. /dev/video1 \u2026\u200b /dev/video5)\n\n\nYou can also specify the device IDs manually; e.g.\n\n\n# modprobe v4l2loopback video_nr=3,4,7\nWill create 3 devices (/dev/video3, /dev/video4 & /dev/video7)\n\n\n# modprobe v4l2loopback video_nr=3,4,7 card_label=”device number 3″,”the number four”,”the last one”\nWill create 3 devices with the card names passed as the second parameter:\n\n\n/dev/video3 \u2192 device number 3\n/dev/video4 \u2192 the number four\n/dev/video7 \u2192 the last one\n\n\n\n\n\u304a\u624b\u672c\u901a\u308a\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u547c\u3073\u51fa\u3059\u3068\uff0c\n\n\n\n$ sudo modprobe v4l2loopback video_nr=3,4,7 card_label=\"device number 3\",\"the number four\",\"the last\none\"\n\n\n\n\u60f3\u5b9a\u901a\u308a\u306b\u8a2d\u5b9a\u3055\u308c\u307e\u3057\u305f\uff0e(\u6700\u5f8c\u306eIntegrated Camera\u306f\u5185\u8535\u30ab\u30e1\u30e9\u3067\u3053\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3068\u306f\u7121\u95a2\u4fc2)\n\n\n\n$ v4l2-ctl --list-devices\ndevice number 3\" (platform:v4l2loopback-000):\n /dev/video3\n\n\"the number four\" (platform:v4l2loopback-001):\n /dev/video4\n\n\"the last one (platform:v4l2loopback-002):\n /dev/video7\n\nIntegrated Camera: Integrated C (usb-0000:00:1a.0-1.6):\n /dev/video0\n /dev/video1\n /dev/media0\n\n\n\n\u3057\u304b\u3057\u3053\u306e\u8a2d\u5b9a\u3092\u6c38\u7d9a\u5316\u3057\u3088\u3046\u3068\uff0c\n/etc/modprobe.d/v4l2loopback.conf\n\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u3092\u7528\u610f\u3057\u3066\u3053\u306e\u8a2d\u5b9a\u3092\u66f8\u3044\u3066\u547c\u3073\u51fa\u3059\u3068\u304a\u304b\u3057\u306a\u3053\u3068\u306b\u306a\u308a\u307e\u3059\uff0e\n\n\n\n$ sudo rmmod v4l2loopback (1)\n$ echo 'options v4l2loopback video_nr=3,4,7 card_label=\"device number 3\",\"the number four\",\"the last one\"' | sudo tee /etc/modprobe.d/v4l2loopback.conf (2)\noptions v4l2loopback video_nr=3,4,7 card_label=\"device number 3\",\"the number four\",\"the last one\"\n$ sudo modprobe -v v4l2loopback (3)\ninsmod /lib/modules/5.10.0-1-amd64/updates/dkms/v4l2loopback.ko video_nr=3,4,7 card_label=\"device number 3\",\"the number four\",\"the last one\"\n$ v4l2-ctl --list-devices | grep v4l2loopback -A1 (4)\ndevice number 3\" (platform:v4l2loopback-000):\n /dev/video3\n--\n\"the number four\" (platform:v4l2loopback-001):\n /dev/video4\n--\n\"the last one (platform:v4l2loopback-002):\n /dev/video7\n\n\n\n\n\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u30a2\u30f3\u30ed\u30fc\u30c9\n\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3078\u66f8\u304d\u8fbc\u307f\n\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u518d\u8aad\u8fbc\n\u30c7\u30d0\u30a4\u30b9\u540d\u306e\u78ba\u8a8d\n\n\n\n\u30c0\u30d6\u30eb\u30af\u30aa\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u306e\u6271\u3044\u304c\u5909\u308f\u3063\u3066\u3057\u307e\u3046\u3088\u3046\u3067\u3059\uff0e\u66f4\u306b\u540d\u524d\u81ea\u4f53\u306b\u30c0\u30d6\u30eb\u30af\u30aa\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u304c\u542b\u307e\u308c\u3066\u3057\u307e\u3044\u307e\u3059\uff0e\n\n\n\u3068\u308a\u3042\u3048\u305a\u5168\u4f53\u30921\u30bb\u30c3\u30c8\u306e\u30c0\u30d6\u30eb\u30af\u30aa\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u3067\u56f2\u3080\u3068\u5927\u4e08\u592b\u306a\u3088\u3046\u3067\u3059\uff0e\n\n\n\n$ echo 'options v4l2loopback video_nr=3,4,7 card_label=\"device number 3,the number four,the last one\"' | sudo tee /etc/modprobe.d/v4l2loopback.conf\noptions v4l2loopback video_nr=3,4,7 card_label=\"device number 3,the number four,the last one\"\n$ sudo modprobe -v v4l2loopback\ninsmod /lib/modules/5.10.0-1-amd64/updates/dkms/v4l2loopback.ko video_nr=3,4,7 card_label=\"device number 3,the number four,the last one\"\n$ v4l2-ctl --list-devices | grep v4l2loopback -A1\ndevice number 3 (platform:v4l2loopback-000):\n /dev/video3\n--\nthe number four (platform:v4l2loopback-001):\n /dev/video4\n--\nthe last one (platform:v4l2loopback-002):\n /dev/video7\n\n\n\n\u3061\u306a\u307f\u306b\u30c0\u30d6\u30eb\u30af\u30aa\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u306a\u3057\u3060\u3068\u3053\u3046\u306a\u308a\u307e\u3057\u305f\uff0e\n\n\n\n$ sudo modprobe -v v4l2loopback\ninsmod /lib/modules/5.10.0-1-amd64/updates/dkms/v4l2loopback.ko video_nr=3,4,7 card_label=device number 3,the number four,the last one\n$ v4l2-ctl --list-devices | grep v4l2loopback -A1\ndevice (platform:v4l2loopback-000):\n /dev/video3\n--\nDummy video device (0x0001) (platform:v4l2loopback-001):\n /dev/video4\n--\nDummy video device (0x0002) (platform:v4l2loopback-002):\n /dev/video7\n\n\n\n\u6700\u8fd1\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u305f OBS Studio 26.1\u3067Linux\u7248, macOS\u7248\u306b\u3082\u4eee\u60f3\u30ab\u30e1\u30e9\u6a5f\u80fd\u304c\u5165\u308a\u307e\u3057\u305f\uff0e\n\u3053\u308c\u3082 v4l2loopback \u3092\u5229\u7528\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\uff0c\u30c0\u30d6\u30eb\u30af\u30aa\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u304c\u542b\u307e\u308c\u308b\u5834\u5408\u3046\u307e\u304f\u52d5\u304b\u306a\u3044\u3088\u3046\u3067\u3059\uff0e\n\n\n\u74b0\u5883\n\n$ dpkg-query -W v4l2loopback-* v4l-utils\nv4l-utils 1.20.0-2\nv4l2loopback-dkms 0.12.5-1\nv4l2loopback-modules\nv4l2loopback-utils 0.12.5-1\n$ lsb_release -dr\nDescription: Debian GNU/Linux bullseye/sid\nRelease: unstable\n$ uname -mv\n#1 SMP Debian 5.10.4-1 (2020-12-31) x86_64", "date_published": "2021-01-11T19:44:58+09:00", "date_modified": "2021-01-11T19:44:58+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/1865f695c4eecc844385acef2f078255036adccd42c254580ea3844543ab56d9?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/1865f695c4eecc844385acef2f078255036adccd42c254580ea3844543ab56d9?s=512&d=mm&r=g" }, "tags": [ "OBS Studio", "v4l2loopback", "VertualCamera", "Debian", "Linux", "sid", "\u672a\u5206\u985e" ] } ] }