Comments (6)
I tried running
ffmpeg -f x11grab -r 60 -s 1920x1080 -i :0.0+0,0 -pix_fmt yuv420p -f v4l2 /dev/video50
With these results:
ffmpeg version 4.2.4 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 9 (GCC)
configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --extra-ldflags='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' --extra-cflags=' ' --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libaom --enable-libdav1d --enable-libass --enable-libbluray --enable-libcdio --enable-libdrm --enable-libjack --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-nvenc --enable-openal --enable-opencl --enable-opengl --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librsvg --enable-libsrt --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-version3 --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg --enable-libzvbi --enable-avfilter --enable-avresample --enable-libmodplug --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-libmfx --enable-runtime-cpudetect
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
[x11grab @ 0x563fa4c2be80] Stream #0: not enough frames to estimate rate; consider increasing probesize
Input #0, x11grab, from ':0.0+0,0':
Duration: N/A, start: 1598382000.931736, bitrate: N/A
Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1920x1080, 60 fps, 1000k tbr, 1000k tbn, 1000k tbc
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> rawvideo (native))
Press [q] to stop, [?] for help
[video4linux2,v4l2 @ 0x563fa4c360c0] Unable to open V4L2 device '/dev/video50'
Could not write header for output file #0 (incorrect codec parameters ?): No such file or directory
Error initializing output stream 0:0 --
I've installed libv4l and v4l-utils, can't find any Fedora repo for v4l2
from mon2cam.
Hey,
Try running sudo modprobe -r v4l2loopback
I think v4l2 is not properly installed on your system.
from mon2cam.
Yeah, v4l2loopbackis separate from those, it's a kernel module, you'll probably have to manually compile it if it's not available in the repos
from mon2cam.
If you do make it work, could you post the results, so we can show the install process in the readme?
from mon2cam.
Sorry, gave up on it and changed my distro to debian, fedora had been an uphill battle since I'd installed it.
from mon2cam.
Haha 😄,
Well if you do try out Mon2Cam on debian, and you have problems, don't hesitate to reopen the issue.
from mon2cam.
Related Issues (20)
- cant run the software after install HOT 2
- Can't run mon2cam HOT 1
- After updating sudo, mon2cam no longer works. HOT 5
- Discord share window stock in "loading" HOT 3
- Use dedicated GPU HOT 5
- Permissions Error HOT 5
- Failed to create V4L2 device HOT 9
- No such file or directory (let p = Deno.run({...) HOT 2
- Audio completely unusable, is this on my end? HOT 5
- error on garuda X64, with zen kernel 5.11.15, nvidia graphics card with the 465.24.02 driver version and gnome 40. HOT 6
- Sound loopback doesn't work on Pipewire :/ HOT 8
- Output not containing mic input
- Sound not working on Ubuntu 20.04 (with pulseaudio)
- error: Uncaught (in promise) PermissionDenied: Permission denied (os error 13) let p = Deno.run({ cmd: splits, stdout: out, stderr: out, env: { LANG: "C" } }); HOT 1
- troubles running on debian HOT 1
- [Arch] getting PANIC reggarding v4l2 HOT 2
- Shared screen looks entirely black HOT 2
- mon2cam immediately returns HOT 4
- [arch] ffmpeg fails to launch, avcodec error (av_interleaved_write_frame(): Invalid argument) HOT 2
- Wayland option does not give monitor selector
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mon2cam.