[FFmpeg-user] Silence remove at start and end of audio file

2023-11-29 Thread kevin draper
Hi,
I'm currently using areverse,silenceremove=start_periods=1...
areverse,silenceremove=start_periods=1...

I'd like to take out the areverse and use silenceremove=stop_periods to
trim the end of recordings, but it doesn't work as expected.
stop_periods=1 cuts the audio at the first pause in speech.
stop_periods= doesn't trim at the end of the recording at all.

Can you point me to any examples of using
start_periods...stop_periods= on the same line? The examples in
the doc are all based on stop_periods=.

Thanks

-- 

Kevin Draper

*Mobile +44 (0)7904 207537*

Email Kevin Draper 
___
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] The unsubscribe process

2023-11-29 Thread David Bernat
I have done it correctly several times, over several days. The organizers
of the team newsletter know why, now, I have altered course to reply with
"Please unsubscribe."
This will be the last time I reply "Please unsubscribe." :-) But because
you emailed me directly I do not want to not reply to you. If you are
without context here I admit this must appear "strange" and downright inane
or rude. For those of you I worked with on questions here I enjoyed our
chats. Thank you for your knowledge.

On Wed, Nov 29, 2023 at 2:06 PM Greg Oliver  wrote:

> On Wed, Nov 29, 2023 at 11:56 AM Carl Zwanzig  wrote:
>
>> On 11/29/2023 9:18 AM, David Bernat wrote:
>> > You misinterpreted the response. I have emailed the correct unsubscribe
>> > link several times.
>> (emailed a link??? what does that mean?)
>>
>> In the footer of every message-
>>  > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>  >
>>  > To unsubscribe, visit link above, or email
>>  > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>>
>> Dropping "Please unsubscribe" in an existing message thread won't do it,
>> you
>> have to send the correct subject ("unsubscribe") to the correct address
>> (ffmpeg-user-requ...@ffmpeg.org).
>>
>> Or visit the link above, enter your email, press "unsub", and wait for
>> the
>> confirmation email.
>>
>> z!
>>
>
> I was a little late - just sent him the same page privately :)
>
___
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] drawtext filter missing

2023-11-29 Thread Paul B Mahol
On Wed, Nov 29, 2023 at 9:29 PM Leo Butler 
wrote:

> On 11/28/23, Paul B Mahol  wrote:
> > On Tue, Nov 28, 2023 at 9:40 PM Leo Butler via ffmpeg-user <
> > ffmpeg-user@ffmpeg.org> wrote:
> >
> >> Hello,
> >>
> >> I ran into this problem with the current Debian testing build, so I
> >> thought I would try the static build. Both are compiled with
> >> --enable-libfreetype but both barf on a drawtext filter. I am attaching
> >> the log file from the static build.
> >>
> >> According to:
> >>
> >> https://ffmpeg.org/ffmpeg-all.html#drawtext-1
> >>
> >> the libfreetype library should be sufficient.
> >>
> >>
> > Citation from that link:
> >
> > To enable compilation of this filter, you need to configure FFmpeg with
> > --enable-libfreetype and --enable-libharfbuzz. To enable default font
> > fallback and the font option you need to configure FFmpeg with
> > --enable-libfontconfig. To enable the text_shaping option, you need to
> > configure FFmpeg with --enable-libfribidi.
> >
> > So your statements are invalid.
>
> You are correct.
>
> It looks like in commit 1eeb59a2099 you added the libharfbuzz
> dependency (6 months ago).
> But you did not include this change in the Changelog. I will guess
> that downstream packagers, including Debian and whoever it is who
> builds unofficial binaries, missed this new dependency. Hence, their
> packages are broken.
>
> Please fix this, Paul. Those folks shouldn't need to wade through
> every commit message in order to build ffmpeg correctly.
>


I'm neither providing those binaries, I'm not their boss and I'm not going
to revert that commit because of poor people
complaining to me.

This is open source project. If you do not want it, get some commercial
support elsewhere.


>
> Thanks,
> Leo
>
___
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] drawtext filter missing

2023-11-29 Thread Leo Butler via ffmpeg-user
On 11/28/23, Paul B Mahol  wrote:
> On Tue, Nov 28, 2023 at 9:40 PM Leo Butler via ffmpeg-user <
> ffmpeg-user@ffmpeg.org> wrote:
>
>> Hello,
>>
>> I ran into this problem with the current Debian testing build, so I
>> thought I would try the static build. Both are compiled with
>> --enable-libfreetype but both barf on a drawtext filter. I am attaching
>> the log file from the static build.
>>
>> According to:
>>
>> https://ffmpeg.org/ffmpeg-all.html#drawtext-1
>>
>> the libfreetype library should be sufficient.
>>
>>
> Citation from that link:
>
> To enable compilation of this filter, you need to configure FFmpeg with
> --enable-libfreetype and --enable-libharfbuzz. To enable default font
> fallback and the font option you need to configure FFmpeg with
> --enable-libfontconfig. To enable the text_shaping option, you need to
> configure FFmpeg with --enable-libfribidi.
>
> So your statements are invalid.

You are correct.

It looks like in commit 1eeb59a2099 you added the libharfbuzz
dependency (6 months ago).
But you did not include this change in the Changelog. I will guess
that downstream packagers, including Debian and whoever it is who
builds unofficial binaries, missed this new dependency. Hence, their
packages are broken.

Please fix this, Paul. Those folks shouldn't need to wade through
every commit message in order to build ffmpeg correctly.

Thanks,
Leo
___
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] The unsubscribe process

2023-11-29 Thread Greg Oliver
On Wed, Nov 29, 2023 at 11:56 AM Carl Zwanzig  wrote:

> On 11/29/2023 9:18 AM, David Bernat wrote:
> > You misinterpreted the response. I have emailed the correct unsubscribe
> > link several times.
> (emailed a link??? what does that mean?)
>
> In the footer of every message-
>  > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>  >
>  > To unsubscribe, visit link above, or email
>  > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
> Dropping "Please unsubscribe" in an existing message thread won't do it,
> you
> have to send the correct subject ("unsubscribe") to the correct address
> (ffmpeg-user-requ...@ffmpeg.org).
>
> Or visit the link above, enter your email, press "unsub", and wait for the
> confirmation email.
>
> z!
>

I was a little late - just sent him the same page privately :)
___
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] The unsubscribe process

2023-11-29 Thread Carl Zwanzig

On 11/29/2023 9:18 AM, David Bernat wrote:

You misinterpreted the response. I have emailed the correct unsubscribe
link several times.

(emailed a link??? what does that mean?)

In the footer of every message-
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Dropping "Please unsubscribe" in an existing message thread won't do it, you 
have to send the correct subject ("unsubscribe") to the correct address 
(ffmpeg-user-requ...@ffmpeg.org).


Or visit the link above, enter your email, press "unsub", and wait for the 
confirmation email.


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] drawtext filter missing

2023-11-29 Thread David Bernat
You misinterpreted the response. I have emailed the correct unsubscribe
link several times. I figured a commotion was in order. No personal
directed intention to you. I hope you had your question answered. If you
need help building a solution reach out to me.

On Wed, Nov 29, 2023 at 8:15 AM Tobias Rapp  wrote:

> On 29/11/2023 10:14, Tobias Rapp wrote:
>
> > On 29/11/2023 09:40, David Bernat wrote:
> >
> >> Please unsubscribe.
> >>
> > I do not consider such a response as friendly and respectful.
> >
> Or maybe I just misunderstood your intend and instead of suggesting me
> to unsubscribe myself, you just tried to unsubscribe your own mail
> address from the list? In that case you should send your request to
>  instead, see the common mail footer
> text added by the list server below.
>
> Regards,
> Tobias
>
> ___
> 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] drawtext filter missing

2023-11-29 Thread Tobias Rapp

On 29/11/2023 10:14, Tobias Rapp wrote:


On 29/11/2023 09:40, David Bernat wrote:


Please unsubscribe.


I do not consider such a response as friendly and respectful.

Or maybe I just misunderstood your intend and instead of suggesting me 
to unsubscribe myself, you just tried to unsubscribe your own mail 
address from the list? In that case you should send your request to 
 instead, see the common mail footer 
text added by the list server below.


Regards,
Tobias

___
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] does ffmpeg support MVC (3D BluRays)?

2023-11-29 Thread Paul B Mahol
On Wed, Nov 29, 2023 at 3:25 AM Philippe Cerfon  wrote:

> Hey Paul.
>
> On Tue, Nov 28, 2023 at 4:51 PM Paul B Mahol  wrote:
> > IIRC MVC in h264 is not supported.
>
> What a pity. I've filed https://trac.ffmpeg.org/ticket/10706 in case
> someone is ever going to work on this.
>
>
Ticket is already closed because it is duplicate ticket.


> > stereo3d filter is for anaglyph presentation of decoded 3d frames and
> some
> > other minor features.
> > supporting alternating, top/bottom, left/right etc.
>
> I'm really new to 3D, so may be completely wrong: but as far as I
> understood, quite some end devices (e.g. 3D capable projectors or so)
> expect e.g. side-by-side input, too (i.e. than cannot cope with MVC
> either).
>

stereo3d filter supports converting alternating to side by side conversion,
as evident by really reading filter documentation.


>
> Also, it would have been nice to convert the MVC to a side-by-side
> version and see whether it actually works. Seems so far, there are
> only few ways to decode this. Most people apparently use BD3D2MK3D[0],
> but that's windows only, and as far as I can see not open.
>
> > But as usual:
>
> Well I guess the following are not really useful, if it anyway doesn't
> support MVC, but here they are:
>
> > - missing ffmpeg version
>
> $ ffmpeg -version
> ffmpeg version 6.1-4 Copyright (c) 2000-2023 the FFmpeg developers
> built with gcc 13 (Debian 13.2.0-6)
> configuration: --prefix=/usr --extra-version=4 --toolchain=hardened
> --libdir=/usr/lib/x86_64-linux-gnu
> --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl
> --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom
> --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
> --enable-libcdio --enable-libcodec2 --enable-libdav1d
> --enable-libflite --enable-libfontconfig --enable-libfreetype
> --enable-libfribidi --enable-libglslang --enable-libgme
> --enable-libgsm --enable-libjack --enable-libmp3lame
> --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt
> --enable-libopus --enable-libpulse --enable-librabbitmq
> --enable-librist --enable-librubberband --enable-libshine
> --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt
> --enable-libssh --enable-libtheora --enable-libtwolame
> --enable-libvidstab --enable-libvorbis --enable-libvpx
> --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid
> --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2
> --enable-omx --enable-openal --enable-opencl --enable-opengl
> --enable-sdl2 --disable-sndio --enable-libjxl --enable-pocketsphinx
> --enable-librsvg --enable-libvpl --disable-libmfx --enable-libdc1394
> --enable-libdrm --enable-libiec61883 --enable-chromaprint
> --enable-frei0r --enable-libsvtav1 --enable-libx264
> --enable-libplacebo --enable-librav1e --enable-shared
> libavutil  58. 29.100 / 58. 29.100
> libavcodec 60. 31.102 / 60. 31.102
> libavformat60. 16.100 / 60. 16.100
> libavdevice60.  3.100 / 60.  3.100
> libavfilter 9. 12.100 /  9. 12.100
> libswscale  7.  5.100 /  7.  5.100
> libswresample   4. 12.100 /  4. 12.100
> libpostproc57.  3.100 / 57.  3.100
>
>
> > - missing full uncut ffmpeg command line and its output
>
> I merely tried on some MKV (which was generated from a BluRay):
> $ ffplay -i a2.mkv -vf stereo3d=sbsr:sbsr
>
> and various oher outbuts. But obviously, the MVC stream is not any of
> the input formats that the filter supports.
>
> > - missing input files
>
> That might be difficult, I mean these are from BluRays, so the
> material is a) super big, b) copyrighted.
>
>
> > IIRC H.264 MVC is alternating frames 3d format.
>
> As far as I understood it, it's rather that the H264 contains two
> streams: a "normal" (AVC) one, which I think it s the left eye, and
> the MVC stream, which is like a diff from the left to the right eye.
>

If video is in two different streams use stereo3d filter in combination
with framepack filter to convert it to side by side.


> Thanks,
> Philippe.
>
> [0] https://download.videohelp.com/r0lZ/BD3D2AVS/index.html
> ___
> 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] drawtext filter missing

2023-11-29 Thread Tobias Rapp

On 29/11/2023 09:40, David Bernat wrote:


Please unsubscribe.


I do not consider such a response as friendly and respectful.

Regards,
Tobias

___
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] drawtext filter missing

2023-11-29 Thread David Bernat
Please unsubscribe.

On Wed, Nov 29, 2023 at 3:26 AM Tobias Rapp  wrote:

> On 28/11/2023 21:40, Leo Butler via ffmpeg-user wrote:
>
> > Hello,
> >
> > I ran into this problem with the current Debian testing build, so I
> > thought I would try the static build. Both are compiled with
> > --enable-libfreetype but both barf on a drawtext filter. I am attaching
> > the log file from the static build.
> >
> > According to:
> >
> > https://ffmpeg.org/ffmpeg-all.html#drawtext-1
> >
> > the libfreetype library should be sufficient.
>
> Recent versions of the drawtext filter now also depend on libharfbuzz. I
> also did run into this when cross-compiling a static build of FFmpeg.
> Unfortunately the harfbuzz library has some other non-trivial
> dependencies in turn, like GLib and Cairo, and uses Meson for building
> (see https://harfbuzz.github.io/building.html).
>
> In my opinion it would have been nice if the libharfbuzz dependency of
> the drawtext filter could be made optional, for those that do not mind
> non-perfect positioned characters - or just use monospaced fonts anyway.
>
> Regards,
> Tobias
>
> ___
> 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] drawtext filter missing

2023-11-29 Thread Tobias Rapp

On 28/11/2023 21:40, Leo Butler via ffmpeg-user wrote:


Hello,

I ran into this problem with the current Debian testing build, so I
thought I would try the static build. Both are compiled with
--enable-libfreetype but both barf on a drawtext filter. I am attaching
the log file from the static build.

According to:

https://ffmpeg.org/ffmpeg-all.html#drawtext-1

the libfreetype library should be sufficient.


Recent versions of the drawtext filter now also depend on libharfbuzz. I 
also did run into this when cross-compiling a static build of FFmpeg. 
Unfortunately the harfbuzz library has some other non-trivial 
dependencies in turn, like GLib and Cairo, and uses Meson for building 
(see https://harfbuzz.github.io/building.html).


In my opinion it would have been nice if the libharfbuzz dependency of 
the drawtext filter could be made optional, for those that do not mind 
non-perfect positioned characters - or just use monospaced fonts anyway.


Regards,
Tobias

___
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".