Re: [FFmpeg-user] Questions about using CROP filter to pan a jpeg image

2024-09-27 Thread Michael Koch
Am 27.09.2024 um 15:01 schrieb Bram van Oosterhout: Thanks for the reference and... my IMG_8048.JPG has only one timestamp: 2024:04:11 18:46:26. /tmp/On6Ub.JPGdoes not have a timestamp: file /tmp/On6Ub.JPG /tmp/On6Ub.JPG: JPEG image data, baseline, precision 8, 4423x1080, components 3 [Q2.1] So

Re: [FFmpeg-user] Questions about using CROP filter to pan a jpeg image

2024-09-27 Thread Michael Koch
Am 27.09.2024 um 13:37 schrieb Bram van Oosterhout: The expression for x (third parameter in crop: 960*t ) contains a variable t. [Q2] What is t. I am unable to find it in the documentation. It's described in the documentation: https://www.ffmpeg.org/ffmpeg-all.html#crop t is the timestamp expr

Re: [FFmpeg-user] v360 filter output eac resolution

2024-07-12 Thread Michael Koch
Am 12.07.2024 um 03:56 schrieb Jimmie: What confuses me is that the EAC texture has a resolution of 3000x1688. To my understanding, EAC is just a special case of cubemap, which should consist of six square faces. Apparently, that is not the case for this output. Can anyone help me understand why

Re: [FFmpeg-user] Noise generator for 360° video

2024-07-06 Thread Michael Koch
Am 06.07.2024 um 10:44 schrieb Paul B Mahol: On Sat, Jul 6, 2024 at 10:40 AM Michael Koch wrote: Does anybody have an idea how to make a noise generator for 360° video? I mean noise (clouds, waves) that looks similar in all directions of the sphere. If I use the new "perlin" source

[FFmpeg-user] Noise generator for 360° video

2024-07-06 Thread Michael Koch
Does anybody have an idea how to make a noise generator for 360° video? I mean noise (clouds, waves) that looks similar in all directions of the sphere. If I use the new "perlin" source for making an equirectangular video, there are two problems: 1. The left edge doesn't fit to the right edge.

[FFmpeg-user] green bar at bottom of video

2024-07-06 Thread Michael Koch
Hi, when I run this command, the output video has a green bar at the bottom when played with VLC player. But it plays fine with FFplay or PotPlayer . Is this a bug in FFmpeg or in VLC? ffmpeg -f lavfi -i color=gray:size=600x400,format=gray -t 5 -y out.mov The console output is below. Michae

Re: [FFmpeg-user] Convert audio to CSV

2024-07-03 Thread Michael Koch
Am 30.06.2024 um 15:11 schrieb Bouke / edit 'B: Pfff, what a work… I take it you only have to do this once? Why LibreOffice? (Seems like a sledgehammer, you can open a CSV with ‘any’ simple text editor. And if you are stripping the header, it looks like you don’t need CSV, but just a plain s

Re: [FFmpeg-user] Convert audio to CSV

2024-06-30 Thread Michael Koch
Am 30.06.2024 um 14:22 schrieb Media Mouth: Which microcontroller are you using? Either Teensy LC or Seeed Xiao SAMD21. They both have a built-in DAC. In the meantime I found that "Sonic Visualiser" can open WAV and export CSV. Michael I'm not familiar with those but it Teensy does seem to h

Re: [FFmpeg-user] Convert audio to CSV

2024-06-30 Thread Michael Koch
Am 30.06.2024 um 14:07 schrieb Media Mouth: On Jun 30, 2024, at 01:38, Michael Koch wrote: Hi, is it possible to convert an audio waveform to a CSV list? I want to insert 2048 samples of a waveform into the C source code for a microcontroller. Michael Which microcontroller are you using

Re: [FFmpeg-user] Convert audio to CSV

2024-06-29 Thread Michael Koch
Am 30.06.2024 um 07:47 schrieb Alexander Gribanov: вс, 30 июн. 2024 г. в 08:38, Michael Koch : Hi, is it possible to convert an audio waveform to a CSV list? I want to insert 2048 samples of a waveform into the C source code for a microcontroller. Hello! I don't know about how to make

[FFmpeg-user] Convert audio to CSV

2024-06-29 Thread Michael Koch
Hi, is it possible to convert an audio waveform to a CSV list? I want to insert 2048 samples of a waveform into the C source code for a microcontroller. Michael ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/

Re: [FFmpeg-user] Does atadenoise work with 10bit HDR video?

2024-06-27 Thread Michael Koch
Am 27.06.2024 um 08:57 schrieb Paul B Mahol: On Thu, Jun 27, 2024 at 8:45 AM Michael Koch wrote: Am 26.06.2024 um 23:43 schrieb Oliver Fromme: Hi, I'm using ffmpeg for a long time, but I've just recently started to use it with 10bit HDR (HDR10) video. So far I found out how to

Re: [FFmpeg-user] Does atadenoise work with 10bit HDR video?

2024-06-26 Thread Michael Koch
Am 26.06.2024 um 23:43 schrieb Oliver Fromme: Hi, I'm using ffmpeg for a long time, but I've just recently started to use it with 10bit HDR (HDR10) video. So far I found out how to re-encode HDR10 video with libx265 and retain the HDR metadata. It's a bit complicated, but it seems to work fine

Re: [FFmpeg-user] visualize an audio waveform

2024-06-25 Thread Michael Koch
Am 25.06.2024 um 08:53 schrieb Paul B Mahol: On Tue, Jun 25, 2024 at 7:37 AM Michael Koch wrote: Are there any alternatives for visualizing an audio waveform, like on an oscilloscope? No, use Librempeg instead. Found a nice free tool for audio visualizing: https://sonicvisualiser.org

[FFmpeg-user] visualize an audio waveform

2024-06-24 Thread Michael Koch
Are there any alternatives for visualizing an audio waveform, like on an oscilloscope? The "showwaves" filter seems to be broken at the moment (ticket 11070). "showwavespic" has a different output where you can't see the sign of the signal, that's not what I want. Michael

Re: [FFmpeg-user] PNG-->GIF produces weird color aliasing?

2024-05-19 Thread Michael Koch
Am 19.05.2024 um 19:02 schrieb Steven Kan: I have a series of 476 PNGs, exported from Excel in a loop through a series of values to control the plotted range: https://www.kan.org/download/1.png https://www.kan.org/download/2.png https://www.kan.org/download/3.png https://www.kan.org/download/4.

Re: [FFmpeg-user] Extract sound from multiple input files

2024-04-29 Thread Michael Koch
Am 29.04.2024 um 11:28 schrieb turgut kalfaoğlu: Hi. I have an interesting case. I need to extract sound from multiple input files,  combine those video files into one, and then re-insert the audio into the combined video file. Unfortunately I need to do them in this order. Extract sounds, the

Re: [FFmpeg-user] Possible to speed up/down video while keeping audio pitch?

2024-03-25 Thread Michael Koch
Am 24.03.2024 um 23:30 schrieb Bo Berglund: But is it possible also to modify an mp4 video file to *play* faster/slower than original while keeping the accompanying audio pitch the same? It's possible to change audio length, sample rate and pitch, and also all combinations of these three param

Re: [FFmpeg-user] Blend effect with displace filter

2024-01-11 Thread Michael Koch
Am 11.01.2024 um 10:53 schrieb emmanuel martin: I’m experimenting with the ‘displace’ filter, and I’d like to apply my displacement maps with a blend effect on the main track. I’ve tried various things without success, and I haven’t found many examples of using this filter. Is it possible to a

Re: [FFmpeg-user] Video in video not from start

2024-01-05 Thread Michael Koch
Am 05.01.2024 um 10:26 schrieb Cecil Westerhof via ffmpeg-user: Ferdi Scholten writes: I want to play a video in a video from a certain point. I understood I could do something like: ffmpeg \ -i input1.mp4 \ -i input2.mp4 \ -filter_complex "

Re: [FFmpeg-user] Video in video not from start

2024-01-05 Thread Michael Koch
Am 05.01.2024 um 07:51 schrieb Ferdi Scholten: I want to play a video in a video from a certain point. I understood I could do something like: ffmpeg  \    -i input1.mp4 \    -i input2.mp4 \    -filter_complex " [0:v][1:v] overlay=25:25: ena

Re: [FFmpeg-user] Question about random() expression

2023-12-28 Thread Michael Koch
Am 28.12.2023 um 03:25 schrieb Carl Zwanzig: On 12/27/2023 3:54 PM, Jim DeLaHunt wrote: The documentation says, "x is the index of the internal variable which will be used to save the seed/state." (https://ffmpeg.org/ffmpeg-all.html#Expression-Evaluation). I don't know what it means by "index

Re: [FFmpeg-user] Question about random() expression

2023-12-27 Thread Michael Koch
Am 27.12.2023 um 23:59 schrieb Jim DeLaHunt: Michael: On 2023-12-27 13:51, Michael Koch wrote: ...I'm using this command line to print four consecutive random numbers: ... I do not have an answer to your question about the behaviour of the random() function. However, I cannot reproduce

Re: [FFmpeg-user] Question about random() expression

2023-12-27 Thread Michael Koch
Am 27.12.2023 um 23:04 schrieb Devin Heitmueller: On Wed, Dec 27, 2023 at 4:51 PM Michael Koch wrote: Hi, I'm using this command line to print four consecutive random numbers: ffmpeg -loglevel repeat -f lavfi -i color=gray:size=1x1,format=gray -vf geq=lum='st(0,0.123);print(random

[FFmpeg-user] Question about random() expression

2023-12-27 Thread Michael Koch
Hi, I'm using this command line to print four consecutive random numbers: ffmpeg -loglevel repeat -f lavfi -i color=gray:size=1x1,format=gray -vf geq=lum='st(0,0.123);print(random(0));print(random(0));print(random(0));print(random(0));0' -frames 1 -y out.png The output is always the same fou

Re: [FFmpeg-user] Displacement map - glass effect

2023-12-19 Thread Michael Koch
Am 19.12.2023 um 13:56 schrieb emmanuel martin: Hello, Is there a way to do a displacement map in FFMPEG ? I would like to achieve this glass effect - See attached file. yes, please have a look at the "displace" filter or better the "remap" filter. You find many examples in my book: http://

Re: [FFmpeg-user] Multiple overlays at specific times

2023-12-16 Thread Michael Koch
Am 16.12.2023 um 23:41 schrieb emmanuel martin: Thanks for answering ! I took some time to understand the jpg frequency at 25fps. I made the following modifications and it works very well : ffmpeg -framerate 30 -loop 1 -i participant1.jpg -framerate 30 -i participant1.jpg -filter_complex "\ [0]

Re: [FFmpeg-user] Multiple overlays at specific times

2023-12-16 Thread Michael Koch
Am 16.12.2023 um 19:51 schrieb emmanuel martin: I have two inputs that are the same image. The first one, I loop to create a video for 8 seconds. I also create two streams that I will overlay. The background is the normal video, and above it is the same video with a LUT (Look-Up Table) that I app

Re: [FFmpeg-user] Multiple overlays at specific times

2023-12-16 Thread Michael Koch
Am 16.12.2023 um 19:51 schrieb emmanuel martin: I have two inputs that are the same image. The first one, I loop to create a video for 8 seconds. I also create two streams that I will overlay. The background is the normal video, and above it is the same video with a LUT (Look-Up Table) that I app

Re: [FFmpeg-user] Image sequence with part pixelated with a mask

2023-12-02 Thread Michael Koch
Am 02.12.2023 um 05:34 schrieb Ric Hunter: Hello I want to convert an image sequence (jpg) into a mp4 but i want some part of the image sequence to be pixelated based on another mask image sequence (jpg, the white being pixelated, the black being not, but it can be png with alpha I don't mind, th

Re: [FFmpeg-user] How to inject video into a live stream?

2023-11-11 Thread Michael Koch
Am 11.11.2023 um 00:35 schrieb James Thornton: When you have two or more live streams, and you want the ability to toggle between the two, such as switching to camera 2's feed on the main screen, how do you do that and what do you need to consider when constructing such a system? I prefer to do

Re: [FFmpeg-user] Requesting colormatrix advice

2023-11-07 Thread Michael Koch
Am 07.11.2023 um 18:23 schrieb Phil Rhodes via ffmpeg-user: So let me get this straight. There's a command line option called colorspace. There's a filter called colorspace which has options including "space," "trc" (meaning "transfer characteristics") and "primaries," as well as several other

Re: [FFmpeg-user] Same number of frames dropped and duplicated; What does that mean?

2023-10-29 Thread Michael Koch
Am 29.10.2023 um 18:08 schrieb Ulf Zibis: [Parsed_vfrdet_0 @ 0x55a6d9979b80] VFR:0.232174 (34273/113345) min: 900 max: 14400 avg: 4892 What do the numbers mean, are this nano seconds ? (the ffmpeg docs don't outline this) That's a good question. I also don't know the answer. Michael _

[FFmpeg-user] protected whitespace in Wiki?

2023-10-20 Thread Michael Koch
How can I insert protected whitespaces in the Wiki? I've tried   and   but both don't work. I did also search on this page, but didn't find it: https://trac.ffmpeg.org/wiki/WikiFormatting Thanks, Michael ___ ffmpeg-user mailing list ffmpeg-user@ffmpe

Re: [FFmpeg-user] Change only video

2023-10-16 Thread Michael Koch
Am 16.10.2023 um 13:50 schrieb Cecil Westerhof via ffmpeg-user: For example: if I have a video where I want to change for a short while only the video, but not the audio. Say I have a video A of five minutes B of 3 seconds and C of 5 seconds. At 2:12 I want to use the video of video B instead of

Re: [FFmpeg-user] How to extend this page about screen recording

2023-10-12 Thread Michael Koch
Am 12.10.2023 um 11:51 schrieb Cecil Westerhof via ffmpeg-user: I just found this: https://trac.ffmpeg.org/wiki/Capture/Desktop Very interesting indeed. I have two monitors. I could write something about how to use this with two monitors (or more). Would that be appreciated? If yes, how to

Re: [FFmpeg-user] MP4 with 9 subtitle streams

2023-09-23 Thread Michael Koch
Am 23.09.2023 um 23:31 schrieb Mark Filipak: On Sat, Sep 23, 2023 at 1:44 PM Michael Koch wrote: I have an example in chapter 2.223 in my book: http://www.astro-electronic.de/FFmpeg_Book.pdf Scroll down to "Method 3". Thank you, Michael! I expanded on it. ffmpeg -i "%SOUR

Re: [FFmpeg-user] MP4 with 9 subtitle streams

2023-09-23 Thread Michael Koch
Am 23.09.2023 um 19:24 schrieb Mark Filipak: The question is this: How can I use ffmpeg to put SRT subs into MP4? Is there a direct parameter? I have an example in chapter 2.223 in my book: http://www.astro-electronic.de/FFmpeg_Book.pdf Scroll down to "Method 3". Michael

Re: [FFmpeg-user] extract RAW frames into local directory from network camera

2023-09-21 Thread Michael Koch
Am 20.09.2023 um 16:50 schrieb Naveen.B: Hello, Thanks for the sharing the useful links, I tried the way you said, but I am not sure whats happening, I don't see anything happening after executing the command (neither it saves the jpg files in the current path), I need to kill the process in lat

Re: [FFmpeg-user] extract RAW frames into local directory from network camera

2023-09-19 Thread Michael Koch
Am 19.09.2023 um 16:49 schrieb Naveen.B: Hello, udp_data is a directory created to store the extracted RAW frames from the camera. The correct syntax is: ffmpeg -i input output For output, it's not sufficient to specify a folder. You must also specify the filename, which may contain a number

Re: [FFmpeg-user] extract RAW frames into local directory from network camera

2023-09-19 Thread Michael Koch
Am 19.09.2023 um 13:11 schrieb Naveen.B: Hello, I have a ethernet camera connected to my laptop hub, it is configured and i can see the streamed Images from the camera using the ffplay command, but when I try to save the RAW Images onto the local directory, I am facing the error, C:\ffmpeg-6.0\

Re: [FFmpeg-user] stream frames using Ethernet camera

2023-09-05 Thread Michael Koch
Am 05.09.2023 um 11:47 schrieb Naveen.B: Hello, How could I achive it by directing ethernet images to the screen? Use ffplay instead of ffmpeg. See also the first example in chapter 24.34.3: https://www.ffmpeg.org/ffmpeg-all.html Michael ___ ffmpe

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

2023-08-13 Thread Michael Koch
Am 14.08.2023 um 08:30 schrieb 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 i

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

2023-08-13 Thread Michael Koch
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 for most videos, but not for all: f

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

2023-08-13 Thread 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 for most videos, but not for all: ffplay -loop 0 -t 0 -x 500 -an %1 Below is the console

Re: [FFmpeg-user] why reducing the resolution a percentage doesn't reduce the video the same proportion?

2023-03-14 Thread Michael Koch
Am 14.03.2023 um 10:37 schrieb Natalia Molinero Mingorance: I'm using this command: -y -r -i $inVideoUri -movflags faststart -c:v libx265 -s $videoResolution -c:a copy -preset ultrafast $outPutUri" However, if "videoResolution" is a 50% of the original video resolution, the resulting file siz

Re: [FFmpeg-user] Selecting colors of the waveform

2023-03-10 Thread Michael Koch
Am 10.03.2023 um 06:01 schrieb Marcin Borkowski: On 2023-03-08, at 19:15, Michael Koch wrote: Am 08.03.2023 um 18:48 schrieb Marcin Borkowski: Hi all, I'm fairly new to ffmpeg, so sorry, if this is something obvious. (I'd also appreciate any pointers to the docs - I haven'

Re: [FFmpeg-user] Selecting colors of the waveform

2023-03-08 Thread Michael Koch
Am 08.03.2023 um 18:48 schrieb Marcin Borkowski: Hi all, I'm fairly new to ffmpeg, so sorry, if this is something obvious. (I'd also appreciate any pointers to the docs - I haven't read them all, of course, but I _did_ try to find the answer to my questions there.) I know that I can create a b

Re: [FFmpeg-user] filter_complex with 2 images generates 3 files instead of one

2023-03-01 Thread Michael Koch
Am 01.03.2023 um 10:55 schrieb Gabriel Dina: 1 frame, indeed, but is the first image without logo and info. Maybe it is a way to get the last frame? In your example all three inputs are images, so the output can only one image. If the first input is a video, you could add -ss 5 before this i

Re: [FFmpeg-user] filter_complex with 2 images generates 3 files instead of one

2023-03-01 Thread Michael Koch
Am 01.03.2023 um 10:39 schrieb Gabriel Dina: Updated command: ffmpeg -i *uploads/test.png* -i ./assets/logo.png -i ./assets/telefon.png -filter_complex "[1][0]scale2ref=w='iw*1/5':h='ow/mdar'[v1];[2][0]scale2ref=w='iw*9/10':h='ow/mdar'[v2];[0][v1]overlay=main_w-overlay_w-5:5[vid];[vid][v2]overla

Re: [FFmpeg-user] filter_complex with 2 images generates 3 files instead of one

2023-03-01 Thread Michael Koch
Am 01.03.2023 um 10:23 schrieb Michael Koch: Am 01.03.2023 um 10:12 schrieb Gabriel Dina: ffmpeg -i uploads/image.mp4 -i ./assets/logo.png -i ./assets/info.png -filter_complex "[1][0]scale2ref=w='iw *1/5':h='ow/mdar'[v1];[2][0]scale2ref=w='iw*9/10':h=

Re: [FFmpeg-user] filter_complex with 2 images generates 3 files instead of one

2023-03-01 Thread Michael Koch
Am 01.03.2023 um 10:12 schrieb Gabriel Dina: ffmpeg -i uploads/image.mp4 -i ./assets/logo.png -i ./assets/info.png -filter_complex "[1][0]scale2ref=w='iw *1/5':h='ow/mdar'[v1];[2][0]scale2ref=w='iw*9/10':h='ow/mdar'[v2];[0][v1]overlay=main_w-overlay_w-5:5[vid];[vid][v2]overlay=10:main_h-overlay_h

Re: [FFmpeg-user] Repeatable resolution issue exporting mxfs, 1080p is coming out as 1088p

2023-02-27 Thread Michael Koch
Am 27.02.2023 um 16:52 schrieb Michael Koch: Am 27.02.2023 um 16:34 schrieb Michael Koch: Am 27.02.2023 um 16:07 schrieb William Jones: Hi All, I'm having a big problem with ffmpeg at the moment and wanted to pry the minds of anyone who may know. Trying to export a image sequence as a

Re: [FFmpeg-user] Repeatable resolution issue exporting mxfs, 1080p is coming out as 1088p

2023-02-27 Thread Michael Koch
Am 27.02.2023 um 16:34 schrieb Michael Koch: Am 27.02.2023 um 16:07 schrieb William Jones: Hi All, I'm having a big problem with ffmpeg at the moment and wanted to pry the minds of anyone who may know. Trying to export a image sequence as a .mxf file at 1920x1080, DnxHD 115. Unfortun

Re: [FFmpeg-user] Repeatable resolution issue exporting mxfs, 1080p is coming out as 1088p

2023-02-27 Thread Michael Koch
Am 27.02.2023 um 16:07 schrieb William Jones: Hi All, I'm having a big problem with ffmpeg at the moment and wanted to pry the minds of anyone who may know. Trying to export a image sequence as a .mxf file at 1920x1080, DnxHD 115. Unfortunately every time I try, the resulting file comes out as

Re: [FFmpeg-user] ddagrab

2023-02-20 Thread Michael Koch
Am 20.02.2023 um 15:50 schrieb Michael Koch: Am 20.02.2023 um 15:46 schrieb 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

Re: [FFmpeg-user] ddagrab

2023-02-20 Thread Michael Koch
Am 20.02.2023 um 15:46 schrieb 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

Re: [FFmpeg-user] ddagrab

2023-02-20 Thread Michael Koch
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, Michael Koch wrote: Am 20.02.2023 um 13:50

Re: [FFmpeg-user] ddagrab

2023-02-20 Thread Michael Koch
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, Michael Koch wrote: Hello, I'm testin

Re: [FFmpeg-user] ddagrab

2023-02-20 Thread Michael Koch
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, Michael Koch wrote: Hello, I'm testin

Re: [FFmpeg-user] ddagrab

2023-02-20 Thread Michael Koch
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 the documentation. I did only add -t 10 -y, but

Re: [FFmpeg-user] ddagrab

2023-02-20 Thread Michael Koch
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 ddagrab -c:v h264_nvenc -cq 18 -t 10

[FFmpeg-user] ddagrab

2023-02-20 Thread Michael Koch
Hello, I'm testing the ddagrab filter with the example from the documentation. I did only add -t 10 -y, but that can't be the problem. ffmpeg -f lavfi -i ddagrab -c:v h264_nvenc -cq 18 -t 10 -y out.mp4 What does this error message mean? [h264_nvenc @ 01f5f7bbf980] OpenEncodeSessionEx fail

Re: [FFmpeg-user] Write audio volume info to file

2023-02-16 Thread Michael Koch
Am 16.02.2023 um 12:31 schrieb Alexander Bieliaev via ffmpeg-user: How can I analyze the volume of input audio (in dB) and write that to the text file? If you want to know the mean and maximum volume in the whole stream, that can be done with the volumedetect filter. Or do you want to know t

Re: [FFmpeg-user] Question about "normalize" filter

2023-02-07 Thread Michael Koch
Am 30.01.2023 um 20:45 schrieb Paul B Mahol: filter supports up to 16bit rgb(a), adding float would be trivial. patch welcome Thanks for adding float to colorlevels. Is there any filter for gamma correction with float? Does the geq filter support float? Yes. Gamma correction with float precis

Re: [FFmpeg-user] Replace part of the audio

2023-02-01 Thread Michael Koch
Am 01.02.2023 um 09:39 schrieb Alexander Bieliaev via ffmpeg-user: Thanks, it kinda worked for me, but it seems like it's dependent on the length of the inserted audio. For example if I have a 2 minute audio and try to replace some parts of it with audio that is 1 minute long, for the first minut

Re: [FFmpeg-user] Replace multiple parts of audio with beeps

2023-02-01 Thread Michael Koch
Am 01.02.2023 um 11:27 schrieb Alexander Bieliaev via ffmpeg-user: How can I replace multiple parts of audio with generated beeps? I tried next command: -filter_complex " [0]volume=0:enable='between(t,10,15)+between(t,20,30)'[main]; sine=f=800, pan=stereo|FL=c0|FR=c0, volume=0:enable='between(t,

Re: [FFmpeg-user] Question about "normalize" filter

2023-01-30 Thread Michael Koch
Am 30.01.2023 um 12:52 schrieb Paul B Mahol: On 1/30/23, Michael Koch wrote: Am 30.01.2023 um 10:29 schrieb Paul B Mahol: You wrote: "With default parameters and just strength(2) set to your values, so the darkest pixels are left untouched." However I want that black remains

Re: [FFmpeg-user] Question about "normalize" filter

2023-01-30 Thread Michael Koch
Am 30.01.2023 um 10:29 schrieb Paul B Mahol: You wrote: "With default parameters and just strength(2) set to your values, so the darkest pixels are left untouched." However I want that black remains untouched. That's not the same, because the darkest pixels in the image aren't black. The work

Re: [FFmpeg-user] Question about "normalize" filter

2023-01-30 Thread Michael Koch
Am 30.01.2023 um 08:47 schrieb Paul B Mahol: On Mon, Jan 30, 2023 at 12:23 AM Michael Koch wrote: Am 29.01.2023 um 23:36 schrieb Paul B Mahol: On 1/29/23, Michael Koch wrote: Am 29.01.2023 um 23:07 schrieb Paul B Mahol: On 1/29/23, Michael Koch wrote: Am 29.01.2023 um 22:05 schrieb Paul

Re: [FFmpeg-user] Question about "normalize" filter

2023-01-29 Thread Michael Koch
Am 29.01.2023 um 23:36 schrieb Paul B Mahol: On 1/29/23, Michael Koch wrote: Am 29.01.2023 um 23:07 schrieb Paul B Mahol: On 1/29/23, Michael Koch wrote: Am 29.01.2023 um 22:05 schrieb Paul B Mahol: On 1/29/23, Michael Koch wrote: Am 29.01.2023 um 19:32 schrieb Paul B Mahol: On 1/29/23

Re: [FFmpeg-user] Question about "normalize" filter

2023-01-29 Thread Michael Koch
Am 29.01.2023 um 23:07 schrieb Paul B Mahol: On 1/29/23, Michael Koch wrote: Am 29.01.2023 um 22:05 schrieb Paul B Mahol: On 1/29/23, Michael Koch wrote: Am 29.01.2023 um 19:32 schrieb Paul B Mahol: On 1/29/23, Michael Koch wrote: Hello, if I understood the documentation correctly, the

Re: [FFmpeg-user] Question about "normalize" filter

2023-01-29 Thread Michael Koch
Am 29.01.2023 um 22:05 schrieb Paul B Mahol: On 1/29/23, Michael Koch wrote: Am 29.01.2023 um 19:32 schrieb Paul B Mahol: On 1/29/23, Michael Koch wrote: Hello, if I understood the documentation correctly, the normalize filter maps the darkest input pixel to blackpt and the brightest input

Re: [FFmpeg-user] Question about "normalize" filter

2023-01-29 Thread Michael Koch
Am 29.01.2023 um 19:32 schrieb Paul B Mahol: On 1/29/23, Michael Koch wrote: Hello, if I understood the documentation correctly, the normalize filter maps the darkest input pixel to blackpt and the brightest input pixel to whitept: darkest pixel --> blackpt brightest pixel --> w

[FFmpeg-user] Question about "normalize" filter

2023-01-29 Thread Michael Koch
Hello, if I understood the documentation correctly, the normalize filter maps the darkest input pixel to blackpt and the brightest input pixel to whitept: darkest pixel --> blackpt brightest pixel --> whitept However I need a slightly different mapping: A black input pixel shall remain black,

[FFmpeg-user] Mathematical Art

2023-01-28 Thread Michael Koch
Hello all, this is not a question. This cool equation was designed by Hamid Naderi Yeganeh. I did only translate it into a FFmpeg command. Let it run and see what comes out. ffmpeg -f lavfi -i color=black:s=hd1080,format=gray -vf geq=lum='st(0,(X-W/3)/450);st(1,(H/2-Y)/450);255*gt(-7/20-1/PI

Re: [FFmpeg-user] Replace part of the audio

2023-01-23 Thread Michael Koch
Am 22.01.2023 um 23:52 schrieb Reino Wijnsma: Hello Michael, On 2023-01-22T18:50:20+0100, Michael Koch wrote: This command line works with asendcmd and astreamselect: ffmpeg -i audio1.wav -i audio2.wav -lavfi asendcmd="4 astreamselect map 1",asendcmd="6 astreamselect map 0

Re: [FFmpeg-user] Replace part of the audio

2023-01-22 Thread Michael Koch
Am 22.01.2023 um 19:21 schrieb Paul B Mahol: On 1/22/23, Michael Koch wrote: Am 22.01.2023 um 16:56 schrieb Michael Koch: Am 22.01.2023 um 16:25 schrieb Paul B Mahol: On 1/22/23, Michael Koch wrote: Am 21.01.2023 um 17:05 schrieb Paul B Mahol: On 1/19/23, Michael Koch wrote: Am

Re: [FFmpeg-user] Replace part of the audio

2023-01-22 Thread Michael Koch
Am 22.01.2023 um 16:56 schrieb Michael Koch: Am 22.01.2023 um 16:25 schrieb Paul B Mahol: On 1/22/23, Michael Koch wrote: Am 21.01.2023 um 17:05 schrieb Paul B Mahol: On 1/19/23, Michael Koch wrote: Am 19.01.2023 um 15:49 schrieb Alexander Bieliaev via ffmpeg-user: How can I replace a part

Re: [FFmpeg-user] Replace part of the audio

2023-01-22 Thread Michael Koch
Am 22.01.2023 um 16:25 schrieb Paul B Mahol: On 1/22/23, Michael Koch wrote: Am 21.01.2023 um 17:05 schrieb Paul B Mahol: On 1/19/23, Michael Koch wrote: Am 19.01.2023 um 15:49 schrieb Alexander Bieliaev via ffmpeg-user: How can I replace a part of the audio from and to a specific time

Re: [FFmpeg-user] Replace part of the audio

2023-01-22 Thread Michael Koch
Am 21.01.2023 um 17:05 schrieb Paul B Mahol: On 1/19/23, Michael Koch wrote: Am 19.01.2023 um 15:49 schrieb Alexander Bieliaev via ffmpeg-user: How can I replace a part of the audio from and to a specific time with some other audio/sound (I want to replace it with beep in this case)? Here

Re: [FFmpeg-user] Issue with "%04d" when creating image sequence from a video

2023-01-20 Thread Michael Koch
Am 20.01.2023 um 00:37 schrieb JJ jo: Hi, I'm new and I don't know if it's the right way to ask for a problem. I have a problem when attempting to create an image sequence from an mkv file. This is the code i put in a *.bat file: ffmpeg -i input.mkv %04d.jpg If used in a (Windows) batch file,

Re: [FFmpeg-user] Replace part of the audio

2023-01-19 Thread Michael Koch
Am 19.01.2023 um 15:49 schrieb Alexander Bieliaev via ffmpeg-user: How can I replace a part of the audio from and to a specific time with some other audio/sound (I want to replace it with beep in this case)? Here is an example: ffmpeg -lavfi sine=500:d=10 -y audio1.wav ffmpeg -lavfi sine=2000

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

2022-12-31 Thread Michael Koch
Am 31.12.2022 um 10:31 schrieb Bouke / Videotoolshed: On 31 Dec 2022, at 04:53, Gyan Doshi wrote: 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=f

Re: [FFmpeg-user] Extract chapter names to a text file?

2022-12-05 Thread Michael Koch
Am 06.12.2022 um 01:10 schrieb Carl Zwanzig: On 12/5/2022 1:36 PM, Laine wrote: If you are able to generate “chapters.txt” but observe an overabundance of information in that file, you might try the options that I used to get just the video title and a list of the chapters. 'grep' does wonde

Re: [FFmpeg-user] Sending 2 camera outputs side by side to loopback device

2022-11-24 Thread Michael Koch
Am 25.11.2022 um 08:02 schrieb Jim Ruxton: I am on Ubuntu 22.04 and trying to combine 2 cameras into one stream that is being sent to a loopback device. The command appears to work but I can't see the stream in any way. I've tried VLC Cheese ffplay guvcview and none of them work. The command I am

Re: [FFmpeg-user] datascope 16-bit

2022-11-22 Thread Michael Koch
Am 22.11.2022 um 02:15 schrieb Jim DeLaHunt: On 2022-11-20 00:15, Michael Koch wrote: Am 20.11.2022 um 02:39 schrieb list+ffmpeg-u...@jdlh.com: On 2022-11-19 07:34, Michael Koch wrote: Am 03.11.2022 um 10:10 schrieb Paul B Mahol: Some things in sea of myriad others: [...] Why you claim

Re: [FFmpeg-user] datascope 16-bit

2022-11-20 Thread Michael Koch
Am 20.11.2022 um 02:39 schrieb list+ffmpeg-u...@jdlh.com: On 2022-11-19 07:34, Michael Koch wrote: Am 03.11.2022 um 10:10 schrieb Paul B Mahol: Some things in sea of myriad others: [...] Why you claim that datascope does not support >8 bit formats where in fact it does support it? In s

[FFmpeg-user] datascope 16-bit

2022-11-19 Thread Michael Koch
Am 03.11.2022 um 10:10 schrieb Paul B Mahol: Some things in sea of myriad others: [...] Why you claim that datascope does not support >8 bit formats where in fact it does support it? In some cases datascope works with 16-bit data, but not in all cases. Here is an example where it doesn't work:

Re: [FFmpeg-user] Piping from FFmpeg to FFplay

2022-11-13 Thread Michael Koch
Am 13.11.2022 um 22:52 schrieb Reino Wijnsma: On 2022-11-13T20:45:42+0100, Michael Koch wrote: ffmpeg -f lavfi -i testsrc2 -f nut | ffplay - Btw, I hope you know that ffplay can do this too: ffplay -f lavfi testsrc2 yes, that's known. Mi

Re: [FFmpeg-user] Piping from FFmpeg to FFplay

2022-11-13 Thread Michael Koch
Am 13.11.2022 um 22:47 schrieb Reino Wijnsma: On 2022-11-13T22:18:15+0100, Michael Koch wrote: Is the "-" at the end an (undocumented) option of FFplay, or is it a batch file operator? The first, I guess. I've found 'opusenc' (Opus command-line encoder) to print:

Re: [FFmpeg-user] Piping from FFmpeg to FFplay

2022-11-13 Thread Michael Koch
Am 13.11.2022 um 21:57 schrieb Reino Wijnsma: Hello Michael, On 2022-11-13T20:45:42+0100, Michael Koch wrote: ffmpeg -f lavfi -i testsrc2 -f nut | ffplay - This command line works fine and I have used it many times. It shouldn't, because you forgot a "-" after "-f n

[FFmpeg-user] Piping from FFmpeg to FFplay

2022-11-13 Thread Michael Koch
I have a question about piping from FFmpeg to FFplay (in a Windows batch file): ffmpeg -f lavfi -i testsrc2 -f nut | ffplay - This command line works fine and I have used it many times. But I don't know what's the meaning of the - character after ffplay. Does this - character belong to the ff

Re: [FFmpeg-user] Change fps from 50 to 25

2022-11-12 Thread Michael Koch
Am 12.11.2022 um 12:39 schrieb Cecil Westerhof via ffmpeg-user: I have a few videos that have a 50 fps. But the computer I am playing them on cannot handle that properly. Can I use ffmpeg to change the fps to 25? While still having the same length. sure, that's easy: ffmpeg -i in.mp4 -r 25 out

Re: [FFmpeg-user] 16:9 to 2.35:1 and true HD 7.1 to DTS

2022-11-03 Thread Michael Koch
Am 03.11.2022 um 20:17 schrieb Bartosz Trzebuchowski: Hi, I’m completely new to ffmpeg and have 2 questions: 1. How can I convert 16:9 movies to 2.35:1? My projector can’t scale down and 16:9 movies run outside my 2.35:1 canvas at the top and the bottom. I need to black out top and bottom so o

Re: [FFmpeg-user] V360 stabilization

2022-11-03 Thread Michael Koch
Am 03.11.2022 um 10:10 schrieb Paul B Mahol: Your book is full or factual errors, Notice to anyone: do not use this thing for anything serious. Thank you for so much promotion for my book. Sure, it's likely that in more than 900 pages there are a few errors. We all make errors. If anyone finds

Re: [FFmpeg-user] V360 stabilization

2022-11-03 Thread Michael Koch
Am 03.11.2022 um 10:10 schrieb Paul B Mahol: On 11/3/22, Michael Koch wrote: Am 03.11.2022 um 09:35 schrieb Paul B Mahol: On 10/11/20, Michael Koch wrote: Am 29.09.2020 um 22:54 schrieb Michael Koch: Hello all, I've programmed a C# workaround for stabilization of 360° videos

Re: [FFmpeg-user] V360 stabilization

2022-11-03 Thread Michael Koch
Am 03.11.2022 um 09:35 schrieb Paul B Mahol: On 10/11/20, Michael Koch wrote: Am 29.09.2020 um 22:54 schrieb Michael Koch: Hello all, I've programmed a C# workaround for stabilization of 360° videos. The procedure is as follows: 1. FFmpeg: From each frame of the equirectangular input

Re: [FFmpeg-user] Error in aeval?

2022-10-29 Thread Michael Koch
Am 29.10.2022 um 12:02 schrieb Paul B Mahol: On 10/29/22, Michael Koch wrote: This command line works as expected: ffmpeg -f lavfi -i sine,aeval="val(0)|val(0)*sin(2)*sin(2)" -ac 2 -t 5 -y out.wav Why does it no longer work when I replace sin(2)*sin(2) by pow(sin(2),2) ? ffmpe

[FFmpeg-user] Error in aeval?

2022-10-29 Thread Michael Koch
This command line works as expected: ffmpeg -f lavfi -i sine,aeval="val(0)|val(0)*sin(2)*sin(2)" -ac 2 -t 5 -y out.wav Why does it no longer work when I replace sin(2)*sin(2)  by pow(sin(2),2)  ? ffmpeg -f lavfi -i sine,aeval="val(0)|val(0)*pow(sin(2),2)" -ac 2 -t 5 -y out.wav Is this a b

  1   2   3   4   5   6   7   8   9   >