Re: [FFmpeg-user] Fluorescent White Balance Video Filters
Am 19.04.2022 um 23:06 schrieb Roger: On Tue, Apr 19, 2022 at 08:25:17PM +0200, Michael Koch wrote: Am 19.04.2022 um 03:34 schrieb Roger: I'm not finding much about fixing video having incorrect white space, more specifically video with incorrect or forgotten fluorescent white balance setting during recording. ... Question, what is the proper method of applying such a missing white balance fluorescent filter to a video file using ffmpeg? I would do that with a color-look-up-table. The procedure is described step-by-step in chapter 2.27 and an easier simplified version is described in chapter 2.28 in my book: http://www.astro-electronic.de/FFmpeg_Book.pdf Michael No stranger to these color tables for correction white balance, as my Nikon DSLR and likely most recent DLSR cameras use some correcting color profiles these days! However, seems there's few options for video files. Found through Google, https://lutify.me/free-white-balance-correction-luts-for-everyone/ Download: Free White Balance Correction LUTs Lutify-me-Free-White-Balance-Correction-3D-LUTs.zip 2800 Kelvin - 3200 Kelvin - 0.34 CTO.cube 2800 Kelvin - 4300 Kelvin - 0.95 CTO.cube 2800 Kelvin - 5500 Kelvin - 1.34 CTO.cube 2800 Kelvin - 6500 Kelvin - 1.56 CTO.cube 3200 Kelvin - 2800 Kelvin - 0.34 CTB.cube 3200 Kelvin - 4300 Kelvin - 0.61 CTO.cube 3200 Kelvin - 5500 Kelvin - 1.00 CTO.cube 3200 Kelvin - 6500 Kelvin - 1.21 CTO.cube 4300 Kelvin - 2800 Kelvin - 0.95 CTB.cube 4300 Kelvin - 3200 Kelvin - 0.61 CTB.cube 4300 Kelvin - 5500 Kelvin - 0.39 CTO.cube 4300 Kelvin - 6500 Kelvin - 0.60 CTO.cube 5500 Kelvin - 2800 Kelvin - 1.34 CTB.cube 5500 Kelvin - 3200 Kelvin - 1.00 CTB.cube 5500 Kelvin - 4300 Kelvin - 0.39 CTB.cube 5500 Kelvin - 6500 Kelvin - 0.21 CTO.cube 6500 Kelvin - 2800 Kelvin - 1.56 CTB.cube 6500 Kelvin - 3200 Kelvin - 1.21 CTB.cube 6500 Kelvin - 4300 Kelvin - 0.60 CTB.cube 6500 Kelvin - 5500 Kelvin - 0.21 CTB.cube Yea, horrendously named file names! $ ffmpeg -i 3.avi -vf lut3d=/tmp/lut/Lutify.me\ Free\ White\ Balance\ Correction\ 3D\ LUTs/3D\ LUTs/6500\ Kelvin\ -\ 5500\ Kelvin\ -\ 0.21\ CTB.cube -crf 27 -preset veryfast -c:a copy test2.mp On my second try, tried "6500 Kelvin - 5500 Kelvin - 0.21" and this is very close to RawTherapee's Philips TL85 fluorescent white balance setting results, if not better than RawTherapee! Still not absolutely perfect likely more due to VHS tape degradation or re-recorded degradation, as this section/sesesion of the VHS tape was a recording of a recording of a recording during the 1990's. For reference for those wondering how I digitized without a time correcting device, I used ffmpeg on the compressed original video captures to augment the video/audio sync problem and was trial and error. Subsequently using the yadif deinterlace filter and specifying the double pass option. -filter:v "setpts=0.8015*PTS",yadif=1 Are these LUTS my best options? Or does the paid subscription offer better? Or are there other white balance/color correcting LUTS elsewhere? You can make your own LUT, as described in chapter 2.28 in my book. -- Extract one frame from your video. -- Insert a haldclut in a corner of the image, or use xstack to attach it to the side. -- Use the program of your choice to correct the colors in this image. When done, save it lossless as 16-bit PNG. -- Use FFmpeg to separate the haldclut from the image. -- Apply the LUT to the whole video. Michael ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Fluorescent White Balance Video Filters
On 4/19/2022 2:06 PM, Roger wrote: 5500 Kelvin - 6500 Kelvin - 0.21 CTO.cube 6500 Kelvin - 2800 Kelvin - 1.56 CTB.cube 6500 Kelvin - 5500 Kelvin - 0.21 CTB.cube Yea, horrendously named file names! Not bad, actually :) Harkens back to photography and motion pictures- Color Temperature Blue (CTB) and Color Temperature Orange (CTO) gels were used to correct lights of one type to the 'color' of another and the number is the amount of correction*. Have a couple of tungsten desk lights in a scene with a bunch of windows? Wrap the bulbs with some CTB! (Or cover the windows with CTO, both of which come in 50' x 48" rolls and smaller sheets.) At one time, Rosco even made colored tubes for T-12 florescent lamps (about a 1/2 CTO IIRC). *based on 3200 <-> 5500 kelvin Later, z! ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Fluorescent White Balance Video Filters
> On Tue, Apr 19, 2022 at 06:32:39PM +, Carl Zwanzig wrote: >On 4/19/2022 11:07 AM, Roger wrote: >> I noticed the colorcorrect filter, for use with augmenting the Red and Blue >> channels. > >Touching on that- in most video systems green is the fixed* level and R/B are >adjusted to that. Makes sense that ffmpeg does the same. > >*not separately adjustable > >z! Ah! That makes sense as I was manually playing with RGB linear values, and noticed a pattern. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Fluorescent White Balance Video Filters
> On Tue, Apr 19, 2022 at 08:25:17PM +0200, Michael Koch wrote: >Am 19.04.2022 um 03:34 schrieb Roger: >> I'm not finding much about fixing video having incorrect white space, more >> specifically video with incorrect or forgotten fluorescent white balance >> setting during recording. ... >> >> Question, what is the proper method of applying such a missing white balance >> fluorescent filter to a video file using ffmpeg? > >I would do that with a color-look-up-table. The procedure is described >step-by-step in chapter 2.27 and an easier simplified version is described in >chapter 2.28 in my book: >http://www.astro-electronic.de/FFmpeg_Book.pdf > >Michael No stranger to these color tables for correction white balance, as my Nikon DSLR and likely most recent DLSR cameras use some correcting color profiles these days! However, seems there's few options for video files. Found through Google, https://lutify.me/free-white-balance-correction-luts-for-everyone/ Download: Free White Balance Correction LUTs Lutify-me-Free-White-Balance-Correction-3D-LUTs.zip 2800 Kelvin - 3200 Kelvin - 0.34 CTO.cube 2800 Kelvin - 4300 Kelvin - 0.95 CTO.cube 2800 Kelvin - 5500 Kelvin - 1.34 CTO.cube 2800 Kelvin - 6500 Kelvin - 1.56 CTO.cube 3200 Kelvin - 2800 Kelvin - 0.34 CTB.cube 3200 Kelvin - 4300 Kelvin - 0.61 CTO.cube 3200 Kelvin - 5500 Kelvin - 1.00 CTO.cube 3200 Kelvin - 6500 Kelvin - 1.21 CTO.cube 4300 Kelvin - 2800 Kelvin - 0.95 CTB.cube 4300 Kelvin - 3200 Kelvin - 0.61 CTB.cube 4300 Kelvin - 5500 Kelvin - 0.39 CTO.cube 4300 Kelvin - 6500 Kelvin - 0.60 CTO.cube 5500 Kelvin - 2800 Kelvin - 1.34 CTB.cube 5500 Kelvin - 3200 Kelvin - 1.00 CTB.cube 5500 Kelvin - 4300 Kelvin - 0.39 CTB.cube 5500 Kelvin - 6500 Kelvin - 0.21 CTO.cube 6500 Kelvin - 2800 Kelvin - 1.56 CTB.cube 6500 Kelvin - 3200 Kelvin - 1.21 CTB.cube 6500 Kelvin - 4300 Kelvin - 0.60 CTB.cube 6500 Kelvin - 5500 Kelvin - 0.21 CTB.cube Yea, horrendously named file names! $ ffmpeg -i 3.avi -vf lut3d=/tmp/lut/Lutify.me\ Free\ White\ Balance\ Correction\ 3D\ LUTs/3D\ LUTs/6500\ Kelvin\ -\ 5500\ Kelvin\ -\ 0.21\ CTB.cube -crf 27 -preset veryfast -c:a copy test2.mp On my second try, tried "6500 Kelvin - 5500 Kelvin - 0.21" and this is very close to RawTherapee's Philips TL85 fluorescent white balance setting results, if not better than RawTherapee! Still not absolutely perfect likely more due to VHS tape degradation or re-recorded degradation, as this section/sesesion of the VHS tape was a recording of a recording of a recording during the 1990's. For reference for those wondering how I digitized without a time correcting device, I used ffmpeg on the compressed original video captures to augment the video/audio sync problem and was trial and error. Subsequently using the yadif deinterlace filter and specifying the double pass option. -filter:v "setpts=0.8015*PTS",yadif=1 Are these LUTS my best options? Or does the paid subscription offer better? Or are there other white balance/color correcting LUTS elsewhere? ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Fluorescent White Balance Video Filters
On 4/19/2022 12:08 PM, Bouke / edit 'B wrote: Could be I’m missing the point, but cutting / extending two legs of a three legged chair will close to NEVER make the desired height.Agreed, but... But yes, it will level it if needed, to stick to the reference. And that's the point of color/white-balance correction; if the overall levels are wrong, it's a different adjustment. I'm missing out on the ‘analog’ reference. Going back to analog video production systems but carried through to modern ones- green is not independently adjustable. The controls on a camera control will be black level, white level (usually controls the lens iris), sc (color) & horiz. phase, then blue and red min/max. No twiddles just for green. One of the true tests of a broadcast engineer was doing outdoor sports and getting all the cameras to show the grass as the color/intensity and the uniforms to look good. Add shifting sunlight and they have a lot of work ahead. Later, z! ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Fluorescent White Balance Video Filters
On 19 Apr 2022, at 20:44, Jim DeLaHunt wrote: > > Not that the FFmpeg tool is stupid overall — it is quite capable and useful > in many ways. But there are aspects of the tool, and its documentation, and > its contributors' behaviour, and the project culture, which are indeed quite > stupid. Hear hear! Now, IMHO, audio mapping in FFmpeg is plain stupid. FFMBC’s approach what so much easier / better. (On top of that, ripping just sound from an AV file with FFMBC was WAY faster, as FFMBC was able to ignore the video data, where FFmpeg seems to feel a need to plough trough it.) Bouke ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Fluorescent White Balance Video Filters
> On 19 Apr 2022, at 21:00, Carl Zwanzig wrote: > > On 4/19/2022 11:52 AM, Bouke / edit 'B wrote: >>> How would you do that when there are only parameters for R and B? > >> AFAIK, YUV = R-Y B-Y, so it’s just math. >> Doing corrections in RGB is simpler for a mortal, > > and in analog :) > > What I'm getting at is there are no green terms on that filter's controls so > I don't see a way to directly adjust green (my point). This makes sense for a > filter that's trying to correct what we call white balance- like a > three-legged stool, you only ever have to adjust two legs to make the top > level. > Could be I’m missing the point, but cutting / extending two legs of a three legged chair will close to NEVER make the desired height. But yes, it will level it if needed, to stick to the reference. I'm missing out on the ‘analog’ reference. AFAIK, YUV is still in use in (digital) codecs. And it’s hard to grasp if you do color correction, and are used to fancy tools like Resolve. (That used to be a 100.000+ tool not so long ago.) Bouke ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Fluorescent White Balance Video Filters
On 4/19/2022 11:52 AM, Bouke / edit 'B wrote: How would you do that when there are only parameters for R and B? AFAIK, YUV = R-Y B-Y, so it’s just math. Doing corrections in RGB is simpler for a mortal, and in analog :) What I'm getting at is there are no green terms on that filter's controls so I don't see a way to directly adjust green (my point). This makes sense for a filter that's trying to correct what we call white balance- like a three-legged stool, you only ever have to adjust two legs to make the top level. Later, z! ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Fluorescent White Balance Video Filters
> On 19 Apr 2022, at 20:41, Carl Zwanzig wrote: > > On 4/19/2022 11:37 AM, Paul B Mahol wrote: >> colorcorrect filter operates in YUV colorspace and not RGB colorspace >> So green tint can be adjusted with it. > > How would you do that when there are only parameters for R and B? > > z! AFAIK, YUV = R-Y B-Y, so it’s just math. Doing corrections in RGB is simpler for a mortal, but should / could result exactly the same. Now, let someone write something to convert the matrix to support RGB. Bouke ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Fluorescent White Balance Video Filters
Am 19.04.2022 um 20:44 schrieb Jim DeLaHunt: On 2022-04-19 11:38, Paul B Mahol wrote: On Tue, Apr 19, 2022 at 8:25 PM Michael Koch wrote: I would do that with a color-look-up-table. The procedure is described step-by-step in chapter 2.27 and an easier simplified version is described in chapter 2.28 in my book: http://www.astro-electronic.de/FFmpeg_Book.pdf Your book multiple times calls multiple functionality in FFmpeg stupid. Paul, You say that as if it were a bad thing. I have not read Micheal's FFmpeg Book, so I don't know what you are referring to. But I would like to know. Would you care to cite the specific places where the book calls FFmpeg stupid? Having not read the passages, I cannot be sure. But my initial impression is that this might be accurate description. Not that the FFmpeg tool is stupid overall — it is quite capable and useful in many ways. But there are aspects of the tool, and its documentation, and its contributors' behaviour, and the project culture, which are indeed quite stupid. This is useful for users new to FFmpeg to know. If the book describes these aspects accurately as stupid, that makes it a better book. Jim, if you search in the book for the word "stupid" you will find two instances, which both refer to the same thing. Michael ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Fluorescent White Balance Video Filters
On 2022-04-19 11:38, Paul B Mahol wrote: On Tue, Apr 19, 2022 at 8:25 PM Michael Koch wrote: I would do that with a color-look-up-table. The procedure is described step-by-step in chapter 2.27 and an easier simplified version is described in chapter 2.28 in my book: http://www.astro-electronic.de/FFmpeg_Book.pdf Your book multiple times calls multiple functionality in FFmpeg stupid. Paul, You say that as if it were a bad thing. I have not read Micheal's FFmpeg Book, so I don't know what you are referring to. But I would like to know. Would you care to cite the specific places where the book calls FFmpeg stupid? Having not read the passages, I cannot be sure. But my initial impression is that this might be accurate description. Not that the FFmpeg tool is stupid overall — it is quite capable and useful in many ways. But there are aspects of the tool, and its documentation, and its contributors' behaviour, and the project culture, which are indeed quite stupid. This is useful for users new to FFmpeg to know. If the book describes these aspects accurately as stupid, that makes it a better book. Best regards, —Jim DeLaHunt ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Fluorescent White Balance Video Filters
Am 19.04.2022 um 20:38 schrieb Paul B Mahol: On Tue, Apr 19, 2022 at 8:25 PM Michael Koch wrote: Am 19.04.2022 um 03:34 schrieb Roger: I'm not finding much about fixing video having incorrect white space, more specifically video with incorrect or forgotten fluorescent white balance setting during recording. I have a very old VHS recorded tape without a fluorescent white balance applied, and as such a green mask throughout the video. I started examing one frame of the video, luckily having distinct red, white, blue colors and was viewing the frame within RawTherapee and tinkering with white balance settings. Low and behold, after applying the "Philips TL85 fluorescent" (designated as "F10 - Philips TL85") white balance preset profile, the red/green/blue values all appeared exact! However, I cannot find this preset profile within RawTherapee installed files, nor do the *.pp3 sidecar files indicate specific values, hinting the values are either hard-coded or further buried within the installed system files, for which fgrep insensitive searching still fails to find the specifics of this filter. Question, what is the proper method of applying such a missing white balance fluorescent filter to a video file using ffmpeg? I would do that with a color-look-up-table. The procedure is described step-by-step in chapter 2.27 and an easier simplified version is described in chapter 2.28 in my book: http://www.astro-electronic.de/FFmpeg_Book.pdf Your book multiple times calls multiple functionality in FFmpeg stupid. Not multiple functionality. Only one thing is called stupid. Michael ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Fluorescent White Balance Video Filters
On 4/19/2022 11:37 AM, Paul B Mahol wrote: colorcorrect filter operates in YUV colorspace and not RGB colorspace So green tint can be adjusted with it. How would you do that when there are only parameters for R and B? z! ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Fluorescent White Balance Video Filters
On Tue, Apr 19, 2022 at 8:25 PM Michael Koch wrote: > Am 19.04.2022 um 03:34 schrieb Roger: > > I'm not finding much about fixing video having incorrect white space, > more > > specifically video with incorrect or forgotten fluorescent white balance > > setting during recording. > > > > I have a very old VHS recorded tape without a fluorescent white balance > > applied, and as such a green mask throughout the video. > > > > I started examing one frame of the video, luckily having distinct red, > white, > > blue colors and was viewing the frame within RawTherapee and tinkering > with > > white balance settings. Low and behold, after applying the "Philips TL85 > > fluorescent" (designated as "F10 - Philips TL85") white balance preset > profile, > > the red/green/blue values all appeared exact! > > > > However, I cannot find this preset profile within RawTherapee installed > files, > > nor do the *.pp3 sidecar files indicate specific values, hinting the > values are > > either hard-coded or further buried within the installed system files, > for > > which fgrep insensitive searching still fails to find the specifics of > this > > filter. > > > > Question, what is the proper method of applying such a missing white > balance > > fluorescent filter to a video file using ffmpeg? > > I would do that with a color-look-up-table. The procedure is described > step-by-step in chapter 2.27 and an easier simplified version is > described in chapter 2.28 in my book: > http://www.astro-electronic.de/FFmpeg_Book.pdf Your book multiple times calls multiple functionality in FFmpeg stupid. > > > Michael > > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Fluorescent White Balance Video Filters
On Tue, Apr 19, 2022 at 8:32 PM Carl Zwanzig wrote: > On 4/19/2022 11:07 AM, Roger wrote: > > I noticed the colorcorrect filter, for use with augmenting the Red and > Blue > > channels. > > Touching on that- in most video systems green is the fixed* level and R/B > are adjusted to that. Makes sense that ffmpeg does the same. > > colorcorrect filter operates in YUV colorspace and not RGB colorspace So green tint can be adjusted with it. > *not separately adjustable > > z! > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Fluorescent White Balance Video Filters
On 4/19/2022 11:07 AM, Roger wrote: I noticed the colorcorrect filter, for use with augmenting the Red and Blue channels. Touching on that- in most video systems green is the fixed* level and R/B are adjusted to that. Makes sense that ffmpeg does the same. *not separately adjustable z! ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Fluorescent White Balance Video Filters
Am 19.04.2022 um 03:34 schrieb Roger: I'm not finding much about fixing video having incorrect white space, more specifically video with incorrect or forgotten fluorescent white balance setting during recording. I have a very old VHS recorded tape without a fluorescent white balance applied, and as such a green mask throughout the video. I started examing one frame of the video, luckily having distinct red, white, blue colors and was viewing the frame within RawTherapee and tinkering with white balance settings. Low and behold, after applying the "Philips TL85 fluorescent" (designated as "F10 - Philips TL85") white balance preset profile, the red/green/blue values all appeared exact! However, I cannot find this preset profile within RawTherapee installed files, nor do the *.pp3 sidecar files indicate specific values, hinting the values are either hard-coded or further buried within the installed system files, for which fgrep insensitive searching still fails to find the specifics of this filter. Question, what is the proper method of applying such a missing white balance fluorescent filter to a video file using ffmpeg? I would do that with a color-look-up-table. The procedure is described step-by-step in chapter 2.27 and an easier simplified version is described in chapter 2.28 in my book: http://www.astro-electronic.de/FFmpeg_Book.pdf Michael ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Fluorescent White Balance Video Filters
For those wondering about the fluorescent color settings, for filtering different standard fluorescent lighting scenarios within photography or videos: Color temperature white points Wikipedia https://en.wikipedia.org/wiki/Template:Color_temperature_white_points This includes my video containing "F10 Philips TL85, Ultralume 50", having overly green saturated or green masking. Looks like I'll need to somehow convert those CIE color space values to RGB? I noticed the colorcorrect filter, for use with augmenting the Red and Blue channels. Again, doesn't appear much is talked about colorcorrect when searching via Google. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
[FFmpeg-user] Announcing an AppleScript to help Mac users concatenate using ffmpeg
This might be of interest for Mac users who want to concatenate media files using ffmpeg. From the blog post: "The AppleScript below is configured to exploit a special relationship between AppleScript and the Mac Finder. Here are two suggested methods for using it to concatenate media files by passing the appropriate commands to ffmpeg. First, the media files must be compatible for concatenation. The documentation for ffmpeg can help with that. The AppleScript will create the concatenated output file in the same folder as the source files. The ffmpeg command generated by the AppleScript is ultimately placed in the trash, so you can retrieve it from there and view it if something doesn’t work as expected." This one is interesting. Try it. https://prehensileblog.wordpress.com/2022/04/19/create-an-applescript-that-concatenates-media-files-using-ffmpeg/ L. Lee ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] avsynctest
On 4/19/2022 10:07 AM, Paul B Mahol wrote: Inexperienced users should not use ffmpeg. what in blazes does that mean? Everyone is an "inexperienced user" before they use it and, well, gain experience; that includes _all_ of us. Even then it's probably the worst argument for incomplete documentation. If the doc is missing something, even if it "should be obvious", just add it and move on; that's what most projects do. z! ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] avsynctest
On Tue, Apr 19, 2022 at 6:25 PM Jim DeLaHunt wrote: > On 2022-04-19 02:09, Michael Koch wrote: > > Hello, > > > > it's unclear how the new "avsynctest" source is expected to work. The > > most simple command line > > > > ffmpeg -f lavfi -i avsynctest=d=5 out.mov > > > > gives this error message: > > ...[error message and console log omitted for brevity]... > > I agree, Michael. The documentation[1] does not mention which output > pad(s) (or input pad(s)) the filter uses. It also fails to give any > example of the source in use. It is inadequate IMHO. > It is perfectly adequate to remove excessive info that will be implicitly obvious to any experienced users. Inexperienced users should not use ffmpeg. > [1] http://ffmpeg.org/ffmpeg-all.html#avsynctest > > Best regards, > --Jim DeLaHunt > > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] showvolume filter memory leak
On Tue, Apr 19, 2022 at 12:15 PM ramon wrote: > OK I'll check the pts sync as you say. > > I am simply trying the following command based on > > https://hhsprings.bitbucket.io/docs/programming/examples/ffmpeg/audio_visualization/_showvolume_.html > and I get memory leaks., I don't know the reason. > > ffmpeg -re -stream_loop -1 -i test.mp3 -filter_complex > "[0:a]showvolume,scale=1920:-1,pad=1920:1080:(ow-iw)/2:(oh-ih)/2[v]" -map > [v] -map 0:a -c:a copy -f null - > Used valgrind and top with exact that line and spotted nothing out of normal. > > > On Mon, Apr 18, 2022 at 8:27 PM Paul B Mahol wrote: > > > On Mon, Apr 18, 2022 at 8:13 PM Paul B Mahol wrote: > > > > > > > > > > > On Mon, Apr 18, 2022 at 7:00 PM ramon wrote: > > > > > >> Yes, I used the master versión with your 24144af2 patch. > > >> Your patch corectec the leak if dm (draw_persistent_duration) > 0, > and > > >> the > > >> leak memory occurs also with dm=0. > > >> > > > > > > Does not leak here at all. > > > > > > > Do note that if PTS get out of sync it could start to keep yet not used > > frames. > > > > Could you use graphmonitor filter after showvolume filter? The queue > items > > displayed in video should not reach red colored numbers. > > > > > > > > > > > > >> > > >> > > >> > > >> On Mon, Apr 18, 2022 at 5:51 PM Paul B Mahol > wrote: > > >> > > >> > On Mon, Apr 18, 2022 at 5:32 PM ramon wrote: > > >> > > > >> > > Thanks,but not work. The memory leak is the same. > > >> > > The init function is called only once. > > >> > > > > >> > > > > >> > Sorry, use master version of ffmpeg. > > >> > > > >> > > > >> > > > > >> > > > > >> > > On Wed, Apr 13, 2022 at 6:24 PM Paul B Mahol > > >> wrote: > > >> > > > > >> > > > On Wed, Apr 13, 2022 at 5:58 PM ramon > wrote: > > >> > > > > > >> > > > > I'm testing the showolume filter to generate a single vumeter > > >> from an > > >> > > > input > > >> > > > > stream. > > >> > > > > The filter works perfectly but eats memory. Approximately > > >> 500MBytes > > >> > > > every 2 > > >> > > > > days. > > >> > > > > > > >> > > > > Using ffmpeg version 5.0-static on GNU/Linux 4.15.0-45-generic > > >> x86_64 > > >> > > > > > > >> > > > > In normal use I use an output nut format with a pipe to a vlc > > >> player. > > >> > > But > > >> > > > > with a simple output to null it also has a memory leak. > > >> > > > > > > >> > > > > My testing commandline: > > >> > > > > > > >> > > > > ffmpeg -i udp://@239.1.1.1:1234 -filter_complex > > >> > > > > > > >> > > > > > >> > > > > >> > > > >> > > > [0:a]showvolume=r=20:ds=log:m=r:v=0:t=0:dm=2:dmc=yellow:o=h:w=320:h=8[out] > > >> > > > > -map [out] -map 0:a -an -c:v rawvideo -pix_fmt rgb24 -f null > > >> > /dev/null > > >> > > > > > > >> > > > > > >> > > > Small leaks (648 bytes per each init) have been fixed. Thanks > for > > >> > report. > > >> > > > > > >> > > > > > >> > > > > > > >> > > > > > > >> > > > > Thanks, > > >> > > > > Ramon > > >> > > > > ___ > > >> > > > > ffmpeg-user mailing list > > >> > > > > ffmpeg-user@ffmpeg.org > > >> > > > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > >> > > > > > > >> > > > > To unsubscribe, visit link above, or email > > >> > > > > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > > >> > > > > > > >> > > > ___ > > >> > > > ffmpeg-user mailing list > > >> > > > ffmpeg-user@ffmpeg.org > > >> > > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > >> > > > > > >> > > > To unsubscribe, visit link above, or email > > >> > > > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > > >> > > > > > >> > > ___ > > >> > > ffmpeg-user mailing list > > >> > > ffmpeg-user@ffmpeg.org > > >> > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > >> > > > > >> > > To unsubscribe, visit link above, or email > > >> > > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > > >> > > > > >> > ___ > > >> > ffmpeg-user mailing list > > >> > ffmpeg-user@ffmpeg.org > > >> > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > >> > > > >> > To unsubscribe, visit link above, or email > > >> > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > > >> > > > >> ___ > > >> ffmpeg-user mailing list > > >> ffmpeg-user@ffmpeg.org > > >> https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > >> > > >> To unsubscribe, visit link above, or email > > >> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > > >> > > > > > ___ > > ffmpeg-user mailing list > > ffmpeg-user@ffmpeg.org > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > > To unsubscribe, visit link above, or email > > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > > > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org
Re: [FFmpeg-user] avsynctest
On 2022-04-19 02:09, Michael Koch wrote: Hello, it's unclear how the new "avsynctest" source is expected to work. The most simple command line ffmpeg -f lavfi -i avsynctest=d=5 out.mov gives this error message: ...[error message and console log omitted for brevity]... I agree, Michael. The documentation[1] does not mention which output pad(s) (or input pad(s)) the filter uses. It also fails to give any example of the source in use. It is inadequate IMHO. [1] http://ffmpeg.org/ffmpeg-all.html#avsynctest Best regards, --Jim DeLaHunt ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] showvolume filter memory leak
OK I'll check the pts sync as you say. I am simply trying the following command based on https://hhsprings.bitbucket.io/docs/programming/examples/ffmpeg/audio_visualization/_showvolume_.html and I get memory leaks., I don't know the reason. ffmpeg -re -stream_loop -1 -i test.mp3 -filter_complex "[0:a]showvolume,scale=1920:-1,pad=1920:1080:(ow-iw)/2:(oh-ih)/2[v]" -map [v] -map 0:a -c:a copy -f null - On Mon, Apr 18, 2022 at 8:27 PM Paul B Mahol wrote: > On Mon, Apr 18, 2022 at 8:13 PM Paul B Mahol wrote: > > > > > > > On Mon, Apr 18, 2022 at 7:00 PM ramon wrote: > > > >> Yes, I used the master versión with your 24144af2 patch. > >> Your patch corectec the leak if dm (draw_persistent_duration) > 0, and > >> the > >> leak memory occurs also with dm=0. > >> > > > > Does not leak here at all. > > > > Do note that if PTS get out of sync it could start to keep yet not used > frames. > > Could you use graphmonitor filter after showvolume filter? The queue items > displayed in video should not reach red colored numbers. > > > > > > > >> > >> > >> > >> On Mon, Apr 18, 2022 at 5:51 PM Paul B Mahol wrote: > >> > >> > On Mon, Apr 18, 2022 at 5:32 PM ramon wrote: > >> > > >> > > Thanks,but not work. The memory leak is the same. > >> > > The init function is called only once. > >> > > > >> > > > >> > Sorry, use master version of ffmpeg. > >> > > >> > > >> > > > >> > > > >> > > On Wed, Apr 13, 2022 at 6:24 PM Paul B Mahol > >> wrote: > >> > > > >> > > > On Wed, Apr 13, 2022 at 5:58 PM ramon wrote: > >> > > > > >> > > > > I'm testing the showolume filter to generate a single vumeter > >> from an > >> > > > input > >> > > > > stream. > >> > > > > The filter works perfectly but eats memory. Approximately > >> 500MBytes > >> > > > every 2 > >> > > > > days. > >> > > > > > >> > > > > Using ffmpeg version 5.0-static on GNU/Linux 4.15.0-45-generic > >> x86_64 > >> > > > > > >> > > > > In normal use I use an output nut format with a pipe to a vlc > >> player. > >> > > But > >> > > > > with a simple output to null it also has a memory leak. > >> > > > > > >> > > > > My testing commandline: > >> > > > > > >> > > > > ffmpeg -i udp://@239.1.1.1:1234 -filter_complex > >> > > > > > >> > > > > >> > > > >> > > >> > [0:a]showvolume=r=20:ds=log:m=r:v=0:t=0:dm=2:dmc=yellow:o=h:w=320:h=8[out] > >> > > > > -map [out] -map 0:a -an -c:v rawvideo -pix_fmt rgb24 -f null > >> > /dev/null > >> > > > > > >> > > > > >> > > > Small leaks (648 bytes per each init) have been fixed. Thanks for > >> > report. > >> > > > > >> > > > > >> > > > > > >> > > > > > >> > > > > Thanks, > >> > > > > Ramon > >> > > > > ___ > >> > > > > ffmpeg-user mailing list > >> > > > > ffmpeg-user@ffmpeg.org > >> > > > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > >> > > > > > >> > > > > To unsubscribe, visit link above, or email > >> > > > > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > >> > > > > > >> > > > ___ > >> > > > ffmpeg-user mailing list > >> > > > ffmpeg-user@ffmpeg.org > >> > > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > >> > > > > >> > > > To unsubscribe, visit link above, or email > >> > > > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > >> > > > > >> > > ___ > >> > > ffmpeg-user mailing list > >> > > ffmpeg-user@ffmpeg.org > >> > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > >> > > > >> > > To unsubscribe, visit link above, or email > >> > > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > >> > > > >> > ___ > >> > ffmpeg-user mailing list > >> > ffmpeg-user@ffmpeg.org > >> > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > >> > > >> > To unsubscribe, visit link above, or email > >> > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > >> > > >> ___ > >> ffmpeg-user mailing list > >> ffmpeg-user@ffmpeg.org > >> https://ffmpeg.org/mailman/listinfo/ffmpeg-user > >> > >> To unsubscribe, visit link above, or email > >> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > >> > > > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] avsynctest
On Tue, Apr 19, 2022 at 11:10 AM Michael Koch wrote: > Hello, > > it's unclear how the new "avsynctest" source is expected to work. The > most simple command line > > ffmpeg -f lavfi -i avsynctest=d=5 out.mov > > gives this error message: > > [lavfi @ 02741200efc0] Output pad "video" with type video of the > filter instance "Parsed_avsynctest_0" of avsynctest not connected to any > destination > avsynctest=d=5: Invalid argument > > The console output is below. > Add [out0], already answered. This is trivial. > > Michael > > > > C:\Users\astro\Desktop>ffmpeg -f lavfi -i avsynctest=d=5 out.mov > ffmpeg version 2022-04-18-git-d5687236ab-full_build-www.gyan.dev > Copyright (c) 2000-2022 the FFmpeg developers >built with gcc 11.2.0 (Rev10, Built by MSYS2 project) >configuration: --enable-gpl --enable-version3 --enable-static > --disable-w32threads --disable-autodetect --enable-fontconfig > --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp > --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib > --enable-librist --enable-libsrt --enable-libssh --enable-libzmq > --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 > --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi > --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 > --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom > --enable-libopenjpeg --enable-libvpx --enable-mediafoundation > --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi > --enable-liblensfun --enable-libvidstab --enable-libvmaf > --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid > --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va > --enable-dxva2 --enable-libmfx --enable-libshaderc --enable-vulkan > --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme > --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb > --enable-libmp3lame --enable-libshine --enable-libtheora > --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc > --enable-libgsm --enable-libopencore-amrnb --enable-libopus > --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b > --enable-libflite --enable-libmysofa --enable-librubberband > --enable-libsoxr --enable-chromaprint >libavutil 57. 24.101 / 57. 24.101 >libavcodec 59. 26.100 / 59. 26.100 >libavformat59. 22.100 / 59. 22.100 >libavdevice59. 6.100 / 59. 6.100 >libavfilter 8. 33.100 / 8. 33.100 >libswscale 6. 6.100 / 6. 6.100 >libswresample 4. 6.100 / 4. 6.100 >libpostproc56. 5.100 / 56. 5.100 > [lavfi @ 02741200efc0] Output pad "video" with type video of the > filter instance "Parsed_avsynctest_0" of avsynctest not connected to any > destination > avsynctest=d=5: Invalid argument > > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
[FFmpeg-user] avsynctest
Hello, it's unclear how the new "avsynctest" source is expected to work. The most simple command line ffmpeg -f lavfi -i avsynctest=d=5 out.mov gives this error message: [lavfi @ 02741200efc0] Output pad "video" with type video of the filter instance "Parsed_avsynctest_0" of avsynctest not connected to any destination avsynctest=d=5: Invalid argument The console output is below. Michael C:\Users\astro\Desktop>ffmpeg -f lavfi -i avsynctest=d=5 out.mov ffmpeg version 2022-04-18-git-d5687236ab-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers built with gcc 11.2.0 (Rev10, Built by MSYS2 project) configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint libavutil 57. 24.101 / 57. 24.101 libavcodec 59. 26.100 / 59. 26.100 libavformat 59. 22.100 / 59. 22.100 libavdevice 59. 6.100 / 59. 6.100 libavfilter 8. 33.100 / 8. 33.100 libswscale 6. 6.100 / 6. 6.100 libswresample 4. 6.100 / 4. 6.100 libpostproc 56. 5.100 / 56. 5.100 [lavfi @ 02741200efc0] Output pad "video" with type video of the filter instance "Parsed_avsynctest_0" of avsynctest not connected to any destination avsynctest=d=5: Invalid argument ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Fluorescent White Balance Video Filters
On Tue, Apr 19, 2022 at 3:34 AM Roger wrote: > I'm not finding much about fixing video having incorrect white space, more > specifically video with incorrect or forgotten fluorescent white balance > setting during recording. > > I have a very old VHS recorded tape without a fluorescent white balance > applied, and as such a green mask throughout the video. > > I started examing one frame of the video, luckily having distinct red, > white, > blue colors and was viewing the frame within RawTherapee and tinkering > with > white balance settings. Low and behold, after applying the "Philips TL85 > fluorescent" (designated as "F10 - Philips TL85") white balance preset > profile, > the red/green/blue values all appeared exact! > > However, I cannot find this preset profile within RawTherapee installed > files, > nor do the *.pp3 sidecar files indicate specific values, hinting the > values are > either hard-coded or further buried within the installed system files, for > which fgrep insensitive searching still fails to find the specifics of > this > filter. > > Question, what is the proper method of applying such a missing white > balance > fluorescent filter to a video file using ffmpeg? > You could try colorcorrect filter. But note that it operates by default in YUV colorspace. While other software probably use Lab colorspace. > > I'm surprised there's so little mentioned via a Google search, as users > are > always mucking-up the white balance settings while video recording or > taking > photos, unless using a color/gray card. > > > Roger > > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Issues deinterlacing DirectShow input with ffplay
On Mon, Apr 11, 2022 at 2:50 PM Alex wrote: > > On Sunday, April 10th, 2022 at 1:18 AM, Roger Pack > wrote: > > Input frame rate is still the same both ways? > > Yes, 29.97 fps either way (didn't realize that it's covered in the video; > the log files should have everything though). Can you replicate it not using dshow? ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Change device setting from CLI?
On Sun, Apr 10, 2022 at 7:28 AM Steve Russell wrote: > > I bought an HD webcam during the pandemic and it's been pretty good except > the colours were a bit off. I finally decided to try and do something about > it. The app I use most with it (Zoom) doesn't offer any way to tweak the > camera settings so, after a search, I found that FFmpeg can do the job. If I > run this command: > > ffmpeg-5.0.1-full_build\bin\ffmpeg -f dshow -show_video_device_dialog true -i > video="HD Web Camera" > > I get a dialog that lets me change several settings. Simply dropping the > saturation down to about 60 does the trick but the change doesn't stick - I > assume Zoom is resetting the camera when it starts up. To avoid having to > manually set the saturation as above, it would be great to have a command > line to change the setting. I've experimented with: > > ffmpeg-5.0.1-full_build\bin\ffmpeg -f dshow -i video="HD Web Camera" -vf > eq=saturation=0.6 output > > but this runs without changing the appearance in Zoom. I'm guessing that this > is because I'm putting the filter in between the camera and "output" rather > than changing the device settings directly. > > I've dug around in the documentation but find it somewhat overwhelming and > don't really know where to start looking. Any pointers gratefully received! There are some filters that support settings but apparently it's hit or miss https://stackoverflow.com/a/27931102/32453 you can try the video_device_load and video_device_save params, if they work it works, otherwise you're kind of stuck. Good luck! ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".