[FFmpeg-user] read in pictures in reverse order

2015-11-01 Thread Michael Koch
When making a video from many pictures, is it possible to read in the pictures in reverse order, beginning with the last picture? If this is not possible, how can I rename the pictures automatically to bring them in reverse order? Thanks, Michael

[FFmpeg-user] acv file for curves filter

2015-11-02 Thread Michael Koch
from GIMP ? Thanks, Michael -- ** ASTRO ELECTRONIC Dipl.-Ing. Michael Koch Raabestr. 43 37412 Herzberg www.astro-electronic.de Tel. +49 5521 854265

Re: [FFmpeg-user] acv file for curves filter

2015-11-02 Thread Michael Koch
Michael, please stop "highjacking" threads. You are replying to emails in the thread and changing the subject. This will a) make your emails appear under other thread topics, and b) be seen as impolite. Sorry, that wasn't intended. I've sent it again as a new email. I hope it's correct now.

[FFmpeg-user] scaling algorithms

2015-10-17 Thread Michael Koch
al’ Select experimental scaling algorithm. Wow, that sounds interesting, but what does it do? Thanks, Michael -- ** ASTRO ELECTRONIC Dipl.-Ing. Michael Koch Raabestr. 43 37412 Herzberg www.astro-electronic.de

Re: [FFmpeg-user] scaling algorithms

2015-10-17 Thread Michael Koch
> That looks like the job for the filter, see inflate, deflate, erosion and dilation filters. I just tested the dilation filter. It's a nice workaround if the downscaling factor is 3:1, as in my example. But if the downscaling factor is smaller, for example from 5472x3648 to 900x600, which is

[FFmpeg-user] expression in drawtext / text

2015-11-14 Thread Michael Koch
Hi, I'm making a timelapse video from many JPG pictures, and I'd like to use drawtext to print the time in each picture. Let's assume the pictures were taken with 5 seconds interval. The following command works almost as expected and prints the seconds modulo 60: text=%%{e\:mod(5*n,60)}

Re: [FFmpeg-user] expression in drawtext / text

2015-11-14 Thread Michael Koch
60,60)\:'d'\:2}"\:"%%{eif\:mod(%S%+%I%*n,60)\:'d'\:2}:fontcolor=%COLOR%:boxcolor=%BOXCOLOR%:box=1:fontsize=%SIZE%:x=%POSITION_X%:y=%POSITION_Y%' Michael -- ** ASTRO ELECTRONIC Dipl.-Ing. Michael Koch Raabestr

Re: [FFmpeg-user] drawtext with dynamic fontcolor

2015-09-24 Thread Michael Koch
Am 24.09.2015 um 19:16 schrieb chandra sheker: Hi Michael, you can use this command. ffmpeg -i temp.mp4 -filter_complex "[0:v]drawtext=fontfile=arial.ttf: text='TEST': fontcolor=#00@0.40: fontsize=200" -codec:v mpeg4 out.mp4 ​The transparency 40% (fontcolor=#00@0.40)​ ​Chandu​ Hi

[FFmpeg-user] drawtext with dynamic fontcolor

2015-09-24 Thread Michael Koch
Hello all, I'm new to this list and have a question about drawtext with dynamic fontcolor. The first example doesn't contain dynamic fontcolor and is working as expected. It superimposes some text over the video with black color and 25% transparency: ffmpeg -i temp.mp4 ^ -vf

Re: [FFmpeg-user] New user want to use ffmpeg in asp.net

2015-12-17 Thread Michael Koch
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 http://ffmpeg.org

Re: [FFmpeg-user] timelapse framerates

2015-12-29 Thread Michael Koch
ffmpeg -framerate 25 -start_number 1 -i IMG_%4d.jpg -codec:v mpeg4 output.mp4 Please understand that you are expected to always post your command line including the complete, uncut console output on this mailing list. The above command line does exactly what it's supposed to do. Let's assume I

Re: [FFmpeg-user] flame about confusing command line options.

2016-01-05 Thread Michael Koch
As mentioned, documentation improvements are *always* welcome. I agree with Roger that for a beginner FFmpeg's documentation leaves many questions unanswered. It would be great to have more details and especially more examples in the documentation. Many questions are answered in this user

Re: [FFmpeg-user] flame about confusing command line options.

2016-01-05 Thread Michael Koch
For example, Harald Reindl just wrote: "and when you specify something twice the right one wins" Is this already in the FFmpeg documentation? that's common sense for you, but not for a beginner. Michael ___ ffmpeg-user mailing list

Re: [FFmpeg-user] flame about confusing command line options.

2016-01-05 Thread Michael Koch
What part of this mailing list thread is not documented in your opinion? For example, Harald Reindl just wrote: "and when you specify something twice the right one wins" Is this already in the FFmpeg documentation? Michael ___ ffmpeg-user mailing

Re: [FFmpeg-user] flame about confusing command line options.

2016-01-05 Thread Michael Koch
well, then i ask the question different "--width=600 --width=300" - what would you expect? before I saw your answer, it was unclear to me if it's 300 or 600. Michael ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

Re: [FFmpeg-user] timelapse framerates

2015-12-29 Thread Michael Koch
I have 250 input pictures. With framerate 25, the video length is 10 seconds. Related question: Can ffmpeg make a video faster or slower, while keeping the framerate the same as before? Michael -- ** ASTRO ELECTRONIC Dipl.-Ing. Michael Koch

[FFmpeg-user] timelapse framerates

2015-12-29 Thread Michael Koch
Hi all, I have a few questions about making timelapse videos from many pictures. The following command makes a video with framerate 25 and works as expected: ffmpeg -framerate 25 -start_number 123 -i IMG_%4d.jpg -codec:v mpeg4 output.mp4 My questions: 1. Is it possible to make a video with

[FFmpeg-user] deep zoom-in

2016-02-04 Thread Michael Koch
Hi all, I'd like to make a deep zoom-in from several images. For example, begin with image1 (which was taken with a 50mm objective) and use the zoompan filter to make a 5 seconds zoom-in from 1x to 4x, then use image2 (taken with a 200mm objective) and continue to zoom in, and so on. There

Re: [FFmpeg-user] deep zoom-in

2016-02-06 Thread Michael Koch
Paul, Something like this: zoompan=zoom='if(mod(in\,40)\,zoom\,0)+0.01':d=40:x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)' thank you very much for this hint. The _in_ parameter does indeed work. With this parameter it's for example possible to make a slideshow and specify different durations

Re: [FFmpeg-user] deep zoom-in

2016-02-07 Thread Michael Koch
2. It would be nice to have an expression for a lookup table, for example lookup(x, y0, y1, y2, ... , z) Evaluate x, and if the result is 0 return y0, if the result is 1 return y1, and so on, else if the result is out of range return z. I found a workaround for a lookup table. The

Re: [FFmpeg-user] alternating two images

2016-02-12 Thread Michael Koch
ffmpeg -r 1 -loop 1 -i cherry-left.jpg -r 1 -loop 1 -i cherry-right.jpg -lavfi [0:v]setpts=N*2[a],[1:v]setpts=N*2+1[b],[a][b]interleave /tmp/o.nut I didn't understand the meaning of the output path, but finally I got it working after I replaced /tmp/o.nut by -t 10 -r 4 test.mp4 Thanks,

[FFmpeg-user] lenscorrection and vignette filters

2016-02-02 Thread Michael Koch
Hi all, I found a bug in the documentation of the lenscorrection filter: https://www.ffmpeg.org/ffmpeg-all.html#lenscorrection It's written there "0.5 means no correction" for the coefficients k1 and k2. This can't be right, or the formula is wrong. It's obvious that the formula makes no

Re: [FFmpeg-user] lenscorrection and vignette filters

2016-02-24 Thread Michael Koch
Please consider sending a patch that updates the documentation. I recommend to make the following changes in chapter 38.73.1: The filter accepts the following options: cx Relative x-coordinate of the center of the distortion. This value has a range [0,1] and is expressed as fractions

Re: [FFmpeg-user] lenscorrection and vignette filters

2016-02-23 Thread Michael Koch
Am 23.02.2016 um 10:00 schrieb Michael Koch: I found a bug in the documentation of the lenscorrection filter: https://www.ffmpeg.org/ffmpeg-all.html#lenscorrection It's written there "0.5 means no correction" for the coefficients k1 and k2. This can't be right, or the formula is w

Re: [FFmpeg-user] lenscorrection and vignette filters

2016-02-23 Thread Michael Koch
Am 23.02.2016 um 18:51 schrieb Michael Koch: r_src is the radial coordinate in object space. r_tgt is the radial coordinate in the image, which was taken with a distorted lens. Sorry, I confused these two. This is correct: r_tgt is the radial coordinate in object space. r_src is the radial

[FFmpeg-user] Suggestion for improvement, Video in reverse order

2016-01-22 Thread Michael Koch
Hi all, I'd like to make a suggestion for improvement. It's easy to make a video from many pictures, but it's difficult to make a video which runs in reverse order. I propose a new parameter "-number_decrease" which tells ffmpeg to decrease the file number, instead of increasing it.

Re: [FFmpeg-user] ffmpeg for creting video from images

2016-01-27 Thread Michael Koch
Am 27.01.2016 um 13:21 schrieb pra...@devrepublic.nl: Hi Carl, I am running this command ffmpeg -framerate 1/5 -pattern_type glob -i '/home/devprj01/domains/devrepublic-projects.nl/public_html/development/houseview2/uploads/projects/52/images/temp/*.jpg' -i

Re: [FFmpeg-user] ffmpeg for creting video from images

2016-01-27 Thread Michael Koch
second. Michael -- ** ASTRO ELECTRONIC Dipl.-Ing. Michael Koch Raabestr. 43 37412 Herzberg www.astro-electronic.de Tel. +49 5521 854265 Fax +49 5521 854266

Re: [FFmpeg-user] Convert gif to mp4 using ffmpeg

2016-03-10 Thread Michael Koch
Thanks for advice, I've tried running the following command, but I get an error as follows: ./ffmpeg -framerate 25 -pattern_type glob -i /root/video-source/gif/yeay.gif /root/video-source/gif/outgif/outyeay.mp4 Do you have many gif images, or do you have one animated gif? The answer from

Re: [FFmpeg-user] fun with windows cmd and ffmpeg wildcards

2016-05-17 Thread Michael Koch
Great, I thought, and since I will need a days worth of pictures (1 every minute gives 1440 pictures) I'll rename them 0601.jpg to 1200.jpg and try ffmpeg.exe -r 30 -i C:\Users\kostas\Documents\cams\timelapse\test2\%04d.jpg timelapse9.mp4 You forgot to specify -start_number 601 Michael

Re: [FFmpeg-user] Overlay fails in the middle of the video

2017-11-14 Thread Michael Koch
> OT: Cool photos! Michael, what lens did you use? An 8mm? If you don't mind me asking. yes, Canon EF 8-15mm at 8mm. I'm making a timelapse in the wood over a full year. > If you wanted to convert it back this could work? > $ ffmpeg -i IMG_044.JPG -pix_fmt yuvj422p IMG_044-yuvj422p.JPG

[FFmpeg-user] Feature request: -number_range

2017-11-25 Thread Michael Koch
The option "-start_number_range" is only used when searching for the first image of a sequence. I propose to add a new option "-number_range" that specifies the number of trials if the next image in a sequence isn't found. For example, when making a timelapse from hundreds of images, it may be

Re: [FFmpeg-user] remap filter gives only black and white output

2017-11-22 Thread Michael Koch
> That should not be necessary, assuming you are not on aixor sparc64. Is something wrong with the Zeranoe builds? The latest version from Zeranoe (downloaded today) has the same problem, black and white output if used without the format filter. F:\xxx\xxx>c:/ffmpeg/ffmpeg -i in.mp4 -i

Re: [FFmpeg-user] remap filter gives only black and white output

2017-11-22 Thread Michael Koch
I also tested the fisheye_grid_xmap.pgm and fisheye_grid_ymap.pgm files which can be downloaded from the Wiki page: https://trac.ffmpeg.org/wiki/RemapFilter Same problem, the output is black and white. So I think it's not a problem of my own map files. Michael F:\xxx\xxx>c:/ffmpeg/ffmpeg -i

Re: [FFmpeg-user] Subscription to mailing list doesn't work

2017-11-14 Thread Michael Koch
> I will contact them to be removed from the blacklist/blocklist. Thank you very much. It's working now. Michael ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or

Re: [FFmpeg-user] question about displace filter

2017-11-18 Thread Michael Koch
Perhaps you could try remap filter? Unfortunately the remap filter has so few documentation. No examples at all. Is it possible to create the Xmap and Ymap files with ffmpeg? Michael ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

Re: [FFmpeg-user] question about displace filter

2017-11-18 Thread Michael Koch
One just substract each possible value with 128 and now you have [-128, 127]. Thanks for your fast answer. That should be added to the documentation! Michael ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

[FFmpeg-user] question about displace filter

2017-11-18 Thread Michael Koch
In the documentation for the displace filter is written: "The second input specifies how much to displace pixels along the x-axis, ..." If I understand this right, a video input file is "misused" for storing the displacement (instead of brightness). Does that mean that only positive

Re: [FFmpeg-user] question about displace filter

2017-11-18 Thread Michael Koch
One just substract each possible value with 128 and now you have [-128, 127]. The range is too small for my purpose. Is it possible to create 16 bit displacements? Michael ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

Re: [FFmpeg-user] question about displace filter

2017-11-18 Thread Michael Koch
> Yes, with geq filter. Remap filter documentation is on FFmpeg wiki. I can't find an example how to make the Xmap and Ymap files with ffmpeg. In the wiki the files are made with a C program which is difficult to understand. https://trac.ffmpeg.org/wiki/RemapFilter This example is from the

Re: [FFmpeg-user] question about displace filter

2017-11-19 Thread Michael Koch
Finally I found a solution how to make curved text for a fulldome video. It's awfully slow because in the geq filter the same calculations are made for each frame again and again. But it works. Below is the Windows batch file. Most probably the remap filter would make this process much faster,

Re: [FFmpeg-user] remap filter gives only black and white output

2017-11-21 Thread Michael Koch
Sounds like a bug: Do you have pgm files that provide "identity" output? I did just make these files with my C# program. The output video is a black and white copy of the input. Michael ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

Re: [FFmpeg-user] remap filter gives only black and white output

2017-11-21 Thread Michael Koch
> Can you provide them? "identity" maps for size 1000x1000 http://www.astro-electronic.de/xmap_1000.pgm http://www.astro-electronic.de/ymap_1000.pgm Michael ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

[FFmpeg-user] remap filter gives only black and white output

2017-11-21 Thread Michael Koch
I've written a C# program to create my own xmap and ymap files for the remap filter. The geometric distortion in the output video looks as expected. But why is the output only black and white? I've tested two different input videos with the same result. No colors in the output. The console

Re: [FFmpeg-user] remap filter gives only black and white output

2017-11-21 Thread Michael Koch
> Workaround is probably to use the format filter. yes, that works. -lavfi "format=pix_fmts=rgb24,remap" Thanks, Michael ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link

Re: [FFmpeg-user] remap filter gives only black and white output

2017-11-21 Thread Michael Koch
Do you see the same behaviour with current FFmpeg git head? sorry, I can't compile ffmpeg myself, that's too difficult for me. Michael ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To

Re: [FFmpeg-user] Overlay fails in the middle of the video

2017-11-13 Thread Michael Koch
I would guess that at this point (which corresponds to your 4..5 seconds), something is different about the JPEG images. You are totally right. I just found out that it's only one image that produces the problem. This is one of the good images. It's a HDR image from a Canon 6D:

[FFmpeg-user] Subscription to mailing list doesn't work

2017-11-13 Thread Michael Koch
During the last 2 or 3 weeks I did several times try to subscribe to this mailing list, without success. After I entered my email address, name and password, this message is shown: "Your subscription request has been received, and will soon be acted upon. Depending on the configuration of this

Re: [FFmpeg-user] Overlay fails in the middle of the video

2017-11-13 Thread Michael Koch
> Can you reproduce the issue if you recreate the 145 jpg images with ffmpeg using testsrc2? I did make 145 images with this command line and could not reproduce the problem with these images. Also I have several other sets of images, some do show this problem and some do not. But I don't

[FFmpeg-user] Overlay fails in the middle of the video

2017-11-12 Thread Michael Koch
Hi all, I'm trying to make a timelapse video from 145 images, which must first be cropped to quadratic size and then a circular mask must be overlaid. The overlay comes from a PNG image (black border with transparent circle). The video looks good in the first 4 or 5 seconds, but then the

[FFmpeg-user] slideshow with crossfade

2017-11-05 Thread Michael Koch
I just figured out how to make a slideshow with crossfade. It's a two step process. The first step reads the pictures with framerate 0.5 (which means 2 seconds for each picture), and produces an intermediate video with framerate 2. That means each picture is repeated 4 times. The second step

Re: [FFmpeg-user] slideshow with crossfade

2017-11-06 Thread Michael Koch
/ffmpeg -framerate 0.5 -i IMG_%3d.jpg -r 2 -codec:v mpeg4 temp.mp4 />>/ffmpeg -i temp.mp4 -vf "framerate=fps=25" -codec:v mpeg4 out.mp4 / You should be able to combine the command lines using the fps filter. I did already try that, but unfortunately it doesn't work. I did try this command

Re: [FFmpeg-user] slideshow with crossfade

2017-11-07 Thread Michael Koch
> Complete, uncut console output for the working and the failing case missing. This is the console output for the working case (first zoompan filter, then framerate filter): F:\xxx\Test_Crossfade>c:/ffmpeg/ffmpeg -i IMG_%3d.jpg -vf zoompan=d= 4:s=5472x3648:fps=2,framerate=25 -c:v mpeg4 -q:v

Re: [FFmpeg-user] slideshow with crossfade

2017-11-07 Thread Michael Koch
Let me explain again what I want to do. I have 5 pictures: 1, 2, 3, 4, 5 I want to read these pictures with framerate 0.5 and then convert the framerate to 2, so that each picture is repeated 4 times: 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5 As the last step I want to make the

Re: [FFmpeg-user] loop over a sequence of images again and again

2017-12-05 Thread Michael Koch
Have a look at the image2 demuxer and its "-loop" option. "-loop 1" should also work for the concat demuxer, which takes a list of input files (instead of following a pattern). That's exactly what I need. Thank you very much! Michael ___

[FFmpeg-user] loop over a sequence of images again and again

2017-12-05 Thread Michael Koch
Let's assume I have a sequence of 100 images. Is it possible to let ffmpeg loop over this input sequence again and again? I mean the input should be 0, 1, 2, ... , 99, 0, 1, 2, ... , 99, 0, 1, 2  and so on. Is this possible? Thanks, Michael ___

Re: [FFmpeg-user] Bulge warp using ffmpeg

2018-07-28 Thread Michael Koch
Am 28.07.2018 um 21:11 schrieb Anmol Mishra: Is there a plugin for ffmpeg that allows for a bulge warp in y-axis only ? yes, please have a look at the remap filter. Michael ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

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

2018-08-05 Thread Michael Koch
I'd like to ask if it's possible to make an exponential decay effect with FFmpeg. Let's assume a pixel is fashing to luminance = 1 in just one frame. Then in the output video I'd like to have the pixel flashing to 1 immediately, followed by an exponential decay with a time constant of a few

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

2018-08-05 Thread Michael Koch
Am 05.08.2018 um 15:42 schrieb Gyan Doshi: On 05-08-2018 06:41 PM, Michael Koch wrote: I'd like to ask if it's possible to make an exponential decay effect with FFmpeg. Let's assume a pixel is fashing to luminance = 1 in just one frame. Then in the output video I'd like to have the pixel

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

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

Re: [FFmpeg-user] repeat first and last frame of a video

2018-08-01 Thread Michael Koch
Repeat the first frame of a video 100 times (with the same framerate as the video), then copy the video, then repeat the last frame 100 times? If you mean to copy video without generally losing quality than answer is no. Otherwise you can use loop video filter. The loop video filter

[FFmpeg-user] repeat first and last frame of a video

2018-08-01 Thread Michael Koch
Hi, is it possible to do the following with ffmpeg? Repeat the first frame of a video 100 times (with the same framerate as the video), then copy the video, then repeat the last frame 100 times? Thanks, Michael ___ ffmpeg-user mailing list

Re: [FFmpeg-user] repeat first and last frame of a video

2018-08-01 Thread Michael Koch
Repeat the first frame of a video 100 times (with the same framerate as the video), then copy the video, then repeat the last frame 100 times? If you mean to copy video without generally losing quality than answer is no. Otherwise you can use loop video filter. The loop video filter

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

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

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

[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

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

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

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

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

[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

  1   2   3   4   5   6   7   8   >