Re: [FFmpeg-user] Changing the crop filter's output width over time?

2020-04-26 Thread Gyan Doshi
On 26-04-2020 10:51 am, John Hawkinson wrote: I wanted to execute zoom-and-pan out over a few seconds by parametrizing the width and height of the crop filter via sendcmd (the result of which would then be handed to a scale filter), and when I try to do this, I get errors that I don't

Re: [FFmpeg-user] Changing the crop filter's output width over time?

2020-04-26 Thread Gyan Doshi
On 26-04-2020 06:07 pm, John Hawkinson wrote: Gyan Doshi wrote on Sun, 26 Apr 2020 at 02:03:23 EDT in <76dff16c-331a-534c-fe28-558dae8a8...@gyani.pro>: The temporal parameters t, n and pos are only applicable for x and y expressions. At present, the only way to vary w and h ove

Re: [FFmpeg-user] How to set preview of video?

2020-04-29 Thread Gyan Doshi
On 29-04-2020 11:53 pm, Cemal Direk wrote: Hi, i wanna set preview of any video? like thumbnail. is ffmpeg supporting this property? i am using this code its other method... ffmpeg -i video.mp4 -i image.png -map 0 -map 1 -c copy -c:v:1 png -disposition:v:1 attached_pic -y out.mp4 but i

Re: [FFmpeg-user] How to set preview of video?

2020-04-30 Thread Gyan Doshi
On 30-04-2020 12:09 pm, Michael Koch wrote: Am 30.04.2020 um 06:33 schrieb Gyan Doshi: Basic syntax is |ffmpeg -i file.mp4 -ss 15 -i file.mp4 -map 1:v:0 -map 0 \ -filter:v:0 scale=320:-1,trim=end_frame=1 -c copy -c:v:0 mjpeg -disposition:0 attached_pic out.mp4| What's the meaning

Re: [FFmpeg-user] typo in vf_hue.c

2020-03-23 Thread Gyan Doshi
On 24-03-2020 01:20 am, Michael Koch wrote: There is a small typo in vf_hue.c  line 139. It's only a comment. The range must be [16;240]. Patch welcome. I can make the change if you don't want to. Gyan ___ ffmpeg-user mailing list

Re: [FFmpeg-user] typo in vf_hue.c

2020-03-24 Thread Gyan Doshi
On 24-03-2020 01:38 am, Michael Koch wrote: Am 23.03.2020 um 21:03 schrieb Gyan Doshi: On 24-03-2020 01:20 am, Michael Koch wrote: There is a small typo in vf_hue.c  line 139. It's only a comment. The range must be [16;240]. Patch welcome. I can make the change if you don't want

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] 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] 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] 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] 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 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) FFmpeg supports the following image formats: BMP, DNG, GIF, JPG, PAM, PGM (binary P5 files are

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

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 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-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] 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] 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] 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] 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] 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] 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] New and question with -i option

2020-07-09 Thread Gyan Doshi
On 09-07-2020 02:50 pm, François-Marie BILLARD wrote: Hello, i'm new on this list and would use ffmpeg for making a video from pictures. I have used this command line; with 54 pictures from DSC_0527.JPG : ffmpeg -f image2 -i DSC_05%2d.JPG -start_number 0527 -r 12 -vcodec mpeg4 -b 15000k

Re: [FFmpeg-user] trim filter in format HH:MM:SS

2020-07-02 Thread Gyan Doshi
On 03-07-2020 12:53 am, Leonardo via ffmpeg-user wrote: Hello, considering the TRIM filter, is it possible to use format HH:MM:SS or only in seconds? Both. With 'HH:MM:SS', the colons will need to be escaped. Gyan ___ ffmpeg-user mailing list

Re: [FFmpeg-user] replace several lines by one using the filter_complex

2020-07-09 Thread Gyan Doshi
On 10-07-2020 01:01 am, Leonardo via ffmpeg-user wrote: $ ffmpeg -i video.mp4 -vf "trim=start=7:end=1173,setpts=PTS-STARTPTS" -af "atrim=start=7:end=1173,asetpts=PTS-STARTPTS" part1.mp4 $ ffmpeg -i video.mp4 -vf "trim=start=1260:end=1430,setpts=PTS-STARTPTS" -af

Re: [FFmpeg-user] Converting DTS (timestamps) in mpegts to HH:MM:SS:FF

2020-06-16 Thread Gyan Doshi
On 16-06-2020 02:15 pm, Kieran O Leary wrote: On Tue, Jun 16, 2020 at 9:40 AM Kieran O Leary wrote: OK, so I figured out that the dts needs to be divided by pkt_duration_time, which in this instance was 3600. Not sure how to get that aside from using ffprobe as I don't see it listed in the

Re: [FFmpeg-user] Fwd: OBS and OBS Portable Recording Into Same File Simultaneously

2020-06-26 Thread Gyan Doshi
On 26-06-2020 02:08 pm, Moritz Barsnick wrote: You could try to observe at which point ffmpeg detects the first errors (the showinfo filter will indicate the byte position ffmpeg is operating on), and from there remove blocks of 512, 1024, 2048 bytes, hoping that after removal of some of them,

Re: [FFmpeg-user] a q about units

2020-06-16 Thread Gyan Doshi
On 16-06-2020 03:26 pm, Kieran O Leary wrote: Hi, On Thu, Jun 11, 2020 at 6:38 PM Jim Shupert wrote: Friends This is a rather general Q when I see dialogue such as [matroska,webm @ 0x7f362c000b80] Read error at pos. 59270674468 (0xdccceb824) as in Input #0, matroska,webm, from 'pipe:':

Re: [FFmpeg-user] Loop filter producing off by one errors?

2020-06-14 Thread Gyan Doshi
On 15-06-2020 07:38 am, Peter wrote: Hello, I'm trying to create a video from a series of PNG frames and then loop specific frames using the loop filter. It is giving me a bit of trouble. Ffmpeg is dropping a single frame somewhere and I'm not sure why that is. Would appreciate it if someone

Re: [FFmpeg-user] Fifo muxer with ISMV output results in corrupted video

2020-06-25 Thread Gyan Doshi
On 25-06-2020 05:17 pm, Louis Geuten wrote: Hello, It seems that using the argument "-flags +global_header" with the bitstream filter "dump_extra" fixes the issue. Why this isn't needed when directly muxing with ISMV instead of fifo is beyond me. Each muxer has a list of flags; those

Re: [FFmpeg-user] ffprobe different outputs for file input and binary data input

2020-06-10 Thread Gyan Doshi
On 10-06-2020 10:35 pm, Ming Tu wrote: I solved it by ffmpeg -i no_streamable.mp4 -movflags faststart -f mp4 -y streamable.mp4 according to https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/issues/823 Thanks all for the suggestions! You'll usually want to add    -c copy    to avoid

Re: [FFmpeg-user] why can't i use drive letter ?

2020-06-14 Thread Gyan Doshi
On 14-06-2020 02:08 pm, drramimagdi wrote: this works which is great ffmpeg -v error -stats -y -i input -vf lut3d="/3DLUTs/001.3DL" output but this does not ffmpeg -v error -stats -y -i input -vf lut3d="*d:*/3DLUTs/001.3DL" output this is the error [lut3d @ 00cc80ee8080] [Eval @

Re: [FFmpeg-user] Overlaying part of a video by an image file [quickly, without re-encoding the rest]

2020-07-24 Thread Gyan Doshi
that these requirements may mean there is no easy way to satisfy them using FFmpeg. In my experience, Gyan Doshi, who answered your question on Stack Exchange, knows a lot about FFmpeg and is very willing to help. If Gyan says that avoiding re-encoding the video is "not trivial", then that likely mean

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] 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] 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] {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] 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] 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] 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] 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] 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] 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] 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] 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] "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] 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] 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] 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] 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] '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] 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] 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] 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] 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] 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] [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] 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] 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] 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] 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] 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] 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] 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] 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-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-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] 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] 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] 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] 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] 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-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] 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] 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] -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] 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] 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] 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] 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] 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] 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] 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] 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] 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

<    1   2   3   >