Re: [FFmpeg-user] minterpolate ...for Paul
On 01/29/2021 07:10 PM, Carl Eugen Hoyos wrote: Am Sa., 30. Jan. 2021 um 01:00 Uhr schrieb Mark Filipak (ffmpeg) : I don't know what you mean by "This does not look like the input file from your command line" I meant that you provided the output file but you should (always) provide the input file. The output file is very, very rarely useful. Carl Eugen You questioned that the input for minterpolate.mkv was the same input that I posted. Then you contested my assurances that it was. Then you said that I should always submit the input (which I eventually did). In this case, it's the output that shows strangeness in the macroblocks and the input would be useless, but no matter. Carl Eugen, it appears you're sniping at me. It appears you're throwing dirt in the air in the hope that some of it will land on me. It appears that you're trying to discredit me. Carl Eugen, the dirt lands on both of us. ___ 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] minterpolate ...for Paul
On 01/29/2021 07:10 PM, Carl Eugen Hoyos wrote: Am Sa., 30. Jan. 2021 um 01:00 Uhr schrieb Mark Filipak (ffmpeg) : I don't know what you mean by "This does not look like the input file from your command line" I meant that you provided the output file but you should (always) provide the input file. The output file is very, very rarely useful. Carl Eugen Wait, let me get this right... "This does not look like the input file from your command line" is your way of saying "you should (always) provide the input file"? Can you see that providing such ...oblique? ...misleading? ...cryptic? clues to what you actually mean instead of providing straightforward statements ...Can you see that that's going to confuse people? ...Can you see that, when it becomes clear what you really mean, it can cause people to resent you? ...Can you see those things? ___ 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] minterpolate ...for Paul
Am Sa., 30. Jan. 2021 um 01:00 Uhr schrieb Mark Filipak (ffmpeg) : > I don't know what you mean by "This does not look like the input file from > your command line" I meant that you provided the output file but you should (always) provide the input file. The output file is very, very rarely useful. Carl Eugen ___ 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] minterpolate ...for Paul
On 01/29/2021 06:49 PM, Carl Eugen Hoyos wrote: Am Sa., 30. Jan. 2021 um 00:48 Uhr schrieb Mark Filipak (ffmpeg) : On 01/29/2021 04:49 PM, Carl Eugen Hoyos wrote: Am Do., 28. Jan. 2021 um 20:40 Uhr schrieb Mark Filipak (ffmpeg) : On 01/28/2021 02:05 AM, Carl Eugen Hoyos wrote: Am 28.01.2021 um 07:26 schrieb Mark Filipak (ffmpeg) : I'm seeing problems with minterpolate that manifest as occasional visual errors in particular areas. Command line, complete, uncut console output and an input file missing. Here's the video: https://www.dropbox.com/t/8sKE0jEguUxQgPjD This does not look like the input file from your command line. Well, it is. No. Carl Eugen For minterpolate.mkv, I did not provide the input file. In my last reply I said this: ffmpeg -i "source=24FPS.mkv" -map 0 -filter_complex "minterpolate=fps=6/1001:mi_mode=mci:mc_mode=obmc:scd=fdiff:scd_threshold=10:vsbmc=1:search_param=20" -codec:v libx265 -x265-params "crf=20:qcomp=0.60" -codec:a copy -codec:s copy minterpolate.mkv 'source=24FPS.mkv' == '24p-original (480 frames).mkv' I don't know what you mean by "This does not look like the input file from your command line" -- the name doesn't look the same or the video doesn't look the same? -- but it is the same input file. ___ 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] minterpolate ...for Paul
Am Sa., 30. Jan. 2021 um 00:48 Uhr schrieb Mark Filipak (ffmpeg) : > > On 01/29/2021 04:49 PM, Carl Eugen Hoyos wrote: > > Am Do., 28. Jan. 2021 um 20:40 Uhr schrieb Mark Filipak (ffmpeg) > > : > >> > >> On 01/28/2021 02:05 AM, Carl Eugen Hoyos wrote: > >>> > Am 28.01.2021 um 07:26 schrieb Mark Filipak (ffmpeg) > : > > I'm seeing problems with minterpolate that manifest as occasional visual > errors in particular areas. > >>> > >>> Command line, complete, uncut console output and an input file missing. > > > >> Here's the video: > >> > >> https://www.dropbox.com/t/8sKE0jEguUxQgPjD > > > > This does not look like the input file from your command line. > Well, it is. No. Carl Eugen ___ 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] minterpolate ...for Paul
On 01/29/2021 04:49 PM, Carl Eugen Hoyos wrote: Am Do., 28. Jan. 2021 um 20:40 Uhr schrieb Mark Filipak (ffmpeg) : On 01/28/2021 02:05 AM, Carl Eugen Hoyos wrote: Am 28.01.2021 um 07:26 schrieb Mark Filipak (ffmpeg) : I'm seeing problems with minterpolate that manifest as occasional visual errors in particular areas. Command line, complete, uncut console output and an input file missing. Here's the video: https://www.dropbox.com/t/8sKE0jEguUxQgPjD This does not look like the input file from your command line. Carl Eugen Well, it is. ffmpeg -i "source=24FPS.mkv" -map 0 -filter_complex "minterpolate=fps=6/1001:mi_mode=mci:mc_mode=obmc:scd=fdiff:scd_threshold=10:vsbmc=1:search_param=20" -codec:v libx265 -x265-params "crf=20:qcomp=0.60" -codec:a copy -codec:s copy minterpolate.mkv 'source=24FPS.mkv' == '24p-original (480 frames).mkv' I have several balls in the air. I rename files appropriate to my performance (my messages to user-ffmpeg and to various people who are not here). ___ 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] Next Release
> > > So I've been running FATE on current `master` all the way back to > > > `3c700c82cbee49d1f40b6a7063f4b084ae3ee747` and I can't seem to get far > > > with it, one of these two always fail: > > > > > > - ./tests/ref/fate/filter-earwax > > > - ./tests/ref/lavf/mxf > > > > > > Are these tests flaky, am I doing something wrong or is current > > > `master` broken? Happy to share more setup details if it helps > > > (running on Ubuntu 16.04.7). > > > > Hehe it's just me; didn't realise I had to install FFmpeg for FATE to > > work (should've looked at `lavf-mxf.err` earlier) :) > > That surprises me because I haven't installed FFmpeg for > several years (the last bug report that was about an installation > issue). In my case it was a version mismatch; I had `4.2.3` sitting in `/usr/local` and those libs got precedence over whatever I had just built. As soon as I saw the warning it was quite clear (extremely handy stuff btw!) Armin Check out our knowledge base for additional support ___ 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] minterpolate ...for Paul
Am Do., 28. Jan. 2021 um 20:40 Uhr schrieb Mark Filipak (ffmpeg) : > > On 01/28/2021 02:05 AM, Carl Eugen Hoyos wrote: > > > >> Am 28.01.2021 um 07:26 schrieb Mark Filipak (ffmpeg) : > >> > >> I'm seeing problems with minterpolate that manifest as occasional visual > >> errors in particular areas. > > > > Command line, complete, uncut console output and an input file missing. > Here's the video: > > https://www.dropbox.com/t/8sKE0jEguUxQgPjD This does not look like the input file from your command line. Carl Eugen ___ 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] Next Release
Am Fr., 29. Jan. 2021 um 20:49 Uhr schrieb Armin Hasitzka : > > > So I've been running FATE on current `master` all the way back to > > `3c700c82cbee49d1f40b6a7063f4b084ae3ee747` and I can't seem to get far > > with it, one of these two always fail: > > > > - ./tests/ref/fate/filter-earwax > > - ./tests/ref/lavf/mxf > > > > Are these tests flaky, am I doing something wrong or is current > > `master` broken? Happy to share more setup details if it helps > > (running on Ubuntu 16.04.7). > > Hehe it's just me; didn't realise I had to install FFmpeg for FATE to > work (should've looked at `lavf-mxf.err` earlier) :) That surprises me because I haven't installed FFmpeg for several years (the last bug report that was about an installation issue). Carl Eugen ___ 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] Next Release
> > So I've been running FATE on current `master` all the way back to > > `3c700c82cbee49d1f40b6a7063f4b084ae3ee747` and I can't seem to get far > > with it, one of these two always fail: > > > > - ./tests/ref/fate/filter-earwax > > - ./tests/ref/lavf/mxf > > > > Are these tests flaky, am I doing something wrong or is current > > `master` broken? Happy to share more setup details if it helps > > (running on Ubuntu 16.04.7). > > Hehe it's just me; didn't realise I had to install FFmpeg for FATE to > work (should've looked at `lavf-mxf.err` earlier) :) One quick question on top of that -- how do you guys distinguish between the colours (green, yellow, transparent) -- is this based off compiler warnings or something else? Armin ___ 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] Next Release
Am 29.01.21 um 21:43 schrieb Paul B Mahol: On Fri, Jan 29, 2021 at 9:19 PM Reindl Harald wrote: Am 29.01.21 um 20:21 schrieb Armin Hasitzka: For release versions, one just make sure that FATE report is not yellow. Alright, that sounds simple enough; CI testing for the win \o/ Much appreciated + thanks for your hard work <3 So I've been running FATE on current `master` all the way back to `3c700c82cbee49d1f40b6a7063f4b084ae3ee747` and I can't seem to get far with it, one of these two always fail: - ./tests/ref/fate/filter-earwax - ./tests/ref/lavf/mxf Are these tests flaky, am I doing something wrong or is current `master` broken? Happy to share more setup details if it helps (running on Ubuntu 16.04.7) well, but current HEAD is always perfect *lol+ It is. And you are unable to grasp that it is not and every software developer on planet earth with a working brain knows this by common sense - sorry for you ___ 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] Next Release
On Fri, Jan 29, 2021 at 9:19 PM Reindl Harald wrote: > > > Am 29.01.21 um 20:21 schrieb Armin Hasitzka: > >>> For release versions, one just make sure that FATE report is not > yellow. > >> > >> Alright, that sounds simple enough; CI testing for the win \o/ > >> > >> Much appreciated + thanks for your hard work <3 > > > > So I've been running FATE on current `master` all the way back to > > `3c700c82cbee49d1f40b6a7063f4b084ae3ee747` and I can't seem to get far > > with it, one of these two always fail: > > > > - ./tests/ref/fate/filter-earwax > > - ./tests/ref/lavf/mxf > > > > Are these tests flaky, am I doing something wrong or is current > > `master` broken? Happy to share more setup details if it helps > > (running on Ubuntu 16.04.7) > > well, but current HEAD is always perfect *lol+ > It is. And you are unable to grasp that. ___ > 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] Next Release
Am 29.01.21 um 20:21 schrieb Armin Hasitzka: For release versions, one just make sure that FATE report is not yellow. Alright, that sounds simple enough; CI testing for the win \o/ Much appreciated + thanks for your hard work <3 So I've been running FATE on current `master` all the way back to `3c700c82cbee49d1f40b6a7063f4b084ae3ee747` and I can't seem to get far with it, one of these two always fail: - ./tests/ref/fate/filter-earwax - ./tests/ref/lavf/mxf Are these tests flaky, am I doing something wrong or is current `master` broken? Happy to share more setup details if it helps (running on Ubuntu 16.04.7) well, but current HEAD is always perfect *lol+ ___ 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] Next Release
>> For release versions, one just make sure that FATE report is not yellow. > > Alright, that sounds simple enough; CI testing for the win \o/ > > Much appreciated + thanks for your hard work <3 So I've been running FATE on current `master` all the way back to `3c700c82cbee49d1f40b6a7063f4b084ae3ee747` and I can't seem to get far with it, one of these two always fail: - ./tests/ref/fate/filter-earwax - ./tests/ref/lavf/mxf Are these tests flaky, am I doing something wrong or is current `master` broken? Happy to share more setup details if it helps (running on Ubuntu 16.04.7). Thanks Armin ___ 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] Next Release
Am 29.01.21 um 20:58 schrieb Carl Zwanzig: On 1/29/2021 11:37 AM, Reindl Harald wrote: All of which need to be installed and configured. for the sake of god download https://ffmpeg.org/download.html#build-windows no need for native windows binaries at a Except the many cases where there is, and nothing is going to change that. what are these many caes? None of that addresses anything about whether an opensource project distributes their own builds or not. And since I doubt that ffmpeg (or vlc, or mozilla, etc) are going to change their minds, why get agitated about it? no opensource project needs to - it's enough that they provide the sources! either learn to compile it, use pre-compiled binaries from someone else or just pay someone to build it for you ___ 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] Next Release
On 1/29/2021 11:37 AM, Reindl Harald wrote: on the machine i am using right now i type "dnf install whatever", works fine for 15 years That's great. (I use pkg on freebsd and it works very well.) Aside from dnf not being 15 years old, not everyone is using that particular linux distro; heck, a lot of ffmpeg users aren't running linux at all (mac, windoze, freebsd, rasp-pi, etc). Am 29.01.21 um 20:38 schrieb Wolfgang Hugemann: that's what linux distributions forOnly relevant if you're running linux, and lots of people don't have the choice. https://ffmpeg.org/ https://ffmpeg.org/download.html > https://ffmpeg.org/download.html#build-windows> so what is your problem?As someone who does build ffmpeg (and other opensource projects) on windows, I know what's involved and it really isn't easy for the average user. Nothing is going to change that. you really expect from upstream providing binraies when they are even not capable to tag source minor version when you can download pre-compiled binaries anyways?What does that actually mean? honestly - be happy that someone invests time to ensure it's buildable at all on windows especially these days where you can use WSL, containers and virtual machines All of which need to be installed and configured. no need for native windows binaries at allExcept the many cases where there is, and nothing is going to change that. None of that addresses anything about whether an opensource project distributes their own builds or not. And since I doubt that ffmpeg (or vlc, or mozilla, etc) are going to change their minds, why get agitated about it? 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] Next Release
> So I've been running FATE on current `master` all the way back to > `3c700c82cbee49d1f40b6a7063f4b084ae3ee747` and I can't seem to get far > with it, one of these two always fail: > > - ./tests/ref/fate/filter-earwax > - ./tests/ref/lavf/mxf > > Are these tests flaky, am I doing something wrong or is current > `master` broken? Happy to share more setup details if it helps > (running on Ubuntu 16.04.7). Hehe it's just me; didn't realise I had to install FFmpeg for FATE to work (should've looked at `lavf-mxf.err` earlier) :) Armin ___ 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] Next Release
Am 29.01.21 um 20:38 schrieb Wolfgang Hugemann: why should they? there are enough distributions and compilers Because the average user cannot compile code her-/himself. that's what linux distributions for Especially on Windows, it is not that easy to compile ffmpeg. (Well, I succeeded at last.) https://ffmpeg.org/ https://ffmpeg.org/download.html https://ffmpeg.org/download.html#build-windows so what is your problem? you really expect from upstream providing binraies when they are even not capable to tag source minor version when you can download pre-compiled binaries anyways? honestly - be happy that someone invests time to ensure it's buildable at all on windows especially these days where you can use WSL, containers and virtual machines no need for native windows binaries at all ___ 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] Next Release
> why should they? > there are enough distributions and compilers Because the average user cannot compile code her-/himself. Especially on Windows, it is not that easy to compile ffmpeg. (Well, I succeeded at last.) I provide some scripts that perform regular tasks for image and video processing for my colleagues (all engaged in vehicular accident reconstruction), and most of them lament how complicated the task of installing the needed tools is. (For the experienced user it's not, of course.) The average user seems to get confused quite easily. You may of course postulate that the use of ffmpeg is not suitable for the faint of heart ;-) Wolfgang Hugemann ___ 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] Next Release
Am 29.01.21 um 20:28 schrieb Carl Zwanzig: On 1/29/2021 11:00 AM, Reindl Harald wrote: most open source projects don't provide binaries Maybe yes, maybe no. Most of the FOSS software I use* comes as compiled executables, often with an install process. And there is a fair difference logically between libraries and executables; the former are more often distributed as source and the latter more often as compiled (and I'm sure there are exceptions both ways). Without a strong survey, it's probably impossibly to quantify. *(On the machine I'm using right now- firefox, thunderbird, putty, handbrake, openshell, greenshot, freefilesync, _vlc_, ImageMagick, PSpad, etc etc; all installed from pre-compiled packages from that project.) on the machine i am using right now i type "dnf install whatever", works fine for 15 years ___ 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] Next Release
On 1/29/2021 11:00 AM, Reindl Harald wrote: most open source projects don't provide binaries Maybe yes, maybe no. Most of the FOSS software I use* comes as compiled executables, often with an install process. And there is a fair difference logically between libraries and executables; the former are more often distributed as source and the latter more often as compiled (and I'm sure there are exceptions both ways). Without a strong survey, it's probably impossibly to quantify. *(On the machine I'm using right now- firefox, thunderbird, putty, handbrake, openshell, greenshot, freefilesync, _vlc_, ImageMagick, PSpad, etc etc; all installed from pre-compiled packages from that project.) why should they? Convenience to the user? Not everyone wants to (or can) build-from-source. Control over the build process- it's usually easier to "support" when you know when and how something was built and that it passes at least a smoke test. (That's a start.) In the end, some projects want to put the effort into it, some don't. Probably not worth arguing over. 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] Next Release
Am 29.01.21 um 19:56 schrieb Wolfgang Hugemann: What may be confusing for a ffmpeg newbie, is that ffmpeg.org does not provide executables. I guess this is because of patent issues. (It was the same with the MP3 encoder lame for years.) This could possibly be somewhat explained on the ffmpeg website. most open source projects don't provide binaries why should they? there are enough distributions and compilers ___ 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] Next Release
I hope that I'm not starting this discussion all over again ... I have been supporting ImageMagick for years now, where there are also have no 'stable releases', and I understand that its developers just don't have the manpower to support these. ImageMagick does have version numbering, but the developers deploy a new version every two weeks or so, and I would not recommend using the newest one (which may have new bugs), unless you have a problem that you cannot solve with the version already installed. What may be confusing for a ffmpeg newbie, is that ffmpeg.org does not provide executables. I guess this is because of patent issues. (It was the same with the MP3 encoder lame for years.) This could possibly be somewhat explained on the ffmpeg website. Wolfgang Hugemann ___ 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] Slide show with vfr
Am 25.01.2021 um 23:45 schrieb Mark Filipak (ffmpeg): > regarding PTS variations, I've often found that simply remuxing an > existing stream via MKVToolNix has fixed the time stamps so that all > players play videos correctly. I tried that and can confirm that MKVToolNix does solve some issues with variable frame rate. At last, I ended up with Avidemux, which preserved vfr and provides some rudimentary filters, comprising a pts burn-in filter. Wolfgang Hugemann ___ 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] minterpolate ...for Paul
Hello administrators, please ban this corporate evangelist from here, thanks. On Fri, Jan 29, 2021 at 4:02 PM Phil Rhodes via ffmpeg-user < ffmpeg-user@ffmpeg.org> wrote: > >You can technically, but minterpolate is not very user friendly - It's > too> slow for real work and feedback, and you cannot keyframe the settings > on> different scenes very easily. It's barely usable unless you program > your own> GUI around libavfilter > Yes - this is somewhere that commandline tools tend to start to become > less suitable, when you can't really audition settings and evaluate > tradeoffs very easily. > If you have a problem you need to solve quickly, there is optical flow > interpolation in the free version of Resolve, with better optical flow > interpolation in the paid version, which might make life a bit easier. Much > of Resolve is multi-threaded and GPU-accelerated (I'm not completely sure > if the optical flow is, to be honest, but I'd be astounded if it wasn't) > and you can to tweak things visually for the best possible compromise. > Naturally if you're just tweaking around with ffmpeg for fun, fine. > P > ___ > 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] minterpolate ...for Paul
>You can technically, but minterpolate is not very user friendly - It's too> >slow for real work and feedback, and you cannot keyframe the settings on> >different scenes very easily. It's barely usable unless you program your own> >GUI around libavfilter Yes - this is somewhere that commandline tools tend to start to become less suitable, when you can't really audition settings and evaluate tradeoffs very easily. If you have a problem you need to solve quickly, there is optical flow interpolation in the free version of Resolve, with better optical flow interpolation in the paid version, which might make life a bit easier. Much of Resolve is multi-threaded and GPU-accelerated (I'm not completely sure if the optical flow is, to be honest, but I'd be astounded if it wasn't) and you can to tweak things visually for the best possible compromise. Naturally if you're just tweaking around with ffmpeg for fun, fine. P ___ 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] minterpolate performance & alternative
Mark Filipak (ffmpeg) wrote > On 01/28/2021 07:42 PM, pdr0 wrote: >> Mark Filipak (ffmpeg) wrote >>> But perhaps by "process in parallel" you mean something else, eh? >>> ...something I'm unaware of. Can >>> you expand on that? >> >> >> I mean "divide and conquer" to use all resources. If you're at 20% CPU >> usage, you can run 4-5 processes >> >> eg. Split video in to 4-5 segments. Process each simultaneously, each to >> a >> lossless intermediate, so you're at 100% CPU usage. Then reassemble and >> encode to your final format > > I don't think that will work very well, even if I carefully cut on key > frames. The reason is that > the minterpolate filter drops 10 frames and that means that at the join of > each section there'll be > a 1/6 second jump (or maybe worse). This has nothing to do with keyframes; I'm not talking about stream copy. eg. -vf trim splits in the uncompressed domain (data is decoded to uncompressed frames) . If you need to you can split stages as lossless intermediates You cut on cadence boundaries of 24 frame cycles. 24p is evenly divisible into 120p (5x) . 60p takes every 2nd frame from that 120p result this is what you are doing with optical flow retiming, so every frame is evenly spaced in time. > Note: Whether the minterpolate filter drops 10 frames or 5 frames is the > subject of [FFmpeg-user] > minterpolate PTS v frame count weirdness. Not sure what this is referring to ? Any more details ? If you're getting PTS , frame count weirdness, split it out as lossless intermediates -- Sent from: http://ffmpeg-users.933282.n4.nabble.com/ ___ 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] minterpolate ...for Paul
pdr0 wrote > More settings would help too - maybe you can improve the filter. I'll post > an example later similar to one posted by Mark, where it's "solvable" > using > other methods, but not using minterpolate. Minterpolate maxes out at a > block > size of 16, and that causes problems in that and similar examples, nor > does > it have internal pad options to improve motion vectors. Here are some test videos - https://www.mediafire.com/file/9inkxdvi8iuo5hi/interpolation_test_videos.zip/file I made a source video "interp_test_src.mp4" @23.976p which has simulated camera pan movement similar to Mark's example. "minterpolate_default.mp4" is the using the default settings . Similar artifacts along top and bottom of frame near the letterbox edge. Cropping and padding (both external to the filter) did not help much. Central portion along the windows have some bad areas in some frames too. Typical motion interpolation artifacts Test1_mvtools2 using typical settings (default blksize of 16) . Similar artifacts test2_mvtools2_nocrop_nopad has a blksize of 32, but no crop or pad internally. It's better in the central and top and bottom, but still some "edge dragging" artifacts Test2_mvtools2 has blksize of 32, is cropped and padded internally to improve motion vectors (this makes a difference along the frame borders along the letter box bars), then letterbox bars added back. This is much cleaner with only minor artifacting. This one would actually be usable by most people On this sequence, a larger blocksize of 32 helps with the central artifacts, and the and internal padding helps with frame edges for mvtools2. I suspect if minterpolate had options for larger blocksizes and internal padding it would improve too -- Sent from: http://ffmpeg-users.933282.n4.nabble.com/ ___ 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] minterpolate ...for Paul
Paul B Mahol wrote >> The problem is ffmpeg minterpolate is s slow, and you have no usable >> preview. Some of the other methods mentioned earlier do have previews - >> so >> you can tweak settings, preview, readjust etc >> >> > > Why you ignore fact that libavfilter also allows usable preview and > readjust of parameters. You can technically, but minterpolate is not very user friendly - It's too slow for real work and feedback, and you cannot keyframe the settings on different scenes very easily. It's barely usable unless you program your own GUI around libavfilter More settings would help too - maybe you can improve the filter. I'll post an example later similar to one posted by Mark, where it's "solvable" using other methods, but not using minterpolate. Minterpolate maxes out at a block size of 16, and that causes problems in that and similar examples, nor does it have internal pad options to improve motion vectors. -- Sent from: http://ffmpeg-users.933282.n4.nabble.com/ ___ 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] minterpolate ...for Paul
-- Sent from: http://ffmpeg-users.933282.n4.nabble.com/ ___ 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] VOICE POST PRODUCTION IN ONE LINE
On Fri, Jan 29, 2021 at 2:52 PM Marco Mircoli wrote: > Hello, here's the log. > cannot understand why there is no DEESSER command. The ffmpeg versions is > not the last, but it is almost new. > Year is very misleading. Latest major release is 4.3 And deesser in available since 4.2 release. > ffmpeg version 4.1.6-1~deb10u1 Copyright (c) 2000-2020 the FFmpeg > developers > built with gcc 8 (Debian 8.3.0-6) > configuration: --prefix=/usr --extra-version='1~deb10u1' > --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu > --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl > --disable-stripping --enable-avresample --disable-filter=resample > --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom > --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca > --enable-libcdio --enable-libcodec2 --enable-libflite > --enable-libfontconfig --enable-libfreetype --enable-libfribidi > --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame > --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt > --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband > --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex > --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab > --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp > --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq > --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl > --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 > --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared > libavutil 56. 22.100 / 56. 22.100 > libavcodec 58. 35.100 / 58. 35.100 > libavformat58. 20.100 / 58. 20.100 > libavdevice58. 5.100 / 58. 5.100 > libavfilter 7. 40.101 / 7. 40.101 > libavresample 4. 0. 0 / 4. 0. 0 > libswscale 5. 3.100 / 5. 3.100 > libswresample 3. 3.100 / 3. 3.100 > libpostproc55. 3.100 / 55. 3.100 > Splitting the commandline. > Reading option '-i' ... matched as input url with argument 'test.mp3'. > Reading option '-af' ... matched as option 'af' (set audio filters) with > argument > > 'adeclick,deesser=i=1,afftdn=nr=80:nf=-20:nt=w:om=o,highpass=f=70,loudnorm=I=-16:TP=-1.5:LRA=14'. > Reading option 'test7.mp3' ... matched as output url. > Reading option '-loglevel' ... matched as option 'loglevel' (set logging > level) with argument 'debug'. > Finished splitting the commandline. > Parsing a group of options: global . > Applying option loglevel (set logging level) with argument debug. > Successfully parsed a group of options. > Parsing a group of options: input url test.mp3. > Successfully parsed a group of options. > Opening an input file: test.mp3. > [NULL @ 0x555cfa973a40] Opening 'test.mp3' for reading > [file @ 0x555cfa9744c0] Setting default whitelist 'file,crypto' > [mp3 @ 0x555cfa973a40] Format mp3 probed with size=8192 and score=51 > [mp3 @ 0x555cfa973a40] pad 576 1079 > [mp3 @ 0x555cfa973a40] Skipping 0 bytes of junk at 1044. > [mp3 @ 0x555cfa973a40] Before avformat_find_stream_info() pos: 1044 bytes > read:65664 seeks:2 nb_streams:1 > [mp3 @ 0x555cfa973a40] demuxer injecting skip 1105 / discard 0 > [mp3float @ 0x555cfa975240] skip 1105 / discard 0 samples due to side data > [mp3float @ 0x555cfa975240] skip 1105/1152 samples > [mp3 @ 0x555cfa973a40] All info found > [mp3 @ 0x555cfa973a40] After avformat_find_stream_info() pos: 54292 bytes > read:98432 seeks:2 frames:50 > Input #0, mp3, from 'test.mp3': > Duration: 00:00:18.21, start: 0.025057, bitrate: 320 kb/s > Stream #0:0, 50, 1/14112000: Audio: mp3, 44100 Hz, stereo, fltp, 320 > kb/s > Metadata: > encoder : Lavc57.89 > Successfully opened the file. > Parsing a group of options: output url test7.mp3. > Applying option af (set audio filters) with argument > > adeclick,deesser=i=1,afftdn=nr=80:nf=-20:nt=w:om=o,highpass=f=70,loudnorm=I=-16:TP=-1.5:LRA=14. > Successfully parsed a group of options. > Opening an output file: test7.mp3. > [file @ 0x555cfa985700] Setting default whitelist 'file,crypto' > Successfully opened the file. > Stream mapping: > Stream #0:0 -> #0:0 (mp3 (mp3float) -> mp3 (libmp3lame)) > Press [q] to stop, [?] for help > cur_dts is invalid (this is harmless if it occurs once at the start per > stream) > [mp3float @ 0x555cfa9780c0] skip 1105 / discard 0 samples due to side data > [mp3float @ 0x555cfa9780c0] skip 1105/1152 samples > detected 1 logical cores > [AVFilterGraph @ 0x555cfa985880] No such filter: 'deesser' > [Parsed_adeclick_0 @ 0x555cfa989780] Detected clicks in 0 of 0 samples > (-nan%). > Error reinitializing filters! > Failed to inject frame into filter network: Invalid argument > Error while processing the decoded data for stream #0:0 > [AVIOContext @ 0x555cfa976140] Statistics: 0 seeks, 0 writeouts > [AVIOContext @ 0x555cfa97c880] Statistics: 98432 bytes read, 2 seeks >
Re: [FFmpeg-user] VOICE POST PRODUCTION IN ONE LINE
Hello, here's the log. cannot understand why there is no DEESSER command. The ffmpeg versions is not the last, but it is almost new. ffmpeg version 4.1.6-1~deb10u1 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 8 (Debian 8.3.0-6) configuration: --prefix=/usr --extra-version='1~deb10u1' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared libavutil 56. 22.100 / 56. 22.100 libavcodec 58. 35.100 / 58. 35.100 libavformat58. 20.100 / 58. 20.100 libavdevice58. 5.100 / 58. 5.100 libavfilter 7. 40.101 / 7. 40.101 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 3.100 / 5. 3.100 libswresample 3. 3.100 / 3. 3.100 libpostproc55. 3.100 / 55. 3.100 Splitting the commandline. Reading option '-i' ... matched as input url with argument 'test.mp3'. Reading option '-af' ... matched as option 'af' (set audio filters) with argument 'adeclick,deesser=i=1,afftdn=nr=80:nf=-20:nt=w:om=o,highpass=f=70,loudnorm=I=-16:TP=-1.5:LRA=14'. Reading option 'test7.mp3' ... matched as output url. Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'. Finished splitting the commandline. Parsing a group of options: global . Applying option loglevel (set logging level) with argument debug. Successfully parsed a group of options. Parsing a group of options: input url test.mp3. Successfully parsed a group of options. Opening an input file: test.mp3. [NULL @ 0x555cfa973a40] Opening 'test.mp3' for reading [file @ 0x555cfa9744c0] Setting default whitelist 'file,crypto' [mp3 @ 0x555cfa973a40] Format mp3 probed with size=8192 and score=51 [mp3 @ 0x555cfa973a40] pad 576 1079 [mp3 @ 0x555cfa973a40] Skipping 0 bytes of junk at 1044. [mp3 @ 0x555cfa973a40] Before avformat_find_stream_info() pos: 1044 bytes read:65664 seeks:2 nb_streams:1 [mp3 @ 0x555cfa973a40] demuxer injecting skip 1105 / discard 0 [mp3float @ 0x555cfa975240] skip 1105 / discard 0 samples due to side data [mp3float @ 0x555cfa975240] skip 1105/1152 samples [mp3 @ 0x555cfa973a40] All info found [mp3 @ 0x555cfa973a40] After avformat_find_stream_info() pos: 54292 bytes read:98432 seeks:2 frames:50 Input #0, mp3, from 'test.mp3': Duration: 00:00:18.21, start: 0.025057, bitrate: 320 kb/s Stream #0:0, 50, 1/14112000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s Metadata: encoder : Lavc57.89 Successfully opened the file. Parsing a group of options: output url test7.mp3. Applying option af (set audio filters) with argument adeclick,deesser=i=1,afftdn=nr=80:nf=-20:nt=w:om=o,highpass=f=70,loudnorm=I=-16:TP=-1.5:LRA=14. Successfully parsed a group of options. Opening an output file: test7.mp3. [file @ 0x555cfa985700] Setting default whitelist 'file,crypto' Successfully opened the file. Stream mapping: Stream #0:0 -> #0:0 (mp3 (mp3float) -> mp3 (libmp3lame)) Press [q] to stop, [?] for help cur_dts is invalid (this is harmless if it occurs once at the start per stream) [mp3float @ 0x555cfa9780c0] skip 1105 / discard 0 samples due to side data [mp3float @ 0x555cfa9780c0] skip 1105/1152 samples detected 1 logical cores [AVFilterGraph @ 0x555cfa985880] No such filter: 'deesser' [Parsed_adeclick_0 @ 0x555cfa989780] Detected clicks in 0 of 0 samples (-nan%). Error reinitializing filters! Failed to inject frame into filter network: Invalid argument Error while processing the decoded data for stream #0:0 [AVIOContext @ 0x555cfa976140] Statistics: 0 seeks, 0 writeouts [AVIOContext @ 0x555cfa97c880] Statistics: 98432 bytes read, 2 seeks Conversion failed! Il giorno ven 29 gen 2021 alle ore 13:02 Paul B Mahol ha scritto: > On Fri, Jan 29, 2021 at 12:52 PM Chris Miceli wrote: > > > If you wish to have output from your service, you would need to check the > > documentation of the library you are using to execute the shell command. > > They often have the ability to capture stdout
Re: [FFmpeg-user] VOICE POST PRODUCTION IN ONE LINE
On Fri, Jan 29, 2021 at 12:52 PM Chris Miceli wrote: > If you wish to have output from your service, you would need to check the > documentation of the library you are using to execute the shell command. > They often have the ability to capture stdout and stderr which is what you > need. > > Often, these libraries may interpret shell commands in different ways and > so it may be parsing the ffmpeg command line (this is something to keep in > mind, not necessarily what is happening). > > If you can run your command from the shell normally, there is likely > something in your service code which is causing it. > The only thing that come to mind, is that version is old that it does not have that specific filter. Also note that those audio filters are not magic way to solve your problems by putting them in filtergraph and forgetting about them next second. > On Fri, Jan 29, 2021, 10:21 PM Paul B Mahol wrote: > > > On Fri, Jan 29, 2021 at 12:18 PM Marco Mircoli > > wrote: > > > > > Thanks, > > > is there a way to understand if ffmpeg has aborted the process? > > > I'm using a Linux version for an online service. > > > It would be nice to let ffmpeg write a log file when there is a problem > > > (process aborted) > > > How to do it? > > > > > > > By providing full ffmpeg output. (Not output file but command log) > > > > > > > Thanks. > > > S. > > > > > > > > > Il giorno ven 29 gen 2021 alle ore 11:39 Paul B Mahol < > one...@gmail.com> > > > ha > > > scritto: > > > > > > > On Fri, Jan 29, 2021 at 11:25 AM Marco Mircoli > > > > > wrote: > > > > > > > > > Hello, > > > > > anybody knows the reason why this command works. > > > > > > > > > > $ffmpegCmd = "ffmpeg -i $fileOriginale -af > > > > > > > > > > > > > > > > > > > > adeclick,afftdn=nr=80:nf=-20:nt=w:om=o,highpass=f=70,loudnorm=I=-16:TP=-1.5:LRA=14 > > > > > $fileProcessato"; //Livella audio a R128 > > > > > > > > > > and this doesn't work. > > > > > > > > > > $ffmpegCmd = "ffmpeg -i $fileOriginale -af > > > > > > > > > > > > > > > > > > > > adeclick,deesser=i=1,afftdn=nr=80:nf=-20:nt=w:om=o,highpass=f=70,loudnorm=I=-16:TP=-1.5:LRA=14 > > > > > $fileProcessato"; //Livella audio a R128 > > > > > This creates an audio file of zero bytes, just the name. > > > > > > > > > > The difference is that the last I've added deesser=i=1 > > > > > Any ideas? > > > > > > > > > > > > > Dunno, you have not provided much info. > > > > Also both commands works just fine here. > > > > > > > > > > > > > Thanks. > > > > > S. > > > > > > > > > > > > > > > > > > > > Il giorno gio 28 gen 2021 alle ore 10:15 Michael Koch < > > > > > astroelectro...@t-online.de> ha scritto: > > > > > > > > > > > Am 28.01.2021 um 09:44 schrieb Marco Mircoli: > > > > > > > Goodmorning everyone. > > > > > > > I'm new to ffmpeg and was wondering if anyone from the group > > could > > > > help > > > > > > me > > > > > > > set up a command line. > > > > > > > My goal is to improve voice audio recordings. > > > > > > > I would like to be able to do this starting from a command > line I > > > > have > > > > > in > > > > > > > my script, modifying it to add: > > > > > > > > > > > > > > - 70HZ high pass filter > > > > > > > - expander / noise gate > > > > > > > - equalizer > > > > > > > - compressor > > > > > > > - exciter > > > > > > > - de-esser > > > > > > > - limiter > > > > > > > - loudnorm to r128 (there is already) > > > > > > > > > > > > > > It would be nice to have all this just in one line, is it > > possible? > > > > > > > This is the string where I'm starting from. > > > > > > > > > > > > > > $ shell = shell_exec ("$ ffmpeg_b -i $ audio_file_full_path > -map > > 0: > > > > a: > > > > > 0 > > > > > > > -af loudnorm -b: a 96k $ audio_output_mp3 2> & 1"); > > > > > > > > > > > > yes, I think it's possible to do all this in one command line. > All > > > > these > > > > > > features must be added at the beginning of the audio filter > chain, > > > > > > that's between "-af" and "loudnorm". For example: > > > > > > > > > > > > $ shell = shell_exec ("$ ffmpeg_b -i $ audio_file_full_path -map > 0: > > > a: > > > > 0 > > > > > > -af highpass=f=70,loudnorm -b: a 96k $ audio_output_mp3 2> & 1"); > > > > > > > > > > > > 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". > > > > ___ > > > > ffmpeg-user mailing list > > > > ffmpeg-user@ffmpeg.org > > > >
Re: [FFmpeg-user] VOICE POST PRODUCTION IN ONE LINE
If you wish to have output from your service, you would need to check the documentation of the library you are using to execute the shell command. They often have the ability to capture stdout and stderr which is what you need. Often, these libraries may interpret shell commands in different ways and so it may be parsing the ffmpeg command line (this is something to keep in mind, not necessarily what is happening). If you can run your command from the shell normally, there is likely something in your service code which is causing it. On Fri, Jan 29, 2021, 10:21 PM Paul B Mahol wrote: > On Fri, Jan 29, 2021 at 12:18 PM Marco Mircoli > wrote: > > > Thanks, > > is there a way to understand if ffmpeg has aborted the process? > > I'm using a Linux version for an online service. > > It would be nice to let ffmpeg write a log file when there is a problem > > (process aborted) > > How to do it? > > > > By providing full ffmpeg output. (Not output file but command log) > > > > Thanks. > > S. > > > > > > Il giorno ven 29 gen 2021 alle ore 11:39 Paul B Mahol > > ha > > scritto: > > > > > On Fri, Jan 29, 2021 at 11:25 AM Marco Mircoli > > > wrote: > > > > > > > Hello, > > > > anybody knows the reason why this command works. > > > > > > > > $ffmpegCmd = "ffmpeg -i $fileOriginale -af > > > > > > > > > > > > > > adeclick,afftdn=nr=80:nf=-20:nt=w:om=o,highpass=f=70,loudnorm=I=-16:TP=-1.5:LRA=14 > > > > $fileProcessato"; //Livella audio a R128 > > > > > > > > and this doesn't work. > > > > > > > > $ffmpegCmd = "ffmpeg -i $fileOriginale -af > > > > > > > > > > > > > > adeclick,deesser=i=1,afftdn=nr=80:nf=-20:nt=w:om=o,highpass=f=70,loudnorm=I=-16:TP=-1.5:LRA=14 > > > > $fileProcessato"; //Livella audio a R128 > > > > This creates an audio file of zero bytes, just the name. > > > > > > > > The difference is that the last I've added deesser=i=1 > > > > Any ideas? > > > > > > > > > > Dunno, you have not provided much info. > > > Also both commands works just fine here. > > > > > > > > > > Thanks. > > > > S. > > > > > > > > > > > > > > > > Il giorno gio 28 gen 2021 alle ore 10:15 Michael Koch < > > > > astroelectro...@t-online.de> ha scritto: > > > > > > > > > Am 28.01.2021 um 09:44 schrieb Marco Mircoli: > > > > > > Goodmorning everyone. > > > > > > I'm new to ffmpeg and was wondering if anyone from the group > could > > > help > > > > > me > > > > > > set up a command line. > > > > > > My goal is to improve voice audio recordings. > > > > > > I would like to be able to do this starting from a command line I > > > have > > > > in > > > > > > my script, modifying it to add: > > > > > > > > > > > > - 70HZ high pass filter > > > > > > - expander / noise gate > > > > > > - equalizer > > > > > > - compressor > > > > > > - exciter > > > > > > - de-esser > > > > > > - limiter > > > > > > - loudnorm to r128 (there is already) > > > > > > > > > > > > It would be nice to have all this just in one line, is it > possible? > > > > > > This is the string where I'm starting from. > > > > > > > > > > > > $ shell = shell_exec ("$ ffmpeg_b -i $ audio_file_full_path -map > 0: > > > a: > > > > 0 > > > > > > -af loudnorm -b: a 96k $ audio_output_mp3 2> & 1"); > > > > > > > > > > yes, I think it's possible to do all this in one command line. All > > > these > > > > > features must be added at the beginning of the audio filter chain, > > > > > that's between "-af" and "loudnorm". For example: > > > > > > > > > > $ shell = shell_exec ("$ ffmpeg_b -i $ audio_file_full_path -map 0: > > a: > > > 0 > > > > > -af highpass=f=70,loudnorm -b: a 96k $ audio_output_mp3 2> & 1"); > > > > > > > > > > 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". > > > ___ > > > 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
Re: [FFmpeg-user] minterpolate ...for Paul
On Fri, Jan 29, 2021 at 2:01 AM pdr0 wrote: > Mark Filipak (ffmpeg) wrote > > I've never heard of "optical flow errors". What could they be? (Got any > > links to > > explanations?) > > The artifacts in your video are optical flow errors :) > > If you've ever used it - you'd recognize these artifacts. There are very > common > > > > There are about a dozen prototypical "fail" categories or common errors > that > plague all types of optical flow > > These are errors either of motion vectors, or object flow (object > boundaries > or "masks"), occlusion errors. > > Internet is full of examples, explanations. The topic is rather large, just > search google, there is lots of info. If you have a specific question then > ask. > > Sometimes you get clean interpolated frame results; but sometimes there > are > massive distracting errors. It varies by situation and sources. > > Your example has one of the common categories of "fail" where there are > repeating patterns and textures. It falls under the "Picket Fence" fail . A > prototypical tracking or dolly shot by a picket fence, or brick wall will > come up with interpolation errors > > The peripheral edges error are common because there is less data beyond the > periphery of the frame, for n-1, n+1 and the motion vectors are less > accurate compared to the center of the frame > > Another common one is when objects pass over another. The flow masks aren't > perfect and you end up with blobby edge artifacts around objects > > > > > > > > >>...For artifacts around frame edges, letterbox edges usually some form > >> of padding is used. I don't think ffmpeg minterpolate has those. > > > > I've done that. The result was just okay. The slight riffling on the > frame > > boundaries during camera > > panning isn't all that objectionable to me. It occurs to me that > > minterpolute could queue frames and > > look 'forward' to later frames in order to resolve boundary macroblock > > artifacts -- afterall, it has > > the motion vectors, eh? > > Some algorithms can use N-3, N-2, N-1, N, N+1, N+2, N+3, I don't think > minterpolate can. More is not always better. Often you get more > contamination with a larger "window" > > Sometimes just changing the blocksize can produce better (or worse) > results. > The problem is ffmpeg minterpolate is s slow, and you have no usable > preview. Some of the other methods mentioned earlier do have previews - so > you can tweak settings, preview, readjust etc > > Why you ignore fact that libavfilter also allows usable preview and readjust of parameters. Amount of false information propagation here is astounding. > > > > > > > > > -- > Sent from: http://ffmpeg-users.933282.n4.nabble.com/ > ___ > 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] VOICE POST PRODUCTION IN ONE LINE
On Fri, Jan 29, 2021 at 12:18 PM Marco Mircoli wrote: > Thanks, > is there a way to understand if ffmpeg has aborted the process? > I'm using a Linux version for an online service. > It would be nice to let ffmpeg write a log file when there is a problem > (process aborted) > How to do it? > By providing full ffmpeg output. (Not output file but command log) > Thanks. > S. > > > Il giorno ven 29 gen 2021 alle ore 11:39 Paul B Mahol > ha > scritto: > > > On Fri, Jan 29, 2021 at 11:25 AM Marco Mircoli > > wrote: > > > > > Hello, > > > anybody knows the reason why this command works. > > > > > > $ffmpegCmd = "ffmpeg -i $fileOriginale -af > > > > > > > > > adeclick,afftdn=nr=80:nf=-20:nt=w:om=o,highpass=f=70,loudnorm=I=-16:TP=-1.5:LRA=14 > > > $fileProcessato"; //Livella audio a R128 > > > > > > and this doesn't work. > > > > > > $ffmpegCmd = "ffmpeg -i $fileOriginale -af > > > > > > > > > adeclick,deesser=i=1,afftdn=nr=80:nf=-20:nt=w:om=o,highpass=f=70,loudnorm=I=-16:TP=-1.5:LRA=14 > > > $fileProcessato"; //Livella audio a R128 > > > This creates an audio file of zero bytes, just the name. > > > > > > The difference is that the last I've added deesser=i=1 > > > Any ideas? > > > > > > > Dunno, you have not provided much info. > > Also both commands works just fine here. > > > > > > > Thanks. > > > S. > > > > > > > > > > > > Il giorno gio 28 gen 2021 alle ore 10:15 Michael Koch < > > > astroelectro...@t-online.de> ha scritto: > > > > > > > Am 28.01.2021 um 09:44 schrieb Marco Mircoli: > > > > > Goodmorning everyone. > > > > > I'm new to ffmpeg and was wondering if anyone from the group could > > help > > > > me > > > > > set up a command line. > > > > > My goal is to improve voice audio recordings. > > > > > I would like to be able to do this starting from a command line I > > have > > > in > > > > > my script, modifying it to add: > > > > > > > > > > - 70HZ high pass filter > > > > > - expander / noise gate > > > > > - equalizer > > > > > - compressor > > > > > - exciter > > > > > - de-esser > > > > > - limiter > > > > > - loudnorm to r128 (there is already) > > > > > > > > > > It would be nice to have all this just in one line, is it possible? > > > > > This is the string where I'm starting from. > > > > > > > > > > $ shell = shell_exec ("$ ffmpeg_b -i $ audio_file_full_path -map 0: > > a: > > > 0 > > > > > -af loudnorm -b: a 96k $ audio_output_mp3 2> & 1"); > > > > > > > > yes, I think it's possible to do all this in one command line. All > > these > > > > features must be added at the beginning of the audio filter chain, > > > > that's between "-af" and "loudnorm". For example: > > > > > > > > $ shell = shell_exec ("$ ffmpeg_b -i $ audio_file_full_path -map 0: > a: > > 0 > > > > -af highpass=f=70,loudnorm -b: a 96k $ audio_output_mp3 2> & 1"); > > > > > > > > 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". > > ___ > > 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] VOICE POST PRODUCTION IN ONE LINE
Thanks, is there a way to understand if ffmpeg has aborted the process? I'm using a Linux version for an online service. It would be nice to let ffmpeg write a log file when there is a problem (process aborted) How to do it? Thanks. S. Il giorno ven 29 gen 2021 alle ore 11:39 Paul B Mahol ha scritto: > On Fri, Jan 29, 2021 at 11:25 AM Marco Mircoli > wrote: > > > Hello, > > anybody knows the reason why this command works. > > > > $ffmpegCmd = "ffmpeg -i $fileOriginale -af > > > > > adeclick,afftdn=nr=80:nf=-20:nt=w:om=o,highpass=f=70,loudnorm=I=-16:TP=-1.5:LRA=14 > > $fileProcessato"; //Livella audio a R128 > > > > and this doesn't work. > > > > $ffmpegCmd = "ffmpeg -i $fileOriginale -af > > > > > adeclick,deesser=i=1,afftdn=nr=80:nf=-20:nt=w:om=o,highpass=f=70,loudnorm=I=-16:TP=-1.5:LRA=14 > > $fileProcessato"; //Livella audio a R128 > > This creates an audio file of zero bytes, just the name. > > > > The difference is that the last I've added deesser=i=1 > > Any ideas? > > > > Dunno, you have not provided much info. > Also both commands works just fine here. > > > > Thanks. > > S. > > > > > > > > Il giorno gio 28 gen 2021 alle ore 10:15 Michael Koch < > > astroelectro...@t-online.de> ha scritto: > > > > > Am 28.01.2021 um 09:44 schrieb Marco Mircoli: > > > > Goodmorning everyone. > > > > I'm new to ffmpeg and was wondering if anyone from the group could > help > > > me > > > > set up a command line. > > > > My goal is to improve voice audio recordings. > > > > I would like to be able to do this starting from a command line I > have > > in > > > > my script, modifying it to add: > > > > > > > > - 70HZ high pass filter > > > > - expander / noise gate > > > > - equalizer > > > > - compressor > > > > - exciter > > > > - de-esser > > > > - limiter > > > > - loudnorm to r128 (there is already) > > > > > > > > It would be nice to have all this just in one line, is it possible? > > > > This is the string where I'm starting from. > > > > > > > > $ shell = shell_exec ("$ ffmpeg_b -i $ audio_file_full_path -map 0: > a: > > 0 > > > > -af loudnorm -b: a 96k $ audio_output_mp3 2> & 1"); > > > > > > yes, I think it's possible to do all this in one command line. All > these > > > features must be added at the beginning of the audio filter chain, > > > that's between "-af" and "loudnorm". For example: > > > > > > $ shell = shell_exec ("$ ffmpeg_b -i $ audio_file_full_path -map 0: a: > 0 > > > -af highpass=f=70,loudnorm -b: a 96k $ audio_output_mp3 2> & 1"); > > > > > > 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". > ___ > 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] ffmpeg, amix, adelay out of sync issues
On Fri, Jan 22, 2021 at 11:20 PM Randy Johnson via ffmpeg-user < ffmpeg-user@ffmpeg.org> wrote: > Hello, > > I have a series of mp3 files with a start time offset. > I am trying to merge them together with adelay and amix. > The following codes run and creates the combined MP3 but when I listen > to the final output file there are spots where people are talking over > each other not in the sense they are being rude but the audio being out > of sync. > Here are the files with the start and stoptime offsets: > > d4a19a58-790a-45c1-b96e-819bc98cd408.webm | 1720 | 3762173 ab794f92- > bdfb-4bb0-821d-ba80c8a9228a.webm | 48920 | 3328385 a7df9a51-0671-4930- > a14b-e7d85a562577.webm | 76220 | 3763361 5d312878-d25d-40d7-9418- > bed85e22efc6.webm | 3109640 | 3267473 1cf6127d-250a-4601-a219- > b1b6bbd725f8.webm | 3360980 | 3636927 c3ddd462-e05a-425f-af58- > f288f930f2cb.webm | 3689600 | 3760423 > Here is the command broke into lines for easier readability: > > ffmpeg -i d4a19a58-790a-45c1-b96e-819bc98cd408.mp3 -i ab794f92-bdfb- > 4bb0-821d-ba80c8a9228a.mp3 -i a7df9a51-0671-4930-a14b-e7d85a562577.mp3 - > i 1cf6127d-250a-4601-a219-b1b6bbd725f8.mp3 -i c3ddd462-e05a-425f-af58- > f288f930f2cb.mp3 -filter_complex " [0]adelay=1720|1720[a0]; > [1]adelay=48920|48920[a1]; [2]adelay=76220|76220[a2]; > [3]adelay=3360980|3360980[a3]; [4]adelay=3689600|3689600[a4]; > [a0][a1][a2][a3][a4]amix=inputs=5 " out.mp3 -y > Any idea what I am doing wrong? > If you want real help, provide input files. Also you have not provided information like ffmpeg version. Always use latest master git build version. > > Thanks! > ___ > 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] minterpolate problem
On Friday, 29 January 2021, 09:43:09 GMT, Mark Filipak (ffmpeg) wrote: > Try 'ffmpeg -h type=filter. > It fails. Why? Because "filter" is a "type", not a "name" -- never mind that > the details says "... > named decoder/encoder ..." Yes, this is the sort of thing that causes the problem. Easy to fix, though, you'd have thought. P ___ 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] VOICE POST PRODUCTION IN ONE LINE
On Fri, Jan 29, 2021 at 11:25 AM Marco Mircoli wrote: > Hello, > anybody knows the reason why this command works. > > $ffmpegCmd = "ffmpeg -i $fileOriginale -af > > adeclick,afftdn=nr=80:nf=-20:nt=w:om=o,highpass=f=70,loudnorm=I=-16:TP=-1.5:LRA=14 > $fileProcessato"; //Livella audio a R128 > > and this doesn't work. > > $ffmpegCmd = "ffmpeg -i $fileOriginale -af > > adeclick,deesser=i=1,afftdn=nr=80:nf=-20:nt=w:om=o,highpass=f=70,loudnorm=I=-16:TP=-1.5:LRA=14 > $fileProcessato"; //Livella audio a R128 > This creates an audio file of zero bytes, just the name. > > The difference is that the last I've added deesser=i=1 > Any ideas? > Dunno, you have not provided much info. Also both commands works just fine here. > Thanks. > S. > > > > Il giorno gio 28 gen 2021 alle ore 10:15 Michael Koch < > astroelectro...@t-online.de> ha scritto: > > > Am 28.01.2021 um 09:44 schrieb Marco Mircoli: > > > Goodmorning everyone. > > > I'm new to ffmpeg and was wondering if anyone from the group could help > > me > > > set up a command line. > > > My goal is to improve voice audio recordings. > > > I would like to be able to do this starting from a command line I have > in > > > my script, modifying it to add: > > > > > > - 70HZ high pass filter > > > - expander / noise gate > > > - equalizer > > > - compressor > > > - exciter > > > - de-esser > > > - limiter > > > - loudnorm to r128 (there is already) > > > > > > It would be nice to have all this just in one line, is it possible? > > > This is the string where I'm starting from. > > > > > > $ shell = shell_exec ("$ ffmpeg_b -i $ audio_file_full_path -map 0: a: > 0 > > > -af loudnorm -b: a 96k $ audio_output_mp3 2> & 1"); > > > > yes, I think it's possible to do all this in one command line. All these > > features must be added at the beginning of the audio filter chain, > > that's between "-af" and "loudnorm". For example: > > > > $ shell = shell_exec ("$ ffmpeg_b -i $ audio_file_full_path -map 0: a: 0 > > -af highpass=f=70,loudnorm -b: a 96k $ audio_output_mp3 2> & 1"); > > > > 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". ___ 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] VOICE POST PRODUCTION IN ONE LINE
Hello, anybody knows the reason why this command works. $ffmpegCmd = "ffmpeg -i $fileOriginale -af adeclick,afftdn=nr=80:nf=-20:nt=w:om=o,highpass=f=70,loudnorm=I=-16:TP=-1.5:LRA=14 $fileProcessato"; //Livella audio a R128 and this doesn't work. $ffmpegCmd = "ffmpeg -i $fileOriginale -af adeclick,deesser=i=1,afftdn=nr=80:nf=-20:nt=w:om=o,highpass=f=70,loudnorm=I=-16:TP=-1.5:LRA=14 $fileProcessato"; //Livella audio a R128 This creates an audio file of zero bytes, just the name. The difference is that the last I've added deesser=i=1 Any ideas? Thanks. S. Il giorno gio 28 gen 2021 alle ore 10:15 Michael Koch < astroelectro...@t-online.de> ha scritto: > Am 28.01.2021 um 09:44 schrieb Marco Mircoli: > > Goodmorning everyone. > > I'm new to ffmpeg and was wondering if anyone from the group could help > me > > set up a command line. > > My goal is to improve voice audio recordings. > > I would like to be able to do this starting from a command line I have in > > my script, modifying it to add: > > > > - 70HZ high pass filter > > - expander / noise gate > > - equalizer > > - compressor > > - exciter > > - de-esser > > - limiter > > - loudnorm to r128 (there is already) > > > > It would be nice to have all this just in one line, is it possible? > > This is the string where I'm starting from. > > > > $ shell = shell_exec ("$ ffmpeg_b -i $ audio_file_full_path -map 0: a: 0 > > -af loudnorm -b: a 96k $ audio_output_mp3 2> & 1"); > > yes, I think it's possible to do all this in one command line. All these > features must be added at the beginning of the audio filter chain, > that's between "-af" and "loudnorm". For example: > > $ shell = shell_exec ("$ ffmpeg_b -i $ audio_file_full_path -map 0: a: 0 > -af highpass=f=70,loudnorm -b: a 96k $ audio_output_mp3 2> & 1"); > > 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] minterpolate problem
On 01/29/2021 04:23 AM, Moritz Barsnick wrote: On Wed, Jan 27, 2021 at 14:16:16 +, Phil Rhodes via ffmpeg-user wrote: > I didn't know I could get help on individual filters. To be completely fair, that is actually in the docs, but it's not exactly on the front page. Good point. It is at the very top of the output of "ffmpeg -h" though: Hyper fast Audio and Video encoder usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}... Getting help: -h -- print basic options -h long -- print more options -h full -- print all options (including all format and codec specific options, very long) -h type=name -- print all options for the named decoder/encoder/demuxer/muxer/filter/bsf/protocol See man ffmpeg for detailed description of the options. Or you just do "ffmpeg -h full" and go on a long search for an option. :-) Moritz "-h type=name -- print all options for the named decoder/encoder/demuxer/muxer/filter/bsf/protocol". Try 'ffmpeg -h type=filter. It fails. Why? Because "filter" is a "type", not a "name" -- never mind that the details says "... named decoder/encoder ..." "type" & "name" are actually tokens. The documentation should be something like this: Getting help: -h -- print basic options -h long -- print more options -h full -- print all options (including all format and codec specific options, very long) -h = -- can be decoder, encoder, demuxer, muxer, filter, bsf or protocol, and can be the specific name of the . These are the types of things that trap those utterly stupid, lazy novices. ___ 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] minterpolate performance & alternative
On 01/28/2021 07:42 PM, pdr0 wrote: Mark Filipak (ffmpeg) wrote But perhaps by "process in parallel" you mean something else, eh? ...something I'm unaware of. Can you expand on that? I mean "divide and conquer" to use all resources. If you're at 20% CPU usage, you can run 4-5 processes eg. Split video in to 4-5 segments. Process each simultaneously, each to a lossless intermediate, so you're at 100% CPU usage. Then reassemble and encode to your final format I don't think that will work very well, even if I carefully cut on key frames. The reason is that the minterpolate filter drops 10 frames and that means that at the join of each section there'll be a 1/6 second jump (or maybe worse). Note: Whether the minterpolate filter drops 10 frames or 5 frames is the subject of [FFmpeg-user] minterpolate PTS v frame count weirdness. ___ 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] minterpolate problem
On Wed, Jan 27, 2021 at 14:16:16 +, Phil Rhodes via ffmpeg-user wrote: > > I didn't know I could get help on individual filters. > To be completely fair, that is actually in the docs, but it's not exactly on > the front page. Good point. It is at the very top of the output of "ffmpeg -h" though: Hyper fast Audio and Video encoder usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}... Getting help: -h -- print basic options -h long -- print more options -h full -- print all options (including all format and codec specific options, very long) -h type=name -- print all options for the named decoder/encoder/demuxer/muxer/filter/bsf/protocol See man ffmpeg for detailed description of the options. Or you just do "ffmpeg -h full" and go on a long search for an option. :-) Moritz ___ 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] minterpolate PTS v frame count weirdness
I've put 2 videos and a log here: https://www.dropbox.com/t/KaFx0DljtY33Qo4p = '24p-original (480 frames).mkv' https://www.dropbox.com/t/Pl7y7sYQsh5MZ1Uu = '60p-minterpolate (1195 frames).mkv' https://www.dropbox.com/t/WM81XL5Xc2ZbX6AO = '60p-minterpolate.mkv.log' The source is '24p-original (480 frames).mkv'. The target is '60p-minterpolate (1195 frames).mkv'. A 60p video should have 1200 frames. By visual comparison, the dropped frames in '60p-minterpolate (1195 frames).mkv' are NOT at the beginning. It is at this point that things get weird. The running time for both videos is indicated to be 0:20.105 (source: MPV). But '60p-minterpolate (1195 frames).mkv' never reaches its full 0:20.105 running time. Its last frame is at PTS=0:19.92, instead (source: MPV). Look... For '24p-original (480 frames).mkv': 1st PTS: 'frames.frame.0.best_effort_timestamp_time="0:00:00.00"' (source: ffprobe) last PTS: 'frames.frame.479.best_effort_timestamp_time="0:00:19.978000"' (source: ffprobe) (479 frames)/(19.978000 seconds) = 23.976374011412553809190109120032 FPS. Good! Delta-PTS = 19.978000/479 = 0.04171 s/frame. Good! For '60p-minterpolate (1195 frames).mkv': 1st PTS: 'frames.frame.0.best_effort_timestamp_time="0:00:00.00"' last PTS: 'frames.frame.1194.best_effort_timestamp_time="0:00:19.92"' (source: ffprobe) (1194 frames)/(19.92 seconds) = 59.939759036144578313253012048193 FPS. Good! Delta-PTS = 19.92/1194 = 0.01668 s/frame. Good! All good so far. The problem is that '60p-minterpolate (1195 frames).mkv's last time stamp means there are actually 10 frames missing, i.e. (20.105-19.920)/0.01668 - 1 = 10. Are there really 5 frames missing or 10 frames missing? Can anyone answer that? Or have I made a faux pas? -Mark. -- Someone's sneaking in and turning up the range so that my food burns. I'm sure of it. And the older I get, the more sure of it I become. ___ 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".