Re: [FFmpeg-user] repair black frames?

2020-10-25 Thread Michael Koch
Am 25.10.2020 um 16:23 schrieb Simon Roberts: Greetings all, I have just noticed that some of my video recordings have a few random black frames in them. These will be spaced out a few minutes, don't seem to have any obvious cause (though my recording system is a little Heath Robinson / Rube

Re: [FFmpeg-user] Problem in v360?

2020-10-25 Thread Michael Koch
Am 25.10.2020 um 09:05 schrieb Michael Koch: Am 25.10.2020 um 03:02 schrieb Edward Park: Hi, After a deeper look into the quaternion multiplication, it seems to be correct. The terms are only written in a different order in the Wikipedia article. But it's a fact that the v360 rotations

Re: [FFmpeg-user] Problem in v360?

2020-10-25 Thread Michael Koch
Am 25.10.2020 um 03:02 schrieb Edward Park: Hi, After a deeper look into the quaternion multiplication, it seems to be correct. The terms are only written in a different order in the Wikipedia article. But it's a fact that the v360 rotations are broken, as can be shown by this simple test:

Re: [FFmpeg-user] Problem in v360?

2020-10-24 Thread Michael Koch
Am 24.10.2020 um 11:03 schrieb Michael Koch: Am 23.10.2020 um 18:46 schrieb Michael Koch: Am 23.10.2020 um 17:19 schrieb Michael Koch: Hello, It seems there is a problem in the v360 filter. This command line doesn't rotate the correct point to the image center. The default rotation order

Re: [FFmpeg-user] Problem in v360?

2020-10-24 Thread Michael Koch
Am 23.10.2020 um 18:46 schrieb Michael Koch: Am 23.10.2020 um 17:19 schrieb Michael Koch: Hello, It seems there is a problem in the v360 filter. This command line doesn't rotate the correct point to the image center. The default rotation order should be yaw pitch roll, which means after

Re: [FFmpeg-user] Problem in v360?

2020-10-23 Thread Michael Koch
Am 23.10.2020 um 17:19 schrieb Michael Koch: Hello, It seems there is a problem in the v360 filter. This command line doesn't rotate the correct point to the image center. The default rotation order should be yaw pitch roll, which means after the rotation the point with azimut 180

[FFmpeg-user] Problem in v360?

2020-10-23 Thread Michael Koch
Hello, It seems there is a problem in the v360 filter. This command line doesn't rotate the correct point to the image center. The default rotation order should be yaw pitch roll, which means after the rotation the point with azimut 180° and height +45° should be in the center. It is nearby,

Re: [FFmpeg-user] afreqshift

2020-10-21 Thread Michael Koch
Am 21.10.2020 um 21:02 schrieb Michael Koch: Am 21.10.2020 um 20:36 schrieb Paul B Mahol: On Wed, Oct 21, 2020 at 08:14:50PM +0200, Michael Koch wrote: Hi, I'm just testing the new afreqshift filter. In my first test I did use only *.wav audio files. This test was successful. In my next

Re: [FFmpeg-user] afreqshift

2020-10-21 Thread Michael Koch
Am 21.10.2020 um 20:36 schrieb Paul B Mahol: On Wed, Oct 21, 2020 at 08:14:50PM +0200, Michael Koch wrote: Hi, I'm just testing the new afreqshift filter. In my first test I did use only *.wav audio files. This test was successful. In my next test I'm using MP4 files. First I make a test

[FFmpeg-user] afreqshift

2020-10-21 Thread Michael Koch
Hi, I'm just testing the new afreqshift filter. In my first test I did use only *.wav audio files. This test was successful. In my next test I'm using MP4 files. First I make a test video with a 5kHz tone: ffmpeg -f lavfi -i sine=f=5000:r=48000:d=5 -f lavfi -i color=black -lavfi

Re: [FFmpeg-user] Converting text to video for dictation

2020-10-20 Thread Michael Koch
Am 20.10.2020 um 06:46 schrieb John B Morris: Hello all, typography effects based video So that one is basically what I'm looking to do with ffmpeg - turn a subtitle file (of any type) into a transparent backgrounded (?) video for use in my video editor to combine the necessary contents

[FFmpeg-user] find_rect, suggestion for improvement

2020-10-19 Thread Michael Koch
Hello, I'd like to propose an improvement for the find_rect filter. In my application the object is quite small (10x10 pixels) and slowly moving over half of the image size. I did already narrow down the search area with the xmin, xmax, ymin, ymax options, and I did optimize the threshold

Re: [FFmpeg-user] DNG images

2020-10-13 Thread Michael Koch
Am 11.10.2020 um 21:07 schrieb Michael Koch: Am 11.10.2020 um 20:56 schrieb Paul B Mahol: On Sun, Oct 11, 2020 at 07:37:25PM +0200, Michael Koch wrote: I tested all 4 DNG images again with the latest FFmpeg version (Gyan's build from today). I tested with and without zscale filter. All tests

Re: [FFmpeg-user] DNG images

2020-10-11 Thread Michael Koch
Am 11.10.2020 um 20:56 schrieb Paul B Mahol: On Sun, Oct 11, 2020 at 07:37:25PM +0200, Michael Koch wrote: I tested all 4 DNG images again with the latest FFmpeg version (Gyan's build from today). I tested with and without zscale filter. All tests failed. When testing with IrfanView, all DNG

Re: [FFmpeg-user] V360 stabilization

2020-10-11 Thread Michael Koch
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, extract two small images which are 90° apart in the input video. I call them

[FFmpeg-user] DNG images

2020-10-11 Thread Michael Koch
I tested all 4 DNG images again with the latest FFmpeg version (Gyan's build from today). I tested with and without zscale filter. All tests failed. When testing with IrfanView, all DNG input images seem to be ok. Test 1: Images from

Re: [FFmpeg-user] Glossary: Nyquist

2020-10-03 Thread Michael Koch
Am 03.10.2020 um 22:43 schrieb Mark Filipak (ffmpeg): On 10/03/2020 02:05 PM, Anatoly wrote: On Sat, 3 Oct 2020 11:05:03 -0400 -snip- You should learn than what spectrum is. Oh, please. Be easy with me. I'm just a simple electrical engineer. And how any complex waveform (with it's

Re: [FFmpeg-user] V360 stabilization

2020-10-03 Thread Michael Koch
Am 03.10.2020 um 13:25 schrieb Paul B Mahol: On Sat, Oct 03, 2020 at 08:27:20AM +0200, Michael Koch wrote: Use correct player like mpv, which does not ignore color_trc. A player? The output is a jpg image and it's too dark. Yes, player, ffmpeg is not correct in conversion. Because swscale

Re: [FFmpeg-user] V360 stabilization

2020-10-03 Thread Michael Koch
Use correct player like mpv, which does not ignore color_trc. A player? The output is a jpg image and it's too dark. Yes, player, ffmpeg is not correct in conversion. Because swscale is old and ignores color_trc metadata that is required for correct display. Use zscale instead for converting

Re: [FFmpeg-user] V360 stabilization

2020-10-02 Thread Michael Koch
Am 02.10.2020 um 22:01 schrieb Paul B Mahol: Use correct player like mpv, which does not ignore color_trc. A player? The output is a jpg image and it's too dark. Yes, player, ffmpeg is not correct in conversion. Because swscale is old and ignores color_trc metadata that is required for

Re: [FFmpeg-user] V360 stabilization

2020-10-02 Thread Michael Koch
Am 02.10.2020 um 10:10 schrieb Paul B Mahol: On Thu, Oct 01, 2020 at 11:40:57PM +0200, Michael Koch wrote: Am 01.10.2020 um 22:11 schrieb Paul B Mahol: On Tue, Sep 29, 2020 at 10:54:54PM +0200, Michael Koch wrote: Hello all, I've programmed a C# workaround for stabilization of 360° videos

Re: [FFmpeg-user] V360 stabilization

2020-10-01 Thread Michael Koch
Am 01.10.2020 um 22:11 schrieb Paul B Mahol: On Tue, Sep 29, 2020 at 10:54:54PM +0200, Michael Koch wrote: 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, extract two small

Re: [FFmpeg-user] slow motion by changing frame rate from 60 to 30

2020-10-01 Thread Michael Koch
Am 01.10.2020 um 16:57 schrieb Cristian Secară: I want to make a short .mp4 clip filmed in 1080p/60 format, then change somehow the playing fame rate to 30Hz so that the playing speed becomes twice slower. Audio is not important (may be dropped completely). As far as I know (?), a "simple"

Re: [FFmpeg-user] HIGHPASS FILTER AND ID£ METADATA

2020-10-01 Thread Michael Koch
Am 01.10.2020 um 14:06 schrieb Michael Koch: Am 01.10.2020 um 13:25 schrieb Marco Mircoli: Hello', I'm a newbie. Just bought a php script that use ffmpeg. it converts to mp3/96Kbps all media uploaded in a unique format. this is the line, and now it normalizes to R128 (thanks Moritz

Re: [FFmpeg-user] HIGHPASS FILTER AND ID£ METADATA

2020-10-01 Thread Michael Koch
Am 01.10.2020 um 13:25 schrieb Marco Mircoli: Hello', I'm a newbie. Just bought a php script that use ffmpeg. it converts to mp3/96Kbps all media uploaded in a unique format. this is the line, and now it normalizes to R128 (thanks Moritz) $shell = shell_exec("$ffmpeg_b -i

[FFmpeg-user] V360 stabilization

2020-09-29 Thread 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, extract two small images which are 90° apart in the input video. I call them A and B images. 2. C# code: Analyze the x

Re: [FFmpeg-user] should I shoot the dog?

2020-09-29 Thread Michael Koch
Am 29.09.2020 um 16:26 schrieb Mark Filipak (ffmpeg): On 09/29/2020 09:37 AM, Michael Koch wrote: Am 29.09.2020 um 14:58 schrieb Mark Filipak (ffmpeg): On 09/29/2020 04:06 AM, Michael Koch wrote: Am 29.09.2020 um 04:28 schrieb Mark Filipak (ffmpeg): I just want to understand the frame

Re: [FFmpeg-user] should I shoot the dog?

2020-09-29 Thread Michael Koch
Am 29.09.2020 um 14:58 schrieb Mark Filipak (ffmpeg): On 09/29/2020 04:06 AM, Michael Koch wrote: Am 29.09.2020 um 04:28 schrieb Mark Filipak (ffmpeg): I just want to understand the frame structures that ffmpeg creates, and that ffmpeg uses in processing and filtering. Are Y, Cb, Cr

Re: [FFmpeg-user] should I shoot the dog?

2020-09-29 Thread Michael Koch
Am 29.09.2020 um 04:28 schrieb Mark Filipak (ffmpeg): I just want to understand the frame structures that ffmpeg creates, and that ffmpeg uses in processing and filtering. Are Y, Cb, Cr separate buffers? That would be logical. Or are the Y, Cb, Cr values combined and organized similarly to

Re: [FFmpeg-user] cover_rect without find_rect?

2020-09-26 Thread Michael Koch
Am 26.09.2020 um 13:02 schrieb Michael Koch: Hello, is it possible to use the cover_rect filter without using the find_rect filter? I don't want to use find_rect because I already know the coordinates and size of the object to be covered. Or is there another filter for covering an object

[FFmpeg-user] cover_rect without find_rect?

2020-09-26 Thread Michael Koch
Hello, is it possible to use the cover_rect filter without using the find_rect filter? I don't want to use find_rect because I already know the coordinates and size of the object to be covered. Or is there another filter for covering an object with "blur" mode, using interpolation from the

Re: [FFmpeg-user] chroma colour

2020-09-24 Thread Michael Koch
Am 24.09.2020 um 14:52 schrieb Paul Bourke: Also, I really dunno why people keep using remap filter with its only available neighbour pixel interpolator. Yeah, not ideal. I don't use it for images, I have my own solution for that with supersampling antialising. But for movie conversion, what

Re: [FFmpeg-user] chroma colour

2020-09-24 Thread Michael Koch
Am 24.09.2020 um 14:30 schrieb Paul Bourke: Hmmm ffmpeg -i Ajanta_cave26b.jpg -i x.pgm -i y.pgm -lavfi remap=fill=green a.png I get [Parsed_remap_0 @ 0x7fd6cac05200] Option 'fill' not found [AVFilterGraph @ 0x7fd6cae1c5c0] Error initializing filter 'remap' with args 'fill=green' Error

Re: [FFmpeg-user] chroma colour

2020-09-24 Thread Michael Koch
Am 24.09.2020 um 13:50 schrieb Paul Bourke: How do I change the colour actually used as the chromakey colour? I am creating remap filters to do various image mappings and would like undefined pixels to be black rather than green. Apologies in advance if I simply didn't search the documentation

Re: [FFmpeg-user] Create a 10-bit VLog test video

2020-09-20 Thread Michael Koch
Am 20.09.2020 um 15:19 schrieb Michael Koch: Am 19.09.2020 um 17:01 schrieb Paul B Mahol: On Sat, Sep 19, 2020 at 12:10 PM Michael Koch wrote: Hello all, I want to create a 10-bit VLog test video which contains 18 levels of gray, according to Panasonic's VLog curve. The curve is documented

Re: [FFmpeg-user] Create a 10-bit VLog test video

2020-09-20 Thread Michael Koch
Am 19.09.2020 um 15:06 schrieb Mick Finn: Does vlc even support 10 bit playback on supported monitors? I have 10 bit calibrated monitor and don’t notice the same difference with vlc as with say resolve I don't have a 10-bit monitor. I'm assuming that FFplay or VLC do automatically convert

Re: [FFmpeg-user] Create a 10-bit VLog test video

2020-09-20 Thread Michael Koch
Am 19.09.2020 um 17:01 schrieb Paul B Mahol: On Sat, Sep 19, 2020 at 12:10 PM Michael Koch wrote: Hello all, I want to create a 10-bit VLog test video which contains 18 levels of gray, according to Panasonic's VLog curve. The curve is documented here: https://pro-av.panasonic.net/en

[FFmpeg-user] Create a 10-bit VLog test video

2020-09-19 Thread Michael Koch
Hello all, I want to create a 10-bit VLog test video which contains 18 levels of gray, according to Panasonic's VLog curve. The curve is documented here: https://pro-av.panasonic.net/en/cinema_camera_varicam_eva/support/pdf/VARICAM_V-Log_V-Gamut.pdf I want the leftmost bar to be black (128)

Re: [FFmpeg-user] Question about -noauto_conversion_filters

2020-09-14 Thread Michael Koch
Am 14.09.2020 um 13:24 schrieb Gyan Doshi: On 14-09-2020 03:41 pm, Michael Koch wrote: Am 14.09.2020 um 11:26 schrieb Gyan Doshi: On 14-09-2020 02:47 pm, Michael Koch wrote: ffmpeg -v verbose -f lavfi -i testsrc2=s=svga:d=5,format=yuv422p10le -vf format=rgb48le,lut3d="VLog_to_V709

Re: [FFmpeg-user] Question about -noauto_conversion_filters

2020-09-14 Thread Michael Koch
Am 14.09.2020 um 11:26 schrieb Gyan Doshi: On 14-09-2020 02:47 pm, Michael Koch wrote: ffmpeg -v verbose -f lavfi -i testsrc2=s=svga:d=5,format=yuv422p10le -vf format=rgb48le,lut3d="VLog_to_V709.cube",format=yuv422p10le -noauto_conversion_filters -pix_fmt yuv422p10le -c:v h264

Re: [FFmpeg-user] Question about -noauto_conversion_filters

2020-09-14 Thread Michael Koch
Am 13.09.2020 um 20:18 schrieb Michael Koch: Hello all, I'm just testing the new -noauto_conversion_filters option. As the first step, I'm running this command line (without the new option): ffmpeg -v verbose -f lavfi -i testsrc2=s=svga:d=5,format=yuv422p10le -vf lut3d="VLog_to_V709

[FFmpeg-user] Question about -noauto_conversion_filters

2020-09-13 Thread Michael Koch
Hello all, I'm just testing the new -noauto_conversion_filters option. As the first step, I'm running this command line (without the new option): ffmpeg -v verbose -f lavfi -i testsrc2=s=svga:d=5,format=yuv422p10le -vf lut3d="VLog_to_V709.cube" -pix_fmt yuv422p10le -c:v h264 -y out.mov This

Re: [FFmpeg-user] Pixel format: default and filter?

2020-09-13 Thread Michael Koch
Am 13.09.2020 um 17:27 schrieb amin...@mailbox.org: On Sun, Sep 13, 2020 at 07:06:56AM -0400, Edward Park wrote: Hi, ffprobe now reports out.mov being yuv420p. Is this an implicit conversion to a lower bit depth? It's just the default output format for overlay. It's commonly used for stuff

Re: [FFmpeg-user] Problem with time-lapse

2020-09-10 Thread Michael Koch
Am 10.09.2020 um 19:10 schrieb Jippo12: Hi! Yes, I was confused and didn't realize that ffmpeg can do all this :) because I first made a python script that creates star trails videos and they are copied when processing the next step. But for normal video, i use ffmpeg -i

Re: [FFmpeg-user] Convert DNG

2020-09-07 Thread Michael Koch
Am 07.09.2020 um 10:41 schrieb Paul B Mahol: On Mon, Sep 07, 2020 at 09:12:47AM +0200, Michael Koch wrote: Am 07.09.2020 um 08:46 schrieb Frei Sibylle Nora: Hello, I'm working in an Archive where we digitize analog movies. Our master-files are usually DPX but now we get a new scanner which

Re: [FFmpeg-user] Convert DNG

2020-09-07 Thread Michael Koch
Am 07.09.2020 um 08:46 schrieb Frei Sibylle Nora: Hello, I'm working in an Archive where we digitize analog movies. Our master-files are usually DPX but now we get a new scanner which save the movies in DNG files. Is there a possibility to convert de DNG files with FFMPEG to DPX files Do

Re: [FFmpeg-user] builds for Windows

2020-09-03 Thread Michael Koch
Am 03.09.2020 um 07:42 schrieb Gyan Doshi: On 02-09-2020 11:53 pm, Michael Koch wrote: "ffmpeg.zeranoe.com will close on Sep 18, 2020, and all builds will be removed." Any idea where we can get builds for Windows after this date? I plan to provide 64-bit static builds startin

[FFmpeg-user] builds for Windows

2020-09-02 Thread Michael Koch
"ffmpeg.zeranoe.com will close on Sep 18, 2020, and all builds will be removed." Any idea where we can get builds for Windows after this date? Michael ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

Re: [FFmpeg-user] Problem while converting DNG sequnece to video file

2020-08-28 Thread Michael Koch
Am 21.08.2020 um 21:34 schrieb Michael Koch: Am 20.08.2020 um 09:57 schrieb Masala Kentaro: hello! I have problems using FFmpeg, while trying to convert DNG-sequence into mp4/mov/avi video file. While converting, I also need to downgrade the resolution of the video from original 6016x3200

Re: [FFmpeg-user] Some questions about PTS

2020-08-28 Thread Michael Koch
Am 28.08.2020 um 13:38 schrieb Edward Park: Hi, Let's assume the framerate is constant. For example, I want to delay a video by 5 frames and then hstack the original video and the delayed version: ffmpeg -i test.mp4 -vf "split[a][b];[b]setpts=PTS+5/(FR*TB)[c];[a][c]hstack" -y out.mp4 I

Re: [FFmpeg-user] Some questions about PTS

2020-08-28 Thread Michael Koch
Am 28.08.2020 um 11:25 schrieb Edward Park: Hello, I am not confident about this info but I've always thought the timebase is usually the reciprocal of the framerate *or smaller*. As in, the duration of a frame can be represented accurately enough as the difference between the timestamps,

[FFmpeg-user] Some questions about PTS

2020-08-28 Thread Michael Koch
Hello all, please comment if the following is right or wrong: -- The timebase of a video (TB in setpts filter) is expressed in the unit [s] (seconds). -- The framerate of a video (FR in setpts filter) is expressed in the unit [s^-1] (1/seconds). -- In many cases the timebase is the reciprocal

Re: [FFmpeg-user] Why is format=rgb24 required after maskedmerge?

2020-08-22 Thread Michael Koch
Am 22.08.2020 um 11:03 schrieb Nicolas George: Carl Zwanzig (12020-08-21): IMHO, it would make more sense to remove the -all file as it's unweildly and doesn't seem to contain to contain everything anyway. It does contain everything, or there is a bug somewhere. And it is useful precisely

Re: [FFmpeg-user] Why is format=rgb24 required after maskedmerge?

2020-08-21 Thread Michael Koch
Am 21.08.2020 um 21:38 schrieb Gyan Doshi: Git mystifies me, too. I also did a lot of reading but it was written my Martians. For the purposes of only generating doc patches, you only need to know and apply a handful of git commands. Most of the supposed difficulties of working with git

Re: [FFmpeg-user] Problem while converting DNG sequnece to video file

2020-08-21 Thread Michael Koch
Am 20.08.2020 um 09:57 schrieb Masala Kentaro: hello! I have problems using FFmpeg, while trying to convert DNG-sequence into mp4/mov/avi video file. While converting, I also need to downgrade the resolution of the video from original 6016x3200 to 2030x1080. First problem: I got almost black

Re: [FFmpeg-user] Why is format=rgb24 required after maskedmerge?

2020-08-21 Thread Michael Koch
Am 21.08.2020 um 18:41 schrieb Nicolas George: Michael Koch (12020-08-21): The page https://www.ffmpeg.org/git-howto.html  was obviously not written for beginners. Many terms are introduced without explaining them, and examples are missing. I think it was written for people who were familiar

Re: [FFmpeg-user] Why is format=rgb24 required after maskedmerge?

2020-08-21 Thread Michael Koch
Am 21.08.2020 um 17:06 schrieb Gyan Doshi: On 21-08-2020 07:30 pm, Michael Koch wrote: Am 21.08.2020 um 15:42 schrieb Mark Filipak: On 08/21/2020 06:44 AM, Gyan Doshi wrote: On 21-08-2020 04:03 pm, Michael Koch wrote: Am 21.08.2020 um 12:09 schrieb Gyan Doshi: On 21-08-2020 02:36 pm

Re: [FFmpeg-user] Why is format=rgb24 required after maskedmerge?

2020-08-21 Thread Michael Koch
Am 21.08.2020 um 15:42 schrieb Mark Filipak: On 08/21/2020 06:44 AM, Gyan Doshi wrote: On 21-08-2020 04:03 pm, Michael Koch wrote: Am 21.08.2020 um 12:09 schrieb Gyan Doshi: On 21-08-2020 02:36 pm, Michael Koch wrote: Am 21.08.2020 um 10:50 schrieb Paul B Mahol: On 8/21/20, Michael Koch

Re: [FFmpeg-user] Why is format=rgb24 required after maskedmerge?

2020-08-21 Thread Michael Koch
Am 21.08.2020 um 12:44 schrieb Gyan Doshi: On 21-08-2020 04:03 pm, Michael Koch wrote: Am 21.08.2020 um 12:09 schrieb Gyan Doshi: On 21-08-2020 02:36 pm, Michael Koch wrote: Am 21.08.2020 um 10:50 schrieb Paul B Mahol: On 8/21/20, Michael Koch wrote: Please add this to the documentation

Re: [FFmpeg-user] Why is format=rgb24 required after maskedmerge?

2020-08-21 Thread Michael Koch
Am 21.08.2020 um 12:09 schrieb Gyan Doshi: On 21-08-2020 02:36 pm, Michael Koch wrote: Am 21.08.2020 um 10:50 schrieb Paul B Mahol: On 8/21/20, Michael Koch wrote: Please add this to the documentation (for example in chapter 20.9 image2) FFmpeg supports the following image formats: BMP

Re: [FFmpeg-user] Why is format=rgb24 required after maskedmerge?

2020-08-21 Thread Michael Koch
Am 21.08.2020 um 10:50 schrieb Paul B Mahol: On 8/21/20, Michael Koch wrote: Please add this to the documentation (for example in chapter 20.9 image2) FFmpeg supports the following image formats: BMP, DNG, GIF, JPG, PAM, PGM (binary P5 files are read/write, ascii P2 files are read-only

Re: [FFmpeg-user] Why is format=rgb24 required after maskedmerge?

2020-08-21 Thread Michael Koch
Please add this to the documentation (for example in chapter 20.9 image2) FFmpeg supports the following image formats: BMP, DNG, GIF, JPG, PAM, PGM (binary P5 files are read/write, ascii P2 files are read-only), PGMYUV, PNG, PPM, TGA, TIFF. Michael

Re: [FFmpeg-user] Problem while converting DNG sequnece to video file

2020-08-20 Thread Michael Koch
Am 20.08.2020 um 10:47 schrieb Paul B Mahol: On 8/20/20, Michael Koch wrote: Am 20.08.2020 um 10:29 schrieb Paul B Mahol: On 8/20/20, Michael Koch wrote: Am 20.08.2020 um 09:57 schrieb Masala Kentaro: hello! I have problems using FFmpeg, while trying to convert DNG-sequence into mp4/mov

Re: [FFmpeg-user] Problem while converting DNG sequnece to video file

2020-08-20 Thread Michael Koch
Am 20.08.2020 um 10:29 schrieb Paul B Mahol: On 8/20/20, Michael Koch wrote: Am 20.08.2020 um 09:57 schrieb Masala Kentaro: hello! I have problems using FFmpeg, while trying to convert DNG-sequence into mp4/mov/avi video file. I think ffmpeg doesn't have a DNG decoder. Or it is completely

Re: [FFmpeg-user] Problem while converting DNG sequnece to video file

2020-08-20 Thread Michael Koch
Am 20.08.2020 um 09:57 schrieb Masala Kentaro: hello! I have problems using FFmpeg, while trying to convert DNG-sequence into mp4/mov/avi video file. I think ffmpeg doesn't have a DNG decoder. Or it is completely undocumented. Searching for "DNG" in ffmpeg-all.html finds nothing. Michael

Re: [FFmpeg-user] Why is format=rgb24 required after maskedmerge?

2020-08-19 Thread Michael Koch
Am 19.08.2020 um 16:34 schrieb Paul B Mahol: On 8/19/20, Michael Koch wrote: Am 18.08.2020 um 14:35 schrieb Michael Koch: Hello all, I have a question about this script: rem Create red and yellow videos 300x300 c:\ffmpeg\ffmpeg -f lavfi -i color=red:size=300x300:duration=5 -y red.mp4 c

Re: [FFmpeg-user] Why is format=rgb24 required after maskedmerge?

2020-08-19 Thread Michael Koch
Am 18.08.2020 um 14:35 schrieb Michael Koch: Hello all, I have a question about this script: rem  Create red and yellow videos 300x300 c:\ffmpeg\ffmpeg -f lavfi -i color=red:size=300x300:duration=5 -y red.mp4 c:\ffmpeg\ffmpeg -f lavfi -i color=yellow:size=300x300:duration=5 -y yellow.mp4

[FFmpeg-user] Why is format=rgb24 required after maskedmerge?

2020-08-18 Thread Michael Koch
Hello all, I have a question about this script: rem  Create red and yellow videos 300x300 c:\ffmpeg\ffmpeg -f lavfi -i color=red:size=300x300:duration=5 -y red.mp4 c:\ffmpeg\ffmpeg -f lavfi -i color=yellow:size=300x300:duration=5 -y yellow.mp4 rem  Create a mergemap file 600x300

Re: [FFmpeg-user] Putting in a picture half-way through the video

2020-08-17 Thread Michael Koch
Am 17.08.2020 um 13:44 schrieb Cecil Westerhof: Any tips? The videos are short. And there is only one switch. So for the first (say) two minutes I want the video, after that I want to swap it with a picture. have a look at the freezeframes filter Michael

Re: [FFmpeg-user] dshow questions

2020-08-08 Thread Michael Koch
Am 08.08.2020 um 13:41 schrieb Moritz Barsnick: On Sat, Aug 08, 2020 at 11:23:28 +0200, Michael Koch wrote: ffmpeg -f dshow -video_size 1280x720 -framerate 15 -vcodec mjpeg -i video="Integrated Camera" out.avi Is -vcodec in this case an undocumented option of the dshow input dev

[FFmpeg-user] dshow questions

2020-08-08 Thread Michael Koch
Hi, I have two questions about the dshow input device. Question 1: On the wiki page https://trac.ffmpeg.org/wiki/DirectShow can be found this example: ffmpeg -f dshow -video_size 1280x720 -framerate 15 -vcodec mjpeg -i video="Integrated Camera" out.avi Is -vcodec in this case an

Re: [FFmpeg-user] Stream microphone to speakers

2020-08-06 Thread Michael Koch
Am 07.08.2020 um 04:59 schrieb Vi Rak: Dear gentle experts, I'm working on the Karaoke project for both Android and iOS where a user could record their performances (their video and vocal) and I use FFmpeg for mixing music with their recordings. Anyway, I wish I could route/pipe user vocal at

Re: [FFmpeg-user] write output of find_rect to a file?

2020-07-11 Thread Michael Koch
Hi Moritz, Hello, I want to track an object and need the x,y coordinates of this object for each frame. Is it possible to write the output of the find_rect filter to a file? I don't have any good command line for find_rect handy, but it should work with something like this (untested, of

Re: [FFmpeg-user] Documentation of chromanr filter

2020-07-11 Thread Michael Koch
Am 11.07.2020 um 10:39 schrieb Paul B Mahol: On 7/11/20, Michael Koch wrote: Am 11.07.2020 um 10:12 schrieb Paul B Mahol: Please send patch, otherwise it have little sense to discuss this. This is the ffmpeg _user_ list, and 90% of all users (including me) are not professional programmers

Re: [FFmpeg-user] Documentation of chromanr filter

2020-07-11 Thread Michael Koch
Am 11.07.2020 um 10:12 schrieb Paul B Mahol: Please send patch, otherwise it have little sense to discuss this. This is the ffmpeg _user_ list, and 90% of all users (including me) are not professional programmers and don't know how to use git. I have seen the instructions at

[FFmpeg-user] Documentation of chromanr filter

2020-07-11 Thread Michael Koch
Hello, The documentation of the new chromanr filter, especially this sentence for the "thres" option is hard to understand: "Sum of absolute difference of U and V pixel components or current pixel and neighbour pixels lower than this threshold will be used in averaging." First of all I

Re: [FFmpeg-user] write output of find_rect to a file?

2020-06-30 Thread Michael Koch
Am 29.06.2020 um 22:28 schrieb Moritz Barsnick: On Mon, Jun 29, 2020 at 17:35:50 +0200, Michael Koch wrote: Very good, that's exactly what I need. I did already make some tests with -show_entries before I posted this question. But I didn't know the names of the variables "lavfi.r

Re: [FFmpeg-user] write output of find_rect to a file?

2020-06-29 Thread Michael Koch
Hi Moritz, I don't have any good command line for find_rect handy, but it should work with something like this (untested, of course): $ ffprobe -f lavfi -i movie=input.mp4,find_rect=options -show_entries frame=pkt_pts_time:frame_tags=lavfi.rect.w,lavfi.rect.h,lavfi.rect.x,lavfi.rect.y -of

[FFmpeg-user] write output of find_rect to a file?

2020-06-29 Thread Michael Koch
Hello, I want to track an object and need the x,y coordinates of this object for each frame. Is it possible to write the output of the find_rect filter to a file? Michael ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

Re: [FFmpeg-user] Frequency response of an ffmpeg equalizer filter

2020-06-26 Thread Michael Koch
n/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". -- ********** ASTRO ELECTRONIC Dipl.-Ing. Michael Koch Raabestr. 43 37412 Herzberg www.astro-electronic

Re: [FFmpeg-user] Frequency response of an ffmpeg equalizer filter

2020-06-26 Thread Michael Koch
Am 26.06.2020 um 19:00 schrieb Nicolas VAMBAIRGUE: Le 26/06/2020 à 18:15, Paul B Mahol a écrit : On 6/26/20, Nicolas VAMBAIRGUE wrote: Hello, I'm starting to use the ffmpeg filters, using the documentation. It seems working but, I don't find the way to get the frequency response of a

Re: [FFmpeg-user] Last frame with wrong duration - video from images

2020-06-23 Thread Michael Koch
Am 22.06.2020 um 23:50 schrieb Carl Eugen Hoyos: Am Mo., 22. Juni 2020 um 21:35 Uhr schrieb Michael Koch : Am 22.06.2020 um 20:59 schrieb Michael Koch: Am 22.06.2020 um 20:33 schrieb Leonardo via ffmpeg-user: Here is the full output $ ffmpeg -framerate 1/5 -i figura%03d.png -c:v libx264

Re: [FFmpeg-user] Last frame with wrong duration - video from images

2020-06-22 Thread Michael Koch
Am 22.06.2020 um 20:59 schrieb Michael Koch: Am 22.06.2020 um 20:33 schrieb Leonardo via ffmpeg-user:   Here is the full output $ ffmpeg -framerate 1/5 -i figura%03d.png -c:v libx264 -pix_fmt yuv420p -r 30 -vf scale=1920:1080 video.mp4 It works when you remove the scale filter, but don't

Re: [FFmpeg-user] Last frame with wrong duration - video from images

2020-06-22 Thread Michael Koch
Am 22.06.2020 um 20:33 schrieb Leonardo via ffmpeg-user: Here is the full output $ ffmpeg -framerate 1/5 -i figura%03d.png -c:v libx264 -pix_fmt yuv420p -r 30 -vf scale=1920:1080 video.mp4 It works when you remove the scale filter, but don't ask me why. Michael

Re: [FFmpeg-user] why can't i use drive letter ?

2020-06-14 Thread Michael Koch
Am 14.06.2020 um 10:38 schrieb drramimagdi: this works which is great ffmpeg -v error -stats -y -i input -vf lut3d="/3DLUTs/001.3DL" output but this does not ffmpeg -v error -stats -y -i input -vf lut3d="*d:*/3DLUTs/001.3DL" output if you are running this on Windows, try one of the solutions

Re: [FFmpeg-user] removing a segment/segments from video

2020-06-11 Thread Michael Koch
Am 11.06.2020 um 13:50 schrieb drramimagdi: i have 10min video i want to cut 4 mins to get 6min the output should be 00:00:00-00:02:00 and 00:06:00-00:10:00 so i want to cut 00:02:00-00:06:00 i can do it using avidemux can it done with ffmpeg? i don't want to

Re: [FFmpeg-user] [ffmpeg] preserving metadata from .mp4 to .jpg/.png frames

2020-05-22 Thread Michael Koch
Am 22.05.2020 um 11:52 schrieb Nicolas George: Michael Koch (12020-05-22): here is an example of a JPG for which exiftool (version 11.26) reports 6 dates/times: http://www.astro-electronic.de/IMG_1343.jpg File Modification Date/Time : 2020:05:22 07:46:54+02:00 File Access Date/Time

Re: [FFmpeg-user] [ffmpeg] preserving metadata from .mp4 to .jpg/.png frames

2020-05-21 Thread Michael Koch
Am 21.05.2020 um 22:31 schrieb Nicolas George: Kieran O Leary (12020-05-21): I have a JPG image for which exiftool reports six times: -- File Modification Date/Time -- File Access Date/Time -- File Creation Date/Time -- Modify Date -- Date/Time Original -- Create Date Aren't some of those just

Re: [FFmpeg-user] [ffmpeg] preserving metadata from .mp4 to .jpg/.png frames

2020-05-21 Thread Michael Koch
Am 21.05.2020 um 21:05 schrieb Kieran O Leary: On Thu, May 21, 2020 at 6:05 PM Michael Koch wrote: Am 21.05.2020 um 17:07 schrieb Carl Eugen Hoyos: Am Do., 21. Mai 2020 um 16:46 Uhr schrieb David Greenwood : Nope. If such files do not exist, it seems unlikely that ffmpeg can produce them

Re: [FFmpeg-user] [ffmpeg] preserving metadata from .mp4 to .jpg/.png frames

2020-05-21 Thread Michael Koch
Am 21.05.2020 um 17:07 schrieb Carl Eugen Hoyos: Am Do., 21. Mai 2020 um 16:46 Uhr schrieb David Greenwood : Nope. If such files do not exist, it seems unlikely that ffmpeg can produce them. I have a JPG image for which exiftool reports six times: -- File Modification Date/Time -- File

Re: [FFmpeg-user] Problem with colorhold filter

2020-05-21 Thread Michael Koch
Am 16.05.2020 um 22:44 schrieb Carl Eugen Hoyos: Am Sa., 16. Mai 2020 um 22:02 Uhr schrieb Edward Park : I think this might have been a typo? in vf_colorkey.c:48 the "diff" isn't normalized to 0 - 1, but to 0 - 3. double diff = sqrt((dr * dr + dg * dg + db * db) / (255.0 * 255.0)); changing

Re: [FFmpeg-user] nullsrc gives error

2020-05-17 Thread Michael Koch
Am 17.05.2020 um 17:01 schrieb Michael Glenn Williams: Hi All, Can we see anything wrong with this, running on MacOS Mojave as root in bash shell. ffmpeg -y -filter_complex "nullsrc=size=1152x540 [background];" output.mkv & The error is: [AVFilterGraph @ 0x7fb8834026c0] No such filter: ''

[FFmpeg-user] Problem with colorhold filter

2020-05-16 Thread Michael Koch
Hi, I just found out that the colorhold filter doesn't behave as described. In the documentation is written: similarity Similarity percentage with the above color. 0.01 matches only the exact key color, while 1.0 matches everything. But when I use similarity=1.0, it matches a wide range of

Re: [FFmpeg-user] Q: How to generate sound file with different frequencies for left/right (alternating)

2020-05-14 Thread Michael Koch
Am 13.05.2020 um 22:06 schrieb ffm...@osk.ch: Hello I would like to generate a sound file with two frequencies, sinus, one per channel (left, right) alternating between them. For example: left 0.5 sec 5kHz, then right 0.5 sec 8kHz and so on. I've spent hours reading ffmpeg docs but am

Re: [FFmpeg-user] Missing ')' or too many args in 'between(t'

2020-05-07 Thread Michael Koch
Am 07.05.2020 um 02:46 schrieb Ulf Zibis: Am 06.05.20 um 20:48 schrieb James Darnley: On 06/05/2020, Ulf Zibis wrote: -af volume='not(between(t,46:50,48:50))',volume='not(between(t,1:30:00,1:31:00))',atempo=1/1.1/1.3,aresample=48000/1.1,asetrate=48000 [Parsed_volume_0 @ 0x55b1b575cd40] [Eval

Re: [FFmpeg-user] Missing ')' or too many args in 'between(t'

2020-05-06 Thread Michael Koch
Am 06.05.2020 um 14:44 schrieb Ulf Zibis: Am 06.05.20 um 14:09 schrieb Michael Koch: I'm not sure if inside the expression hours:minutes:seconds is allowed. Try to convert to seconds. It does not mak a difference :-( Here it works (with Windows version). I did only replace the first

Re: [FFmpeg-user] Missing ')' or too many args in 'between(t'

2020-05-06 Thread Michael Koch
Am 06.05.2020 um 14:06 schrieb Ulf Zibis: Hi, I get this result here: $ ffmpeg -ss 03:00 -t 01:30:50 -i in.mp3 -t 00:30:00 -f lavfi -i life=s=320x240:mold=10:r=30:ratio=0.1:death_color=#C83232:life_color=#00ff00 -af

Re: [FFmpeg-user] How to slow down a video

2020-05-05 Thread Michael Koch
Am 05.05.2020 um 20:58 schrieb Ulf Zibis: Am 05.05.20 um 20:14 schrieb Michael Koch: Am 05.05.2020 um 18:27 schrieb Ulf Zibis: Aside I have a question: Where can I find a list of properties, which can be used as parameter in commands. E.g. I can use "PTS" for current picture

Re: [FFmpeg-user] How to slow down a video

2020-05-05 Thread Michael Koch
Am 05.05.2020 um 18:27 schrieb Ulf Zibis: Am 05.05.20 um 15:07 schrieb Edward Park: Hi, But I'm lost how use it correctly. I want to slow down the video by 1.4 and then increase the audio frequency (pitch) by 1.25. So if you slow the video down by 1.4, You are also slowing down the audio

Re: [FFmpeg-user] How to slow down a video

2020-05-05 Thread Michael Koch
Am 05.05.2020 um 13:21 schrieb Ulf Zibis: Am 04.05.2020 um 12:56 schrieb Michael Koch: Am 04.05.2020 um 11:00 schrieb Ulf Zibis: >//>/Am 27.03.20 um 04:06 schrieb Ted Park: />>/Hi, />>//>>>/for video: -vf setpts=0.5*PTS />>>/for audio: -af atempo=2 />

  1   2   3   4   5   >