[FFmpeg-devel] [PATCH] Make RTP work with IPv6 enabled

Nicolas George nicolas.george
Mon Oct 15 10:15:24 CEST 2007

Le tridi 23 vend?miaire, an CCXVI, Ronald S. Bultje a ?crit?:
> Ok, so I'm trying to see whether I can make this work with my ipv6 patch,
> and using svn base to get a working testcase to continue from. I've tried
> several mpeg files, and it doesn't work for me.

Here is exactly what I do.

First, I use:

FFserver version SVN-r10717, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --prefix=/opt/ffmpeg-20071012 --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib --enable-gpl --enable-libgsm --enable-libmp3lame --enable-libogg --enable-libvorbis --enable-libtheora --enable-libfaad --enable-libfaac --enable-libxvid --enable-libx264 --enable-liba52 --enable-x11grab --enable-swscaler --enable-pp --enable-shared --enable-pthreads --disable-ipv6
  libavutil version: 49.5.0
  libavcodec version: 51.45.0
  libavformat version: 51.14.0
  built on Oct 12 2007 20:52:07, gcc: 4.2.1 (Debian 4.2.1-4)

Or the very same with my patch and without --disable-ipv6. I use
LD_LIBRARY_PATH to make them use the shared libraries in the build tree.

Then I download in /tmp:

I use the following, complete, ffserver.conf:

CustomLog -

<Stream test1-rtsp.mpg>
Format rtp
File "/tmp/zelda first commercial.mpeg"
ACL allow localhost

I start ffserver using:

/tmp/ffmpeg-ipv4/ffserver -f /tmp/ffserver.conf

(or the same with the other build tree)

And I play the video using:

mplayer rtsp://localhost:5454/test1-rtsp.mpg

The sound skips a little bit at the beginning of the stream, but apart from
that, it works.

(By the way, I am considering writing a "test" video format, with a simple
video and audio stream, to avoid having to look for samples in similar


  Nicolas George

More information about the ffmpeg-devel mailing list