Re: [FFmpeg-user] Extract audio from video and use one frame as cover image

2021-01-08 Thread Gyan Doshi
On 09-01-2021 08:06 am, Bernhard Döbler wrote: Am 08.01.2021 um 05:18 schrieb Gyan Doshi: On 08-01-2021 06:37, Bernhard Döbler wrote: I have video files. I want to extract the audio and use one single frame from the video track as cover image. The command line looks like this ffmpeg.exe

[FFmpeg-user] Lag when streaming video+audio from RPi Zero W with Logitech C920

2021-01-08 Thread Emanuele
I've been trying to set up a baby monitor with a Raspberry Pi Zero and a Logitech C920 webcam. It does work with VLC (cvlc) but it lags too much and gets worse over time. So I am playing around with ffmpeg and I am getting some better results. This is what I've done so far. First I set the

Re: [FFmpeg-user] Unable to play recorded audio and video from webcam using ffmpeg

2021-01-08 Thread Vijay Rakesh Munganda
Hi Carl, Thanks for the reply. -f 25 for encoding the video in 25 FPS (because 1000 milliseconds / 40 milliseconds = 25 frames) and tell FFmpeg to use every frame as a key frame (-g 1). Thanks & Regards, Vijay Rakesh > On 09-Jan-2021, at 01:04, Carl Eugen Hoyos wrote: > >  > >> Am

Re: [FFmpeg-user] overlaying animated PNG, doesn't loop

2021-01-08 Thread Carl Zwanzig
On 1/8/2021 6:47 AM, Dave Thorn via ffmpeg-user wrote: Coming back to ffmpeg after a while away, so my version is probably a bit out of date by now[1] _Always_ try an up-to-date version, even if you don't think that's the problem. z! ___ ffmpeg-user

Re: [FFmpeg-user] Extract audio from video and use one frame as cover image

2021-01-08 Thread Bernhard Döbler
Am 08.01.2021 um 05:18 schrieb Gyan Doshi: On 08-01-2021 06:37, Bernhard Döbler wrote: I have video files. I want to extract the audio and use one single frame from the video track as cover image. The command line looks like this ffmpeg.exe -y -i "e:\01. Video.mp4" -filter:v

Re: [FFmpeg-user] Unable to play recorded audio and video from webcam using ffmpeg

2021-01-08 Thread Carl Eugen Hoyos
> Am 08.01.2021 um 17:17 schrieb Vijay Rakesh Munganda > : > > ffmpeg -f alsa -thread_queue_size 1024 -i hw:0 -f video4linux2 -i /dev/video0 > -c:a aac -t 0:10 -segment_time 00:00.040 -f segment sample-%003d.aac -c:v > libx264 -t -f 25 -g 1 0:10 -segment_time 00:00.040 -f segment

[FFmpeg-user] Unable to play recorded audio and video from webcam using ffmpeg

2021-01-08 Thread Vijay Rakesh Munganda
Hi, I’m trying to record audio and video from webcam with ffmpeg using below command, but I’m unable to play all generated files using ffplay. Command: ffmpeg -f alsa -thread_queue_size 1024 -i hw:0 -f video4linux2 -i /dev/video0 -c:a aac -t 0:10 -segment_time 00:00.040 -f segment

[FFmpeg-user] overlaying animated PNG, doesn't loop

2021-01-08 Thread Dave Thorn via ffmpeg-user
Coming back to ffmpeg after a while away, so my version is probably a bit out of date by now[1] I have an animated PNG that loops forever (it does in firefox and chrome, and looking inside with a hex editor I think it specifies infinite looping). ffmpeg -i input.mp4 -i elephant.apng