[FFmpeg-devel] [PATCH] Speex RTP support
Michael Niedermayer
michaelni at gmx.at
Sun Sep 23 14:23:32 CEST 2012
On Sun, Sep 23, 2012 at 03:30:14PM +0400, Dmitry Samonenko wrote:
> Hello, Michael.
>
> > > +static int speex_parse_sdp_line(AVFormatContext *s, int st_index,
> > > + PayloadContext *data, const char *line)
> > > +{
> > > + av_log(NULL, AV_LOG_WARNING, "fmtp line parsing is not implemented yet\n");
> >
> > something else than NULL should be used as context
>
> I am kinda new to ffmpeg internals, have scratched only the surface and
> missed logging subsystem.
> I hope this will do:
>
> - av_log(NULL, AV_LOG_WARNING, "fmtp line parsing is not implemented yet\n");
> + av_log(s, AV_LOG_WARNING, "fmtp line parsing is not implemented yet\n");
>
> > and do you have (a) testcase(s) for these patches ?
>
> I've tested it using 2 ffmpeg processes:
> * the first one was generating RTP stream;
> * the other one was receiving and dumping it to raw audio
>
> Like this:
> * ffmpeg -re -i ./audio.ogg -acodec libspeex -ar 16K -ac 1 -f rtp rtp://127.0.0.1:12345
> * ffmpeg -i ./speex.sdp -acodec pcm_s16le -f s16le - | aplay - -t raw -f S16_LE -r 16000
>
> According to the test it works flawlessly.
ok, works fine here too
patch applied
thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120923/605b0dd3/attachment.asc>
More information about the ffmpeg-devel
mailing list