Re: [FFmpeg-user] Two video streams generated with map, filter_complex, scale

2025-06-21 Thread Gyan Doshi
On 2025-06-21 04:53 am, Hans Carlson via ffmpeg-user wrote: Was there a change in behavior with regards to the interaction between map, filter_complex and scale at some point between 4.4.2 and 6.1.2? To be more precise...  The following command using 6.1.2 generates output with 2 video strea

Re: [FFmpeg-user] Audio captured via AVFoundation is unusable

2025-06-14 Thread Gyan Doshi
On 2025-06-15 08:37 am, FFmpeg via ffmpeg-user wrote: Ok, you may need to apply the patch at the below link as well. https://patchwork.ffmpeg.org/project/ffmpeg/patch/5842508d-32f6-3073-8d1f-9ea8819d9...@mail.de/ The patch wouldn't apply, so I added the changes manually: https://drive.proton.

Re: [FFmpeg-user] Audio captured via AVFoundation is unusable

2025-06-07 Thread Gyan Doshi
On 2025-06-06 01:43 pm, FFmpeg via ffmpeg-user wrote: Diff patch attached. Use `git apply` . Initially test with -f avfoundation \ -audio_probe_wait 2 \ -i ... \ Check till values of 15 or so. Thank you for the patch Gyan, I applied it, verified that the changes applied in the libavdevic

Re: [FFmpeg-user] Audio captured via AVFoundation is unusable

2025-06-04 Thread Gyan Doshi
est with -f avfoundation \ -audio_probe_wait 2 \ -i ... \ Check till values of  15 or so. Regards, Gyan From 06c626a01170d05fb5b67c0d3d9e89bfc385381f Mon Sep 17 00:00:00 2001 From: Gyan Doshi Date: Wed, 4 Jun 2025 12:31:08 +0530 Subject: [PATCH] lavd/avfoundation: allow delay for audio format probing Set -au

Re: [FFmpeg-user] Audio captured via AVFoundation is unusable

2025-06-02 Thread Gyan Doshi
On 2025-06-01 05:58 am, FFmpeg via ffmpeg-user wrote: I'm currently attempting to move from a Windows audio/video capture rig to a Mac. On Windows, I relied heavily on FFmpeg & DirectShow to capture clean audio/video feeds from PCIe capture cards, as well as audio from my RME audio interface

Re: [FFmpeg-user] multiple readrate

2025-03-19 Thread Gyan Doshi
On 2025-03-19 04:43 pm, Jonathan Baecker wrote: Hi, does anyone know if it makes sense to use the -readrate option for each input file or is it enough to use it only once. You should set it for all inputs supplying streams to the same output. If you don't, packets are likely get buffered f

Re: [FFmpeg-user] libavcodec/libsvtav1.c:438:70: error: too many arguments to function call, expected 2, have 3

2025-01-31 Thread Gyan Doshi
On 2025-01-31 03:57 pm, Moritz Barsnick via ffmpeg-user wrote: On Fri, Jan 31, 2025 at 18:21:44 +0900, 桃源老師 wrote: I'm building ffmpeg(current git head) but get the following error, and then can't step up next... libavcodec/libsvtav1.c:438:70: error: too many arguments to function call, exp

Re: [FFmpeg-user] Live lipsync from different inputs and RTCSTART in (a)setpts

2025-01-13 Thread Gyan Doshi
On 2025-01-13 08:39 pm, Vilnis Bicevskis wrote: Or wallclock time value passed from input to setpts filter? For each input, you can add `-use_wallclock_as_timestamps true` Regards, Gyan ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https:/

Re: [FFmpeg-user] How to download and transcode video stream to mp4 and save the TS stream to file at the same time?

2024-09-30 Thread Gyan Doshi
On 2024-09-30 05:46 pm, Bo Berglund wrote: On Mon, 30 Sep 2024 13:40:44 +0530, Gyan Doshi wrote: On 2024-09-30 01:34 pm, Bo Berglund wrote: I checked with CharGPT and got the following: [quote] The hybrid_fragmented flag was added to FFmpeg in version 6.0, released on June 5, 2024. This

Re: [FFmpeg-user] How to download and transcode video stream to mp4 and save the TS stream to file at the same time?

2024-09-30 Thread Gyan Doshi
On 2024-09-30 01:34 pm, Bo Berglund wrote: I checked with CharGPT and got the following: [quote] The hybrid_fragmented flag was added to FFmpeg in version 6.0, released on June 5, 2024. This feature allows for the creation of hybrid fragmented/non-fragmented MP4 files, which can be useful for

Re: [FFmpeg-user] How to download and transcode video stream to mp4 and save the TS stream to file at the same time?

2024-09-29 Thread Gyan Doshi
On 2024-09-30 01:29 am, Bo Berglund wrote: I have created a script that downloads Internet video streams (basically news programs) and transcodes to mp4 format with a fixed windows size. As soon as the video stream recording ends the mp4 file can be played. I wonder if there is a way to let f

Re: [FFmpeg-user] has setpts filter been changed?

2024-08-10 Thread Gyan Doshi
On 2024-08-10 11:04 am, William C Bonner wrote: On Thu, Aug 8, 2024 at 6:27 PM wrote: This seems that the new code speed up the reported fps without dropping any frames. Looks like this was changed here https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/f121d954ac89060cb7b07da230479cffe5bf9e

Re: [FFmpeg-user] Big missmatch In format duration (ffmpeg V6)

2024-07-22 Thread Gyan Doshi
On 2024-02-11 10:56 pm, Avraham Sikirov via ffmpeg-user wrote: Hello Carl, Thanks for your response. This is the complete and unedited output from that exact command. There are 3 parts in the output of ffprobe to a video file. 1. Audio stream. 2. Video stream 3. Format (which represents the

Re: [FFmpeg-user] forced-idr -- 3 more tired

2024-07-10 Thread Gyan Doshi
On 2024-07-11 03:09 am, Paul B Mahol wrote: On Wed, Jul 10, 2024 at 11:18 PM Mark Filipak wrote: On 10/07/2024 13.51, Will Boba wrote: On 7/10/24 10:26, Mark Filipak wrote: Three more tried. ffmpeg -forced-idr 1 -i ... -c:v libx264 -an -sn -start_at_zero -muxdelay 0 ... [in#0 @ 0

Re: [FFmpeg-user] FFmpeg

2024-05-16 Thread Gyan Doshi
On 2024-05-17 10:12 am, Keith Reno wrote: I have ffmpeg-7.0-full_build downloaded on my computer. When I select ffmpeg the screen flashes but nothing loads. Do I have the correct version or am I doing something wrong? Read https://video.stackexchange.com/questions/20495/how-do-i-set-up-

Re: [FFmpeg-user] Retain but don't playback frames outside of edit list for transcode

2024-05-07 Thread Gyan Doshi
On 2024-05-08 08:55 am, Anne Wu via ffmpeg-user wrote: Hi, Looking for some guidance on if handling edit-lists this way is possible. I recently ran into a situation where I need to transcode videos that include edit lists. The edit-list specifies to drop the first few frames of the video, and t

Re: [FFmpeg-user] Remuxing TS to MP4 causes black frame in Apple playback scenarios

2024-05-01 Thread Gyan Doshi
On 2024-05-02 03:21 am, Sid Sethupathi wrote: Hello, I have a process that remuxes short HLS playlists into an mp4 format. The output mp4 in this process has an all black first frame when played back in either Safari or Quicktime Player. Everywhere else, the first frame does not have this bla

Re: [FFmpeg-user] Hyper fast gone in Gyan's binaries

2024-04-09 Thread Gyan Doshi
On 2024-04-09 05:58 pm, Bouke / edit 'B wrote: On 9 Apr 2024, at 13:45, Gyan Doshi wrote: On 2024-04-09 02:46 pm, Bouke / edit 'B wrote: For my work I try an install of FFmpeg by running it without any params. It used to be that the return would include ‘Hyper fast’. Ho

Re: [FFmpeg-user] Hyper fast gone in Gyan's binaries

2024-04-09 Thread Gyan Doshi
On 2024-04-09 02:46 pm, Bouke / edit 'B wrote: For my work I try an install of FFmpeg by running it without any params. It used to be that the return would include ‘Hyper fast’. However, the current binaries from Gyan do not include that, but state ‘Universal media encoder’. That descriptio

Re: [FFmpeg-user] compile failure during make

2024-03-08 Thread Gyan Doshi
On 2024-03-08 11:58 am, Gyan Doshi wrote: On 2024-03-08 06:06 am, Jim Worrall wrote: I’ve been building ffmpeg on a Mac since 2017, and this is the first time I’ve run into this kind of problem.  I pulled the latest git head today.  After getting all the dependencies set up, I configure

Re: [FFmpeg-user] compile failure during make

2024-03-07 Thread Gyan Doshi
On 2024-03-08 06:06 am, Jim Worrall wrote: I’ve been building ffmpeg on a Mac since 2017, and this is the first time I’ve run into this kind of problem. I pulled the latest git head today. After getting all the dependencies set up, I configure ffmpeg successfully like this: ./configure \ -

Re: [FFmpeg-user] Packet corrupt on cut, notice on concat

2024-02-18 Thread Gyan Doshi via ffmpeg-user
On 2024-02-18 09:59 pm, Mark Filipak wrote: On 18/02/2024 05.09, Gyan Doshi wrote: Add -mpegts_flags +initial_discontinuity to get rid of the corrupt packet messages. This may or may not get rid of the glitches. Regards, Gyan Hey, Gyan, No effect whatsoever. Same message, same

Re: [FFmpeg-user] Packet corrupt on cut, notice on concat

2024-02-18 Thread Gyan Doshi
On 2024-02-18 01:52 pm, Mark Filipak wrote: I don't know how "DTS" became "000". Sorry. It's 3AM and I'm a little punchy. I found the problem. FFmpeg is corrupting the last B-frame at the end of cuts. It shows up during subsequent concatenation. Why it's happening is unknown of course. Th

Re: [FFmpeg-user] How can I delete packets?

2024-02-14 Thread Gyan Doshi
On 2024-02-14 10:06 pm, Paul B Mahol wrote: On Wed, Feb 14, 2024 at 4:51 PM Mark Filipak wrote: Can anyone suggest a way to delete the marked packets? 0: video, 1: audio / DTS PTSticksbytes packet_CRC 1,2798640,2798640, 960, 60, 0xec16103f

Re: [FFmpeg-user] VBR encoding for libsvtav1.

2023-11-26 Thread Gyan Doshi
On 2023-11-26 07:21 pm, Aditya Dandavate wrote: On Sun, 26 Nov, 2023, 6:44 pm Ferdi Scholten, wrote: I was trying and searching the web to 'how to encode videos with libsvtav1 with help of VBR rate control mode and I found on this page that setting -rc 1 will enable Variable Bitrate mode.

Re: [FFmpeg-user] 6.1 is out but I have request

2023-11-11 Thread Gyan Doshi
On 2023-11-11 08:03 pm, Andrew Randrianasulu wrote: For announcement writer(s) - can you please at least list API changes with pointer to documentation section? See doc/APIchanges Regards, Gyan As someone who tries to co-maintain software (cinelerra-gg) relying on ffmpeg AND other libra

Re: [FFmpeg-user] -bsf hevc_metadata

2023-09-01 Thread Gyan Doshi
On 2023-09-01 10:34 pm, pho...@neo.rr.com wrote: Hi, I'm trying to correct bad SARs via '-bsf' -- DARs are also bad but I'll fix them next. The error is: "Codec 'aac' (86018) is not supported by the bitstream filter 'hevc_metadata'." I'm not transcoding. I'm not using 'aac'. I don't see why t

Re: [FFmpeg-user] FFplay: How to show the first frame of a video

2023-08-13 Thread Gyan Doshi
On 2023-08-14 11:47 am, Michael Koch wrote: Am 14.08.2023 um 07:41 schrieb Michael Koch: Hello, I'd like to make a batch file for FFplay that shows only the first frame of a video until the window is closed. It should also work for still images. This command line works for still images and

Re: [FFmpeg-user] transcoding with -filter_complex 'colorspace=' not working as hoped

2023-02-27 Thread Gyan Doshi
On 2023-02-27 04:59 pm, hydra3...@gmail.com wrote: the "colorspace=bt709:iall=bt601-6-625:fast=0" seems to be ignored entirely and the resulting clip is BT709. This tells colorspace that the input is 601 and the output should be 709. And mediainfo shows the output to have 709, as expected.

Re: [FFmpeg-user] ddagrab

2023-02-20 Thread Gyan Doshi
On 2023-02-20 07:58 pm, Michael Koch wrote: Am 20.02.2023 um 15:18 schrieb Gyan Doshi: On 2023-02-20 07:33 pm, Michael Koch wrote: Am 20.02.2023 um 14:54 schrieb Gyan Doshi: On 2023-02-20 07:15 pm, Michael Koch wrote: Am 20.02.2023 um 14:29 schrieb Gyan Doshi: On 2023-02-20 06:27 pm

Re: [FFmpeg-user] ddagrab

2023-02-20 Thread Gyan Doshi
On 2023-02-20 07:33 pm, Michael Koch wrote: Am 20.02.2023 um 14:54 schrieb Gyan Doshi: On 2023-02-20 07:15 pm, Michael Koch wrote: Am 20.02.2023 um 14:29 schrieb Gyan Doshi: On 2023-02-20 06:27 pm, Michael Koch wrote: Am 20.02.2023 um 13:50 schrieb Gyan Doshi: On 2023-02-20 06:03 pm

Re: [FFmpeg-user] ddagrab

2023-02-20 Thread Gyan Doshi
On 2023-02-20 07:15 pm, Michael Koch wrote: Am 20.02.2023 um 14:29 schrieb Gyan Doshi: On 2023-02-20 06:27 pm, Michael Koch wrote: Am 20.02.2023 um 13:50 schrieb Gyan Doshi: On 2023-02-20 06:03 pm, Michael Koch wrote: Hello, I'm testing the ddagrab filter with the example fro

Re: [FFmpeg-user] ddagrab

2023-02-20 Thread Gyan Doshi
On 2023-02-20 06:27 pm, Michael Koch wrote: Am 20.02.2023 um 13:50 schrieb Gyan Doshi: On 2023-02-20 06:03 pm, Michael Koch wrote: Hello, I'm testing the ddagrab filter with the example from the documentation. I did only add -t 10 -y, but that can't be the problem. ffmpeg -

Re: [FFmpeg-user] ddagrab

2023-02-20 Thread Gyan Doshi
On 2023-02-20 06:03 pm, Michael Koch wrote: Hello, I'm testing the ddagrab filter with the example from the documentation. I did only add -t 10 -y, but that can't be the problem. ffmpeg -f lavfi -i ddagrab -c:v h264_nvenc -cq 18 -t 10 -y out.mp4 What does this error message mean? [h264_nv

Re: [FFmpeg-user] Create a black box over top of the video for a set duration at a set time.

2022-12-30 Thread Gyan Doshi
On 2022-12-31 08:15 am, David Niklas wrote: Sorry for taking so long to reply. It is not working. Terminal output below. % ffmpeg -i Ducksinarow.mp4 -filter_complex "[0:0]drawbox=color=black:t=fill=enable='between(t,1.0,2.0)'" -c:a copy -c:v libvpx ducks.mp4 There should be a colon after

Re: [FFmpeg-user] ffmpeg unexpectedly increases debug level for console messages

2022-08-08 Thread Gyan Doshi
On 2022-08-08 08:02 pm, Dmitry Katsubo via ffmpeg-user wrote: Dear ffmpeg community, I have ffmpeg for Windows x64 downloaded from https://www.gyan.dev/ffmpeg/builds/ When ffmpeg is started from CygWin or Windows WSL the following happens: * It reports "error parsing debug value" and incre

Re: [FFmpeg-user] Vertically flipped mp4 video

2022-06-28 Thread Gyan Doshi
On 2022-06-28 07:38 pm, Ulf Zibis wrote: Am 28.06.22 um 15:14 schrieb Ulf Zibis: Am 28.06.22 um 14:59 schrieb Moritz Barsnick: Metadata flags do exist for rotating, but not for flipping. Thus this cannot be done without re-encoding. I'm irritated. Here I can read, that it exists: https://f

Re: [FFmpeg-user] streamselect in a realtime application

2022-06-16 Thread Gyan Doshi
On 2022-06-16 01:17 pm, Michael Koch wrote: Am 16.06.2022 um 09:33 schrieb Gyan Doshi: On 2022-06-16 12:45 pm, Michael Koch wrote: I would like to understand why in some cases -loop 1 is required before the input files, and in some cases it can be omitted. -loop option is specific to the

Re: [FFmpeg-user] streamselect in a realtime application

2022-06-16 Thread Gyan Doshi
On 2022-06-16 12:45 pm, Michael Koch wrote: I would like to understand why in some cases -loop 1 is required before the input files, and in some cases it can be omitted. -loop option is specific to the image sequence demuxer. Without it, a single image input is a video stream of 1 frame len

Re: [FFmpeg-user] concat audio files

2022-06-11 Thread Gyan Doshi
On 2022-06-11 03:02 pm, Michael Koch wrote: I want to concat two audio files. What's wrong with this command line? ffmpeg -i birds1.wav -i birds1.wav -lavfi [0][1]concat=n=2:a=1 -c:a aac -y sound.mp4 Default value for concat v is 1. So you need to set it to 0. concat=n=2:a=1:v=0 Regards,

Re: [FFmpeg-user] FFplay, wrong output size on extended desktop

2022-05-25 Thread Gyan Doshi
On 2022-05-25 08:31 pm, Michael Koch wrote: Hello, we want to use FFplay in a planetarium. It's a Windows computer with an extended desktop. The left monitor contains the user interface (1920x1080) and at the right side is a 4Kx4K extended desktop, which is shown on two 4096x2048 monitors,

Re: [FFmpeg-user] SVT-AV1 configure error

2022-04-26 Thread Gyan Doshi
On 2022-04-26 08:12 pm, Tim Erskine wrote: Hello, Using latest version. Looks like the latest SVT-AV1 version needs to be added… No. This is the actual error: ld: warning: ignoring file /usr/local/lib/libSvtAv1Enc.dylib, building for macOS-x86_64 but attempting to link with file built for

Re: [FFmpeg-user] drawtext reload=N > 1?

2022-03-01 Thread Gyan Doshi
On 2022-02-28 12:28 pm, Gyan Doshi wrote: On 2022-02-28 10:37 am, Steven Kan wrote: I am overlaying real-time weather on streaming video: https://www.youtube.com/channel/UCIVY11504PcY2sy2qpRhiMg/live I have a script reading from openweather.org every 10 minutes and writing to weather.txt

Re: [FFmpeg-user] drawtext reload=N > 1?

2022-02-27 Thread Gyan Doshi
On 2022-02-28 10:37 am, Steven Kan wrote: I am overlaying real-time weather on streaming video: https://www.youtube.com/channel/UCIVY11504PcY2sy2qpRhiMg/live I have a script reading from openweather.org every 10 minutes and writing to weather.txt*, and then drawtext reads weather.txt and app

Re: [FFmpeg-user] Unrecognized option -intra FFmpeg 5.0

2022-02-22 Thread Gyan Doshi
On 2022-02-22 05:24 pm, adam smith via ffmpeg-user wrote: Hi fellow FFmpeg enthusiasts. Hope everyone is doing well. I have updated to FFmpeg v5.0 and mostly I am having a great time. I am however having an issue with Unrecognised option -intra when trying to create IMX30 or IMX50. The comman

Re: [FFmpeg-user] ERROR: libvmaf >= 2.0.0 not found using pkg-config

2022-02-04 Thread Gyan Doshi
On 2022-02-04 01:20 pm, 桃源老師 wrote: /var/folders/1d/qk_hczkn68xfv_7gdbkmhwx4gn/T//ffconf.DmkkrFIx/test.c:3:44: error: use of undeclared identifier 'vmaf_init' long check_vmaf_init(void) { return (long) vmaf_init; } It seems to me that vmaf_init() had existed before, so I'm not sure why

Re: [FFmpeg-user] watch a folder for new images

2022-01-30 Thread Gyan Doshi
On 2022-01-30 07:25 pm, Michael Koch wrote: Am 30.01.2022 um 14:29 schrieb Gyan Doshi: On 2022-01-30 06:36 pm, Michael Koch wrote: The problem is that FFmpeg seems to read the link only one time. When I change the link target (while FFmpeg is running) with the copy command, the link is

Re: [FFmpeg-user] watch a folder for new images

2022-01-30 Thread Gyan Doshi
On 2022-01-30 06:36 pm, Michael Koch wrote: The problem is that FFmpeg seems to read the link only one time. When I change the link target (while FFmpeg is running) with the copy command, the link is actually changed but FFmpeg is still showing the first image. When I stop and restart FFm

Re: [FFmpeg-user] watch a folder for new images

2022-01-29 Thread Gyan Doshi
On 2022-01-30 02:11 am, Michael Koch wrote: Am 29.01.2022 um 20:36 schrieb Michael Koch: Hello, is it possible to watch a folder for new images (like fileSystemWatcher in C#), and if a new image appears, then load it in FFmpeg? The question is for Windows. Very large PNG images (about 30 Me

Re: [FFmpeg-user] How to get video duration in a script using ffmpeg?

2022-01-19 Thread Gyan Doshi
On 2022-01-19 05:29 pm, Bo Berglund wrote: On Wed, 19 Jan 2022 17:10:26 +0530, Gyan Doshi wrote: What do I need to just get that output I want? The closest you can get is      ffprobe -v 0 -of compact=p=0:nk=1 -sexagesimal -show_entries format=duration INPUT Thanks, this returns the

Re: [FFmpeg-user] How to get video duration in a script using ffmpeg?

2022-01-19 Thread Gyan Doshi
On 2022-01-19 04:53 pm, Bo Berglund wrote: This is on Linux: I have tried in various ways to limit the output of ffmpeg/ffprobe to the line holding the duration but it seems impossible... I have a need to display the video duration as h:m:s on a listing of videos in a directory. So I want to

Re: [FFmpeg-user] Can MJPEG be live streamed without transcoding?

2022-01-09 Thread Gyan Doshi
On 2022-01-09 03:36 pm, Carl Eugen Hoyos wrote: Am Sa., 8. Jan. 2022 um 07:54 Uhr schrieb Adam Nielsen via ffmpeg-user : [mpegts @ 0x6725d0] Stream 0, codec mjpeg, is muxed as a private data stream and may not be recognized upon reading. You cannot mux random data into mpegts, this is

Re: [FFmpeg-user] Has FFplay no option for video size?

2022-01-05 Thread Gyan Doshi
On 2022-01-05 04:23 pm, Michael Koch wrote: Hello, when I use the -s option in this command line ffplay -noborder -s vga -left 0 -top 200 udp://239.0.0.1:1234 then I get this error message: "Option -s is deprecated, use -video_size. Option video_size not found." When I use the -video_size

Re: [FFmpeg-user] How to re-include cea_608 (cc_dec) in FFmpeg build when also using --disable-decoders

2021-12-30 Thread Gyan Doshi
On 2021-12-31 12:14 am, Eric Juteau wrote: Hello, I’m trying to include only the codecs I need in my FFmpeg build. I’m using –disable-decoders and re-enabling just the ones that I need via –enable_decoder=’’. This seems to work on almost every codec I need, except for the eia_608 (cc_dec)

Re: [FFmpeg-user] ffmpeg create wrong time information

2021-12-22 Thread Gyan Doshi
On 2021-12-21 08:14 pm, Cecil Westerhof via ffmpeg-user wrote: I have the recording of a zoom meeting where I need to cut out a portion from and the first little bit has to be blacked out. I use the following command: ffmpeg -y\ -ss 00:26:05

Re: [FFmpeg-user] Disable ?UUID? randomnness ?

2021-12-03 Thread Gyan Doshi
On 2021-12-04 07:17 am, Toerless Eckert wrote: Hi I am trying to set up ffmpeg to convert media file, mostly container format, e.g.: mp4/avi to mkv or the like (no reencoding). I notice that the same ffmpeg run creates binary different files every time it is run (on the same input). I would

Re: [FFmpeg-user] Alternative to Dynamic Text

2021-11-09 Thread Gyan Doshi
On 2021-11-09 04:31 pm, Nicolas George wrote: Gyan Doshi (12021-11-09): Not on FAT32. And since it's not guaranteed, the filter should accommodate that. What are you talking about? The filter does not write the file, it just reads it. It is the responsibility of whoever writes the fi

Re: [FFmpeg-user] Alternative to Dynamic Text

2021-11-08 Thread Gyan Doshi
On 2021-11-09 03:15 am, Marton Balint wrote: On Mon, 8 Nov 2021, Gyan Doshi wrote: On 2021-11-07 02:56 pm, Marton Balint wrote:  On Sun, 7 Nov 2021, Gyan Doshi wrote:  This can work until it doesn't. The filter doesn't tolerate any load  failures.  I'll see if I

Re: [FFmpeg-user] Alternative to Dynamic Text

2021-11-08 Thread Gyan Doshi
On 2021-11-07 02:56 pm, Marton Balint wrote: On Sun, 7 Nov 2021, Gyan Doshi wrote: On 2021-11-07 03:58 am, Anatoly wrote:  On Thu, 4 Nov 2021 20:14:16 +0800  LianCheng wrote:  Yes, would like to know in ffmpeg, under drawtext, the textfile  (reload=1) is using read-write or read-only

Re: [FFmpeg-user] Alternative to Dynamic Text

2021-11-07 Thread Gyan Doshi
On 2021-11-07 12:06 pm, LianCheng Tan wrote: Hi Gyan, Will it be added in the next release of ffmpeg? No guarantees but I'll aim for that. Regards, Gyan On 7 Nov 2021, at 1:08 PM, Gyan Doshi wrote:  On 2021-11-07 03:58 am, Anatoly wrote: On Thu, 4 Nov 2021 20:14:16

Re: [FFmpeg-user] Alternative to Dynamic Text

2021-11-06 Thread Gyan Doshi
On 2021-11-07 03:58 am, Anatoly wrote: On Thu, 4 Nov 2021 20:14:16 +0800 LianCheng wrote: Yes, would like to know in ffmpeg, under drawtext, the textfile (reload=1) is using read-write or read-only mode? I think "procmon.exe" from Microsoft https://docs.microsoft.com/en-us/sysinternals/dow

Re: [FFmpeg-user] Framerate automatically increased while cropping

2021-08-22 Thread Gyan Doshi
On 2021-08-23 10:45 am, Adam Nielsen via ffmpeg-user wrote: why is the framerate automatically changed here from 29.98 fps to 120 fps, and how can I prevent from this ?   Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 2508 kb/s, 29.98 fps, 120 tbr, 90k tbn, 2k

Re: [FFmpeg-user] Decimal times to frame numbers

2021-08-21 Thread Gyan Doshi
On 2021-08-21 03:05 pm, Nicolas George wrote: - By adding -r on your output and by using a format like MP4 that only supports constant frame rate, you are forcing ffmpeg to duplicate or A nit, but MP4 is inherently VFR-ready - that's what the (mandatory) stts box is for. It is for som

Re: [FFmpeg-user] looping an animated gif

2021-07-08 Thread Gyan Doshi
On 2021-07-09 12:07, Michael Koch wrote: Hello, I want to overlay an animated gif over a video. The gif must be looped because it's much shorter than the video. I did try the "-loop 1" option, but I get the error message "Option loop not found". However, the loop option works fine for jpg i

Re: [FFmpeg-user] Problem with changing options at runtime with a command

2021-07-03 Thread Gyan Doshi via ffmpeg-user
On 2021-07-03 17:17, Alex Christoffer Rasmussen wrote: Hello i am trying to change options in the crop filter at runtime with a command this it my test command: ./ffmpeg -hide_banner -y -f dshow -rtbufsize 128M -i video="Cam Link 4K" -filter_complex "[0:v]fps=10[rate], [rate]scale=1280:720, c

Re: [FFmpeg-user] "More than 1000 frames duplicated" when converting JPGs to video

2021-06-26 Thread Gyan Doshi
On 2021-06-27 11:43, Eduard B wrote: Hi list, I am using ffmpeg to convert a large set of timelapse still frames (JPGs) captured by my surveillance camera to a video. Using x265 library to make the file smaller. The particular batch I have tested has 14401 JPG files in a folder (one image capt

Re: [FFmpeg-user] ffmpeg transitions not working

2021-06-19 Thread Gyan Doshi
On 2021-06-19 18:22, ibur...@compuscience.com wrote: I'm having problems with transitions. To be sure I am not making something wrong, I simply copy/paste the example shown in https://ffmpeg.org/ffmpeg-filters.html#xfade, adjusted my two video file names to comply with the example, and got the

Re: [FFmpeg-user] Convert flv to mp4. Bad video quality

2021-05-28 Thread Gyan Doshi
On 2021-05-28 21:19, Michael Koch wrote: Am 28.05.2021 um 17:18 schrieb Carl Eugen Hoyos: This is (nearly) completely wrong: 9 is still high quality, highest compression happens at a much higher value. Old MEncoder documentation recommends not use a value lower than 2, sane values start bet

Re: [FFmpeg-user] Decklink timestamp_align, what should it do?

2021-05-02 Thread Gyan Doshi
On 2021-05-02 15:20, Bouke wrote: On 2 May 2021, at 11:02, Marton Balint wrote: On Sun, 2 May 2021, Bouke wrote: From the manual: 'timestamp_align Capture start time alignment in seconds. If set to nonzero, input frames are dropped till the system timestamp aligns with configured value

Re: [FFmpeg-user] independent codec settings

2021-04-26 Thread Gyan Doshi
On 2021-04-26 22:20, Alexander Solonsky via ffmpeg-user wrote: Dear peers, I use this command to create 2 streams out of 1 with different gop sizes: ffmpeg -i $1 -map 0:v:0 -c:v:0 libx264 -x264-params "keyint=24:keyint_min=24:bframes=1" -map 0:v:0 -c:v:1 libx264 -x264-params "keyint=72:keyi

Re: [FFmpeg-user] drawtext timecode from metadata

2021-04-24 Thread Gyan Doshi
On 2021-04-24 16:56, Bouke wrote: trying to capture and burn in TC at the same time. Burn in TC works if I specify the start TC, but I can’t probe and then record, as that takes time so the TC will be off. So I’m hoping to set the drawtext filter on the fly, I tried: drawtext=timecode=%{metada

Re: [FFmpeg-user] How to filter time dependent

2021-04-23 Thread Gyan Doshi
On 2021-04-23 17:05, Nicolas George wrote: Ulf Zibis (12021-04-23): I already had checked that. Unfortunately, crop has no timeline support: How would that work? Enabling or disabling crop changes the output resolution, which is not supported by libavfilter. Strictly,  it's supported via -noa

Re: [FFmpeg-user] How to filter time dependent

2021-04-22 Thread Gyan Doshi
On 2021-04-23 11:37, Michael Koch wrote: Am 22.04.2021 um 23:27 schrieb Ulf Zibis: Am 22.04.21 um 13:01 schrieb Michael Koch: Am 22.04.2021 um 12:50 schrieb Ulf Zibis: Hi, I want to filter a video from pts 0 to 1999 with filter A, then from 2000 to 2199 with filter B, from 2200 with filt

Re: [FFmpeg-user] Ffmpeg logging

2021-04-20 Thread Gyan Doshi
On 2021-04-21 00:50, Mohammed Bey Ahmed Khernache wrote: Hello, would you tell me whether it is possible to log the number of cycles needed to decode every single frame using ffmpeg ? The closest you can get is by adding `-benchmark_all`. The timings are in microseconds. Regards, Gyan ___

Re: [FFmpeg-user] [EXTERNAL] Re: QuickTime Movie Header Atom Poster Time

2021-04-20 Thread Gyan Doshi
On 2021-04-20 22:39, Bryce Newman wrote: Hi Gyan, Thank you! Can this patch be included in future stable versions of ffprobe? All features added to the master branch will make it to a future release. Gyan ___ ffmpeg-user mailing list ffmpeg-user@f

Re: [FFmpeg-user] QuickTime Movie Header Atom Poster Time

2021-04-20 Thread Gyan Doshi
On 2021-04-20 21:52, Bryce Newman wrote: Hi, Using the latest ffprobe version 4.4 I am trying to print the poster time from the mvhd. Here is the data structure https://developer.apple.com/library/archive/documentation/QuickTime/QTFF/QTFFChap2/qtff2.html#//apple_ref/doc/uid/TP4939-CH204

Re: [FFmpeg-user] specifying header for http post

2021-03-30 Thread Gyan Doshi
On 2021-03-30 20:44, Daniel Oberhoff via ffmpeg-user wrote: Hello I am trying to add an authorization header to a http post output, but somehow cant seem to succeed. my request looks like this: ffmpeg -f lavfi -i testsrc=duration=10:size=1280x720:rate=30 -vframes 1 -headers "Authorization

Re: [FFmpeg-user] 'mix=nb_inputs=2' provokes error...

2021-03-24 Thread Gyan Doshi
On 2021-03-24 16:29, Moritz Barsnick wrote: On Wed, Mar 24, 2021 at 10:18:55 +0100, Peter White wrote: [AVFilterGraph @ 025772b53dc0] Error initializing filter 'mix' with args 'nb_inputs=2:weights=3 2' Error initializing complex filters. Option not found There seems to be an error in the

Re: [FFmpeg-user] Is ffmpeg's "Output Stream" framerate... wrong?

2021-03-15 Thread Gyan Doshi
On 2021-03-16 07:21, roninpawn wrote: I develop a Python application used to conduct official timing for speedrunning leaderboards based on automated video analysis. And I've caught a little oversight of my own that leads me to wonder if there isn't an oversight at the core of ffmpeg in the 'fp

Re: [FFmpeg-user] I am a new ffmpeg user...

2021-03-11 Thread Gyan Doshi
On 2021-03-11 08:00, Barry Smith wrote: I need to recode some rips that I made from a DVD collection. I want to use a different set of options to make my rips smalled. I am not looking to distribute torrents or put my legal rips anywhere except on a USB flash drive. So, after searching the inte

Re: [FFmpeg-user] How can I force a 360kHz time base?

2021-02-26 Thread Gyan Doshi
On 27-02-2021 06:54 am, Mark Filipak (ffmpeg) wrote: 'ffmpeg -i input.mkv -vf "showinfo" -codec:a copy -codec:s copy -dn output.mkv' [Parsed_showinfo_0 @ 013c877124c0] n:   1 pts: 33 pts_time:0.033   pos:    10052 fmt:yuv420p sar:32/27 s:240x236 i:P iskey:0 type:B checksum:3CF10B

Re: [FFmpeg-user] PTS resolution

2021-02-22 Thread Gyan Doshi
On 23-02-2021 12:40 pm, Mark Filipak (ffmpeg) wrote: On 2021-02-23 01:38, Carl Zwanzig wrote: You missed mentioning the program clock reference (PCR) of the -ts. -And- many references to PTS directly say that it's contained in a -ts (which if the -ts contains a -ps, is correct). The answe

Re: [FFmpeg-user] Keep vfr and original pts

2021-01-24 Thread Gyan Doshi
On 24-01-2021 10:44 pm, Wolfgang Hugemann wrote: Use -vsync 0. No addiitional frames should be added. Well, this is true, but the video is switched to cfr. As I said, I tried this too. And usin mkv or webm instead of mp4 make no difference. Why do you believe the result is CFR, or rather diff

Re: [FFmpeg-user] Keep vfr and original pts

2021-01-23 Thread Gyan Doshi
On 23-01-2021 11:52 pm, Carl Eugen Hoyos wrote: Am Sa., 23. Jan. 2021 um 19:19 Uhr schrieb Wolfgang Hugemann : I have a vfr mp4 video from a private security cam with a very specific pts pattern. The duration of the frames is 80-80-40-80-80-40-80-80-40-... ms. I would like to hand this video

Re: [FFmpeg-user] No size progress information available when using tee muxer

2021-01-23 Thread Gyan Doshi
On 23-01-2021 03:27 pm, marcus.fe...@gmx.net wrote: Switching the order of the outputs didn't make a difference. I'm aware of the progress option and I used it already in a non-muxer scenario, so piping works on Win as well. However, I can't figure out the right syntax for applying the -progre

Re: [FFmpeg-user] I am unable to get ffmpeg to calculate PSNR for any video files.

2021-01-19 Thread Gyan Doshi
On 19-01-2021 10:38 pm, Reed Crowe wrote: Still does not work. With this command: ffmpeg -i /home/rcrowe/LVT/17647_20210118_195325.mp4 -i /home/rcrowe/LVT/test.mp4 -enc_time_base -1 -filter_complex psnr -f null - I get the same results: ffmpeg version N-100671-gc48110a4a4 Copyright (c) 2000-202

Re: [FFmpeg-user] I am unable to get ffmpeg to calculate PSNR for any video files.

2021-01-18 Thread Gyan Doshi
On 19-01-2021 05:49 am, Reed Crowe wrote: I have tried this test with three different versions of ffmpeg (4.3.1, 3.4.8 and N-100671-gc48110a4a4 on 2 different OSes (Ubuntu 18.04, Fedora 33). Here is the command I am using: ffmpeg -i 17647_20210118_195325.mp4 -i test.mp4 -filter_complex psnr -

Re: [FFmpeg-user] Streaming an mp4/mov file in real time using FFMPEG (no moov atom)

2021-01-10 Thread Gyan Doshi
On 11-01-2021 10:34 am, Carl Zwanzig wrote: On 1/10/2021 4:23 PM, Carl Eugen Hoyos wrote: Am Mo., 11. Jan. 2021 um 01:19 Uhr schrieb Rishit Temp : I am trying to read an incomplete MP4 file as it is being written in real time. This is in general impossible with FFmpeg. I'm not sure it's

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

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

2021-01-07 Thread Gyan Doshi
On 08-01-2021 06:37, Bernhard Döbler wrote: Hi, I saw, today, FFMpeg, finally, allows for embedding a single image as cover image into an .M4A file using the "-disposition:v:1 attached_pic" argument as explained in an answer on StackOverflow: https://stackoverflow.com/a/61015965/577052 Th

Re: [FFmpeg-user] How to decipher FFMEG version number?

2020-12-25 Thread Gyan Doshi
On 26-12-2020 05:12 am, Dan Bridges wrote: I build FFMPEG under Win10 using media-autobuild_suite (https://github.com/m-ab-s/media-autobuild_suite) https://github.com/m-ab-s/media-autobuild_suite Is it possible to decipher the version number: ffmpeg version N-100471-g85bd703b3a-g5b48d2af43+1

Re: [FFmpeg-user] https://github.com/BtbN/FFmpeg-Builds/releases guidance needed

2020-12-25 Thread Gyan Doshi
On 25-12-2020 10:05 am, Mark Filipak (ffmpeg) wrote: Never mind. I figured it out based on the sizes of the 'exe' files. I downloaded 'ffmpeg-N-100461-gb0a882cc93-win64-gpl-vulkan.zip'. On 12/24/2020 06:23 AM, Gyan Doshi wrote: On 24-12-2020 02:33 pm, Mark Fi

Re: [FFmpeg-user] https://github.com/BtbN/FFmpeg-Builds/releases guidance needed

2020-12-24 Thread Gyan Doshi
On 24-12-2020 02:33 pm, Mark Filipak (ffmpeg) wrote: Here: https://github.com/BtbN/FFmpeg-Builds/releases are these: ffmpeg-N-100459-ga7f9b3b954-win64-gpl-shared-vulkan.zip ffmpeg-N-100459-ga7f9b3b954-win64-gpl-shared.zip ffmpeg-N-100459-ga7f9b3b954-win64-gpl-vulkan.zip ffmpeg-N-100459-ga7f9b3b

Re: [FFmpeg-user] Compilation Guide / MSVC on Wiki

2020-12-02 Thread Gyan Doshi
On 02-12-2020 11:33 pm, Greg Oliver wrote: ... been on this list long, but I can say that the strife of people looking for non-existent windows binaries is frequent even though we know there are a few shared library build as well as (at least one I know of) static build with no dependencies. I

Re: [FFmpeg-user] {Spam?} Re: crop and fade

2020-11-20 Thread Gyan Doshi
On 20-11-2020 01:41 pm, RAPPAZ Francois via ffmpeg-user wrote: Am 20.11.2020 um 07:27 schrieb RAPPAZ Francois via ffmpeg-user: Am 19.11.2020 um 16:37 schrieb RAPPAZ Francois via ffmpeg-user: Hi I tried the fading between pictures and cropping to there original size (5152 x 3864), so that t

Re: [FFmpeg-user] Bitstream filter h264 metadata crop

2020-11-18 Thread Gyan Doshi
On 18-11-2020 11:58 pm, ROBINSON Stuart wrote: I am testing cropping video using the bitstream filter shown in the following command: C:\ffmpeg-2020-11-18-git-e3081d6f4f-full_build\bin>ffplay.exe "Input.mp4" -codec:v copy -an -bsf:v h264_metadata=crop_top=128 "output_cropped.mp4" ffplay ve

Re: [FFmpeg-user] FFMPEG image2 : Error setting option start_number

2020-11-04 Thread Gyan Doshi
On 05-11-2020 02:02 am, seb seb wrote: Sorry The complete command and the output ffmpeg -i udp://239.100.0.1:1234 -start_number 40110891900 %d.pgm ffmpeg version 4.1.6-1~deb10u1 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 8 (Debian 8.3.0-6) configuration: --prefix=/us

Re: [FFmpeg-user] zmq example

2020-10-28 Thread Gyan Doshi
On 28-10-2020 12:21 am, Michael Koch wrote: Hello, I'm testing this command line which is copied from the documentation: https://www.ffmpeg.org/ffmpeg-all.html#zmq_002c-azmq ffplay -dumpgraph 1 -f lavfi "color=s=100x100:c=red[l];color=s=100x100:c=blue[r];nullsrc=s=200x100,zmq[bg];[bg][l]over

Re: [FFmpeg-user] repair black frames?

2020-10-25 Thread Gyan Doshi
On 25-10-2020 08:56 pm, Michael Koch wrote: Am 25.10.2020 um 16:23 schrieb Simon Roberts: Greetings all, I have just noticed that some of my video recordings have a few random black frames in them. These will be spaced out a few minutes, don't seem to have any obvious cause (though my recor

Re: [FFmpeg-user] Unknown Option "--enable-libwavpack"

2020-10-02 Thread Gyan Doshi
On 03-10-2020 11:22 am, 桃源老師 wrote: Hello, I pulled current git head 45070eec4c089b06947f07e25cdb1bc8b2102553, and do configure, then encountered configure error, Unknown Option "--enable-libwavpack". With git log command, it seems that libwavpack was removed. Is it true? Yes. ffmpeg has

  1   2   3   >