[Libav-user] Requesting help to port Audacity to recent FFmpeg

Michael Niedermayer michaelni at gmx.at
Sun May 18 02:30:00 CEST 2014


On Wed, May 14, 2014 at 04:41:54PM -0300, Claudio Freire wrote:
> On Wed, May 14, 2014 at 2:27 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> > diff --git a/libavformat/libavformat.v b/libavformat/libavformat.v
> > index 0b47668..0d5d3b0 100644
> > --- a/libavformat/libavformat.v
> > +++ b/libavformat/libavformat.v
> > @@ -21,6 +21,8 @@ LIBAVFORMAT_$MAJOR {
> >                  ffurl_size;
> >                  ffurl_write;
> >                  ffurl_protocol_next;
> > +                ffio_fdopen;
> > +                ffurl_register_protocol;
> >                  url_open;
> >                  url_close;
> >                  url_write;
> >
> > and it needs to #include libavformat/url.h (which isnt installed be
> > default)
> 
> 
> If you need subscribers to the idea of re-publicizing the register
> protocol APIs, count me in. I also use it in one of the projects that
> needs an ffmpeg update, and that's probably one of the biggest tasks
> blocking me. Since ffmpeg there is an optional requirement, I keep
> postponing the port.
> 
> Having that API back into ffmpeg would certainly most certainly help.

for audacity urlprotocol is unneeded, ive just changed the code not
to use it and it works fine (see github), its simpler as well.

src/FFmpeg.cpp              |  131 ++++++++++++++-----------------------------
 src/FFmpeg.h                |   48 ++++------------
 src/export/ExportFFmpeg.cpp |    2 +-
 3 files changed, 55 insertions(+), 126 deletions(-)

But yes, there are cases (like image2) that need urlprotocol, if
someone wants urlprotocol back a patch is welcome, the ABI situation
with it should be explained in the urlprotocol documentation though so
people dont get bitten by it.

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

DNS cache poisoning attacks, popular search engine, Google internet authority
dont be evil, please
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20140518/072a6a17/attachment.asc>


More information about the Libav-user mailing list