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

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

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

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’. However

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

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.

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,

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

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

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

2023-08-14 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

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 from

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 -f lavfi -i

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?

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

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:

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

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

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

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

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

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

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

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

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

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

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

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

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 file

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 can add a short

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 +0800

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

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

Re: [FFmpeg-user] looping an animated gif

2021-07-09 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

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,

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

2021-06-27 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

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

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

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

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:

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

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

2021-04-23 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

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

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

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

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

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

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

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

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

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

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

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)

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

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

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

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 Filipak (ffmpeg) wrote

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

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.

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

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

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:

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

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

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

2020-10-03 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

Re: [FFmpeg-user] How to create "Input #1", "Input #2" etc. in addition to "Input #0"?

2020-09-28 Thread Gyan Doshi
On 28-09-2020 06:01 pm, Stub via ffmpeg-user wrote: On Monday, September 28, 2020, 09:35:28 AM GMT+9, Carl Zwanzig wrote: On 9/27/2020 5:27 PM, James Darnley wrote: Please do not top post. And the formatting makes the ffprobe output difficult to read. If you (the OP) is posting in HTML,

Re: [FFmpeg-user] Question about -noauto_conversion_filters

2020-09-14 Thread Gyan Doshi
On 14-09-2020 04:54 pm, Gyan Doshi wrote: On 14-09-2020 03:41 pm, Michael Koch wrote: Am 14.09.2020 um 11:26 schrieb Gyan Doshi: On 14-09-2020 02:47 pm, Michael Koch wrote: ffmpeg -v verbose -f lavfi -i testsrc2=s=svga:d=5,format=yuv422p10le -vf format=rgb48le,lut3d="VLog_to_V709

Re: [FFmpeg-user] Question about -noauto_conversion_filters

2020-09-14 Thread Gyan Doshi
On 14-09-2020 03:41 pm, Michael Koch wrote: Am 14.09.2020 um 11:26 schrieb Gyan Doshi: On 14-09-2020 02:47 pm, Michael Koch wrote: ffmpeg -v verbose -f lavfi -i testsrc2=s=svga:d=5,format=yuv422p10le -vf format=rgb48le,lut3d="VLog_to_V709.cube",format=y

Re: [FFmpeg-user] Question about -noauto_conversion_filters

2020-09-14 Thread Gyan Doshi
On 14-09-2020 02:47 pm, Michael Koch wrote: ffmpeg -v verbose -f lavfi -i testsrc2=s=svga:d=5,format=yuv422p10le -vf format=rgb48le,lut3d="VLog_to_V709.cube",format=yuv422p10le -noauto_conversion_filters -pix_fmt yuv422p10le -c:v h264 -y out.mov Format conversion is carried out by

Re: [FFmpeg-user] LUFS measurment for short length audio

2020-09-14 Thread Gyan Doshi
On 14-09-2020 01:15 pm, Bouke wrote: On 09 Sep 2020, at 10:33, christian.w...@4-real.com wrote: Hi list! Can somebody help to measure LUFS for audio files under 0,4 seconds??? Cat it a couple of times first? A few more times is required. Total duration should be  >3 seconds. See

Re: [FFmpeg-user] builds for Windows

2020-09-03 Thread Gyan Doshi
On 04-09-2020 02:19 am, Mark Filipak wrote: On 09/03/2020 01:42 AM, Gyan Doshi wrote: On 02-09-2020 11:53 pm, Michael Koch wrote: "ffmpeg.zeranoe.com will close on Sep 18, 2020, and all builds will be removed." Any idea where we can get builds for Windows after this date

Re: [FFmpeg-user] builds for Windows

2020-09-02 Thread Gyan Doshi
On 02-09-2020 11:53 pm, Michael Koch wrote: "ffmpeg.zeranoe.com will close on Sep 18, 2020, and all builds will be removed." Any idea where we can get builds for Windows after this date? I plan to provide 64-bit static builds starting the 18th. Will update doc with link once I make

Re: [FFmpeg-user] A query on mpegts and global headers

2020-08-30 Thread Gyan Doshi
On 30-08-2020 06:52 pm, Dennis Mungai wrote: Hello there, With mpegts output, should global headers be used or not, set via -fflags +global_header? No. And if there are exceptions to that, based on the codec type wrapped in mpegts, when should global headers be used for mpegts? Global

Re: [FFmpeg-user] Confused with an example of stream mapping in ffmpeg man page

2020-08-27 Thread Gyan Doshi
On 27-08-2020 05:26 pm, scrutinizer wrote: The example reads as follows: ffmpeg -i multichannel.mxf -map 0:v:0 -map 0:a:0 -map 0:a:0 -c:a:0 ac3 -b:a:0 640k -ac:a:1 2 -c:a:1 aac -b:2 128k out.mp4 In the above example, a multichannel audio stream is mapped twice for output. The

Re: [FFmpeg-user] Why is format=rgb24 required after maskedmerge?

2020-08-23 Thread Gyan Doshi
On 23-08-2020 11:07 am, Hans Carlson wrote: On Sat, 22 Aug 2020, Carl Zwanzig wrote: On 8/22/2020 2:03 AM, Nicolas George wrote: There is no duplication, only multiple outputs. Would you also remove the man pages because they are "duplicate" of the HTML pages? Multiple outputs is not

Re: [FFmpeg-user] Why is format=rgb24 required after maskedmerge?

2020-08-21 Thread Gyan Doshi
On 21-08-2020 11:27 pm, Mark Filipak wrote: On 08/21/2020 12:34 PM, Michael Koch wrote: Am 21.08.2020 um 17:06 schrieb Gyan Doshi: On 21-08-2020 07:30 pm, Michael Koch wrote: Am 21.08.2020 um 15:42 schrieb Mark Filipak: On 08/21/2020 06:44 AM, Gyan Doshi wrote: On 21-08-2020 04:03 pm

Re: [FFmpeg-user] Why is format=rgb24 required after maskedmerge?

2020-08-21 Thread Gyan Doshi
On 21-08-2020 07:12 pm, Mark Filipak wrote: On 08/21/2020 06:44 AM, Gyan Doshi wrote: On 21-08-2020 04:03 pm, Michael Koch wrote: Am 21.08.2020 um 12:09 schrieb Gyan Doshi: On 21-08-2020 02:36 pm, Michael Koch wrote: Am 21.08.2020 um 10:50 schrieb Paul B Mahol: On 8/21/20, Michael

Re: [FFmpeg-user] Why is format=rgb24 required after maskedmerge?

2020-08-21 Thread Gyan Doshi
On 21-08-2020 07:30 pm, Michael Koch wrote: Am 21.08.2020 um 15:42 schrieb Mark Filipak: On 08/21/2020 06:44 AM, Gyan Doshi wrote: On 21-08-2020 04:03 pm, Michael Koch wrote: Am 21.08.2020 um 12:09 schrieb Gyan Doshi: On 21-08-2020 02:36 pm, Michael Koch wrote: Am 21.08.2020 um 10:50

Re: [FFmpeg-user] Why is format=rgb24 required after maskedmerge?

2020-08-21 Thread Gyan Doshi
On 21-08-2020 04:03 pm, Michael Koch wrote: Am 21.08.2020 um 12:09 schrieb Gyan Doshi: On 21-08-2020 02:36 pm, Michael Koch wrote: Am 21.08.2020 um 10:50 schrieb Paul B Mahol: On 8/21/20, Michael Koch wrote: Please add this to the documentation (for example in chapter 20.9 image2

  1   2   3   >