Re: [FFmpeg-user] Problem with astats and adrawgraph

2019-11-25 Thread Paul B Mahol
On 11/25/19, Michael Koch wrote: > Am 25.11.2019 um 12:04 schrieb Paul B Mahol: >> On 11/25/19, Michael Koch wrote: >>> Am 25.11.2019 um 00:08 schrieb Michael Koch: >>>> I just found the solution to this problem myself: >>>> astats=metadata=1:rese

Re: [FFmpeg-user] Problem with astats and adrawgraph

2019-11-25 Thread Paul B Mahol
On 11/25/19, Michael Koch wrote: > Am 25.11.2019 um 00:08 schrieb Michael Koch: >> >> I just found the solution to this problem myself: >> astats=metadata=1:reset=1,adrawgraph=m1=lavfi.astats.1.RMS_level >> >> The underline character is missing in the documentation, where the >> option is called

Re: [FFmpeg-user] overlay_cuda

2019-11-07 Thread Paul B Mahol
No. On 11/7/19, Alex <3.1...@ukr.net> wrote: > We have overlay, overlay_qsv, overlay_opencl filters but don't have > overlay_cuda for speed up transcoding videos on nvidia GPU only. Using sw > overlay filter is slow down the transcoding because frames copied between > CPU and GPU ram. Can You

Re: [FFmpeg-user] drawgraph filter, color formats

2019-11-03 Thread Paul B Mahol
On 11/3/19, Michael Koch wrote: > Am 03.11.2019 um 06:55 schrieb Carl Eugen Hoyos: >> Am So., 3. Nov. 2019 um 00:08 Uhr schrieb Michael Koch >> : >> >>> I'm just making some experiments with the drawgraph filter and it took >>> me more than one hour to figure out what was wrong: >>> The colors of

Re: [FFmpeg-user] First frame is corrupted

2019-10-30 Thread Paul B Mahol
On 10/30/19, Michael Koch wrote: > Am 30.10.2019 um 10:07 schrieb Michael Koch: >> Hi, >> >> I have a video which looks fine in FFplay and also in VLC, but after >> uploading to Facebook the first frame is corrupted, as can be seen >> here:

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

2019-10-27 Thread Paul B Mahol
On 4/24/19, Michael Koch wrote: > Am 24.04.2019 um 10:43 schrieb Ulf Zibis: >> Am 23.04.19 um 11:43 schrieb Jon bae: >>> Makes it a different when I denoise after scaling a video, or is the >>> quality better when I denoise before scaling. >>> >>> In terms of speed it would be better for me,

Re: [FFmpeg-user] Writing PGM files

2019-10-20 Thread Paul B Mahol
On 10/20/19, Michael Koch wrote: > Hello, > > FFmpeg can read PGM (Portable Gray Map) files that are either ASCII > coded (beginning with "P2") or binary coded (beginning with "P5"). When > writing a PGM file, the default format is binary. Is it also possible to > write an ASCII coded PGM file?

Re: [FFmpeg-user] afftfilt example

2019-10-10 Thread Paul B Mahol
On 10/10/19, Michael Koch wrote: > Hi, > > in the documentation is a new example for afftfilt: > afftfilt="real='hypot(re,im)*sin(0)':imag='hypot(re,im)*cos(0)':win_size=512:overlap=0.75" > > What's the point of multiplying by sin(0) and cos(0)? Isn't this exactly > the same as >

Re: [FFmpeg-user] White is not pure white in overlay of PNG on JPEG image

2019-10-09 Thread Paul B Mahol
On 10/9/19, Jason Green wrote: > I feel like I'm so close with your help, but the docs around some of these > commands is not great and I just can't figure it out. > Could you please post an example of how you use these options in this > context. I made the image public so you can literally amend

Re: [FFmpeg-user] White is not pure white in overlay of PNG on JPEG image

2019-10-09 Thread Paul B Mahol
k. Do I need to just keep experimenting with these values? > colorspace in this context: jpg is yuv ang png is rgb. > > On Wed, 9 Oct 2019 at 12:19, Paul B Mahol wrote: > >> On 10/9/19, Jason Green wrote: >> > I'm sorry to bother you all with this but I have been unable t

Re: [FFmpeg-user] White is not pure white in overlay of PNG on JPEG image

2019-10-09 Thread Paul B Mahol
On 10/9/19, Jason Green wrote: > I'm sorry to bother you all with this but I have been unable to resolve the > issue with my own research (which is really rare for me :) ). > > I am trying to overlay pngs of text that have been generated by another > source onto jpg photos. I have simplified the

Re: [FFmpeg-user] "Padding" start and/or end of video

2019-10-07 Thread Paul B Mahol
On 10/7/19, Richard Branham wrote: > I have four mp4 recordings of a video conference feed. After the > conference ends, the files are multiplexed into a single video with each of > the original files displayed in a quadrant of the output window. This > works as expected if all four videos are

Re: [FFmpeg-user] metadata from concat list not working

2019-09-30 Thread Paul B Mahol
On 9/30/19, Goran Obal wrote: > Hi everyone, > > I apologize for spamming... I just saw that it is in fact working for me > when I do it with pictures, I was just using such examples that the text > was not visible. Sorry. > So, yes, it seems I don't understand what is different when I create

Re: [FFmpeg-user] current ffmpeg creates shortened audio stream when filter amix

2019-09-29 Thread Paul B Mahol
On 9/29/19, S Andreason wrote: > I am getting a shortened audio stream when including the audio filters > aresample and amix, which later makes it impossible to concat the clips, > because the different stream lengths lose sync between audio and video, > with errors: > Invalid audio PTS > >

Re: [FFmpeg-user] Play FFV1

2019-09-26 Thread Paul B Mahol
On 9/26/19, Noeck wrote: > Hi, > > I tried to play videos encoded in FFV1 (FFV1 and FLAC in an mkv > container). All players (ffplay, vlc, totem) show only some still images > about every 10 - 20 s but no smooth video. The videos are encoded using > ffmpeg. > > Is my Intel Core i5-4570 CPU with 4

Re: [FFmpeg-user] Frame-accurate seekingin FFplay?

2019-09-26 Thread Paul B Mahol
On 9/23/19, Stuart Bruce wrote: > Hello > > I've been tasked with making a Python-based, cross-platform application > that centres around (but which is not limited to) a central video player > window. As a regular user of FFmpeg, I want to use FFplay, via the > ffpyplayer library. > > However the

Re: [FFmpeg-user] Unsync between Audio and Video and other Issues

2019-09-21 Thread Paul B Mahol
On 9/21/19, Rudolf Schmidt wrote: > This is a qualified response, but I cannot understand why my system > should be too weak. > > I have a AMD Ryzen 7 1700X (16) @ 3.400GHz with 8 Cores and 16 Threads. > How this can be too slow and 64 GB RAM. > > Is my configuration wrong? I cannot use a lower

Re: [FFmpeg-user] Ffmpeg is a Windows codec?

2019-09-19 Thread Paul B Mahol
On 9/19/19, jamie marchant wrote: > Is their a Windows codec available? I want to play Indeo video 3 files, > which FFPlay can do but I want to play it through 'Video for > Windows"(Windows NT/10 version). That way I can run an old piece of > multimedia software. Not possible. > > -- > -Jamie

Re: [FFmpeg-user] 'showspectrumpic' filter: scaling of the frequency axis and fft windows size

2019-09-13 Thread Paul B Mahol
On 9/13/19, Wolfgang Hugemann wrote: > Today, I have been experimenting with the 'showspectrum' filter, mostly > with 'showspectrumpic'. > > I think there is a bug in the log scaling of the frequency axis if (and > only if) it doesn't start at zero: The ratios of the frequency axis' > labelings

Re: [FFmpeg-user] V360 filter

2019-09-12 Thread Paul B Mahol
On 9/12/19, Michael Koch wrote: > Am 12.09.2019 um 14:05 schrieb Paul B Mahol: >> On 9/12/19, Michael Koch wrote: >>> Paul, >>> >>>>>> Make this correction: >>>>>> >>>>>> new_fov = 180 * tan(fov/4) >>>&g

Re: [FFmpeg-user] V360 filter

2019-09-12 Thread Paul B Mahol
On 9/12/19, Michael Koch wrote: > Paul, > >> Make this correction: new_fov = 180 * tan(fov/4) where fov the the field of view you get from the command line, and fov_new is the value that you use for the filter. You must exclude values too close to 360°, because

Re: [FFmpeg-user] V360 filter

2019-09-11 Thread Paul B Mahol
On 9/11/19, Michael Koch wrote: > Am 11.09.2019 um 14:23 schrieb Michael Koch: >> Am 11.09.2019 um 13:13 schrieb Michael Koch: >>> Paul, >>> > I think the field of view isn't correct in the stereographic output. > > Here is a script for making really nice test images, for measuring

Re: [FFmpeg-user] V360 filter

2019-09-10 Thread Paul B Mahol
On 9/10/19, Michael Koch wrote: > Paul, > >> >>> v_fov is limited to 90°, that's not enough for little planet. >> I increased it. > > ok, I will test it as soon as it's available at Zeranoe. > > I think the field of view isn't correct in the stereographic output. > > Here is a script for making

Re: [FFmpeg-user] V360 filter

2019-09-10 Thread Paul B Mahol
On 9/10/19, Michael Koch wrote: > Paul, > >> >>> v_fov is limited to 90°, that's not enough for little planet. >> I increased it. > > ok, I will test it as soon as it's available at Zeranoe. > > I think the field of view isn't correct in the stereographic output. > > Here is a script for making

Re: [FFmpeg-user] V360 filter

2019-09-10 Thread Paul B Mahol
On 9/10/19, Michael Koch wrote: > Paul, > >> Stereographic projection aka little planet added as both input and output. >> Single fisheye is little different. > > v_fov is limited to 90°, that's not enough for little planet. I increased it. > >> >>> -- I think the d_flip parameter needs some

Re: [FFmpeg-user] V360 filter

2019-09-10 Thread Paul B Mahol
On 9/6/19, Michael Koch wrote: > Hi all, > > I see the progress on the V360 filter... that's very good! > A few suggestions for improvement: > -- (Single-)Fisheye as input and output format, with a selectable field > of view up to 360° (little planet). Stereographic projection aka little planet

Re: [FFmpeg-user] yuv420p vs yuv420p(tv)

2019-09-09 Thread Paul B Mahol
On 9/9/19, George R. Welch wrote: > Hi folks, > > I have two versions of the same video and I would like to only keep > one. If one is higher quality, I'd obviously want to keep that one. I > can't tell tell any difference through casual watching with VLC, so > perhaps it does not matter. > >

Re: [FFmpeg-user] Visualization filter colors and scale.

2019-09-06 Thread Paul B Mahol
On 9/6/19, Zsolt wrote: > Paul B Mahol ezt írta (időpont: 2019. szept. 6., P, > 20:22): > >> On 9/6/19, Zsolt wrote: >> > Thanks for the reply. >> > >> > Paul B Mahol ezt írta (időpont: 2019. szept. 6., P, >> > 19:05): >> > >>

Re: [FFmpeg-user] Visualization filter colors and scale.

2019-09-06 Thread Paul B Mahol
On 9/6/19, Zsolt wrote: > Thanks for the reply. > > Paul B Mahol ezt írta (időpont: 2019. szept. 6., P, > 19:05): > >> >> Very basic question, just add scale= after your A->V filter, do >> not forget to use "," as filter separa

Re: [FFmpeg-user] Visualization filter colors and scale.

2019-09-06 Thread Paul B Mahol
On 9/6/19, Zsolt wrote: > Hello! > > Does anyone know how do I set the color matrix and range when using > filter_complex? > > I use this filter: > -filter_complex > "[0:a]showfreqs=s=1920x1080:cmode=combined:colors=#99|#77,format=yuv444p[vid]" > picture: > [image: 1.jpg] > > > The colors

Re: [FFmpeg-user] Read values from a text or CSV file?

2019-09-02 Thread Paul B Mahol
On 9/2/19, Michael Koch wrote: > Hello Gyan, > >> You can just read the whole filtergraph from a file. >> >> ffmpeg -i in -filter_complex_script graph.txt ... >> >> where graph.txt is >> >> e.g. >> >> [0:v][2:v]overlay=...[out] >> > > That's a good idea! > Are line feeds allowed in the

Re: [FFmpeg-user] Overlay performance

2019-08-27 Thread Paul B Mahol
On Tue, Aug 27, 2019 at 6:17 PM Carl Zwanzig wrote: > On 8/27/2019 9:04 AM, Darrin Smith wrote: > > I did copy the command, but there is no way to get better hardware. This > is > > for an app where the user may have even lesser hardware (cell phones) > than > > what was used so I'm hoping to

Re: [FFmpeg-user] Overlay performance

2019-08-27 Thread Paul B Mahol
> > Here is the command string for the merging > > > val cmd = "-y -i $inputFileUrl -i $transparencyFullUrl -filter_complex > [1]format=bgra,colorchannelmixer=aa=1,rotate=0:c=black@0 > :ow=rotw(0):oh=roth(0)[overlayImage];[0][overlayImage]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2 >

Re: [FFmpeg-user] How does VLC player recognize a spherical video?

2019-08-27 Thread Paul B Mahol
On Tue, Aug 27, 2019 at 4:13 PM Michael Koch wrote: > Hello all, > > I have used the remap filter to make a video with size 1920x960 and the > content is a spherical video in equirectangular projection. But VLC > player doesn't recognize it as spherical, so I can't use the mouse to > change the

Re: [FFmpeg-user] delay time in live ultrasound converter

2019-08-22 Thread Paul B Mahol
On Thu, Aug 22, 2019 at 7:07 PM Michael Koch wrote: > Hello, > > I'm using the following batch file (Windows 7) for a live ultrasound > conversion. > > set "SR=44100" :: Sample rate > set "F=14000" :: Subtracted frequency > set "VOL=10" :: Volume factor >

Re: [FFmpeg-user] [LDP] FFmpeg at LinuxDays 2019 in Prague

2019-08-21 Thread Paul B Mahol
On Tue, Aug 20, 2019 at 6:25 PM Thilo Borgmann wrote: > Hi all, > > FFmpeg has been accepted again for a booth at the LinuxDays 2019 in > Prague, Czech Republic from October 5th to 6th! > > Like last year, we hope to have a great conference with many users and > fellow open-source projects

Re: [FFmpeg-user] Book with examples

2019-08-17 Thread Paul B Mahol
On Sat, Aug 17, 2019 at 11:32 AM DopeLabs wrote: > On Aug 16, 2019, at 7:48 25AM, Michael Koch > wrote: > > > > Hello all, > > > > this is not a question. During the last few years I've tested many > things with FFmpeg, and now I've written it all in this document: > >

Re: [FFmpeg-user] audio volume normalize

2019-08-11 Thread Paul B Mahol
On Sun, Aug 11, 2019 at 2:28 PM Moritz Barsnick wrote: > On Sun, Aug 11, 2019 at 03:25:47 -0700, DopeLabs wrote: > > you can try using the loudnorm filter... > > > > http://ffmpeg.org/ffmpeg-filters.html#loudnorm > > I have also had good results with the dynaudnorm filter, even without > any

Re: [FFmpeg-user] Verifying lossless rewrapping/transcoding in one step?

2019-08-11 Thread Paul B Mahol
On Wed, Aug 7, 2019 at 4:26 PM Moritz Barsnick wrote: > On Wed, Aug 07, 2019 at 15:10:06 +0200, Peter B. wrote: > > > I'll try to rework it to give the "hash" muxer a "-per_stream" boolean > > > option, then I can (and must) reuse all the code. > > > > Wooow! > > That'd be awesome! > > I sent a

Re: [FFmpeg-user] Verifying lossless rewrapping/transcoding in one step?

2019-08-06 Thread Paul B Mahol
On Tue, Aug 6, 2019 at 12:14 PM Moritz Barsnick wrote: > On Tue, Aug 06, 2019 at 10:07:40 +0200, Paul B Mahol wrote: > > If I understand correctly, basically need hash of each stream separately > > (for framehash this already works). > > > > That is quite possible t

Re: [FFmpeg-user] Verifying lossless rewrapping/transcoding in one step?

2019-08-06 Thread Paul B Mahol
On Mon, Aug 5, 2019 at 11:13 PM Peter B. wrote: > Hi Paul! > > On 05/08/2019 16:25, Paul B Mahol wrote: > > On Mon, Aug 5, 2019 at 4:16 PM Peter B. wrote: > > > >> [...] > >> For example, instead of "CRC32=" let's say: > >> "v:

Re: [FFmpeg-user] Verifying lossless rewrapping/transcoding in one step?

2019-08-05 Thread Paul B Mahol
On Mon, Aug 5, 2019 at 4:16 PM Peter B. wrote: > Dear Moritz, > > Thank you for your explanation! > > > On 03/08/2019 14:07, Moritz Barsnick wrote: > > I believe in using the right tools for the right tasks. If it can be > > glued together with a script, why worry about modifying an existing > >

Re: [FFmpeg-user] Calling FFmpeg from PHP: How to set logfile? (report)

2019-07-27 Thread Paul B Mahol
On Sat, Jul 27, 2019 at 8:33 PM Peter B. wrote: > Hi everyone! > > I'd like to call FFmpeg from PHP, and I'm very grateful for all the > information in the Wiki [1]! > It feels like the "-report" option [2] that writes a logfile seems like > the more straightforward way to write the output to a

Re: [FFmpeg-user] Installing the ocv filter

2019-07-25 Thread Paul B Mahol
On 7/25/19, dimaseriy wrote: > So what's the solution? Installing older opencv? Yes, OpenCV 3.x does not support the legacy C interface anymore. What for you use opencv in ffmpeg? The wrapper is pretty limited imho. > > 25.07.2019, 17:08, "Paul B Mahol" : >> On 7/25/19,

Re: [FFmpeg-user] Installing the ocv filter

2019-07-25 Thread Paul B Mahol
On 7/25/19, dimaseriy wrote: > I tried > > mkdir -p ~/ffmpeg_sources ~/bin > cd ~/ffmpeg_sources > wget -O ffmpeg-snapshot.tar.bz2 > https://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2 && tar xjvf > ffmpeg-snapshot.tar.bz2 && cd ffmpeg > > but I got > > $ PATH="$HOME/bin:$PATH"

Re: [FFmpeg-user] missing a selected frame

2019-07-19 Thread Paul B Mahol
On 7/19/19, Ulf Zibis wrote: > > Am 19.07.19 um 11:33 schrieb Ulf Zibis: >> >> [.] >> >> For the 1st catched frame there is "next_dts_time:10.24" and >> "next_pts_time:10.16". So how can I be sure, that this is the >> corresponding frame to the output of my filter? : >>

Re: [FFmpeg-user] PSNR for lossless JPEG2000 doesn't match

2019-07-16 Thread Paul B Mahol
On 7/16/19, Elliott Balsley wrote: > Hello. I’m trying to encode a v210 AVI to lossless JPEG2000. I believe > libopenjpeg defaults to the lossless profile. When I use -psnr while > encoding, it shows inf, that’s good. But when I run -filter_complex psnr on > the encoded file it shows

Re: [FFmpeg-user] amix: Hard limit for number of inputs?

2019-07-16 Thread Paul B Mahol
On 7/16/19, Reino Wijnsma wrote: > On 16-7-2019 18:56, Paul B Mahol wrote: >> On 7/16/19, Reino Wijnsma wrote: >>> Let me ask you this: How can I do MixAudio(clip1,clip2,1.0,1.0) with >>> ffmpeg >>> leaving the volume completely untouched? >> There is

Re: [FFmpeg-user] amix: Hard limit for number of inputs?

2019-07-16 Thread Paul B Mahol
On 7/16/19, Reino Wijnsma wrote: > On 16-7-2019 17:45, Paul B Mahol wrote: >> On 7/16/19, Reino Wijnsma wrote: >>> I can't use these filters. Have a look at the Youtube video please. >>> I wish it was a simple matter of just concatenating all segments, but it >

Re: [FFmpeg-user] amix: Hard limit for number of inputs?

2019-07-16 Thread Paul B Mahol
On 7/16/19, Paul B Mahol wrote: > On 7/16/19, Reino Wijnsma wrote: >> On 16-7-2019 15:36, Paul B Mahol wrote: >>> On 7/16/19, Reino Wijnsma wrote: >>>> About 7 years ago I've used Audacity to assemble the soundtrack of the >>>> videogame No One Lives F

Re: [FFmpeg-user] amix: Hard limit for number of inputs?

2019-07-16 Thread Paul B Mahol
On 7/16/19, Reino Wijnsma wrote: > On 16-7-2019 15:36, Paul B Mahol wrote: >> On 7/16/19, Reino Wijnsma wrote: >>> About 7 years ago I've used Audacity to assemble the soundtrack of the >>> videogame No One Lives Forever 2. See >>> https://www.youtube.com/wat

Re: [FFmpeg-user] amix: Hard limit for number of inputs?

2019-07-16 Thread Paul B Mahol
On 7/16/19, Ted Park wrote: > Whatever filter is being used, this has me curious what the limits of a > filter chain are in terms of number of in/out pads, if any. Usually number of inputs is limited by your memory and not by number of pads, as that can be very high 31bit number. Everything is

Re: [FFmpeg-user] amix: Hard limit for number of inputs?

2019-07-16 Thread Paul B Mahol
On 7/16/19, Reino Wijnsma wrote: > Hello ffmpeg-user, > > About 7 years ago I've used Audacity to assemble the soundtrack of the > videogame No One Lives Forever 2. See > https://www.youtube.com/watch?v=4Y3aKcQ0HK4 for example. > The soundtrack comprised of lots of small segments that can all

Re: [FFmpeg-user] Per frame metadata example?

2019-07-13 Thread Paul B Mahol
On 7/13/19, Francesco Pretto wrote: > On Sat, 13 Jul 2019 at 22:33, Paul B Mahol wrote: >> NUT does not support that. >> What convinced you it does support it? >> > > The NUT specification[1] talks specifically about per-frame metadata > support: That is ver

Re: [FFmpeg-user] Per frame metadata example?

2019-07-13 Thread Paul B Mahol
On 7/13/19, Francesco Pretto wrote: > On Sat, 13 Jul 2019 at 20:21, Paul B Mahol wrote: >> What gives you reason this is supported? None of containers mentioned can >> support it even theoretically. >> >> > > I didn't have knowledge enough to speculate about supp

Re: [FFmpeg-user] Per frame metadata example?

2019-07-13 Thread Paul B Mahol
On 7/13/19, Francesco Pretto wrote: > Hello, > > I'm investigating on possibility to encode per frame metadata using > ffmpeg API. Naive attempts to set a dictionary on "AVFrame.metadata" > with some key values failed without any warning or error during > encoding, but no values are retrieved on

Re: [FFmpeg-user] Functions for average and variance calulations

2019-07-09 Thread Paul B Mahol
On 7/9/19, Ulf Zibis wrote: > > Am 09.07.19 um 00:25 schrieb Ulf Zibis: >> Hi, >> >> are there such functions in the FFmpeg library? >> >> I have an integer array with lets say 13 numbers (accumulated counts of >> X in the range of 0..12) like: >> a) 0 1 0 1 2 7 9 5 4 3 2 0 1 >> b) 7 1 9 8 1 6 2

Re: [FFmpeg-user] How to correctly free a double-linked list

2019-07-07 Thread Paul B Mahol
On 7/7/19, Ulf Zibis wrote: > > Am 07.07.19 um 21:27 schrieb Reindl Harald: >> >> Am 07.07.19 um 21:23 schrieb Ulf Zibis: >>> Am 07.07.19 um 21:16 schrieb Paul B Mahol: >>>> Nope, bug is in your code. >>>> Build ffmpeg with address sa

Re: [FFmpeg-user] How to correctly free a double-linked list

2019-07-07 Thread Paul B Mahol
On 7/7/19, Ulf Zibis wrote: > > Am 07.07.19 um 14:20 schrieb Ulf Zibis: >>> If you can, install and use valgrind to help you debug such problems. >> Good idea, I will do that ... guess it needs some time to understand how >> it works. > > I now also have tried valgrind. To me this seems, that the

Re: [FFmpeg-user] How to correctly free a double-linked list

2019-07-07 Thread Paul B Mahol
On 7/7/19, Ulf Zibis wrote: > > Am 07.07.19 um 15:31 schrieb Ulf Zibis: >> So it should be "sizeof(*s->shifts_sums)" aka "sizeof(*int16_t)" which >> is 8. > > Sorry, typo, I meant (**s->shifts_sums). > Could you just send whole patch? > -Ulf > > ___ >

Re: [FFmpeg-user] How to correctly free a double-linked list

2019-07-07 Thread Paul B Mahol
On 7/7/19, Ulf Zibis wrote: > > Am 07.07.19 um 14:29 schrieb Paul B Mahol: >> On 7/7/19, Ulf Zibis wrote: >>> Am 07.07.19 um 13:51 schrieb Paul B Mahol: >>>> There is av_calloc, it calls memset for you after allocation >>> Thanks for the hint. I n

Re: [FFmpeg-user] How to correctly free a double-linked list

2019-07-07 Thread Paul B Mahol
On 7/7/19, Ulf Zibis wrote: > > Am 07.07.19 um 13:51 schrieb Paul B Mahol: >> There is av_calloc, it calls memset for you after allocation > Thanks for the hint. I now have: > if (s->report >= R_SHIFTS) { > s->shifts_sums = av_malloc((s->line

Re: [FFmpeg-user] How to correctly free a double-linked list

2019-07-07 Thread Paul B Mahol
On 7/7/19, Ulf Zibis wrote: > > Am 07.07.19 um 12:42 schrieb Ulf Zibis: >> Hi, >> >> when running my code, at the end I irregularly get messages like this: >> [.] >> [Parsed_lineshiftrecover_0 @ 0x55e5afb83e80] start freeing memory ... >> [Parsed_lineshiftrecover_0 @ 0x55e5afb83e80] filler

Re: [FFmpeg-user] How to correctly free a double-linked list

2019-07-07 Thread Paul B Mahol
On 7/7/19, Ulf Zibis wrote: > Hi, > > when running my code, at the end I irregularly get messages like this: > [.] > [Parsed_lineshiftrecover_0 @ 0x55e5afb83e80] start freeing memory ... > [Parsed_lineshiftrecover_0 @ 0x55e5afb83e80] filler and shifts freed! > [Parsed_lineshiftrecover_0 @

Re: [FFmpeg-user] Matroska decoding errors - element at * ending at * exceeds containing master element ending at *

2019-07-06 Thread Paul B Mahol
On 7/6/19, Kieran O Leary wrote: > I can't compile at the moment but was this issue related to > https://trac.ffmpeg.org/ticket/8001 ? Looks like this has just been fixed. Nope, different bug. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

Re: [FFmpeg-user] PCM audio in MP4

2019-07-04 Thread Paul B Mahol
On 7/4/19, Peter B. wrote: > Hi everyone :) > > I'm trying to create .mp4 files with uncompressed, linear PCM for audio > in it. > > I know for quite a while already that FFmpeg doesn't allow that: > >> [mp4 @ 0x50cc780] Could not find tag for codec pcm_s16le in stream #0, > codec not currently

Re: [FFmpeg-user] Equivalent of "-f rawvideo" but for audio?

2019-06-28 Thread Paul B Mahol
On 6/28/19, Moritz Barsnick wrote: > On Thu, Jun 27, 2019 at 23:36:12 +0100, Kieran O Leary wrote: >> On Thu, 27 Jun 2019, 23:32 Moritz Barsnick, wrote: >> > $ ffmpeg -i input -map 0:a -c:a copy -f hash - >> > or >> > $ ffmpeg -i input -map 0:a -c:a copy -hash md5 -f hash - >> > if you prefer

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

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

Re: [FFmpeg-user] problems with astreamselect

2019-06-10 Thread Paul B Mahol
two audio streams it > still fails. > > On Mon, Jun 10, 2019 at 2:55 AM Paul B Mahol wrote: >> >> On 6/10/19, Eric Ball wrote: >> > Reproduced with ffmpeg version N-94000-g78e1d7f421-tessus >> > >> > However, I was hoping the mailing list could identify

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

2019-06-10 Thread Paul B Mahol
Can not reproduce. Make sure that audio is not taken in output duration. Provide your input file by uploading it somewhere. On 6/10/19, Michael Koch wrote: > Hi all, > > I want to delay a video in a filter chain by 5 seconds, and then combine > it with the original video with hstack. I use the

Re: [FFmpeg-user] problems with astreamselect

2019-06-10 Thread Paul B Mahol
On 6/10/19, Eric Ball wrote: > Reproduced with ffmpeg version N-94000-g78e1d7f421-tessus > > However, I was hoping the mailing list could identify any obvious > usage problems before I generated the bug report. Use asetnsamples to set same number of samples to both inputs. > > On Sun, Jun 9,

Re: [FFmpeg-user] blend filter

2019-06-09 Thread Paul B Mahol
On 6/9/19, Michael Koch wrote: > Hi, > > in the documentation for the blend filter is written: > "By default, the output terminates when the longest input terminates." > > What's used as input when the shortest input has terminated? Is the last > frame of the shorter input duplicated? Yes. > Is

Re: [FFmpeg-user] ocr howto set whitelist

2019-05-17 Thread Paul B Mahol
On 5/17/19, Thomas Seilund wrote: > > On 17/05/2019 16.13, Paul B Mahol wrote: >> On 5/17/19, Thomas Seilund wrote: >>> Hi all >>> >>> I run this command as webcam connected at /dev/video2 points a piece of >>> paper with the text "123a&qu

Re: [FFmpeg-user] ocr howto set whitelist

2019-05-17 Thread Paul B Mahol
On 5/17/19, Thomas Seilund wrote: > Hi all > > I run this command as webcam connected at /dev/video2 points a piece of > paper with the text "123a". > > FFREPORT=file=ffreport.log:level=32 ffmpeg -y -loglevel debug -f v4l2 > -input_format mjpeg -s hd480 -r 30 -i /dev/video2 -filter_complex >

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

2019-05-13 Thread Paul B Mahol
On 5/13/19, Carl Eugen Hoyos wrote: > Am Mo., 13. Mai 2019 um 13:25 Uhr schrieb Jon bae : >> >> Hello everybody, >> I have videos with 23.97 fps and I want to change the fps to 25. For this >> I >> don't want to use fps or framerate filter, but changing the pts with: >>

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

2019-05-13 Thread Paul B Mahol
On 5/13/19, Daniel Oberhoff via ffmpeg-user wrote: > >> >> You can not. > > I am curious what exactly the hindrance is. As I understand at least mp4 > there is not really a concept of frame rate in the file and in theory every > frame can have a different „rate“, defined solely by pts. So in

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

2019-05-13 Thread Paul B Mahol
On 5/13/19, Jon bae wrote: > Hello everybody, > I have videos with 23.97 fps and I want to change the fps to 25. For this I > don't want to use fps or framerate filter, but changing the pts with: > setpts=1/1.0427093760427095*PTS > > If I do this I have to define also the output frame rate with

Re: [FFmpeg-user] Help with syntax using lv2 filter plugin

2019-05-10 Thread Paul B Mahol
t I don't know what it is. Your system is borked, reinstall it. Seriously if lv2ls does not list plugins then there are not available to lv2. If you hadn't knew there is ladspa plugins with exactly same functionality if not better. https://github.com/werman/noise-suppression-for-voice > > On Fri,

Re: [FFmpeg-user] Help with syntax using lv2 filter plugin

2019-05-10 Thread Paul B Mahol
rdfs:seeAlso . > > > Does anyone know what I am doing wrong? > Do you have lv2ls tool? What it lists? > On Fri, May 10, 2019 at 9:08 AM Paul B Mahol wrote: > >> On 5/10/19, David Ing wrote: >> > There was a slight copy-paste error in my last email. >>

Re: [FFmpeg-user] Help with syntax using lv2 filter plugin

2019-05-10 Thread Paul B Mahol
On 5/10/19, David Ing wrote: > There was a slight copy-paste error in my last email. > > Here are the contents of my file: > */usr/local/lib/lv2/sdenoise.lv2/manifest.ttl* > > @prefix lv2: . > @prefix rdfs: . > >

Re: [FFmpeg-user] Sony DVF digital voice files

2019-05-10 Thread Paul B Mahol
On 5/10/19, Kieran O Leary wrote: > On Thu, 9 May 2019, 13:38 Paul B Mahol, wrote: > >> On 5/9/19, Moritz Barsnick wrote: >> > On Thu, May 09, 2019 at 15:54:46 -0400, Dave Rice wrote: >> >> > Feel free to share one or several files on Dropbox or a file s

Re: [FFmpeg-user] Sony DVF digital voice files

2019-05-09 Thread Paul B Mahol
On 5/9/19, Moritz Barsnick wrote: > On Thu, May 09, 2019 at 15:54:46 -0400, Dave Rice wrote: >> > Feel free to share one or several files on Dropbox or a file sharer of >> > your choice. >> >> There’s a decent sample set of these files already at >> http://samples.ffmpeg.org/A-codecs/MSV/ >>

Re: [FFmpeg-user] problem

2019-05-06 Thread Paul B Mahol
On 5/6/19, 黄云尧 <17748643...@163.com> wrote: > | | > 黄云尧 > | > | > 17748643...@163.com > | > 签名由网易邮箱大师定制 > On 5/6/2019 17:58,Reindl Harald wrote: > > > Am 06.05.19 um 11:33 schrieb 黄云尧: > ffmpeg -i CAN13184_HDM.mp4 -y -c:v libx264 -vcodec h264 > CAN13184_HDM_1.mp4 > i use this commond,it

Re: [FFmpeg-user] problem

2019-05-06 Thread Paul B Mahol
On 5/6/19, 黄云尧 <17748643...@163.com> wrote: > > > This version does not have libx264 itself? It maybe have? Have you tried using -c:v libx264 ? > > | | > 黄云尧 > | > | > 17748643...@163.com > | > 签名由网易邮箱大师定制 > On 5/6/2019 17:01,Paul B Mahol wrote: &g

Re: [FFmpeg-user] problem

2019-05-06 Thread Paul B Mahol
On 5/6/19, 黄云尧 <17748643...@163.com> wrote: > what can I do,need libx264 library? > Yes, and ffmpeg build with support for it. > > | | > 黄云尧 > | > | > 17748643...@163.com > | > 签名由网易邮箱大师定制 > On 5/6/2019 16:54,Paul B Mahol wrote: > On 5/6/19, 黄云尧 &l

Re: [FFmpeg-user] problem

2019-05-06 Thread Paul B Mahol
On 5/6/19, 黄云尧 <17748643...@163.com> wrote: > > > ffmpeg -i input.mp4 -vcodec h264 output.mp4 > > > I use the command,but the video have not picture only sound.who can help me? > | | For h264 you need to have build with libx264 encoder. > 黄云尧 > | > | > 17748643...@163.com > | > 签名由网易邮箱大师定制 >

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

2019-04-27 Thread Paul B Mahol
On 4/27/19, Michael Koch wrote: > Am 27.04.2019 um 01:06 schrieb Paul B Mahol: >> I can not reproduce this, even when creating big pgm files. > > What else can I do? > I tested versions from March 20 and April 10, these were ok (same speed > as all other versions that I ha

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

2019-04-26 Thread Paul B Mahol
On 4/27/19, Michael Koch wrote: > Hi, > > I'd like to report a problem when loading large PGM files, which are > required for the remap filter. > These files are loading extremely slow in the latest ffmpeg version. > Much slower than a few weeks before. > I found out that the problem began

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

2019-04-23 Thread Paul B Mahol
On 4/23/19, Michael Koch wrote: > Am 23.04.2019 um 11:43 schrieb Jon bae: >> Hello, >> I just have an general question: >> >> As I know denoiser are specialized to specific noise pattern. >> >> Makes it a different when I denoise after scaling a video, or is the >> quality better when I denoise

Re: [FFmpeg-user] Documentation and feature request

2019-04-15 Thread Paul B Mahol
On 4/15/19, Michael Koch wrote: > Hi all, > > over the last months I've collected a list what's missing in FFmpeg's > documentation. > At the end of the list there are a few feature requests. > [...] > Feature request: > -- Decay filter, makes short flashes of light appear longer, with an >

Re: [FFmpeg-user] unsubscribe

2019-04-10 Thread Paul B Mahol
On 4/10/19, Dean Rotherham wrote: > No offence but wow as a new subscriber to this channel it's crazy! :( Too > much nit picking. > > I joined to try solve an issue and sadly no replies to my email thread and > seems mostly the threads are "moaning". I can not find your thread. Where is it? > >

Re: [FFmpeg-user] Making length of both videos equal while using chromakey (colorkey )filter.

2019-03-28 Thread Paul B Mahol
On 3/28/19, Usman Archi wrote: > This works. > > -y -i (videoPath1) -i (videoPath2) -filter_complex > [1:v]colorkey=0x00ff00:0.3:0.15[a][ckout];[0:v][a][ckout]overlay[despill];[despill]despill=green[out] > -map [out] -map 0:a -b 320 -s 640:360 -c:a copy (outputPath) > > (removed the setpts

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

2019-03-11 Thread Paul B Mahol
On 3/11/19, Ulf Zibis wrote: > > Am 09.03.19 um 09:39 schrieb Paul B Mahol: >> On 3/9/19, Ulf Zibis wrote: >>> Another question is, why the fillborders doesn't check if the input is >>> writable, as suggested in doc/writing_filters.txt. >>> >> Beca

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

2019-03-09 Thread Paul B Mahol
On 3/9/19, Ulf Zibis wrote: > > Am 09.03.19 um 00:18 schrieb Paul B Mahol: >> On 3/8/19, Ulf Zibis wrote: >> >> >> tiff is encoded with alpha, which is not initially available. Filter >> is working fine. > I do not really understand this argumentat

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

2019-03-08 Thread Paul B Mahol
On 3/8/19, Ulf Zibis wrote: > Hi, > > I do some experiences with 16 bit input and I discover a colour problem > (see attached screenshot). > The input image is from https://samples.ffmpeg.org/image-samples/ > > Here is what I did: > $ ./ffmpeg -i debug/flower-separated-contig-16.tif -vf >

Re: [FFmpeg-user] Error while building recent FFmpeg from source

2019-03-07 Thread Paul B Mahol
On 3/7/19, Venkateswaran.S wrote: > I'hv libmysofa0 latest version - 0.6, also I've installed libmysofa-dev and > libmysofa-utils. I'm using Ubuntu 18.04 OS. > No you are not using latest version. > On Thu, Mar 7, 2019 at 6:51 PM Paul B Mahol wrote: > >> On 3/7/19, V

Re: [FFmpeg-user] Error while building recent FFmpeg from source

2019-03-07 Thread Paul B Mahol
On 3/7/19, Venkateswaran.S wrote: > Hi Team, > > I'm building FFmpeg from below github source. > https://github.com/FFmpeg/FFmpeg.git > > Configure script : > ./configure --enable-gpl --enable-version3 --disable-static --enable-shared > --enable-small --enable-avisynth --enable-chromaprint

Re: [FFmpeg-user] Question about tmix filter

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

Re: [FFmpeg-user] Question about tmix filter

2019-03-06 Thread Paul B Mahol
On 3/6/19, Paul B Mahol wrote: > On 3/6/19, Michael Koch wrote: >> Am 06.03.2019 um 20:17 schrieb Paul B Mahol: >>> On 3/6/19, Michael Koch wrote: >>>> Am 06.03.2019 um 17:12 schrieb Paul B Mahol: >>>>> On 3/6/19, Michael Koch wrote: >>>

Re: [FFmpeg-user] Question about tmix filter

2019-03-06 Thread Paul B Mahol
On 3/6/19, Michael Koch wrote: > Am 06.03.2019 um 20:17 schrieb Paul B Mahol: >> On 3/6/19, Michael Koch wrote: >>> Am 06.03.2019 um 17:12 schrieb Paul B Mahol: >>>> On 3/6/19, Michael Koch wrote: >>>>> I'd like to know which frames does the tmix

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