[FFmpeg-user] hstack a video with a delayed version of itself

2019-08-14 Thread Michael Koch
Hello all, I want to hstack a video with a delayed version of itself. First test: ffmpeg -f lavfi -i testsrc2=size=600x400:duration=10 -y test1.mp4 This produces a video of 10 seconds length. The clock is running from 0 to 10, as expected. Second test: ffmpeg -f lavfi -i

Re: [FFmpeg-user] Facing issue while video crop

2019-08-08 Thread Michael Koch
I am facing issue while cropping the video. i am using the following command to crop the video it is working perfect for land scap videos but for portrait video it is always crop to top. Please help in this potrait top -y-ss00:00.0-i input.mp4-t00:06.235-vfcrop=480:480:240:0:exact=0

Re: [FFmpeg-user] fade filter crashes ffmpeg

2019-07-29 Thread Michael Koch
Am 29.07.2019 um 06:57 schrieb Gyan: On 28-07-2019 11:04 PM, Michael Koch wrote: Hi all, I just tried this command line and it crashes FFmpeg: ffmpeg -i meteor308.mp4 -vf fade=in:0:0.5 -q:v 1 -y 308.mp4 I already know what's wrong. I thought the fade duration is expressed in seconds

[FFmpeg-user] fade filter crashes ffmpeg

2019-07-28 Thread Michael Koch
Hi all, I just tried this command line and it crashes FFmpeg: ffmpeg -i meteor308.mp4 -vf fade=in:0:0.5 -q:v 1 -y 308.mp4 I already know what's wrong. I thought the fade duration is expressed in seconds. But (with this syntax) it must be expressed in frames and must be an integer. It would

Re: [FFmpeg-user] delay a video in a filter chain

2019-06-10 Thread Michael Koch
Am 10.06.2019 um 15:43 schrieb Paul B Mahol: On 6/10/19, Michael Koch wrote: Am 10.06.2019 um 13:11 schrieb Paul B Mahol: Can not reproduce. Make sure that audio is not taken in output duration. I did remove the audio track from the input video, but the problem is still the same. Provide

Re: [FFmpeg-user] delay a video in a filter chain

2019-06-10 Thread Michael Koch
Am 10.06.2019 um 13:11 schrieb Paul B Mahol: Can not reproduce. Make sure that audio is not taken in output duration. I did remove the audio track from the input video, but the problem is still the same. Provide your input file by uploading it somewhere.

[FFmpeg-user] delay a video in a filter chain

2019-06-10 Thread Michael Koch
Hi all, I want to delay a video in a filter chain by 5 seconds, and then combine it with the original video with hstack. I use the shortest=1 option, so that the output contains only the duration where both videos overlap: ffmpeg -f lavfi -i testsrc=duration=10:size=vga:rate=25

[FFmpeg-user] blend filter

2019-06-09 Thread Michael Koch
Hi, in the documentation for the blend filter is written: "By default, the output terminates when the longest input terminates." What's used as input when the shortest input has terminated? Is the last frame of the shorter input duplicated? Is there a trick to let the output terminate when the

Re: [FFmpeg-user] filter for changing frame rate

2019-05-13 Thread Michael Koch
Or the fps filter. This filter and the r option have different algorithms that have advantages (and disadvantages) in different situations. Are the differences explained somewhere in the documentation? Michael ___ ffmpeg-user mailing list

Re: [FFmpeg-user] Is there an EXIF-like video header in *.MP4 files? Show and change without re-encoding?

2019-05-13 Thread Michael Koch
Am 13.05.2019 um 12:04 schrieb Ben via ffmpeg-user: From *.jpg pictures I know that there is a hidden header which contains e.g. info about the original creation time of the picture/photo. Is there something similar in *.MP4 video files? yes, and you can view the data with exiftool:

Re: [FFmpeg-user] Documentation and feature request

2019-04-29 Thread Michael Koch
Am 15.04.2019 um 18:10 schrieb Gyan: Hi Michael, I'll look at these in detail later on, but just to touch on one point.. On 15-04-2019 06:15 PM, Michael Koch wrote: "eq" filter: -- It might be helpful to add a note that multiple eq filters can be cascaded, for example i

Re: [FFmpeg-user] Documentation and feature request

2019-04-28 Thread Michael Koch
Feature request: -- Decay filter, makes short flashes of light appear longer, with an exponential decay curve. Like on an analog oscilloscope screen with long persistence time. Could be used for videos of the night sky to make fast meteors appear longer. Should work as follows: For each pixel

Re: [FFmpeg-user] PGM files are loading extremely slow

2019-04-28 Thread Michael Koch
Am 27.04.2019 um 13:07 schrieb Carl Eugen Hoyos: 2019-04-27 0:41 GMT+02:00, Michael Koch : I'd like to report a problem when loading large PGM files, which are required for the remap filter. These files are loading extremely slow in the latest ffmpeg version. Much slower than a few weeks

Re: [FFmpeg-user] PGM files are loading extremely slow

2019-04-27 Thread Michael Koch
, all these are much slower. I'm testing on the same computer with the same command line and same input file, of course. On my computer it's reproducible. Michael -- ** ASTRO ELECTRONIC Dipl.-Ing. Michael Koch Raabestr. 43 37412 Herzberg

[FFmpeg-user] PGM files are loading extremely slow

2019-04-26 Thread Michael Koch
Hi, I'd like to report a problem when loading large PGM files, which are required for the remap filter. These files are loading extremely slow in the latest ffmpeg version. Much slower than a few weeks before. I found out that the problem began between April 10 and 11. The PGM file that I

Re: [FFmpeg-user] denoise after scaling or before?

2019-04-24 Thread Michael Koch
Am 24.04.2019 um 10:43 schrieb Ulf Zibis: Am 23.04.19 um 11:43 schrieb Jon bae: Makes it a different when I denoise after scaling a video, or is the quality better when I denoise before scaling. In terms of speed it would be better for me, denoising after scaling, but when the quality is

Re: [FFmpeg-user] denoise after scaling or before?

2019-04-23 Thread Michael Koch
Am 23.04.2019 um 11:43 schrieb Jon bae: Hello, I just have an general question: As I know denoiser are specialized to specific noise pattern. Makes it a different when I denoise after scaling a video, or is the quality better when I denoise before scaling. In terms of speed it would be better

Re: [FFmpeg-user] Documentation and feature request

2019-04-15 Thread Michael Koch
. Michael Koch Raabestr. 43 37412 Herzberg www.astro-electronic.de Tel. +49 5521 854265 Fax +49 5521 854266 ** ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org

Re: [FFmpeg-user] Documentation and feature request

2019-04-15 Thread Michael Koch
While some of your suggestions will not be accepted (for example to document for some filters that they can be concatenated), Why not? atempo does it. I suspect nearly all filters can be concatenated and given that the documentation is already hard to read, I don't think it should be

Re: [FFmpeg-user] Documentation and feature request

2019-04-15 Thread Michael Koch
Am 15.04.2019 um 15:59 schrieb Paul B Mahol: Feature request: -- Decay filter, makes short flashes of light appear longer, with an exponential decay curve. Like on an analog oscilloscope screen with long persistence time. Could be used for videos of the night sky to make fast meteors appear

Re: [FFmpeg-user] Documentation and feature request

2019-04-15 Thread Michael Koch
Am 15.04.2019 um 14:55 schrieb Carl Eugen Hoyos: 2019-04-15 14:45 GMT+02:00, Michael Koch : over the last months I've collected a list what's missing in FFmpeg's documentation. While some of your suggestions will not be accepted (for example to document for some filters that they can

[FFmpeg-user] Documentation and feature request

2019-04-15 Thread Michael Koch
Hi all, over the last months I've collected a list what's missing in FFmpeg's documentation. At the end of the list there are a few feature requests. "amplify" filter: -- Many options are in the [0..65535] range. It's unclear how these options must be set for 8-bit videos. Is it [0..255] in

Re: [FFmpeg-user] Rotating webm videos

2019-03-23 Thread Michael Koch
Am 23.03.2019 um 12:00 schrieb Rex East: On Sat, Mar 23, 2019 at 7:46 PM Michael Koch wrote: As far as I know, rotating without re-encoding isn't possible. Try this: ffmpeg -i input.webm -vf rotate=PI/2 output.webm Thank you Michael for the reply and information. However, that command

Re: [FFmpeg-user] Rotating webm videos

2019-03-23 Thread Michael Koch
ffmpeg -i input.webm -c copy -metadata:s:v:0 rotate=90 output.webm As far as I know, rotating without re-encoding isn't possible. Try this: ffmpeg -i input.webm -vf rotate=PI/2 output.webm Michael ___ ffmpeg-user mailing list

Re: [FFmpeg-user] How to correct dark video with bright background

2019-03-11 Thread Michael Koch
Am 11.03.2019 um 09:01 schrieb Gerardo Ballabio: Ok, thank you Michael. I'll try haldclut then. This means I have to do some research into Gimp too... For the described workflow you can also use any other graphics program, if it can read and write uncompressed or lossless compressed images

Re: [FFmpeg-user] How to correct dark video with bright background

2019-03-10 Thread Michael Koch
Am 10.03.2019 um 22:05 schrieb Michael Koch: Am 10.03.2019 um 21:33 schrieb Gerardo Ballabio: Thank you Michael -- but that means I still have to find good values of brightness, contrast, gamma, saturation and hue to use with Gimp. When I've done that, then couldn't I just apply the same values

Re: [FFmpeg-user] How to correct dark video with bright background

2019-03-10 Thread Michael Koch
Am 10.03.2019 um 21:33 schrieb Gerardo Ballabio: Thank you Michael -- but that means I still have to find good values of brightness, contrast, gamma, saturation and hue to use with Gimp. When I've done that, then couldn't I just apply the same values in ffmpeg using the "eq" filter? That won't

Re: [FFmpeg-user] Filter to detect video glitches

2019-03-10 Thread Michael Koch
Am 10.03.2019 um 08:22 schrieb Venkateswaran.S: Hi all, I wants to detect glitches in my video. Is there any filter to achieve it.? How does the glitch look like? It it's black, you could try the blackdetect or blackframe filters. Michael ___

Re: [FFmpeg-user] How to correct dark video with bright background

2019-03-09 Thread Michael Koch
Am 09.03.2019 um 19:14 schrieb Gerardo Ballabio: Hello all, I have a video that was filmed under bad lighting conditions, the background is too bright and people in the foreground are dark. I'm trying to use ffmpeg to correct it. Please kindly help me. For video processing like this you best

Re: [FFmpeg-user] Problem with -vf fillborders on 16 bit image

2019-03-09 Thread Michael Koch
ELECTRONIC Dipl.-Ing. Michael Koch Raabestr. 43 37412 Herzberg www.astro-electronic.de Tel. +49 5521 854265 Fax +49 5521 854266 ** ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

Re: [FFmpeg-user] Problem with -vf fillborders on 16 bit image

2019-03-09 Thread Michael Koch
It like to try some tweaks with fillborders filter, so I need some 16-bit per plane images for testing. Can you help me with that? You can make 16-bit images with the latest version of GIMP. Use "export as", then use *.png as filename, then select "16bpc RGB" as pixel format, then click on

Re: [FFmpeg-user] Question about tmix filter

2019-03-06 Thread Michael Koch
Am 06.03.2019 um 21:53 schrieb Paul B Mahol: On 3/6/19, Michael Koch wrote: Am 06.03.2019 um 20:45 schrieb Paul B Mahol: Your interpretation of test results is invalid. You should count frames. Well, I did run the video in VLC and measure the duration with a stopwatch, and it is 5 seconds

Re: [FFmpeg-user] Question about tmix filter

2019-03-06 Thread Michael Koch
Am 06.03.2019 um 20:45 schrieb Paul B Mahol: Your interpretation of test results is invalid. You should count frames. Well, I did run the video in VLC and measure the duration with a stopwatch, and it is 5 seconds. Below is the FFprobe output. How can I count the frames? Old fashioned way -

Re: [FFmpeg-user] Question about tmix filter

2019-03-06 Thread Michael Koch
Am 06.03.2019 um 20:17 schrieb Paul B Mahol: On 3/6/19, Michael Koch wrote: Am 06.03.2019 um 17:12 schrieb Paul B Mahol: On 3/6/19, Michael Koch wrote: I'd like to know which frames does the tmix filter use for averaging. Let's assume tmix=frames=9. To make the n_th frame of the output

Re: [FFmpeg-user] Question about tmix filter

2019-03-06 Thread Michael Koch
Am 06.03.2019 um 17:12 schrieb Paul B Mahol: On 3/6/19, Michael Koch wrote: I'd like to know which frames does the tmix filter use for averaging. Let's assume tmix=frames=9. To make the n_th frame of the output video, does it use input frames n-8 to n, or n-4 to n+4, or n to n+8? How does

Re: [FFmpeg-user] filter_complex > apad and -shortest

2019-03-04 Thread Michael Koch
It end up in endless encoding... If audio and video come from the same source, then don't they have already the same length? Michael -- ** ASTRO ELECTRONIC Dipl.-Ing. Michael Koch Raabestr. 43 37412 Herzberg www.astro-electroni

Re: [FFmpeg-user] very strong contrast enhancement

2019-03-01 Thread Michael Koch
Am 25.02.2019 um 15:34 schrieb Michael Koch: Which is the recommended filter for a very strong contrast enhancement, up to a factor of 10? The eq=contrast=... filter allows only a maximum of 2. Could this be changed to allow higher values? As a workaround I'm using 3 or 4 cascaded eq filters

Re: [FFmpeg-user] very strong contrast enhancement

2019-02-25 Thread Michael Koch
Am 25.02.2019 um 15:58 schrieb Paul B Mahol: On 2/25/19, Michael Koch wrote: Which is the recommended filter for a very strong contrast enhancement, up to a factor of 10? The eq=contrast=... filter allows only a maximum of 2. Could this be changed to allow higher values? As a workaround I'm

[FFmpeg-user] very strong contrast enhancement

2019-02-25 Thread Michael Koch
Which is the recommended filter for a very strong contrast enhancement, up to a factor of 10? The eq=contrast=... filter allows only a maximum of 2. Could this be changed to allow higher values? As a workaround I'm using 3 or 4 cascaded eq filters. I did also try 

Re: [FFmpeg-user] amplify filter, threshold option

2019-02-25 Thread Michael Koch
Am 22.02.2019 um 23:37 schrieb Paul B Mahol: On 2/17/19, Michael Koch wrote: Am 17.02.2019 um 22:12 schrieb Paul B Mahol: On 2/17/19, Michael Koch wrote: The threshold option in the "amplify" filter suppresses large differences. In my opinion it would make more sense to have

Re: [FFmpeg-user] amplify filter, threshold option

2019-02-17 Thread Michael Koch
Am 17.02.2019 um 22:12 schrieb Paul B Mahol: On 2/17/19, Michael Koch wrote: The threshold option in the "amplify" filter suppresses large differences. In my opinion it would make more sense to have a (second) threshold option for suppressing small differences, for example noise. I

[FFmpeg-user] amplify filter, threshold option

2019-02-17 Thread Michael Koch
The threshold option in the "amplify" filter suppresses large differences. In my opinion it would make more sense to have a (second) threshold option for suppressing small differences, for example noise. I mean alter the source pixel only if the difference is greater than the threshold value.

Re: [FFmpeg-user] Video tilted at 45 degree angle

2019-02-08 Thread Michael Koch
How can one use ffmpeg to tilt it back upright. use the rotate filter: https://www.ffmpeg.org/ffmpeg-all.html#rotate Michael ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit

Re: [FFmpeg-user] curves filter and tmix filter, suggestions for improvement

2019-02-03 Thread Michael Koch
Am 02.02.2019 um 19:34 schrieb Michael Koch: Am 02.02.2019 um 19:28 schrieb Paul B Mahol: On 2/2/19, Michael Koch wrote: Am 02.02.2019 um 19:01 schrieb Paul B Mahol: On 2/2/19, Michael Koch wrote: Hi all, I have two suggestions for improvement: 1. It would be nice if the curves filter

Re: [FFmpeg-user] curves filter and tmix filter, suggestions for improvement

2019-02-02 Thread Michael Koch
Am 02.02.2019 um 19:28 schrieb Paul B Mahol: On 2/2/19, Michael Koch wrote: Am 02.02.2019 um 19:01 schrieb Paul B Mahol: On 2/2/19, Michael Koch wrote: Hi all, I have two suggestions for improvement: 1. It would be nice if the curves filter could import curves files from GIMP. GIMP can

Re: [FFmpeg-user] curves filter and tmix filter, suggestions for improvement

2019-02-02 Thread Michael Koch
Am 02.02.2019 um 19:01 schrieb Paul B Mahol: On 2/2/19, Michael Koch wrote: Hi all, I have two suggestions for improvement: 1. It would be nice if the curves filter could import curves files from GIMP. GIMP can export curves files in two different formats, either the default format

[FFmpeg-user] curves filter and tmix filter, suggestions for improvement

2019-02-02 Thread Michael Koch
Hi all, I have two suggestions for improvement: 1. It would be nice if the curves filter could import curves files from GIMP. GIMP can export curves files in two different formats, either the default format or the "old curves file format". For the old format I have a selfmade C# converter to

Re: [FFmpeg-user] overlaying a clut over a picture

2019-01-14 Thread Michael Koch
Am 14.01.2019 um 09:48 schrieb Paul B Mahol: On 1/14/19, Michael Koch wrote: Am 14.01.2019 um 08:40 schrieb Michael Koch: Am 14.01.2019 um 07:28 schrieb Michael Koch: When I create a color-look-up-table with this command line, the result is a 512x512 clut saved as 16-bit PNG. It works

Re: [FFmpeg-user] overlaying a clut over a picture

2019-01-13 Thread Michael Koch
Am 14.01.2019 um 08:40 schrieb Michael Koch: Am 14.01.2019 um 07:28 schrieb Michael Koch: When I create a color-look-up-table with this command line, the result is a 512x512 clut saved as 16-bit PNG. It works as expected and I checked that the top left pixel is black (R=0, G=0, B=0

Re: [FFmpeg-user] overlaying a clut over a picture

2019-01-13 Thread Michael Koch
Am 14.01.2019 um 07:28 schrieb Michael Koch: When I create a color-look-up-table with this command line, the result is a 512x512 clut saved as 16-bit PNG. It works as expected and I checked that the top left pixel is black (R=0, G=0, B=0) and the bottom right pixel is white (R=65026, G=65026

[FFmpeg-user] overlaying a clut over a picture

2019-01-13 Thread Michael Koch
When I create a color-look-up-table with this command line, the result is a 512x512 clut saved as 16-bit PNG. It works as expected and I checked that the top left pixel is black (R=0, G=0, B=0) and the bottom right pixel is white (R=65026, G=65026, B=65026). c:\ffmpeg\ffmpeg -f lavfi -i

Re: [FFmpeg-user] flashing green partial image in output video

2019-01-08 Thread Michael Koch
Am 08.01.2019 um 14:38 schrieb Herndon Elliott: Zoneminder using ffmpeg to produce short video from compilation of jpeg images. Version info is in the log below. Resulting video has flashing green covering about 2/3 of image. Example of output video is here:

Re: [FFmpeg-user] How to duplicate 1st line

2019-01-06 Thread Michael Koch
Sounds good, but with     $ ffmpeg -i CYD_6m_copy.vob -movflags +faststart -vf "fillborders=top=1" -c:v libx264 -c:a copy CYD_6m_fill-top_H.264.mp4 I get: [AVFilterGraph @ 0x55a6153dafa0] No such filter: 'fillborders' With the latest Windows 64-bit version from Zeranoe it's working. Michael

[FFmpeg-user] tmix and scale, different brightness depending on order

2019-01-05 Thread Michael Koch
I found a problem while I was experimenting with the haldclut filter. But it's simpler to reproduce without haldclut. The input video contains 10 seconds of noise (10-bit) and can be downloaded here (2MB): http://www.astro-electronic.de/x.mov My command line compares two cases with hstack.

Re: [FFmpeg-user] down sampling

2018-12-30 Thread Michael Koch
Am 30.12.2018 um 13:20 schrieb Paul B Mahol: On 12/30/18, Michael Koch wrote: Am 28.12.2018 um 11:46 schrieb Paul B Mahol: One can now use afftfilt to shift frequencies around in frequency domain. It should be easier than using amultiply filter. c:\ffmpeg\ffmpeg -f dshow -channels 2 -i audio

Re: [FFmpeg-user] down sampling

2018-12-30 Thread Michael Koch
Am 28.12.2018 um 11:46 schrieb Paul B Mahol: One can now use afftfilt to shift frequencies around in frequency domain. It should be easier than using amultiply filter. c:\ffmpeg\ffmpeg -f dshow -channels 2 -i audio="Mikrofon (Realtek High Definiti" -af

Re: [FFmpeg-user] down sampling

2018-12-29 Thread Michael Koch
Works fine here (unless I add funny characters) here with Windows cmd, both with and without using a batch file. Finally it's working here. This is the content of the batch file: c:\\ffmpeg\ffmpeg -i 699.mp4 -f nut - | c:\\ffmpeg\ffplay - -- all backslashes -- no escape character before |

Re: [FFmpeg-user] down sampling

2018-12-29 Thread Michael Koch
Might it be part of the problem that I'm starting ffmpeg from a batch file? This is the content of the batch file: c://ffmpeg/ffmpeg -i 699.mp4 -f nut - ^| c://ffmpeg/ffplay - Why did you add the caret? I thought that in a batch file the | character must be escaped with a ^ character. As

Re: [FFmpeg-user] down sampling

2018-12-29 Thread Michael Koch
Might it be part of the problem that I'm starting ffmpeg from a batch file? This is the content of the batch file: c://ffmpeg/ffmpeg -i 699.mp4 -f nut - ^| c://ffmpeg/ffplay - pause I just found out that when using this command in a batch file, it doesn't matter if the slashes are forward

Re: [FFmpeg-user] down sampling

2018-12-29 Thread Michael Koch
Am 29.12.2018 um 20:53 schrieb Reino Wijnsma: On 29-12-2018 20:19, Michael Koch wrote: F:\Sound\Ultraschall_Konvertierung>c://ffmpeg/ffmpeg -i 699.mp4 -f nut - | c://f fmpeg/ffplay - Have you actually tested this at all? Forward slashes don't work on Windows! Sure I tested this. I pos

Re: [FFmpeg-user] down sampling

2018-12-29 Thread Michael Koch
Am 29.12.2018 um 20:19 schrieb Michael Koch: I would use the practical nut container, and do: $ ffmpeg -i input -f nut - | ffplay - F:\Sound\Ultraschall_Konvertierung>c://ffmpeg/ffmpeg -i 699.mp4 -f nut - | c://f fmpeg/ffplay - ffmpeg version N-91960-g63c69d51c7 Copyright (c) 2000-2

Re: [FFmpeg-user] down sampling

2018-12-29 Thread Michael Koch
I would use the practical nut container, and do: $ ffmpeg -i input -f nut - | ffplay - F:\Sound\Ultraschall_Konvertierung>c://ffmpeg/ffmpeg -i 699.mp4 -f nut - | c://f fmpeg/ffplay - ffmpeg version N-91960-g63c69d51c7 Copyright (c) 2000-2018 the FFmpeg developers   built with gcc 8.2.1

Re: [FFmpeg-user] down sampling

2018-12-29 Thread Michael Koch
1,lowpass=f=1,lowpass=f=1" -t 10 -f mp3 pipe:play - //ffmpeg/ffplay The syntax looks broken here: Do you want to use a named pipe "play"? Iiuc, you have to create this pipe before launching FFmpeg, no need to specify a second output url. Or you want to use the pipe "-", in this

Re: [FFmpeg-user] down sampling

2018-12-28 Thread Michael Koch
Am 28.12.2018 um 10:18 schrieb Carl Eugen Hoyos: 2018-12-28 10:14 GMT+01:00, Michael Koch : Am 28.12.2018 um 00:50 schrieb Moritz Barsnick: On Thu, Dec 27, 2018 at 20:29:34 +0100, Michael Koch wrote: I think the bigger problem is "outputting through the computers speakers". As far

Re: [FFmpeg-user] down sampling

2018-12-28 Thread Michael Koch
Am 28.12.2018 um 00:50 schrieb Moritz Barsnick: On Thu, Dec 27, 2018 at 20:29:34 +0100, Michael Koch wrote: I think the bigger problem is "outputting through the computers speakers". As far as I know it depends on the operating system, and under Windows it's impossible. You can a

Re: [FFmpeg-user] down sampling

2018-12-27 Thread Michael Koch
Am 27.12.2018 um 20:18 schrieb Carl Eugen Hoyos: 2018-12-27 19:01 GMT+01:00, alex jamshedi : My goal is to receive a live audio stream that is being sampled at 131,072 Hz and re-sample it at 44.1 kHz before outputting it through my computers speakers. Is this a task ffmpeg can perform? Yes,

[FFmpeg-user] 16 bit PNG?

2018-12-22 Thread Michael Koch
Is it possible to extract a single frame from a 10 bit video and save it lossless as a 16 bit PNG file? Unfortunately the documentation for the PNG video encoder is very short. Or is any other image format with 10 or more bits supported? Michael ___

Re: [FFmpeg-user] Comparing audio to sync video

2018-12-18 Thread Michael Koch
I have two video cameras recording an event 30 minutes long. I hit start on the two cameras at different times. I would like to figure out a command-line script that can basically diff the audio to figure out the difference between the start times and align the videos. The audio won't be

Re: [FFmpeg-user] free software for lut3d filter files?

2018-12-05 Thread Michael Koch
Am 02.12.2018 um 14:08 schrieb Michael Koch: Is there any free software for creating or editing files for the lut3d filter? In the meantime I found a nice *.cube generator tool here: https://generator.iwltbap.com/ My next question is about the lut1d filter. Unfortunately I didn't find much

[FFmpeg-user] free software for lut3d filter files?

2018-12-02 Thread Michael Koch
Is there any free software for creating or editing files for the lut3d filter? Thanks, Michael ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email

Re: [FFmpeg-user] how to use ffprobe with Windows7

2018-11-22 Thread Michael Koch
Alternately, change your "Run ffprobe.bat" batchfile to this: @echo off c:\ffmpeg\ffprobe %1 pause The %1 takes the name of the filename you drag-and-drop onto the batchile icon, if running from the desktop, or type after the batchfile, if operating from the CLI. Then, drag your MP4 on to

Re: [FFmpeg-user] how to use ffprobe with Windows7

2018-11-22 Thread Michael Koch
Yes, open CMD,then drag and drop the batch file into the terminal window and press Enter. Or just run ffprobe directly in the terminal. I was looking for a faster solution, without having to write video's name and path into the batch file, or into the CMD window. Just drag and drop and then

[FFmpeg-user] how to use ffprobe with Windows7

2018-11-22 Thread Michael Koch
My question is how to use ffprobe on a Windows7 system. So far, I've used the following three step procedure: 1. create or edit a batch file which contains two lines:       c://ffmpeg/ffprobe myvideo.mp4       pause 2. save the batch file 3. start the batch file This works fine but it's time

Re: [FFmpeg-user] Non linear scaler?

2018-11-11 Thread Michael Koch
Am 11.11.2018 um 20:50 schrieb Balint Marton: Hi, Does ffmpeg has support for some kind of non linear scaling, e.g. scaling/steching the side of the picture more than the middle? have a look at the remap filter Michael ___ ffmpeg-user mailing

Re: [FFmpeg-user] ffmpeg generate the video from non-sequential images

2018-10-29 Thread Michael Koch
Could find no file with path 'res_%d.png' and index in the range 0-4 res_%d.png: No such file or directory So the filenames start from res_05.png till res_180.png but there are some files missing in between like res_13.png etc. Would that be a problem? The problem is that you have a

Re: [FFmpeg-user] Differences between ffmpeg and ffplay

2018-10-03 Thread Michael Koch
Am 03.10.2018 um 13:23 schrieb Paul B Mahol: On 10/3/18, Michael Koch wrote: Am 03.10.2018 um 12:28 schrieb DopeLabs: im not sure if windows has the ability to 'pipe' like a *nix system does.. but this works to pipe the output of ffmpeg to ffplay instead of a file.. hope this helps

Re: [FFmpeg-user] Differences between ffmpeg and ffplay

2018-10-03 Thread Michael Koch
s system. Michael -- ** ASTRO ELECTRONIC Dipl.-Ing. Michael Koch Raabestr. 43 37412 Herzberg www.astro-electronic.de Tel. +49 5521 854265

Re: [FFmpeg-user] Differences between ffmpeg and ffplay

2018-10-03 Thread Michael Koch
oh no, I don't want to learn a new command line syntax only to solve this simple problem. I have a long ffmpeg command line that's working fine when writing the output to a file. Is there really no easy way to send the output to the speakers instead? It is very easy syntax to learn, you can

[FFmpeg-user] Differences between ffmpeg and ffplay

2018-10-02 Thread Michael Koch
I'm still experimenting with the ultrasonic converter. Converting from one file to another file works without problems: C:\Users\mkoch\Desktop\Ultrasonic Live>c://ffmpeg/ffmpeg -i test_15kHz.mp3 -f la vfi -i aevalsrc="sin(12000*2*PI*t):c=stereo:s=44100" -filter_complex "[0]volume=

Re: [FFmpeg-user] Batch file to convert New Edit

2018-09-28 Thread Michael Koch
Am 28.09.2018 um 18:30 schrieb esikcalabr...@verizon.net: I believe I'm getting closer. It doesn't appear to get the 2nd variable. set /p filename="Enter Unconverted File Name: " set /p outputfilename="Enter Converted File Name: " CALL "C:\ffmpeg\bin\ffmpeg.exe" ffmpeg -i %filename%

Re: [FFmpeg-user] Batch file to convert

2018-09-28 Thread Michael Koch
Am 28.09.2018 um 15:20 schrieb esikcalabr...@verizon.net: Thank you Michael: Based on new information, I have revised the script with the following. It seems to be working a bit better; however, still not there yet. Below is the new script with output below: set /p filename = "Enter

Re: [FFmpeg-user] Batch file to convert

2018-09-28 Thread Michael Koch
e top line of the console window, then "select all", then "copy". Michael -- ** ASTRO ELECTRONIC Dipl.-Ing. Michael Koch Raabestr. 43 37412 Herzberg www.astro-electronic.de Tel. +49 552

Re: [FFmpeg-user] Batch file to convert

2018-09-27 Thread Michael Koch
Am 27.09.2018 um 22:45 schrieb esikcalabr...@verizon.net: Yes it is there. I can convert by command line but just can't get the batch to work. I replaced : with " and the screen flashed a 2nd command prompt flashed, closed and back to enter any key to continue. Nothing happened. please

Re: [FFmpeg-user] Batch file to convert

2018-09-27 Thread Michael Koch
Am 27.09.2018 um 22:30 schrieb Michael Koch: Am 27.09.2018 um 21:33 schrieb esikcalabr...@verizon.net: Any suggestions in a batch file which would take 2 user defined variables to convert an audio file?  I have drafted the below which so far does not work. echo off set /p filename

Re: [FFmpeg-user] Batch file to convert

2018-09-27 Thread Michael Koch
Am 27.09.2018 um 21:33 schrieb esikcalabr...@verizon.net: Any suggestions in a batch file which would take 2 user defined variables to convert an audio file? I have drafted the below which so far does not work. echo off set /p filename = "Enter Unconverted File Name: " set /p

Re: [FFmpeg-user] Multiply audio samples

2018-09-20 Thread Michael Koch
r_version   : 538247680     compatible_brands: qt  CAEP     com.apple.quicktime.make: Canon     com.apple.quicktime.model: Canon EOS 5D Mark IV     com.apple.quicktime.rating.user: 0.00     com.apple.quicktime.author: Michael Koch     creation_time   : 2018-09-14T18:20:37.00Z   Duration: 00:00:53.00, start: 0.

Re: [FFmpeg-user] Multiply audio samples

2018-09-16 Thread Michael Koch
Am 16.09.2018 um 22:25 schrieb Paul B Mahol: On 9/16/18, Michael Koch wrote: Filter inputs will be auto-converted from any non-float formats to float or double one. Float/double formats are in [-1 .. +1] interval. Thank you very much for the amultiply filter, it works great! Here

Re: [FFmpeg-user] Multiply audio samples

2018-09-16 Thread Michael Koch
Filter inputs will be auto-converted from any non-float formats to float or double one. Float/double formats are in [-1 .. +1] interval. Thank you very much for the amultiply filter, it works great! Here is an example for an ultrasonic converter which downconverts the 15kHz - 25kHz band to

Re: [FFmpeg-user] Multiply audio samples

2018-09-15 Thread Michael Koch
Am 15.09.2018 um 09:33 schrieb Gyan: On Sat, Sep 15, 2018 at 12:13 PM Michael Koch wrote: Which other filter can I use to convert the input to -1..+1 interval, and convert the output back to 16bit or 24bit interval? I saw that the multiply filter in sox has these normalizations already

Re: [FFmpeg-user] Multiply audio samples

2018-09-15 Thread Michael Koch
yes, two inputs and one output. I think it would be best if it works independant of bit depth. First normalize the input signals to -1...+1 range, then multiply them so that the result is also in the -1...+1 range, then normalize back to 16bit or 24bit range. It will internally work with

Re: [FFmpeg-user] Multiply audio samples

2018-09-12 Thread Michael Koch
Am 12.09.2018 um 09:55 schrieb Paul B Mahol: Hi, On 9/12/18, Michael Koch wrote: Is it possible to multiply audio samples from two sources? I'd like to downconvert the 15kHz to 25kHz range to the 0 to 10kHz range. First apply a strong 15kHz highpass filter, then multiply the signal

[FFmpeg-user] Multiply audio samples

2018-09-12 Thread Michael Koch
Is it possible to multiply audio samples from two sources? I'd like to downconvert the 15kHz to 25kHz range to the 0 to 10kHz range. First apply a strong 15kHz highpass filter, then multiply the signal with a 15kHz sine wave (which produces sum and difference signals), then apply a 10kHz

Re: [FFmpeg-user] Question regarding ffmpeg

2018-09-10 Thread Michael Koch
Am 10.09.2018 um 12:32 schrieb Vukan: I am merging an image sequence into a video using the following command: ffmpeg -f image2 -i "input\image%09d.png" -framerate 60 output.mp4 However, the framerate of the output video is always 25, no matter what I set as -framerate argument. What is going

Re: [FFmpeg-user] Audio delay doesn't work as expected

2018-08-27 Thread Michael Koch
Am 27.08.2018 um 15:00 schrieb Paul B Mahol: On 8/27/18, Michael Koch wrote: In the first example I have two identical 1kHz sine sources. The first source is delayed by 0.5ms (which means 180DEG phase shift), and then both channels are mixed. This works as expected, the result is silence

[FFmpeg-user] Audio delay doesn't work as expected

2018-08-27 Thread Michael Koch
In the first example I have two identical 1kHz sine sources. The first source is delayed by 0.5ms (which means 180° phase shift), and then both channels are mixed. This works as expected, the result is silence. ffmpeg -f lavfi -i sine=f=1000:d=5 -f lavfi -i sine=f=1000:d=5 -filter_complex

Re: [FFmpeg-user] Fade in filter and alpha channel fade in text

2018-08-13 Thread Michael Koch
Am 13.08.2018 um 10:08 schrieb Joshua Grauman: Hi all, I am combining various effects, and I noticed that when I fade in a video using the [in]fade=t=in:st=2:n=24[out] syntax, and I fade in text using alpha='if(lt(t,2),0,if(lt(t,3),t-2,1))', that they both fade in roughly at the same time,

Re: [FFmpeg-user] exponential decay, is it possible?

2018-08-07 Thread Michael Koch
Am 07.08.2018 um 09:54 schrieb Michael Koch: F:\xxx>c:/ffmpeg/ffmpeg -i temp%4d.jpg -vf lutyuv="y=0.9*val" -frames 10 -q:v 1 -start_number 1 temp%4d.jpg FFmpeg does not edit files in-place. Input and output have to be different. Let's assume I have a complex filter with s

Re: [FFmpeg-user] exponential decay, is it possible?

2018-08-07 Thread Michael Koch
F:\xxx>c:/ffmpeg/ffmpeg -i temp%4d.jpg -vf lutyuv="y=0.9*val" -frames 10 -q:v 1 -start_number 1 temp%4d.jpg FFmpeg does not edit files in-place. Input and output have to be different. Input and output are different. Input starts with number 0, and output starts with number 1.

Re: [FFmpeg-user] exponential decay, is it possible?

2018-08-06 Thread Michael Koch
luminance = 0.95 * luminance_in_last_frame;     // exponential decay I'm trying to do the following: Read image temp.jpg, set luminance to 90%, write as temp0001.jpg Read image temp0001.jpg, set luminance to 90%, write as temp0002.jpg and so on in an iterative process, until 10 images are

Re: [FFmpeg-user] exponential decay, is it possible?

2018-08-05 Thread Michael Koch
Every time when the input becomes brighter than the last output frame, the output is set to the input value. If input is below the last output value, then exponential decay. I have a timelapse video of the night sky with meteors. Each meteor is visible only in one frame. I'd like to make them

<    3   4   5   6   7   8   9   10   11   12   >