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

2021-04-24 Thread Michael Koch
Am 23.04.2021 um 23:19 schrieb Ulf Zibis: Am 23.04.21 um 08:31 schrieb Gyan Doshi: On this topic generally, see https://superuser.com/q/1632998/ Much thanks for this hint. I was successful with this approach: ffmpeg -i 'Stille Tage in Clichy.mpg' -vf

Re: [FFmpeg-user] alternating checkerboard

2021-02-09 Thread Michael Koch
Am 09.02.2021 um 04:49 schrieb Mark Filipak (ffmpeg): I don't know the details of the filters that work on pixels ('blend', for example). I hope a knowledgeable person will respond with suggestions. I'd like to experiment with a filter that mixes pixels from 2 progressive streams on an

Re: [FFmpeg-user] Insert black frames -- How?

2021-02-09 Thread Michael Koch
Mark, I want to insert black frames into a stream on a regular basis. #1, Is that an input device? I think so. Or, #2, is it better/easier to repeat an input frame and blacken the repeated frame? Maybe. I seek guidance. I've read everything I could find. Methinks #1 would be best. But if

Re: [FFmpeg-user] exposure filter

2021-02-10 Thread Michael Koch
Am 10.02.2021 um 20:20 schrieb Paul B Mahol: On Wed, Feb 10, 2021 at 8:14 PM Michael Koch wrote: Hello, in the new "exposure" filter it's unclear in which order the operations are applied. First exposure, then black level? Or first black level, then exposure? Does the filter have

[FFmpeg-user] exposure filter

2021-02-10 Thread Michael Koch
Hello, in the new "exposure" filter it's unclear in which order the operations are applied. First exposure, then black level? Or first black level, then exposure? Does the filter have a limiter if the result is out of range? These infos should be added to the documentation. Michael

Re: [FFmpeg-user] exposure filter

2021-02-10 Thread Michael Koch
Am 10.02.2021 um 23:28 schrieb Paul B Mahol: On Wed, Feb 10, 2021 at 11:17 PM Paul B Mahol wrote: Why you do not start fixing your pdf file, it have many obsolete and even false statements. Also to add to that, you already have limiter filter if you need to limit something, no point in

Re: [FFmpeg-user] exposure filter

2021-02-10 Thread Michael Koch
Am 10.02.2021 um 23:17 schrieb Paul B Mahol: Why you do not start fixing your pdf file, it have many obsolete and even false statements. What's wrong and how can it be improved? Michael ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

Re: [FFmpeg-user] exposure filter

2021-02-10 Thread Michael Koch
Am 11.02.2021 um 00:50 schrieb Paul B Mahol: On Thu, Feb 11, 2021 at 12:43 AM Paul B Mahol wrote: On Wed, Feb 10, 2021 at 11:51 PM Michael Koch wrote: Am 10.02.2021 um 23:17 schrieb Paul B Mahol: Why you do not start fixing your pdf file, it have many obsolete and even false statements

Re: [FFmpeg-user] exposure filter

2021-02-10 Thread Michael Koch
Am 11.02.2021 um 00:43 schrieb Paul B Mahol: On Wed, Feb 10, 2021 at 11:51 PM Michael Koch wrote: Am 10.02.2021 um 23:17 schrieb Paul B Mahol: Why you do not start fixing your pdf file, it have many obsolete and even false statements. What's wrong and how can it be improved? Almost

Re: [FFmpeg-user] astats to csv file

2021-02-11 Thread Michael Koch
Am 11.02.2021 um 15:48 schrieb Benjamin Houtman: How would that translate into a csv file? The example in chapter 2.113 of my book might help. It's for another filter, but also with *.csv output. http://www.astro-electronic.de/FFmpeg_Book.pdf Michael

Re: [FFmpeg-user] "instead of complaining, submit a patch" [was: Re: minterpolate problem]

2021-02-02 Thread Michael Koch
Am 02.02.2021 um 22:05 schrieb Mark Filipak (ffmpeg): On 02/02/2021 03:29 PM, Michael Koch wrote: -snip- In my opinion, it would be best to have all documentation in a wiki. A wiki? Available to all to modify? Available to all who are registered to the wiki. Why not? The wiki has a history

Re: [FFmpeg-user] Cut part of a video, crop it and blackout parts of it

2021-04-05 Thread Michael Koch
Am 05.04.2021 um 01:48 schrieb Cecil Westerhof via ffmpeg-user: I have to cut out a part of a video, crop it and blackout two parts. I do this with: ffmpeg -y \ -ss 00:19:49\ -i

Re: [FFmpeg-user] Cut part of a video, crop it and blackout parts of it

2021-04-05 Thread Michael Koch
Am 05.04.2021 um 11:58 schrieb Cecil Westerhof via ffmpeg-user: Michael Koch writes: Am 05.04.2021 um 01:48 schrieb Cecil Westerhof via ffmpeg-user: I have to cut out a part of a video, crop it and blackout two parts. I do this with: ffmpeg -y

Re: [FFmpeg-user] Cutting out part of a video does not work

2021-03-26 Thread Michael Koch
Am 26.03.2021 um 09:55 schrieb Cecil Westerhof via ffmpeg-user: I want to publish a speech I gave during a Zoom meeting. But cutting it out does not work. When I use: ffmpeg -y -i 2021-03-25ToastmastersClubAvond.mp4 -ss 1190 -to 1631 -acodec copy -vcodec copy -async 1 speech.mp4 The

[FFmpeg-user] FFmpeg doesn't stop after it has written the correct output file

2021-03-13 Thread Michael Koch
Hello all, I just created a special effect which shows several optical sound tracks, like in cine film. The output video is perfectly ok and has the correct length 20s. But FFmpeg doesn't stop after it has written the output file. I have to terminate it with ctrl-c, and I don't understand

Re: [FFmpeg-user] How to get he total number of frames

2021-03-09 Thread Michael Koch
Am 09.03.2021 um 09:46 schrieb Ulf Zibis: Am 09.03.21 um 09:26 schrieb Peter White: On Tue, Mar 09, 2021 at 09:13:14AM +0100, Ulf Zibis wrote: Hi,, can one please tell me, how I can get the total number of frames of a video? ffmpeg -i input -an -sn -c copy -f null - This basically copies

Re: [FFmpeg-user] FFmpeg list footer

2021-03-09 Thread Michael Koch
Am 09.03.2021 um 12:05 schrieb Reindl Harald: look at that bunch of idiots which repleatly ignore the "don't top post" and how do you imagine would a list-footer with the sentence change that That's because many people don't know what the term "top-posting" means. I think it's a good idea

Re: [FFmpeg-user] FFmpeg list footer

2021-03-09 Thread Michael Koch
Am 09.03.2021 um 12:36 schrieb Nicolas George: mX (12021-03-09): Can someone with list admin access (admins at foot of this email) please update the footer for this mailing list to assist new posters - because few people read the list FAQ and the devs and regulars spend too much time reminding

Re: [FFmpeg-user] 'mix' filter questions

2021-03-20 Thread Michael Koch
Am 20.03.2021 um 04:31 schrieb Mark Filipak (ffmpeg): : :   :   : :   Specify scale, if it is set it will be multiplied with sum of each weight multiplied with pixel values to give final destination pixel value. By default scale is auto scaled to sum of

Re: [FFmpeg-user] hstack with one video offset in time (and keep audio synced)?

2021-03-17 Thread Michael Koch
Am 17.03.2021 um 19:31 schrieb Steven Kan: On Mar 6, 2021, at 11:22 AM, Steven Kan wrote: On Mar 5, 2021, at 2:00 PM, Michael Koch wrote: Am 05.03.2021 um 20:33 schrieb Steven Kan: I’d like to assemble these videos, side-by-side, but synced in time, which means the TrailDown video needs

Re: [FFmpeg-user] repeat a frame

2021-03-04 Thread Michael Koch
Am 03.03.2021 um 23:57 schrieb Mark Filipak (ffmpeg): I've tried transcoding a 2:21:19 movie via this script: SET prep23=settb=expr=1/72,setpts=N*30030 SET cfr23=setpts=N*1001/24000/TB,fps=24000/1001 SET codecs=-codec:v libx265 -x265-params crf=16:qcomp=1.00 -codec:a copy -codec:s copy

Re: [FFmpeg-user] HTML source

2021-02-25 Thread Michael Koch
Am 25.02.2021 um 11:19 schrieb adam smith via ffmpeg-user: hi gang hope you are all good today. I would like to record a single html page for a fixed duration as if it was a video source. I know I could use OBS to show the web page as an input on a scene and then record it, but I wondered if

[FFmpeg-user] set metadata in a jpg image

2021-02-23 Thread Michael Koch
Hello, I want to set two exif tags in a *.jpg image, so that this image is recognized by Facebook as a spherical 360 image. This can be done with exiftool: exiftool -overwrite_original -make="Ricoh" -model="Ricoh THETA S" test.jpg Is it also possible to do the same thing with FFmpeg? This

Re: [FFmpeg-user] set metadata in a jpg image

2021-02-23 Thread Michael Koch
Am 23.02.2021 um 12:04 schrieb Paul B Mahol: On Tue, Feb 23, 2021 at 10:59 AM Michael Koch wrote: Hello, I want to set two exif tags in a *.jpg image, so that this image is recognized by Facebook as a spherical 360 image. This can be done with exiftool: exiftool -overwrite_original -make

Re: [FFmpeg-user] hstack with one video offset in time?

2021-03-05 Thread Michael Koch
Am 05.03.2021 um 20:33 schrieb Steven Kan: I’d like to assemble these videos, side-by-side, but synced in time, which means the TrailDown video needs to start 50 seconds after the TrailUp video. The TrailDown side can be black/blank, or it can be stuck on the first frame of its video while the

Re: [FFmpeg-user] Overlay images to frames in video

2021-04-08 Thread Michael Koch
Am 08.04.2021 um 09:27 schrieb Rainer M Krug: ffmpeg -i ‘background_movie.avi' -i 'overlay.avi' -filter_complex 'overlay=0x0’ ‘final_movie.avi’ I think overlay=0x0 is not doing what you expect. It does set the x option to hexadecimal 0, and it doesn't specify the y option. In your case that

Re: [FFmpeg-user] Plotting Circles and labels on individual frames of a movie

2021-04-08 Thread Michael Koch
Am 08.04.2021 um 11:10 schrieb Rainer M Krug: Hi Nicolas On 8 Apr 2021, at 10:58, Nicolas George wrote: Rainer M Krug (12021-04-08): I have found “draw_text” (https://ffmpeg.org/ffmpeg-filters.html#drawtext), but I have no idea how I could do this. We can assume that I have a text file with

Re: [FFmpeg-user] Plotting Circles and labels on individual frames of a movie

2021-04-08 Thread Michael Koch
Am 08.04.2021 um 09:46 schrieb Rainer M Krug: Hi I have a series of videos of moving particles (multiple particles per frame / movie), and would like to add a circle around each particle and add a label. At the moment I am using a script in R to plot, for each frame, these circles and labels

Re: [FFmpeg-user] Guide to denoise VHS videos

2021-04-12 Thread Michael Koch
Am 12.04.2021 um 00:39 schrieb Ulf Zibis: My question is not about head-switching effects, it mainly is about temporal noise. E.G., there is the hqdn3d filter, which can do both, spacial and temporal denoise. But I'm missing some guidance about using the parameters and in comparision to

Re: [FFmpeg-user] Change in video length and loss of audio sync

2021-04-13 Thread Michael Koch
Am 13.04.2021 um 21:53 schrieb John Harlow via ffmpeg-user: RES1=`nice -20 cpulimit -l 400 /usr/bin/ffmpeg -y -hide_banner -loglevel verbose -r 29.97 -i "$TMP" \ I'm not sure, but doesn't the -r option before the input overwrite the framerate of the input? Michael

Re: [FFmpeg-user] converting raw stills to "raw" video

2021-02-16 Thread Michael Koch
Am 16.02.2021 um 11:52 schrieb shawny: I am trying to find out if it is possible using ffmpeg to convert raw stills into "raw" or log video in order to be gradable as video. This is to incorporate timelapse photography into my video projects. I know this can be done using Adobe After Effects

Re: [FFmpeg-user] converting raw stills to "raw" video

2021-02-16 Thread Michael Koch
Am 16.02.2021 um 21:34 schrieb Paul B Mahol: On Tue, Feb 16, 2021 at 9:28 PM Michael Koch wrote: Am 16.02.2021 um 11:52 schrieb shawny: I am trying to find out if it is possible using ffmpeg to convert raw stills into "raw" or log video in order to be gradabl

Re: [FFmpeg-user] converting raw stills to "raw" video

2021-02-16 Thread Michael Koch
Am 16.02.2021 um 23:52 schrieb Paul B Mahol: On Tue, Feb 16, 2021 at 11:47 PM Michael Koch wrote: Am 16.02.2021 um 21:34 schrieb Paul B Mahol: On Tue, Feb 16, 2021 at 9:28 PM Michael Koch < astroelectro...@t-online.de> wrote: Am 16.02.2021 um 11:52 schrieb shawny: I am trying t

Re: [FFmpeg-user] Filter documentation -- PTSs

2021-02-15 Thread Michael Koch
Jim, I am in the camp that believes that the measure of adequate FFmpeg documentation is that it describes what an FFmpeg user needs to know about the behaviour of that filter, in all respects, without having to read the source code. By that measure, I believe that FFmpeg's documentation for

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

2021-04-23 Thread Michael Koch
Am 23.04.2021 um 08:31 schrieb Gyan Doshi: You may be thinking of the interleave filter. select uses exactly one input. you are right and what I wrote was wrong. Michael ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

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

2021-04-23 Thread Michael Koch
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 filter A and finally the whole stream

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

2021-04-23 Thread Michael Koch
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 filter A and finally the whole stream

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

2021-04-23 Thread Michael Koch
Am 23.04.2021 um 13:35 schrieb Nicolas George: 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. The crop filter could be used

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

2021-04-23 Thread Michael Koch
Am 23.04.2021 um 14:05 schrieb Nicolas George: Michael Koch (12021-04-23): The crop filter could be used to change the x,y coordinates, with constant output resolution. With timeline? Please elaborate? Please forget what I wrote. It's wrong. Michael

Re: [FFmpeg-user] Is there an image viewer with FileSystemWatcher?

2021-09-01 Thread Michael Koch
Am 01.09.2021 um 09:30 schrieb Paul B Mahol: On Wed, Sep 1, 2021 at 9:26 AM Michael Koch wrote: Hello, sometimes it's an iterative process to find the best parameters for a filter, especially when the filter changes brightness, contrast or colors: 1) Edit the filter parameters in the FFmpeg

[FFmpeg-user] Is there an image viewer with FileSystemWatcher?

2021-09-01 Thread Michael Koch
Hello, sometimes it's an iterative process to find the best parameters for a filter, especially when the filter changes brightness, contrast or colors: 1) Edit the filter parameters in the FFmpeg command line 2) Run FFmpeg 3) Open the output image in a viewer (normally I'm using IrfanView) 4)

[FFmpeg-user] show the audio waveform of a file

2021-08-25 Thread Michael Koch
Hi, is it possible to convert the waveform of an entire audio file (or a segment of it) to a picture? The "showwavespic" filter has the problem that for each sample it draws a line from +level to -level. For example, if the input is a +0.5 DC signal, I can't decide from the output picture if

Re: [FFmpeg-user] Why FFMPEG?

2021-08-16 Thread Michael Koch
Am 16.08.2021 um 15:28 schrieb Reindl Harald: with you idiotic phone 50% auf my day would be wasted by swiching apps and say "ok, all fine there" can you please continue this discussion off-list Michael ___ ffmpeg-user mailing list

Re: [FFmpeg-user] toggle between two streams

2021-09-03 Thread Michael Koch
Am 03.09.2021 um 15:30 schrieb Paul B Mahol: sendcmd supports expressions. yes, but it's complicated and doesn't always work. rem   make two images for testing ffmpeg -f lavfi -i color=yellow -vf drawtext='text="1":fontcolor=red:fontsize=100:x=140:y=80' -frames 1 -y 1.png ffmpeg -f lavfi -i

Re: [FFmpeg-user] toggle between two streams

2021-09-03 Thread Michael Koch
Am 03.09.2021 um 14:21 schrieb Michael Koch: I have two video streams and want to toggle between them in 1 second intervals. I did try this command: ffmpeg -i in1.mp4 -i in2.mp4 -lavfi streamselect=map='mod(t,2)' -t 30 out.mp4 This doesn't work because streamselect doesn't accept

Re: [FFmpeg-user] toggle between two streams

2021-09-03 Thread Michael Koch
Am 03.09.2021 um 15:09 schrieb Paul B Mahol: On Fri, Sep 3, 2021 at 3:07 PM Michael Koch wrote: Am 03.09.2021 um 14:21 schrieb Michael Koch: I have two video streams and want to toggle between them in 1 second intervals. I did try this command: ffmpeg -i in1.mp4 -i in2.mp4 -lavfi

[FFmpeg-user] toggle between two streams

2021-09-03 Thread Michael Koch
I have two video streams and want to toggle between them in 1 second intervals. I did try this command: ffmpeg -i in1.mp4 -i in2.mp4 -lavfi streamselect=map='mod(t,2)' -t 30 out.mp4 This doesn't work because streamselect doesn't accept expressions. Who has an idea for a workaround? Thanks,

Re: [FFmpeg-user] toggle between two streams

2021-09-03 Thread Michael Koch
Am 03.09.2021 um 20:01 schrieb Reino Wijnsma: On 2021-09-03T16:25:50+0200, Michael Koch wrote: But if I write all in the FFmpeg command line, then it doesn't work: ffmpeg -loop 1 -i 1.png -loop 1 -i 2.png -lavfi sendcmd=c="0 [expr] streamselect map 'gte(mod(T,2),1)'",streamselect=m

Re: [FFmpeg-user] Quality Reduced when Burning Subtitles

2021-09-13 Thread Michael Koch
Am 13.09.2021 um 10:42 schrieb Veronica & Stephen McGuckin: Thank you. Please can you explain a little bit more about what option I should set. Regards -Original Message- From: ffmpeg-user On Behalf Of Paul B Mahol Sent: 11 September 2021 16:54 To: FFmpeg user questions Subject: Re:

[FFmpeg-user] Invitation: FFmpeg workshop

2021-09-06 Thread Michael Koch
Hello, this week from Thursday 2021-09-09 to Sunday 2021-09-12 will take place the 12th "Sankt Andreasberger Teleskoptreffen", that's an event for amateur astronomers in the Harz Mountains in Germany. You are invited to observe the night sky and attend our lectures. You can come for one day,

Re: [FFmpeg-user] High audio latency (although low with ffplay!)

2021-09-08 Thread Michael Koch
Am 08.09.2021 um 11:44 schrieb Arif Driessen: about 3 seconds latency. I have also experimented with these flags: -thread_queue_size, -fflags nobuffer, -flags low_delay ,-strict experimental, -re, -deadline realtime Any ideas? I had a similar problem with the "dshow" input device and solved

Re: [FFmpeg-user] Weird results with drawtext

2021-09-18 Thread Michael Koch
Am 18.09.2021 um 18:51 schrieb Michael Koch: Am 18.09.2021 um 18:22 schrieb Michael Koch: Am 18.09.2021 um 18:07 schrieb Cecil Westerhof via ffmpeg-user: I have several of the following (simplified): drawtext=     enable = 'between(t, 105, 115)':     text   = 'speaker

Re: [FFmpeg-user] Weird results with drawtext

2021-09-18 Thread Michael Koch
Am 18.09.2021 um 18:07 schrieb Cecil Westerhof via ffmpeg-user: I have several of the following (simplified): drawtext= enable = 'between(t, 105, 115)': text = 'speaker': y = main_h - (text_h * 4), drawtext= enable = 'between(t,

Re: [FFmpeg-user] Weird results with drawtext

2021-09-18 Thread Michael Koch
Am 18.09.2021 um 18:22 schrieb Michael Koch: Am 18.09.2021 um 18:07 schrieb Cecil Westerhof via ffmpeg-user: I have several of the following (simplified): drawtext=     enable = 'between(t, 105, 115)':     text   = 'speaker':     y  = main_h - (text_h * 4

Re: [FFmpeg-user] Weird results with drawtext

2021-09-19 Thread Michael Koch
of the speaker and subject text is on different heights. Sometimes one or the other is different, sometimes both and sometimes they are the same. Is this a bug, or am I doing something wrong? As Michael Koch said: The content of the variable "text_h" depends on which character

Re: [FFmpeg-user] Weird results with drawtext

2021-09-19 Thread Michael Koch
of the speaker and subject text is on different heights. Sometimes one or the other is different, sometimes both and sometimes they are the same. Is this a bug, or am I doing something wrong? As Michael Koch said: The content of the variable "text_h" depends on which character

Re: [FFmpeg-user] Weird results with drawtext

2021-09-19 Thread Michael Koch
Am 19.09.2021 um 12:42 schrieb Cecil Westerhof via ffmpeg-user: Michael Koch writes: As Michael Koch said: The content of the variable "text_h" depends on which characters you are printing. So I changed: drawtext= enable = 'between(t, 105, 115)':

Re: [FFmpeg-user] -framerate, -r and -itsoffset confusion

2021-09-20 Thread Michael Koch
Am 20.09.2021 um 10:45 schrieb Duncan Robertson: What is the difference between -framerate and -r? -framerate is the framerate used for reading in the images. -r is the output framerate, it's 25 by default if you don't use this option. If -framerate is larger than -r, then some frames are

Re: [FFmpeg-user] Pattern_Type Glob *.JPG wildcard input file support for Windows 10?

2021-07-13 Thread Michael Koch
Am 13.07.2021 um 10:32 schrieb yaofahua--- via ffmpeg-user: This command may be helpful. cat *.jpg | ffmpeg -framerate 1/2 -pattern_type -f image2pipe -i - -filter_complex "scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:-1:-1:color=black,format=yuv420p" -r 30 -movflags

Re: [FFmpeg-user] -pix_fmt + pixel format conversions

2021-07-29 Thread Michael Koch
Am 29.07.2021 um 09:12 schrieb Green Koopa: My input file is yuvj420p(pc, bt709). My target output is yuv420p(tv, bt709). I would like to use "-pix_fmt +yuv420p" to specify the output format, and to force me to be explicit in my conversions in the filtergraph. How do I achieve explicit

Re: [FFmpeg-user] fftfilt

2021-10-13 Thread Michael Koch
Am 12.10.2021 um 19:29 schrieb Michael Koch: Am 12.10.2021 um 18:52 schrieb Paul B Mahol: On Tue, Oct 12, 2021 at 10:55 AM Michael Koch wrote: I have a question about the "fftfilt" filter. What's the default value of the weight_U and weight_V options? I'm asking because I get an

Re: [FFmpeg-user] fftfilt

2021-10-13 Thread Michael Koch
Am 13.10.2021 um 23:09 schrieb Michael Koch: Am 13.10.2021 um 22:57 schrieb Paul B Mahol: On Wed, Oct 13, 2021 at 10:51 PM Michael Koch wrote: Am 12.10.2021 um 19:29 schrieb Michael Koch: Am 12.10.2021 um 18:52 schrieb Paul B Mahol: On Tue, Oct 12, 2021 at 10:55 AM Michael Koch wrote: I

[FFmpeg-user] fftfilt

2021-10-12 Thread Michael Koch
I have a question about the "fftfilt" filter. What's the default value of the weight_U and weight_V options? I'm asking because I get an unexpected result. This command line creates my input image for testing: ffmpeg -f lavfi -i color=black:s=300x50 -lavfi

Re: [FFmpeg-user] fftfilt

2021-10-12 Thread Michael Koch
Am 12.10.2021 um 18:52 schrieb Paul B Mahol: On Tue, Oct 12, 2021 at 10:55 AM Michael Koch wrote: I have a question about the "fftfilt" filter. What's the default value of the weight_U and weight_V options? I'm asking because I get an unexpected result. This command line create

Re: [FFmpeg-user] fftfilt

2021-10-14 Thread Michael Koch
Am 14.10.2021 um 13:23 schrieb Paul B Mahol: On Thu, Oct 14, 2021 at 1:18 PM Michael Koch wrote: Am 14.10.2021 um 13:11 schrieb Paul B Mahol: On Thu, Oct 14, 2021 at 1:08 PM Michael Koch < astroelectro...@t-online.de> wrote: Am 14.10.2021 um 13:01 schrieb Paul B Mahol: On Thu,

Re: [FFmpeg-user] fftfilt

2021-10-14 Thread Michael Koch
Am 14.10.2021 um 13:01 schrieb Paul B Mahol: On Thu, Oct 14, 2021 at 12:59 PM Michael Koch wrote: Am 14.10.2021 um 12:53 schrieb Paul B Mahol: On Thu, Oct 14, 2021 at 12:29 PM Michael Koch < astroelectro...@t-online.de> wrote: Am 14.10.2021 um 12:07 schrieb Paul B Mahol: Sorry b

Re: [FFmpeg-user] fftfilt

2021-10-14 Thread Michael Koch
Am 13.10.2021 um 23:52 schrieb Michael Koch: Am 13.10.2021 um 23:09 schrieb Michael Koch: Am 13.10.2021 um 22:57 schrieb Paul B Mahol: On Wed, Oct 13, 2021 at 10:51 PM Michael Koch wrote: Am 12.10.2021 um 19:29 schrieb Michael Koch: Am 12.10.2021 um 18:52 schrieb Paul B Mahol: On Tue

Re: [FFmpeg-user] fftfilt

2021-10-14 Thread Michael Koch
Am 14.10.2021 um 12:07 schrieb Paul B Mahol: Sorry but I'm not on windows, so I can not use your script. Then try the below (slightly improved) version. It would become much simpler with variables: ARRAY_H = pow(2,ceil(log(ceil(W*10/9))/log(2))) ARRAY_V =

Re: [FFmpeg-user] fftfilt

2021-10-14 Thread Michael Koch
Am 14.10.2021 um 13:11 schrieb Paul B Mahol: On Thu, Oct 14, 2021 at 1:08 PM Michael Koch wrote: Am 14.10.2021 um 13:01 schrieb Paul B Mahol: On Thu, Oct 14, 2021 at 12:59 PM Michael Koch < astroelectro...@t-online.de> wrote: Am 14.10.2021 um 12:53 schrieb Paul B Mahol: On Thu,

Re: [FFmpeg-user] fftfilt

2021-10-14 Thread Michael Koch
Am 14.10.2021 um 12:53 schrieb Paul B Mahol: On Thu, Oct 14, 2021 at 12:29 PM Michael Koch wrote: Am 14.10.2021 um 12:07 schrieb Paul B Mahol: Sorry but I'm not on windows, so I can not use your script. Then try the below (slightly improved) version. It would become much simpler

Re: [FFmpeg-user] fftfilt

2021-10-14 Thread Michael Koch
Am 14.10.2021 um 13:29 schrieb Michael Koch: Am 14.10.2021 um 13:23 schrieb Paul B Mahol: On Thu, Oct 14, 2021 at 1:18 PM Michael Koch wrote: Am 14.10.2021 um 13:11 schrieb Paul B Mahol: On Thu, Oct 14, 2021 at 1:08 PM Michael Koch < astroelectro...@t-online.de> wrote: Am 14.10.2

Re: [FFmpeg-user] fftfilt

2021-10-18 Thread Michael Koch
Am 14.10.2021 um 23:34 schrieb Michael Koch: Am 14.10.2021 um 16:13 schrieb Michael Koch: This is the command line for the lowpass filter, where the filter freqency isn't a function of input size. The constant "8" is the filter wavelength in pixels per linepair. ffmpeg -i te

Re: [FFmpeg-user] fftfilt

2021-10-14 Thread Michael Koch
Am 14.10.2021 um 16:13 schrieb Michael Koch: This is the command line for the lowpass filter, where the filter freqency isn't a function of input size. The constant "8" is the filter wavelength in pixels per linepair. ffmpeg -i test.png -vf scale=2*iw:2*ih,fftfilt=dc_Y=0:dc_

[FFmpeg-user] shuffleplanes

2021-10-11 Thread Michael Koch
Hello, I have a question about the shuffleplanes filter. In this example the pixel format is RGB24. So the first plane is red and the second plane is green. I want to swap the red and green planes. ffmpeg -f lavfi -i testsrc2 -lavfi

Re: [FFmpeg-user] shuffleplanes

2021-10-11 Thread Michael Koch
Am 11.10.2021 um 11:26 schrieb Paul B Mahol: On Mon, Oct 11, 2021 at 11:15 AM Michael Koch wrote: Hello, I have a question about the shuffleplanes filter. In this example the pixel format is RGB24. So the first plane is red and the second plane is green. I want to swap the red and green

Re: [FFmpeg-user] fftfilt

2021-10-13 Thread Michael Koch
Am 13.10.2021 um 22:57 schrieb Paul B Mahol: On Wed, Oct 13, 2021 at 10:51 PM Michael Koch wrote: Am 12.10.2021 um 19:29 schrieb Michael Koch: Am 12.10.2021 um 18:52 schrieb Paul B Mahol: On Tue, Oct 12, 2021 at 10:55 AM Michael Koch wrote: I have a question about the "fftfilt&qu

Re: [FFmpeg-user] scaling algorithms

2021-09-28 Thread Michael Koch
Am 21.09.2021 um 08:57 schrieb Paul B Mahol: See new morpho filter, that gonna be in master soon. It is much faster than current filters and allow custom definition of structure/mask (rectangle/circle/etc) by using 2nd stream. I'd like to test it. Please push it. What's the meaning of

[FFmpeg-user] blend filter

2021-09-30 Thread Michael Koch
I like the sample images for the blend filter that Paul has added here: https://trac.ffmpeg.org/wiki/Blend Can you please also share the command line for making these images? Thanks, Michael ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

Re: [FFmpeg-user] blend filter

2021-09-30 Thread Michael Koch
Am 30.09.2021 um 19:19 schrieb Paul B Mahol: On Thu, Sep 30, 2021 at 7:06 PM Michael Koch wrote: I like the sample images for the blend filter that Paul has added here: https://trac.ffmpeg.org/wiki/Blend Can you please also share the command line for making these images? mpv av

Re: [FFmpeg-user] scaling algorithms

2021-09-21 Thread Michael Koch
Am 20.09.2021 um 21:51 schrieb Paul B Mahol: On Sat, Oct 17, 2015 at 3:58 PM Michael Koch wrote: > That looks like the job for the filter, see inflate, deflate, erosion and dilation filters. I just tested the dilation filter. It's a nice workaround if the downscaling factor is

Re: [FFmpeg-user] blend filter

2021-10-02 Thread Michael Koch
Am 30.09.2021 um 19:05 schrieb Michael Koch: I like the sample images for the blend filter that Paul has added here: https://trac.ffmpeg.org/wiki/Blend In the documentation for the "opacity" options for the blend filter is written: "Only used in combination with pixel compon

Re: [FFmpeg-user] Regarding video compression

2021-10-04 Thread Michael Koch
Am 05.10.2021 um 07:27 schrieb Shailesh kumar Dangi via ffmpeg-user: Hi Team, This is Shailesh Kumar Dangi, Working on Maventus Group Inc. I am using FFMPEG for video compression for bitrate reduction and I want to be the same aspect ratio as the original video aspect ratio. I am facing a

Re: [FFmpeg-user] Regarding video compression

2021-10-05 Thread Michael Koch
Am 05.10.2021 um 12:39 schrieb Shailesh kumar Dangi via ffmpeg-user: Hi, When I use to stop rotation. -noautorotate. it is working fine in my local system, But when I upload the code on the Linux server after compression video itself gets to rotate. Original Video-

Re: [FFmpeg-user] Regarding video compression

2021-10-05 Thread Michael Koch
Am 05.10.2021 um 09:07 schrieb Shailesh kumar Dangi via ffmpeg-user: Yes, In the input video contains some black space around the video as you can see in the attachment below. If we pass the scale "-vf scale=1920:1080" then the video will be stretched. if we do not pass the scale. The scale will

Re: [FFmpeg-user] Regarding video compression

2021-10-05 Thread Michael Koch
Am 05.10.2021 um 10:18 schrieb Shailesh kumar Dangi via ffmpeg-user: Do we have anything to stop rotation? Try to add the option -noautorotate Michael ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

Re: [FFmpeg-user] Regarding video compression

2021-10-05 Thread Michael Koch
Am 05.10.2021 um 08:03 schrieb Shailesh kumar Dangi via ffmpeg-user: Thanks, Micheal Here is the command, I am using to reduce the bitrate. ffmpeg -y -i original.MOV -b:v 4.5M -map_metadata 0:s:0 -c:v libx264 -preset superfast -tune film -ac 2 -c:a aac -maxrate 4M -bufsize 3M -strict -2 -vf

Re: [FFmpeg-user] Regarding video compression

2021-10-05 Thread Michael Koch
Am 05.10.2021 um 08:33 schrieb Shailesh kumar Dangi via ffmpeg-user: Hi, Please find below as an attachment. In the attachment input command and output, the console is there. Actual Input what i am using ffmpeg -y -i original.mov -b:v 4.5M -map_metadata 0:s:0 -c:v libx264 -preset superfast

Re: [FFmpeg-user] Regarding video compression

2021-10-05 Thread Michael Koch
Am 05.10.2021 um 09:54 schrieb Shailesh kumar Dangi via ffmpeg-user: Hi, Our final goal is to reduce the bitrate is below 5MB and the Aspect ratio, height, and width need to be the same. The bitrate is already below 5Mb/s, look at the end of the console output: bitrate=3772.4kbits/s Aspect

Re: [FFmpeg-user] Regarding video compression

2021-10-05 Thread Michael Koch
Am 05.10.2021 um 12:55 schrieb Shailesh kumar Dangi via ffmpeg-user: Please find an attachment as a command with the console. ffmpeg version 2.8.17-0ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.12) 20160609 Your FFmpeg version

Re: [FFmpeg-user] Filter Question

2022-01-04 Thread Michael Koch
Am 04.01.2022 um 21:12 schrieb Hanna Frangiyyeh: Hi Guys; I'm new to ffmpeg and I'm trying to figure out what is wrong with the below filter. It keep erroring out with the following error: Unable to find a suitable output format for '[rgb_in][alpha_in][rgb_in]' ffpmpeg -i "D:\TEMP\Source

Re: [FFmpeg-user] Split Video into RGB and Alpha

2022-01-04 Thread Michael Koch
Am 04.01.2022 um 18:04 schrieb Hanna Frangiyyeh: Hi Michael; Sorry I'm a novice to ffmpeg, is there a way to do it in one command pass. Also, do you have command that you can share? Here is an example: rem  Make a short test video with alpha channel ffmpeg -f lavfi -i

Re: [FFmpeg-user] Filter Question

2022-01-04 Thread Michael Koch
Am 04.01.2022 um 21:23 schrieb Michael Koch: Am 04.01.2022 um 21:12 schrieb Hanna Frangiyyeh: Hi Guys; I'm new to ffmpeg and I'm trying to figure out what is wrong with the below filter.  It keep erroring out with the following error: Unable to find a suitable output format for '[rgb_in

Re: [FFmpeg-user] Filter Question

2022-01-04 Thread Michael Koch
Am 04.01.2022 um 22:26 schrieb Hanna Frangiyyeh: Ok, I added the commas, now I have the following error: PS D:\TEMP\Source Files\Audio> D:\Apps\AudioRendering\AudioRendering\AudioRendering\ffmpeg.exe -i "D:\TEMP\Source Files \720E\MLB21_INT_PLAYER_720.mov" -i "D:\TEMP\Source

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

2022-01-05 Thread Michael Koch
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 option ffplay -noborder -video_size vga -left

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

2022-01-05 Thread Michael Koch
Am 05.01.2022 um 13:22 schrieb 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. O

[FFmpeg-user] fullscreen with sdl output device

2022-01-05 Thread Michael Koch
Hello, I have a question about the sdl output device. If I have a (Windows) computer with two or more monitors, is it somehow possible to play a video fullscreen (without borders) but only on one monitor? Or does "fullscreen" always mean that the whole desktop is used? I know that I can

Re: [FFmpeg-user] fullscreen with sdl output device

2022-01-05 Thread Michael Koch
Am 05.01.2022 um 20:43 schrieb Michael Koch: Hello, I have a question about the sdl output device. If I have a (Windows) computer with two or more monitors, is it somehow possible to play a video fullscreen (without borders) but only on one monitor? Or does "fullscreen" a

Re: [FFmpeg-user] New post

2021-12-29 Thread Michael Koch
Am 30.12.2021 um 07:09 schrieb Jim DeLaHunt: On 2021-12-29 21:00, paul king wrote: In the ffmpeg Documentation there is this command for Select the pass number (1 or 2): ffmpeg -i foo.mov -c:v libxvid -pass 1 -an -f rawvideo -y NUL ffmpeg -i foo.mov -c:v libxvid -pass 1 -an -f rawvideo -y

Re: [FFmpeg-user] Split Video into RGB and Alpha

2022-01-04 Thread Michael Koch
Am 04.01.2022 um 03:19 schrieb Hanna Frangiyyeh: Hi Guys; I have a video file that has an embedded alpha in it. I would like to have it output two files, one RGB and the other Alpha. Any idea how to accomplish this? Making the RGB video is easy, just convert the pixel format to RGB. For

Re: [FFmpeg-user] Alternative to Dynamic Text

2021-11-01 Thread Michael Koch
Am 01.11.2021 um 16:21 schrieb LianCheng Tan: Hi, Beside using textfile (reload=1) in drawtext for dynamic text, is there any other method to add dynamic texts onto the video stream? You could use subtitles. It's described in the wiki: https://trac.ffmpeg.org/wiki/WikiStart There are also

<    1   2   3   4   5   6   7   8   >