[FFmpeg-user] last 2 seconds are cut recording screen - hardware aceleration

2020-06-29 Thread Leonardo via ffmpeg-user
Hello, I'm trying to use ffmpeg to record the computer screen and also audio from microfone. Googling I found a lot of "how to". Although I can now record, I do have a few questions (3): 1) Using command $ ffmpeg -thread_queue_size 512 -f alsa -ac 2 -ar 44100 -i hw:0,0 -video_size 1024x768

[FFmpeg-user] (no subject)

2020-06-29 Thread Leonardo via ffmpeg-user
Hello, I'm trying to use ffmpeg to record the computer screen and also audio from microfone. Googling I found a lot of "how to". Although I can now record, I do have a few questions (3): 1) Using command $ ffmpeg -thread_queue_size 512 -f alsa -ac 2 -ar 44100 -i hw:0,0 -video_size 1024x768

Re: [FFmpeg-user] Encoding Warnings

2020-06-29 Thread Carl Eugen Hoyos
Am Mo., 29. Juni 2020 um 16:44 Uhr schrieb Jim : > >> The two lines that are concerning to me are: > >> > >> 'Guessed Channel Layout for Input Stream #1.0 : stereo' > >> > >> Of course it's stereo - I jump dumped it to a 2-channel wave in the step 2! > >> :) > >> I'm guessing that I can

Re: [FFmpeg-user] Encoding Warnings

2020-06-29 Thread adam smith via ffmpeg-user
> On 29 Jun 2020, at 15:44, Jim wrote: > > (While this doesn't equalize the volume or eliminate all volume-related > inconsistencies, it does make the loudest part of each video the same and is > the best solution I've found; I think you would like the loudnorm filter that incorporates

Re: [FFmpeg-user] What version of ffmpeg is compatible with libvpx 1.5.0?

2020-06-29 Thread Moritz Barsnick
On Sun, Jun 28, 2020 at 22:40:39 -0300, CESAR MURILO DA SILVA JUNIOR wrote: > I use OS Slackware 14.2, and for it there is libvpx 1.5.0. Which version of > ffmpeg is supported? ffmpeg has supported libvpx 1.5.0 for a very long time, and still does. > I currently have ffmpeg 3.2.4 and wanted to

Re: [FFmpeg-user] extract first 26 seconds not workings as expected

2020-06-29 Thread Moritz Barsnick
On Sun, Jun 28, 2020 at 18:31:15 +, Leonardo via ffmpeg-user wrote: > $ ffmpeg -i main.mp4 -ss 00:00:00.00 -t 00:00:26.00 -c copy part1.mp4 [...] > frame=  322 fps=0.0 q=-1.0 Lsize= 523kB time=00:00:25.95 bitrate= > 165.2kbits/s speed=8.19e+03x     > video:519kB audio:0kB subtitle:0kB

Re: [FFmpeg-user] Sound level measuring on the 2nd audio stream

2020-06-29 Thread Paul B Mahol
On 6/29/20, Alex wrote: > Hi All! > I faced difficulties while trying to measure sound level for a > multimedia file with multiple audio streams. Here is the background: > > 1) ffmpeg 4.2.2 and it was used in different OS (Windows, FreeBSD). > > 2) The source file: > > Input #0,

Re: [FFmpeg-user] Catching all error warnings via ffprobe

2020-06-29 Thread Kieran O Leary
Hi - I've done some more tests and either I'm missing something here or perhaps this is a bug? It seems like only video errors appear in the JSON, not audio. I bumped up the loglevel, added and -show_error and I'm still not seeing the mp2 header issues appear in the json. For example this appears

Re: [FFmpeg-user] libaom - first frame not lossless when > 7 frames in source

2020-06-29 Thread Kieran O Leary
On Sun, Jun 7, 2020 at 10:08 PM Kieran O Leary wrote: > > > On Sun, Jun 7, 2020 at 10:06 PM pdr0 wrote: > >> Intra only compression , using -g 1 makes it lossless . Maybe a clue there >> > > Aye - I can confirm that -g 1 produces matching framemd5s. > Just checking in on this issue - any

[FFmpeg-user] Sound level measuring on the 2nd audio stream

2020-06-29 Thread Alex
Hi All! I faced difficulties while trying to measure sound level for a multimedia file with multiple audio streams. Here is the background: 1) ffmpeg 4.2.2 and it was used in different OS (Windows, FreeBSD). 2) The source file: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test1.mov':   Metadata:    

Re: [FFmpeg-user] Sound level measuring on the 2nd audio stream

2020-06-29 Thread Nicolas George
Alex (12020-06-29): > The documentation (https://ffmpeg.org/ffmpeg-filters.html#astats-1) says > that it's possible to set the channel number (starting from 1) or string ^^^ > 'Overall' for the integral value. I decided to print levels for 1st and > 2nd audio

Re: [FFmpeg-user] extract first 26 seconds not workings as expected

2020-06-29 Thread Leonardo via ffmpeg-user
Hello >You may want to try the option "-copyinkf" ("copy initial >non-keyframes") when using "-c copy". I tried with this option, but the extracted part was "grayed" at the beginning. The only workaround that I found that worked was $ ffmpeg -i main.mp4 -vf "trim=start=0:end=26" part1.mp4

[FFmpeg-user] write output of find_rect to a file?

2020-06-29 Thread Michael Koch
Hello, I want to track an object and need the x,y coordinates of this object for each frame. Is it possible to write the output of the find_rect filter to a file? Michael ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

Re: [FFmpeg-user] What version of ffmpeg is compatible with libvpx 1.5.0?

2020-06-29 Thread CESAR MURILO DA SILVA JUNIOR
Hello, Motitz See the output of the command: root@darkstar:~# ffmpeg -codecs | grep libvpx ffmpeg version 3.2.4 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 5.5.0 (GCC) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64

[FFmpeg-user] aresample in_channel_layout has no effect

2020-06-29 Thread Christian Ebert
on 2020-06-29 at 14:53:17 Report written to "ffmpeg-20200629-145317.log" Log level: 48 ffmpeg version N-98130-g38737b3d4e Copyright (c) 2000-2020 the FFmpeg developers built with Apple clang version 11.0.0 (clang-1100.0.33.17) configuration: --enable-gpl --enable-nonfree --enable-share

Re: [FFmpeg-user] write output of find_rect to a file?

2020-06-29 Thread Moritz Barsnick
Hi Michael, On Mon, Jun 29, 2020 at 13:24:30 +0200, Michael Koch wrote: > Hello, > > I want to track an object and need the x,y coordinates of this object > for each frame. > Is it possible to write the output of the find_rect filter to a file? I don't have any good command line for find_rect

Re: [FFmpeg-user] Encoding Warnings

2020-06-29 Thread Jim
Hi Carl On 06/27/20 06:11, Carl Eugen Hoyos wrote: Am Fr., 26. Juni 2020 um 21:56 Uhr schrieb Ruler2112 : Step 3: Standardize Volume Not performed by ffmpeg I am curious: Why? [...] AFAIK, ffmpeg does not have the ability to analyze the volume of every sample throughout an audio file,

Re: [FFmpeg-user] Encoding Warnings

2020-06-29 Thread Moritz Barsnick
On Mon, Jun 29, 2020 at 17:18:51 +0200, Moritz Barsnick wrote: > $ ffmpeg -i INPUT -map 0:a -af volumedetect -f null - > > and will find the absolute maximum of the first audio channel. I meant: of the first audio *stream*. Sorry. Moritz ___

Re: [FFmpeg-user] write output of find_rect to a file?

2020-06-29 Thread Michael Koch
Hi Moritz, I don't have any good command line for find_rect handy, but it should work with something like this (untested, of course): $ ffprobe -f lavfi -i movie=input.mp4,find_rect=options -show_entries frame=pkt_pts_time:frame_tags=lavfi.rect.w,lavfi.rect.h,lavfi.rect.x,lavfi.rect.y -of

Re: [FFmpeg-user] Encoding Warnings

2020-06-29 Thread Moritz Barsnick
On Mon, Jun 29, 2020 at 10:44:04 -0400, Jim wrote: > AFAIK, ffmpeg does not have the ability to analyze the volume of every > sample throughout an audio file, find the greatest amplitude, calculate > the adjustment needed to make the loudest part of the file the maximum, It does. > and then

[FFmpeg-user] Stream during capture/compress?

2020-06-29 Thread Simon Roberts
I would like to get a live monitor of the output of an ffmpeg process (it's actually a capture and compress process). I believe I could achieve this by adding a streaming output, and then separately starting an ffplay process to display that (I haven't tried this yet, but have got most of the

Re: [FFmpeg-user] RTMP and proxy

2020-06-29 Thread Madovsky
On 6/29/2020 10:23 AM, Verachten Bruno wrote: Hi there, I'm trying to get ffmpeg to use a proxy. Here is my command: ffmpeg -http_proxy "http://192.168.0.217:3128/; -i sample.h264 -c:v copy -c:a copy -f flv "rtmp://live-cdg.twitch.tv/app/live_toto" -loglevel debug ffmpeg version 4.2.3

[FFmpeg-user] RTMP and proxy

2020-06-29 Thread Verachten Bruno
Hi there, I'm trying to get ffmpeg to use a proxy. Here is my command: ffmpeg -http_proxy "http://192.168.0.217:3128/; -i sample.h264 -c:v copy -c:a copy -f flv "rtmp://live-cdg.twitch.tv/app/live_toto" -loglevel debug ffmpeg version 4.2.3 Copyright (c) 2000-2020 the FFmpeg developers built

Re: [FFmpeg-user] write output of find_rect to a file?

2020-06-29 Thread Moritz Barsnick
On Mon, Jun 29, 2020 at 17:35:50 +0200, Michael Koch wrote: > Very good, that's exactly what I need. I did already make some tests > with -show_entries before I posted this question. But I didn't know the > names of the variables "lavfi.rect.x" and "lavfi.rect.y". Are these > variables documented

Re: [FFmpeg-user] RTMP and proxy

2020-06-29 Thread Verachten Bruno
Thanks. I have just recompiled ffmpeg with librtmp, and I now have access to the socks proxy option. Except my proxy is not a socks proxy. What about the -http_proxy option? Do I have to add a special option to configure to get ffmpeg to understand this option? Thanks. On Mon, Jun 29, 2020 at

Re: [FFmpeg-user] extract first 26 seconds not workings as expected

2020-06-29 Thread Leonardo via ffmpeg-user
Hello Carl, > Please test current FFmpeg git head, if the issue is reproducible > provide an input sample. I tested with current git and the results were the same. As noticed by Moritz at the output of ffprobe $ ffprobe part1.mp4 ffprobe version N-98341-gcca982ee01 Copyright (c) 2007-2020

Re: [FFmpeg-user] RTMP and proxy

2020-06-29 Thread Moritz Barsnick
On Mon, Jun 29, 2020 at 19:23:25 +0200, Verachten Bruno wrote: > I'm trying to get ffmpeg to use a proxy. Here is my command: > ffmpeg -http_proxy "http://192.168.0.217:3128/; -i sample.h264 -c:v > copy -c:a copy -f flv "rtmp://live-cdg.twitch.tv/app/live_toto" > -loglevel debug > Option