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 testsrc2=s=1920x1080:d=3

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 fo

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 Files\Audio\file_exa

[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 speci

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" always mea

[FFmpeg-user] Pixel format for sdl output device

2022-01-07 Thread Michael Koch
Hello, in the following example I'm grabbing an equirectangular video from the desktop, convert it to 180° fisheye format and then use the sdl output device to show the output on a second monitor in realtime. It's working as expected but there is one thing I don't understand. At the end of the

Re: [FFmpeg-user] Pixel format for sdl output device

2022-01-09 Thread Michael Koch
Am 09.01.2022 um 11:11 schrieb Carl Eugen Hoyos: Am Fr., 7. Jan. 2022 um 22:16 Uhr schrieb Michael Koch : At the end of the filter chain I had to insert "format=bgra". It doesn't work if I use rgb24 or bgrp or no format at all. Why does the sdl output device need a pixel fo

Re: [FFmpeg-user] Removing parts of a video using the select filter

2022-01-09 Thread Michael Koch
Am 09.01.2022 um 11:43 schrieb MacFH - C E Macfarlane - News: On 08/01/2022 23:43, amindfv--- via ffmpeg-user wrote: On Sat, Jan 08, 2022 at 08:20:46PM +, MacFH - C E Macfarlane - News wrote: To select parts of a video, I use ... FFMPEG -ss -i -codec copy -to ... however it's tedio

Re: [FFmpeg-user] Removing parts of a video using the select filter

2022-01-09 Thread Michael Koch
Am 09.01.2022 um 18:14 schrieb Steven Kan: I’m a little late to this party, and it’s not strictly an ffmpeg solution, but have a look at Lossless Cut: https://mifi.no/losslesscut/ It does exactly what you want, graphically, with the option to cut at key frames (or not), Are you sure? I saw

Re: [FFmpeg-user] Removing parts of a video using the select filter

2022-01-09 Thread Michael Koch
Am 09.01.2022 um 21:12 schrieb Steven Kan: On Jan 9, 2022, at 9:28 AM, Michael Koch wrote: Am 09.01.2022 um 18:14 schrieb Steven Kan: I’m a little late to this party, and it’s not strictly an ffmpeg solution, but have a look at Lossless Cut: https://mifi.no/losslesscut/ It does exactly

[FFmpeg-user] v360 filter with h_offset option

2022-01-12 Thread Michael Koch
Hello, I have a projector with a 180° fisheye lens in a dome. Things are easy if the lens is at the center of the dome. Any input format can be transformed to fisheye output with the v360 filter. But things are getting complicated when the lens isn't at the dome's center. Let's assume the dom

Re: [FFmpeg-user] v360 filter with h_offset option

2022-01-12 Thread Michael Koch
Am 12.01.2022 um 19:00 schrieb Paul B Mahol: On Wed, Jan 12, 2022 at 5:00 PM Michael Koch wrote: Hello, I have a projector with a 180° fisheye lens in a dome. Things are easy if the lens is at the center of the dome. Any input format can be transformed to fisheye output with the v360 filter

[FFmpeg-user] rounding error in v360

2022-01-21 Thread Michael Koch
There is a rounding or +-1 error in the v360 filter when converting from double_fisheye to equirectangular. The error is visible with or without interpolation. Can be reproduced as follows: ffmpeg -f lavfi -i color=black:s=160x80 -lavfi geq=r='255*mod(trunc(4*X/W),2)':g='255*trunc(2*X/W)':b='2

[FFmpeg-user] watch a folder for new images

2022-01-29 Thread 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 Megapixels) are written to the folder every 5 seconds. I want to load these images, extract th

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

2022-01-29 Thread Michael Koch
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 Megapixels) are written to the folder every 5

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

2022-01-30 Thread Michael Koch
Am 30.01.2022 um 05:28 schrieb 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

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

2022-01-30 Thread Michael Koch
Am 30.01.2022 um 09:49 schrieb Michael Koch: Am 30.01.2022 um 05:28 schrieb 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

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

2022-01-30 Thread Michael Koch
Am 30.01.2022 um 14:06 schrieb Michael Koch: Am 30.01.2022 um 09:49 schrieb Michael Koch: Am 30.01.2022 um 05:28 schrieb 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

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

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

Re: [FFmpeg-user] An object oriented video notation

2022-01-31 Thread Michael Koch
Am 31.01.2022 um 05:03 schrieb Mark Filipak (ffmpeg): During the past year, I've developed a set of true stream primitives that are object oriented (frames, pictures, ...), plus a notation to describe encodings and "mechanical" manipulations that are useful and that are fairly easy to read an

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

2022-01-31 Thread Michael Koch
Am 30.01.2022 um 15:40 schrieb 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

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

2022-01-31 Thread Michael Koch
Am 31.01.2022 um 11:22 schrieb Adam Nielsen via ffmpeg-user: The best solution would be if something like fileSystemWatcher could be added to FFmpeg. Below is a C# example for fileSystemWatcher. FFmpeg is written in C++. Windows, Mac and Linux each have a different method for watching the files

Re: [FFmpeg-user] An object oriented video notation

2022-01-31 Thread Michael Koch
Am 31.01.2022 um 05:03 schrieb Mark Filipak (ffmpeg): During the past year, I've developed a set of true stream primitives that are object oriented (frames, pictures, ...), plus a notation to describe encodings and "mechanical" manipulations that are useful and that are fairly easy to read an

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

2022-02-06 Thread Michael Koch
Am 06.02.2022 um 08:17 schrieb Mark Filipak: On 2022-02-06 00:30, Mark Filipak wrote: The subject is the 'setts' filter...-clip- What am I doing wrong? Is the 'setts' bitstream filter dead? Note "No such filter: 'setts'". ffmpeg -report -i 24'fps[24pps].vob -filter_complex "setts=pts=N*3753

Re: [FFmpeg-user] Still images to video sequence?

2022-02-19 Thread Michael Koch
Am 19.02.2022 um 18:14 schrieb Simon Roberts: Hi all, I would like to create a video sequence built around a number of still images. Each image would be displayed for a number of seconds, then dissolve/fade (not certain of the terminology) into the next. To date, my experience with ffmpeg has be

Re: [FFmpeg-user] Average N frames of RTSP video for better snapshot quality?

2022-03-08 Thread Michael Koch
Am 08.03.2022 um 19:09 schrieb Steven Kan: After 7.5 years of waiting, my banana plant is finally flowering! I want to do a time-lapse capture of the flowering and fruiting process. Due to its location, the easiest way for me to get a camera out there is to use a little WyzeCam v3 with the RTS

[FFmpeg-user] absolute difference

2022-03-17 Thread Michael Koch
Question 1: I have two streams with RGB24 pixel formats. Is it possible to do the following calculation pixel-wise and write the result to a grayscale stream? output = abs(R1-R2) + abs(G1-G2) + abs(B1-B2) Question 2: Three streams are given: [a] A static background image with no person in front

Re: [FFmpeg-user] Audio file question.

2022-04-04 Thread Michael Koch
Am 04.04.2022 um 00:13 schrieb Hwaen Ch'uqi: Greetings, I preface this question by acknowledging that I know nothing of the technical jargon of what I am about to describe. When I listen to a certain mp3 file with headphones, there is an extremely annoying sound coming from the right ear only. I

Re: [FFmpeg-user] Change device setting from CLI?

2022-04-10 Thread Michael Koch
Am 10.04.2022 um 23:27 schrieb Steve Russell: It's a no-name camera from China - the VID/PID say the vendor is ARC International. No drivers supplied - it installed with standard MS drivers - so there is no control software. As per my first post, I understand (I think) why the settings aren't "

[FFmpeg-user] feedback filter

2022-04-18 Thread Michael Koch
Hello, I'm just testing the new feedback filter with this command line: ffmpeg -i test.jpg -vf "[in][fb_in]feedback=x=2000:y=1000:w=2000:h=2000[out][fb_out];[fb_out]gblur=50[fb_in]" -map "[out]" -y out.jpg I get this error message: Output with label 'out' does not exist in any defined filter

Re: [FFmpeg-user] feedback filter

2022-04-18 Thread Michael Koch
Am 18.04.2022 um 20:00 schrieb Michael Koch: Hello, I'm just testing the new feedback filter with this command line: ffmpeg -i test.jpg -vf "[in][fb_in]feedback=x=2000:y=1000:w=2000:h=2000[out][fb_out];[fb_out]gblur=50[fb_in]" -map "[out]" -y out.jpg I get this e

[FFmpeg-user] avsynctest

2022-04-19 Thread Michael Koch
Hello, it's unclear how the new "avsynctest" source is expected to work. The most simple command line ffmpeg -f lavfi -i avsynctest=d=5 out.mov gives this error message: [lavfi @ 02741200efc0] Output pad "video" with type video of the filter instance "Parsed_avsynctest_0" of avsynctest

Re: [FFmpeg-user] Fluorescent White Balance Video Filters

2022-04-19 Thread Michael Koch
Am 19.04.2022 um 03:34 schrieb Roger: I'm not finding much about fixing video having incorrect white space, more specifically video with incorrect or forgotten fluorescent white balance setting during recording. I have a very old VHS recorded tape without a fluorescent white balance applied, and

Re: [FFmpeg-user] Fluorescent White Balance Video Filters

2022-04-19 Thread Michael Koch
Am 19.04.2022 um 20:38 schrieb Paul B Mahol: On Tue, Apr 19, 2022 at 8:25 PM Michael Koch wrote: Am 19.04.2022 um 03:34 schrieb Roger: I'm not finding much about fixing video having incorrect white space, more specifically video with incorrect or forgotten fluorescent white balance se

Re: [FFmpeg-user] Fluorescent White Balance Video Filters

2022-04-19 Thread Michael Koch
Am 19.04.2022 um 20:44 schrieb Jim DeLaHunt: On 2022-04-19 11:38, Paul B Mahol wrote: On Tue, Apr 19, 2022 at 8:25 PM Michael Koch wrote: I would do that with a color-look-up-table. The procedure is described step-by-step in chapter 2.27 and an easier simplified version is described in

Re: [FFmpeg-user] Fluorescent White Balance Video Filters

2022-04-19 Thread Michael Koch
Am 19.04.2022 um 23:06 schrieb Roger: On Tue, Apr 19, 2022 at 08:25:17PM +0200, Michael Koch wrote: Am 19.04.2022 um 03:34 schrieb Roger: I'm not finding much about fixing video having incorrect white space, more specifically video with incorrect or forgotten fluorescent white balance se

Re: [FFmpeg-user] Fluorescent White Balance Video Filters

2022-04-21 Thread Michael Koch
Am 21.04.2022 um 04:25 schrieb Roger: ... You can make your own LUT, as described in chapter 2.28 in my book. -- Extract one frame from your video. -- Insert a haldclut in a corner of the image, or use xstack to attach it to the side. -- Use the program of your choice to correct the colors in th

[FFmpeg-user] Colorchart and colormap

2022-04-25 Thread Michael Koch
Hi, I have some remarks and questions about the new "colorchart" source and "colormap" filter. In "colorchart" is a small error in the yellow field. It should be 231, 199, 31. Source: https://www.xritephoto.com/documents/literature/en/ColorData-1p_EN.pdf "colorchart" is missing in the tabl

Re: [FFmpeg-user] Colorchart and colormap

2022-04-25 Thread Michael Koch
Am 25.04.2022 um 21:41 schrieb Paul B Mahol: On Mon, Apr 25, 2022 at 9:16 PM Michael Koch wrote: Hi, I have some remarks and questions about the new "colorchart" source and "colormap" filter. In "colorchart" is a small error in the yellow field. It should

Re: [FFmpeg-user] Colorchart and colormap

2022-04-25 Thread Michael Koch
Am 25.04.2022 um 22:19 schrieb Paul B Mahol: On Mon, Apr 25, 2022 at 10:06 PM Carl Zwanzig wrote: On 4/25/2022 12:49 PM, Michael Koch wrote: Am 25.04.2022 um 21:41 schrieb Paul B Mahol: There is separate software for processing real world colorcharts. If colormap isn't for processi

Re: [FFmpeg-user] Colorchart and colormap

2022-04-25 Thread Michael Koch
Am 25.04.2022 um 22:19 schrieb Paul B Mahol: On Mon, Apr 25, 2022 at 10:06 PM Carl Zwanzig wrote: On 4/25/2022 12:49 PM, Michael Koch wrote: Am 25.04.2022 um 21:41 schrieb Paul B Mahol: There is separate software for processing real world colorcharts. If colormap isn't for processi

Re: [FFmpeg-user] Colorchart and colormap

2022-04-26 Thread Michael Koch
Am 26.04.2022 um 09:18 schrieb Paul B Mahol: On Tue, Apr 26, 2022 at 8:39 AM Michael Koch wrote: Am 25.04.2022 um 22:19 schrieb Paul B Mahol: On Mon, Apr 25, 2022 at 10:06 PM Carl Zwanzig wrote: On 4/25/2022 12:49 PM, Michael Koch wrote: Am 25.04.2022 um 21:41 schrieb Paul B Mahol

Re: [FFmpeg-user] Colorchart and colormap

2022-04-26 Thread Michael Koch
I wrote a few examples for the workflow with "colorchart" source and "colormap" filter. This is a nice feature for making color corrections. See chapters 2.31 and 2.32 in http://www.astro-electronic.de/FFmpeg_Book.pdf Michael ___ ffmpeg-user mailing l

Re: [FFmpeg-user] Fluorescent White Balance Video Filters

2022-04-27 Thread Michael Koch
Am 27.04.2022 um 20:46 schrieb Roger: On Wed, Apr 20, 2022 at 07:35:22AM +0200, Michael Koch wrote: You can make your own LUT, as described in chapter 2.28 in my book. -- Extract one frame from your video. -- Insert a haldclut in a corner of the image, or use xstack to attach it to the side

Re: [FFmpeg-user] Fluorescent White Balance Video Filters

2022-04-27 Thread Michael Koch
Am 27.04.2022 um 21:52 schrieb Roger: Chapter 2.28 uses filter_complex without white spaces or colons? $ ffmpeg -i 20220421_163910-meet.mp4 -i image_with_clut-meet-edited-clut.png -filter_complex [0]eq=brightness=0.06[a];[a][1]haldclut -y 20220421_163910-meet-edited.mp4 Input #0, mov,mp4,m4a,

[FFmpeg-user] Pipe 360° content to VLC player

2022-04-30 Thread Michael Koch
Hello, I'm using this command line to capture 360° content from a Ricoh Theta V camera and pipe the live video to VLC player: ffmpeg -f dshow -i video="RICOH THETA V/Z1 FullHD" -f mpegts - | "C:\Program Files\VideoLAN\VLC\vlc.exe" - This command line works, but VLC doesn't recognize that it

Re: [FFmpeg-user] Pipe 360° content to VLC player

2022-05-09 Thread Michael Koch
Am 30.04.2022 um 19:03 schrieb Michael Koch: Hello, I'm using this command line to capture 360° content from a Ricoh Theta V camera and pipe the live video to VLC player: ffmpeg -f dshow -i video="RICOH THETA V/Z1 FullHD" -f mpegts - | "C:\Program Files\VideoLAN\V

Re: [FFmpeg-user] Pictures in video

2022-05-24 Thread Michael Koch
Am 24.05.2022 um 21:55 schrieb Cecil Westerhof via ffmpeg-user: With a search on the internet I found I could put a picture into a video with: ffmpeg -i introductie.mkv -i Pictures/reiger.jpg \ -filter_complex "[0:v][1:v] overlay=W-w:H-h:enable='between(t,0,20)'" \ -pix_fmt yuv420p

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

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

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

2022-05-25 Thread Michael Koch
Am 25.05.2022 um 21:32 schrieb 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 de

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

2022-05-25 Thread Michael Koch
Am 25.05.2022 um 21:32 schrieb 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 de

Re: [FFmpeg-user] Multiple parts of a video

2022-05-29 Thread Michael Koch
Am 28.05.2022 um 21:17 schrieb Cecil Westerhof via ffmpeg-user: Paul B Mahol writes: On Sat, May 28, 2022 at 4:28 PM Cecil Westerhof via ffmpeg-user wrote: When I just want to have a certain part of a video, I can do something like: ffmpeg -y -i input.MTS \ -ss 00

Re: [FFmpeg-user] Multiple parts of a video

2022-05-31 Thread Michael Koch
Am 31.05.2022 um 11:17 schrieb Bo Berglund: On Sun, 29 May 2022 13:17:55 +0200, Michael Koch wrote: Using concat filter. That is exactly what I already know: cutting the different parts. Probably one command for each part and then concatenate them. So n + 1 commands. My question was: can it

Re: [FFmpeg-user] Multiple parts of a video

2022-05-31 Thread Michael Koch
Am 31.05.2022 um 18:43 schrieb Cecil Westerhof via ffmpeg-user: Michael Koch writes: I have a short example in chapter 2.57 of my book: http://www.astro-electronic.de/FFmpeg_Book.pdf Just to make sure I understand it, I should do something like: ffmpeg -ss %S1% -t %L1% -i %I1

Re: [FFmpeg-user] Multiple parts of a video

2022-05-31 Thread Michael Koch
Am 31.05.2022 um 20:27 schrieb Cecil Westerhof via ffmpeg-user: Michael Koch writes: Am 31.05.2022 um 18:43 schrieb Cecil Westerhof via ffmpeg-user: Michael Koch writes: I have a short example in chapter 2.57 of my book: http://www.astro-electronic.de/FFmpeg_Book.pdf Just to make sure I

Re: [FFmpeg-user] Multiple parts of a video

2022-05-31 Thread Michael Koch
Am 31.05.2022 um 20:27 schrieb Cecil Westerhof via ffmpeg-user: Michael Koch writes: Am 31.05.2022 um 18:43 schrieb Cecil Westerhof via ffmpeg-user: Michael Koch writes: I have a short example in chapter 2.57 of my book: http://www.astro-electronic.de/FFmpeg_Book.pdf Just to make sure I

[FFmpeg-user] Please increase the number of variables

2022-06-03 Thread Michael Koch
Hello, I'd like to ask if the number of variables in expressions could be increased from 10 to 25 please. I mean the st() and ld() functions. I'm just programming a realtime wormhole simulation and the limitation to 10 variables is becoming nasty. I did already begin to re-use the same variab

Re: [FFmpeg-user] Please increase the number of variables

2022-06-03 Thread Michael Koch
Am 03.06.2022 um 17:30 schrieb Paul B Mahol: On Fri, Jun 3, 2022 at 5:05 PM Michael Koch wrote: Hello, I'd like to ask if the number of variables in expressions could be increased from 10 to 25 please. I mean the st() and ld() functions. I'm just programming a realtime wormhole

[FFmpeg-user] between(x,min,max)

2022-06-05 Thread Michael Koch
The function  between(x,min,max)   is definded as: "Return 1 if x is greater than or equal to min and less than or equal to max, 0 otherwise." In some cases it would be useful to have a similar function (with a different name) which doesn't include the maximum: "Return 1 if x is greater than o

Re: [FFmpeg-user] Please increase the number of variables

2022-06-07 Thread Michael Koch
Am 03.06.2022 um 17:30 schrieb Paul B Mahol: On Fri, Jun 3, 2022 at 5:05 PM Michael Koch wrote: Hello, I'd like to ask if the number of variables in expressions could be increased from 10 to 25 please. I mean the st() and ld() functions. I'm just programming a realtime wormhole

[FFmpeg-user] concat audio files

2022-06-11 Thread Michael Koch
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 I always get this error message: Stream specifier '' in filtergraph description [0][1]concat=n=2:a=1 matches no streams. The console ou

Re: [FFmpeg-user] concat audio files

2022-06-11 Thread Michael Koch
Am 11.06.2022 um 11:45 schrieb 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

Re: [FFmpeg-user] concat audio files

2022-06-11 Thread Michael Koch
Am 11.06.2022 um 11:46 schrieb Nicolas George: Michael Koch (12022-06-11): I always get this error message: Stream specifier '' in filtergraph description [0][1]concat=n=2:a=1 matches no streams. Where did you find this "[number]" syntax, and has it ever worked for you? y

[FFmpeg-user] streamselect in a realtime application

2022-06-13 Thread Michael Koch
Hello, I'm using FFmpeg for a realtime wormhole simulation in a planetarium. There are two inputs: a) An equirectangular video for the environment. b) A realtime stream from a 360° camera, this is mapped inside the wormhole. Both inputs are stitched together with xstack, and then a suitable re

Re: [FFmpeg-user] Use concat filter with a fade

2022-06-14 Thread Michael Koch
Am 14.06.2022 um 13:47 schrieb Cecil Westerhof via ffmpeg-user: Sometimes I have to cut parts out of a video. I now use for this (bash on Debian): ffmpeg -y\ -ss ${videoStart} -to ${cutStart} -i ${inputFile} \ -ss ${cut

Re: [FFmpeg-user] Use concat filter with a fade

2022-06-14 Thread Michael Koch
Am 14.06.2022 um 15:33 schrieb Cecil Westerhof via ffmpeg-user: Michael Koch writes: Am 14.06.2022 um 13:47 schrieb Cecil Westerhof via ffmpeg-user: Sometimes I have to cut parts out of a video. I now use for this (bash on Debian): ffmpeg -y

Re: [FFmpeg-user] Use concat filter with a fade

2022-06-14 Thread Michael Koch
Am 14.06.2022 um 16:30 schrieb Cecil Westerhof via ffmpeg-user: Michael Koch writes: Am 14.06.2022 um 15:33 schrieb Cecil Westerhof via ffmpeg-user: Michael Koch writes: Am 14.06.2022 um 13:47 schrieb Cecil Westerhof via ffmpeg-user: Sometimes I have to cut parts out of a video. I now

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

2022-06-16 Thread Michael Koch
Am 13.06.2022 um 22:20 schrieb Michael Koch: Hello, I'm using FFmpeg for a realtime wormhole simulation in a planetarium. There are two inputs: a) An equirectangular video for the environment. b) A realtime stream from a 360° camera, this is mapped inside the wormhole. Both input

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

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

Re: [FFmpeg-user] Using several audios after each-other in a video

2022-06-16 Thread Michael Koch
345ab40] kb/s:1390.74 [aac @ 0x55ce8347e7c0] Qavg: 533.159 -- ****** ASTRO ELECTRONIC Dipl.-Ing. Michael Koch Raabestr. 43 37412 Herzberg www.astro-electronic.de Tel. +49 5521 854265 Fax +49 5521 854266 ** __

[FFmpeg-user] xfade

2022-06-21 Thread Michael Koch
Hi, I don't understand the examples in https://trac.ffmpeg.org/wiki/Xfade If the first input has length 5s and the offset is 4.5s and the duration is 1s, then from where comes the first input between t=5s and t=5.5s? Michael ___ ffmpeg-user mailing

[FFmpeg-user] remap with pixel interpolation

2022-06-28 Thread Michael Koch
Suggestion for improvement: Add pixel interpolation to the remap filter. For example if the output size is 800x600, multiply the values in the mapping files by 16 so that the range is 12800x9600, and use the 4 least significant bits for pixel interpolation. Michael __

Re: [FFmpeg-user] remap with pixel interpolation

2022-06-29 Thread Michael Koch
Am 29.06.2022 um 09:15 schrieb Paul B Mahol: On Wed, Jun 29, 2022 at 8:56 AM Michael Koch wrote: Suggestion for improvement: Add pixel interpolation to the remap filter. For example if the output size is 800x600, multiply the values in the mapping files by 16 so that the range is 12800x9600

[FFmpeg-user] show an image with FFplay for 5 seconds

2022-07-01 Thread Michael Koch
Hello, is it possible to show an image with FFplay for 5 seconds, and then exit? I did try this command in a Windows batch file, but it doesn't stop after 5 seconds. I drag and drop the image on the batch file: ffplay -autoexit -loop 0 -t 5 %1 Michael ___

Re: [FFmpeg-user] show an image with FFplay for 5 seconds

2022-07-01 Thread Michael Koch
Am 01.07.2022 um 16:03 schrieb Michael Koch: Hello, is it possible to show an image with FFplay for 5 seconds, and then exit? I did try this command in a Windows batch file, but it doesn't stop after 5 seconds. I drag and drop the image on the batch file: ffplay -autoexit -loop 0 -t

Re: [FFmpeg-user] Multiple xfade in one run

2022-07-04 Thread Michael Koch
Am 04.07.2022 um 18:46 schrieb Cecil Westerhof via ffmpeg-user: Paul B Mahol writes: On Mon, Jul 4, 2022 at 6:15 PM Cecil Westerhof via ffmpeg-user < ffmpeg-user@ffmpeg.org> wrote: Some time ago I was experimenting with xfade. I wanted to know how to use several in one run. Now I really need

Re: [FFmpeg-user] multiple flat videos in a equirectangular projection - v360 filter

2022-07-16 Thread Michael Koch
Am 16.07.2022 um 20:57 schrieb Denis Połeć: Am 16.07.2022 um 11:46 schrieb Paul B Mahol : On Sat, Jul 16, 2022 at 11:22 AM Denis Połeć wrote: Hello, I wouldn't call myself a beginner, but I still need a little bit to become a pro. :) I have a question that might be easy to answer. I am wor

Re: [FFmpeg-user] multiple flat videos in a equirectangular projection - v360 filter

2022-07-17 Thread Michael Koch
Am 17.07.2022 um 12:09 schrieb Denis Połeć: Am 16.07.2022 um 22:12 schrieb Michael Koch : Am 16.07.2022 um 20:57 schrieb Denis Połeć: Am 16.07.2022 um 11:46 schrieb Paul B Mahol : On Sat, Jul 16, 2022 at 11:22 AM Denis Połeć wrote: Hello, I wouldn't call myself a beginner, but I

Re: [FFmpeg-user] multiple flat videos in a equirectangular projection - v360 filter

2022-07-17 Thread Michael Koch
Am 17.07.2022 um 12:09 schrieb Denis Połeć: Am 16.07.2022 um 22:12 schrieb Michael Koch : Am 16.07.2022 um 20:57 schrieb Denis Połeć: Am 16.07.2022 um 11:46 schrieb Paul B Mahol : On Sat, Jul 16, 2022 at 11:22 AM Denis Połeć wrote: Hello, I wouldn't call myself a beginner, but I

Re: [FFmpeg-user] ffmpeg MP4/x264 output colours change when input source is different resolution (bug?)

2022-09-14 Thread Michael Koch
Am 14.09.2022 um 11:21 schrieb Dan: Using the latest 5.1.1 "essentials build" by www.gyan.dev. Hi all, I'm a beginner to ffmpeg so I'm having a hard time believing that a utility so old and so widely used has such a fundamental bug, but the evidence is staring me in the face and leads me to no

Re: [FFmpeg-user] ffmpeg MP4/x264 output colours change when input source is different resolution (bug?)

2022-09-14 Thread Michael Koch
Am 14.09.2022 um 19:00 schrieb Dan: That's a great idea to use specified colours directly supported by ffmpeg and helps narrow down the issue a lot! Would you count this as a bug? It seems to be a bug. If this is a known legacy quirk, it seems one of the ugliest and most misleading quirks I

Re: [FFmpeg-user] ffmpeg MP4/x264 output colours change when input source is different resolution (bug?)

2022-09-15 Thread Michael Koch
Am 15.09.2022 um 00:30 schrieb Paul B Mahol: On 9/15/22, Dan wrote: zscale=...,format=yuv420p O okay. I tried that before (except using two -vf commands), because I suspected you might've meant that. Just tried it again, still no luck. Let me know if I need to tweak anything: ffmpeg.

Re: [FFmpeg-user] ffmpeg MP4/x264 output colours change when input source is different resolution (bug?)

2022-09-15 Thread Michael Koch
Am 15.09.2022 um 11:01 schrieb Paul B Mahol: On 9/15/22, Michael Koch wrote: Am 15.09.2022 um 00:30 schrieb Paul B Mahol: On 9/15/22, Dan wrote: zscale=...,format=yuv420p O okay. I tried that before (except using two -vf commands), because I suspected you might've meant that.

Re: [FFmpeg-user] ffmpeg MP4/x264 output colours change when input source is different resolution (bug?)

2022-09-15 Thread Michael Koch
Am 15.09.2022 um 11:26 schrieb Dan: You are right that datascope shows no difference. But the issue is also reproducible with VLC player. As well as VLC Player and FFplay, I've tried MediaPlayerClassic, Google Chrome, Microsoft Edge and Vegas Pro, and the problem occurs with each of those. Co

Re: [FFmpeg-user] ffmpeg MP4/x264 output colours change when input source is different resolution (bug?)

2022-09-15 Thread Michael Koch
Am 15.09.2022 um 11:41 schrieb Paul B Mahol: On 9/15/22, Michael Koch wrote: Am 15.09.2022 um 11:26 schrieb Dan: You are right that datascope shows no difference. But the issue is also reproducible with VLC player. As well as VLC Player and FFplay, I've tried MediaPlayerClassic, G

Re: [FFmpeg-user] ffmpeg MP4/x264 output colours change when input source is different resolution (bug?)

2022-09-15 Thread Michael Koch
Am 15.09.2022 um 11:53 schrieb Dan: This seems to work with VLC player: ffmpeg -f lavfi -i color=0x19be0f:s=400x576 -colorspace bt709 -crf 0 -vcodec libx264 -t 5 -y out1.mp4 ffmpeg -f lavfi -i color=0x19be0f:s=400x578 -colorspace bt709 -crf 0 -vcodec libx264 -t 5 -y out2.mp4 Unfortunately, doe

Re: [FFmpeg-user] ffmpeg MP4/x264 output colours change when input source is different resolution (bug?)

2022-09-15 Thread Michael Koch
Am 15.09.2022 um 11:53 schrieb Dan: This seems to work with VLC player: ffmpeg -f lavfi -i color=0x19be0f:s=400x576 -colorspace bt709 -crf 0 -vcodec libx264 -t 5 -y out1.mp4 ffmpeg -f lavfi -i color=0x19be0f:s=400x578 -colorspace bt709 -crf 0 -vcodec libx264 -t 5 -y out2.mp4 Unfortunately, doe

Re: [FFmpeg-user] ffmpeg MP4/x264 output colours change when input source is different resolution (bug?)

2022-09-15 Thread Michael Koch
Am 15.09.2022 um 13:43 schrieb Dan: On Thu, 15 Sep 2022 12:07:08 +0100, Michael Koch wrote: Am 15.09.2022 um 11:53 schrieb Dan: This seems to work with VLC player: ffmpeg -f lavfi -i color=0x19be0f:s=400x576 -colorspace bt709 -crf 0 -vcodec libx264 -t 5 -y out1.mp4 ffmpeg -f lavfi -i color

Re: [FFmpeg-user] ffmpeg MP4/x264 output colours change when input source is different resolution (bug?)

2022-09-16 Thread Michael Koch
Am 16.09.2022 um 15:20 schrieb Dan: showinfo filter shows video frame color metadata to output of console, nothing less - nothing more. showinfo cant produce incorrect video, if you ever bothered to read documentation you would know. By the way, just to clarify, I wasn't talking about the conso

Re: [FFmpeg-user] ffmpeg MP4/x264 output colours change when input source is different resolution (bug?)

2022-09-16 Thread Michael Koch
Am 16.09.2022 um 16:34 schrieb Dan: On Fri, 16 Sep 2022 14:55:20 +0100, Michael Koch wrote: Am 16.09.2022 um 15:20 schrieb Dan: showinfo filter shows video frame color metadata to output of console, nothing less - nothing more. showinfo cant produce incorrect video, if you ever bothered to

Re: [FFmpeg-user] ffmpeg MP4/x264 output colours change when input source is different resolution (bug?)

2022-09-16 Thread Michael Koch
Am 16.09.2022 um 16:51 schrieb Erik Dobberkau: Apart from width, height, PAR, DAR and SAR, bit depth and subsampling method, the color encoding parameters are responsible for the visual representation of an image: color space, primaries, white point, transfer function, color range, and color mat

[FFmpeg-user] datascope

2022-09-18 Thread Michael Koch
Why does datascope show the color components in the unusual order GBR (from top to bottom)? It's confusing. Can the order be changed to RGB? ffmpeg -f lavfi -i color=black:s=26x6 -lavfi format=rgb24,geq=r='clip(64*mod(X,5),0,255)':g='clip(64*Y,0,255)':b='clip(64*trunc(X/5),0,255)',crop=25:5:0:0

Re: [FFmpeg-user] datascope

2022-09-18 Thread Michael Koch
Am 18.09.2022 um 13:36 schrieb Michael Koch: Why does datascope show the color components in the unusual order GBR (from top to bottom)? It's confusing. Can the order be changed to RGB? ffmpeg -f lavfi -i color=black:s=26x6 -lavfi format=rgb24,geq=r='clip(64*mod(X,5),0,255)

Re: [FFmpeg-user] datascope

2022-09-18 Thread Michael Koch
Am 18.09.2022 um 18:50 schrieb Carl Zwanzig: On 9/18/2022 5:28 AM, Michael Koch wrote: It seems the crop filter did change the pixel format to GBR. Which brings the follow-up question- why did crop...? geq or crop, one of them. IIRC, some/many/most/all filters operate on a limited number

Re: [FFmpeg-user] Help: is it possibile to join an image and a live stream?

2022-10-07 Thread Michael Koch
Am 07.10.2022 um 19:32 schrieb i...@mbsoft.biz: i have 2 inputs first input image -i logo.png second input dshow webcam -f dshow -i video="my webcam" is it possible to show 5 seconds logo and and subsequently start webcam? Here is an example for switching between two inputs after 5 seconds

Re: [FFmpeg-user] Help: is it possibile to join an image and a live stream?

2022-10-07 Thread Michael Koch
Am 07.10.2022 um 19:32 schrieb i...@mbsoft.biz: i have 2 inputs first input image -i logo.png second input dshow webcam -f dshow -i video="my webcam" is it possible to show 5 seconds logo and and subsequently start webcam? it can also be done with "streamselect" filter, have a look at the

Re: [FFmpeg-user] R: Help: is it possibile to join an image and a live stream?

2022-10-07 Thread Michael Koch
Am 07.10.2022 um 21:32 schrieb i...@mbsoft.biz: I have tried ffmpeg.exe" -loglevel quiet -analyzeduration 0 -probesize 32 -report -i "e:\\logo.png" -f dshow -video_size 1280x720 -framerate 30 -video_device_number 0 -i "video=Full HD 1080P PC Camera" "sendcmd='5.0" streamselect map "1',streamsele

Re: [FFmpeg-user] Help: is it possibile to join an image and a live stream?

2022-10-09 Thread Michael Koch
Am 07.10.2022 um 20:28 schrieb Michael Koch: Am 07.10.2022 um 19:32 schrieb i...@mbsoft.biz: i have 2 inputs first input image  -i logo.png second input dshow webcam  -f dshow -i video="my webcam" is it possible to show 5 seconds logo and and subsequently start webcam? it can al

<    1   2   3   4   5   6   7   8   9   >