-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
screen recording issue #23
Comments
Hi @pan87232494 I recommend reading the recent updates of the issues, there is some usuful information over there. Also, can you please try: you might need the ffmpeg package. |
many thanks for your replay. I did go through issue list, and tried method of changing avconv -f video4linux2 ... to avconv -f v4l2 -standard pal ... , but still not work. here is output [video4linux2,v4l2 @ 0x68300490] Raw : yuyv422 : YUYV 4:2:2 : |
I tried one more time using your install.sh to setup on clean env, raspbian image and boot/config, keep the same. And the raspbian lite image is not able to boot in my raspberry Pi 3B+, would you please provide a workground will appreciated. then I see green lines get displayed when I use pi0 as client, but still not working, and I get black image from test output |
plus,
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND |
pi@raspberrypi:/var/www/html $ dmesg | grep usb |
finally , I get video displayed. but seems keyboard is not pass through from web to pi0, from pi0 to the machine is ok. ----below is command to make video work It is strange, at begining web monitor display is black( include, everytime i refresh page) , I have to start mplayer through vnc, then “ctrl c" to cancel it. then the video is switched to the web display. |
What is in your |
yes, I send command from Pi0 to the machine is ok (screen usb0). |
OK, that's good then. Something is probably showing up in the PHP logs. Can you tail them while attempting the commands? And just to be sure, you are "typing" on the webpage, not "clicking" on the letters, right? |
I folllowed your guide, and copied hardware setting
https://www.amazon.com/dp/B012MDMWLM
https://www.amazon.com/dp/B0126O0RDC
I want to use this to connect to my ubuntu desktop machine ( 1080ti + intel 8700 core video chip)
but I always get black screen, when I do test via following command:
mencoder tv:// -tv driver=v4l2:norm=NTSC:device=/dev/video0:input=1:fps=5 -nosound -ovc copy -o test.avi
avconv -f video4linux2 -i /dev/video0 -vframes 1 -s 720x480 test.jpg
and also, I get alot frame skiping message, please help. thanks a lot.
--------------------------------env info-------------------------
pi@raspberrypi:~ $ mencoder -v
MEncoder 1.3.0 (Debian), built with gcc-6.2.1 (C) 2000-2016 MPlayer Team
pi@raspberrypi:~ $ mencoder tv:// -tv driver=v4l2:norm=NTSC:device=/dev/video0:input=1:fps=5 -nosound -ovc copy -o test.avi
MEncoder 1.3.0 (Debian), built with gcc-6.2.1 (C) 2000-2016 MPlayer Team
success: format: 9 data: 0x0 - 0x0
TV file format detected.
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski [email protected]
comment: first try, more to come ;-)
Selected device: usbtv
Capabilities: video capture read/write streaming
supported norms: 0 = NTSC; 1 = NTSC-M; 2 = NTSC-M-JP; 3 = NTSC-M-KR; 4 = NTSC-443; 5 = PAL; 6 = PAL-BG; 7 = PAL-H; 8 = PAL-I; 9 = PAL-DK; 10 = PAL-M; 11 = PAL-60;
inputs: 0 = Composite; 1 = S-Video;
Current input: 1
Current format: YUYV
Selected input hasn't got a tuner!
v4l2: ioctl set mute failed: Invalid argument
[V] filefmt:9 fourcc:0x32595559 size:720x480 fps:5.000 ftime:=0.2000
videocodec: framecopy (720x480 24bpp fourcc=32595559)
Forcing audio preload to 0, max pts correction to 0.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
Pos: 0.0s 1f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.2s 2f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.2s 3f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
.....
The text was updated successfully, but these errors were encountered: