Re: [FFmpeg-user] Webcam capture

2020-07-22 Thread Rodolfo Medina
Rodolfo Medina writes: > Leonardo via ffmpeg-user writes: > >> Since you have an AMD cpu/apu, one last resort that I can think of is to >> capture webcam with hardware acceleration. >> >> > > > Nothing, the problem remains... it gets stuck for some seconds... The problem also occurs with anot

Re: [FFmpeg-user] Webcam capture

2020-07-22 Thread Rodolfo Medina
Leonardo via ffmpeg-user writes: > Since you have an AMD cpu/apu, one last resort that I can think of is to > capture webcam with hardware acceleration. > > > Extracted from https://trac.ffmpeg.org/wiki/Hardware/VAAPI > > Also, you need to verify what "-vaapi_device" is the correct one for your >

Re: [FFmpeg-user] Webcam capture

2020-07-22 Thread Leonardo via ffmpeg-user
Since you have an AMD cpu/apu, one last resort that I can think of is to capture webcam with hardware acceleration. Extracted from https://trac.ffmpeg.org/wiki/Hardware/VAAPI Also, you need to verify what "-vaapi_device" is the correct one for your machine. The wiki has much more information.

Re: [FFmpeg-user] Webcam capture

2020-07-22 Thread Rodolfo Medina
Leonardo via ffmpeg-user writes: > What is the output of > > $ cat /proc/cpuinfo > > ? Here it is: processor : 0 vendor_id : AuthenticAMD cpu family : 22 model : 48 model name : AMD A6-7310 APU with AMD Radeon R4 Graphics stepping: 1 microcode : 0x

Re: [FFmpeg-user] Webcam capture

2020-07-22 Thread Leonardo via ffmpeg-user
What is the output of $ cat /proc/cpuinfo ? ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Webcam capture

2020-07-22 Thread Rodolfo Medina
Leonardo via ffmpeg-user writes: > Hello, > > as an alternative, you can display your webcam at screen with mplayer > > $ mplayer tv:// -tv > driver=v4l2:width=640:height=480:device=/dev/video0:fps=30:outfmt=yuy2 > -noborder -geometry 640x480+0+0 > > and record your screen+audio with ffmpeg (here

Re: [FFmpeg-user] Webcam capture

2020-07-22 Thread Leonardo via ffmpeg-user
Hello, as an alternative, you can display your webcam at screen with mplayer $ mplayer tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0:fps=30:outfmt=yuy2 -noborder -geometry 640x480+0+0 and record your screen+audio with ffmpeg (here I'm using pulseaudio because of the "noise-red

Re: [FFmpeg-user] Webcam capture

2020-07-22 Thread Rodolfo Medina
Carl Zwanzig writes: > On 7/22/2020 6:22 AM, Rodolfo Medina wrote: >> Same problem also with simply: >> >> $ ffmpeg -f alsa -i hw:1,0 -f video4linux2 -i /dev/video0 out.mpg >> >> , and audio completely out of sync... > > And complete command output is still missing (it's always helpful) > >

Re: [FFmpeg-user] Webcam capture

2020-07-22 Thread Carl Zwanzig
On 7/22/2020 6:22 AM, Rodolfo Medina wrote: Same problem also with simply: $ ffmpeg -f alsa -i hw:1,0 -f video4linux2 -i /dev/video0 out.mpg , and audio completely out of sync... And complete command output is still missing (it's always helpful) Since this works-- mencoder tv:// -tv dr

Re: [FFmpeg-user] Webcam capture

2020-07-22 Thread Rodolfo Medina
Paul B Mahol writes: > On 7/20/20, Rodolfo Medina wrote: >> Hi all. >> >> When capturing video from webcam, with: >> >> $ ffmpeg -f video4linux2 -s 3200x2400 -i /dev/video0 -vb 20M out.mpg > > 3200x2400 is very big resolution Same problem also with simply: $ ffmpeg -f alsa -i hw:1,0 -f vid

Re: [FFmpeg-user] Webcam capture

2020-07-20 Thread Paul B Mahol
On 7/20/20, Rodolfo Medina wrote: > Hi all. > > When capturing video from webcam, with: > > $ ffmpeg -f video4linux2 -s 3200x2400 -i /dev/video0 -vb 20M out.mpg 3200x2400 is very big resolution > > , out.mpg stops, freezes, gets stuck at the beginning for a few seconds. > Only > at the beginni

[FFmpeg-user] Webcam capture

2020-07-20 Thread Rodolfo Medina
Hi all. When capturing video from webcam, with: $ ffmpeg -f video4linux2 -s 3200x2400 -i /dev/video0 -vb 20M out.mpg , out.mpg stops, freezes, gets stuck at the beginning for a few seconds. Only at the beginning and only for a few seconds. I thought the problem was related to the cheap low-qu