[FFmpeg-devel] [PATCH 1/4] lavd: pulse audio encoder

Lukasz M lukasz.m.luki at gmail.com
Fri Oct 4 18:24:28 CEST 2013


>
> > + at subsection Options
>
> + at table @option
> > +
> > + at item server
> > +Connects to a specific server. Default server is used when not provided.
>
> Connect.
>
> What's exactly the server?
>

This is good question. TBH I'm not very familiar with pulse audio, but
after quick research and tests it seems to be an address of the host with
pulseaudio server.
Not sure if it can mean name of the server, not just address.
I made some tests on Debian 7.1 (installed few days ago so it is fresh) and
ffmpeg failed to connect with "-server localhost" option.
After loading a module with
pactl load-module module-native-protocol-tcp auth-ip-acl=LOCAL_IP
it worked.
I'm not quite sure name is adequate, but in pulse audio API it is called
this way.


> > + at item fragment_size
> > +Specify the minimal buffering fragment in PulseAudio, it will affect the
> > +audio latency. By default it is unset.
>
> expressed in which unit?


It is in bytes, but I rushed with copying it from decoder file. This
parameter is relevant for recording only so I removed it.
There are some option for playback, I will add them later, but they
recommend to use default values anyway.

Rest of remark fixed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavd-pulse-audio-encoder.patch
Type: application/octet-stream
Size: 9495 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20131004/a70883d1/attachment.obj>


More information about the ffmpeg-devel mailing list