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

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

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

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

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

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

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

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. Michael

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: Usage: opusen

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 nut&qu

[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

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

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

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 video

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

Re: [FFmpeg-user] What is a "pad" in the context of an "input pad", an "output pad" and a "filter pad"

2022-10-27 Thread Michael Koch
Am 27.10.2022 um 21:57 schrieb Clay via ffmpeg-user: Dumb ffmpeg question alert: What is a "pad" in the context of an "input pad", an "output pad" and a "filter pad"? "input pad" and "output pad" are described in chapter 32: https://www.ffmpeg.org/ffmpeg-all.html#Filtergraph-description

Re: [FFmpeg-user] encode to RAW video

2022-10-25 Thread Michael Koch
Am 25.10.2022 um 09:29 schrieb Naveen.B: What do you want to do with the RAW video? You know that you can't play it with most players? Yes, I know it cannot be played with most of th players, I need to see the size of the RAW video and make some compression on it for our further analysis.

Re: [FFmpeg-user] encode to RAW video

2022-10-24 Thread Michael Koch
Am 24.10.2022 um 18:36 schrieb Naveen.B: Are you sure that there is a file CapturedImage-000.raw ? You forgot to specify the input pixel format. Many parameters are missing for the raw output. But the error message is from the input. Do you really want raw video? That's not the easiest format

Re: [FFmpeg-user] encode to RAW video

2022-10-24 Thread Michael Koch
Am 24.10.2022 um 17:50 schrieb Naveen.B: Hello Team, I have managed to convert raw Images files to .mp4 video, I need to encode to a RAW video instead, could you please let me know the command for this? RAW Image file is, resolution - 1600x1300 fps-30 bit depth-16bit Do not specify a

[FFmpeg-user] Convert from TIF to DNG

2022-10-24 Thread Michael Koch
On a website (1) I found the idea that a TIF file can be converted to a DNG file just by adding some tags and renaming it. Let's test it. Make a 16-bit TIF file: ffmpeg -f lavfi -i nullsrc=s=320x320,format=yuv444p10le -vf geq=lum='X/W*32+32*floor(Y/H*32)':cr=512:cb=512,format=rgb48be -frames

Re: [FFmpeg-user] encode to RAW video

2022-10-24 Thread Michael Koch
Am 24.10.2022 um 14:29 schrieb Naveen.B: On 24 Oct 2022, at 12:52, Naveen.B wrote: Hello Team, I have managed to convert raw Images files to .mp4 video, I need to encode to a RAW video instead, could you please let me know the command for this? RAW Image file is, resolution - 1600x1300

mail 17.09

2022-10-20 Thread Michael Koch
Mit freundlichen Grüßen / Best regards Michael Koch -- Michael Koch Senior Network Administrator Mitutoyo CTL Germany GmbH Von-Gunzert-Straße 17 D-78727 Oberndorf am Neckar Tel.: +49-7423-8776-54 <http://www.mitutoyo-ctl.de/> www.mitutoyo-ctl.de HRB

mail 17.06

2022-10-20 Thread Michael Koch
Mit freundlichen Grüßen / Best regards Michael Koch -- Michael Koch Senior Network Administrator Mitutoyo CTL Germany GmbH Von-Gunzert-Straße 17 D-78727 Oberndorf am Neckar Tel.: +49-7423-8776-54 <http://www.mitutoyo-ctl.de/> www.mitutoyo-ctl.de HRB

mail 17.04

2022-10-20 Thread Michael Koch
Mit freundlichen Grüßen / Best regards Michael Koch -- Michael Koch Senior Network Administrator Mitutoyo CTL Germany GmbH Von-Gunzert-Straße 17 D-78727 Oberndorf am Neckar Tel.: +49-7423-8776-54 <http://www.mitutoyo-ctl.de/> www.mitutoyo-ctl.de HRB

mail 16.57

2022-10-20 Thread Michael Koch
Mit freundlichen Grüßen / Best regards Michael Koch -- Michael Koch Senior Network Administrator Mitutoyo CTL Germany GmbH Von-Gunzert-Straße 17 D-78727 Oberndorf am Neckar Tel.: +49-7423-8776-54 <http://www.mitutoyo-ctl.de/> www.mitutoyo-ctl.de HRB

mailtest 16.51

2022-10-20 Thread Michael Koch
Mit freundlichen Grüßen / Best regards Michael Koch -- Michael Koch Senior Network Administrator Mitutoyo CTL Germany GmbH Von-Gunzert-Straße 17 D-78727 Oberndorf am Neckar Tel.: +49-7423-8776-54 <http://www.mitutoyo-ctl.de/> www.mitutoyo-ctl.de HRB

mailtest 16.41

2022-10-20 Thread Michael Koch
Mit freundlichen Grüßen / Best regards Michael Koch -- Michael Koch Senior Network Administrator Mitutoyo CTL Germany GmbH Von-Gunzert-Straße 17 D-78727 Oberndorf am Neckar Tel.: +49-7423-8776-54 <http://www.mitutoyo-ctl.de/> www.mitutoyo-ctl.de HRB

Mailman test please ignore 16.29

2022-10-20 Thread Michael Koch
Dies ist der Inhalt einer Mail Mit freundlichen Grüßen / Best regards Michael Koch -- Michael Koch Senior Network Administrator Mitutoyo CTL Germany GmbH Von-Gunzert-Straße 17 D-78727 Oberndorf am Neckar Tel.: +49-7423-8776-54 <http://www.mitutoyo-ctl.de/> www.mi

Mailtest please ignore 15.57

2022-10-20 Thread Michael Koch
Dies ist der Inhalt Mit freundlichen Grüßen / Best regards Michael Koch -- Michael Koch Senior Network Administrator Mitutoyo CTL Germany GmbH Von-Gunzert-Straße 17 D-78727 Oberndorf am Neckar Tel.: +49-7423-8776-54 <http://www.mitutoyo-ctl.de/> www.mitutoyo-

Re: [FFmpeg-user] ScaleUp the Raw file

2022-10-19 Thread Michael Koch
The -s option in your command line is for the output size because it's written after -i. You must also set the input size before -i. Your RAW image contains only pixel data and no header for size and pixel format. I din't understand the header for size and pixel format, width error is

Re: [FFmpeg-user] ScaleUp the Raw file

2022-10-19 Thread Michael Koch
Am 19.10.2022 um 21:50 schrieb Naveen.B: I got an error by trying this command. Could you kindly let me know if this is feasible? Always always always include the complete output of ffmpeg when asking for help. For one, we don't know what error you got.

Re: [FFmpeg-user] ScaleUp the Raw file

2022-10-19 Thread Michael Koch
Am 19.10.2022 um 21:26 schrieb Naveen.B: I got an error by trying this command. Could you kindly let me know if this is feasible? Always always always include the complete output of ffmpeg when asking for help. For one, we don't know what error you got.

Mailtest 2 extern- please ignore EOM

2022-10-19 Thread Michael Koch
Hallo du da, Dies ist der Inhalt Mit freundlichen Grüßen / Best regards Michael Koch -- Michael Koch Senior Network Administrator Mitutoyo CTL Germany GmbH Von-Gunzert-Straße 17 D-78727 Oberndorf am Neckar Tel.: +49-7423-8776-54 <http://www.mitutoyo-ctl

Mailtest please ignore EOM

2022-10-19 Thread Michael Koch
Mit freundlichen Grüßen / Best regards Michael Koch -- Michael Koch Senior Network Administrator Mitutoyo CTL Germany GmbH Von-Gunzert-Straße 17 D-78727 Oberndorf am Neckar Tel.: +49-7423-8776-54 <http://www.mitutoyo-ctl.de/> www.mitutoyo-ctl.de HRB

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

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

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] 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

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] 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)':g='clip(64*Y

[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

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

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

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

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-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,

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,

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, Google

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.

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. Just

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:

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

Re: [FFmpeg-devel] [PATCH]lavfi/rotate: Fix undefined behaviour

2022-09-04 Thread Michael Koch
/Also, shouldn't the same change be done also to interpolate_bilinear8? / I was unable to reproduce with 8-bit input. When I tested it, the issue was reproducible only with 14-bit and 16-bit input. 12-bit did work. ___ ffmpeg-devel mailing list

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 still

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 still

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

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

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 5 %1

[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] 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] remap with pixel interpolation

2022-06-29 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

[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

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

2022-06-16 Thread Michael Koch
7c0] 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 mailin

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] 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 inputs

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] 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 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

[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: [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? yes, it wor

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 need

[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

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 simulation

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

2022-06-06 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

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 simulation

[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

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

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

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

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

2022-05-26 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 desktop

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 desktop

<    1   2   3   4   5   6   7   8   9   10   >