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

Ronald S. Bultje rsbultje
Mon Oct 15 14:35:20 CEST 2007

Hi Luca,

On 10/15/07, Luca Abeni <lucabe72 at email.it> wrote:
> On Sun, 2007-10-14 at 22:21 -0400, Ronald S. Bultje wrote:
> [...]
> > 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.
> Are you trying to stream IPV6 or IPv4? In the first case, can you try
> IPv4 and check if it works? (just to be sure that we are seeing the same
> results, at least in one case :)

OK, I'm all in old-fashioned mode now, vanilla svn with --disable-ipv6.

> I've tried several mpeg files, and it doesn't work for me.
> The only important thing about the files is that they must be MPEG PS
> containing mp2 or mp3 audio and MPEG1 (not MPEG2) video. "output_example
> test.mpg" will produce a file that is ok.

I'm using that, ./ffplay test.mpg works.


RTSPPort 8091
MaxClients 1000
MaxBandwidth 1000
CustomLog -

<Stream test1.mpg>
Format rtp
File "/Users/ronaldbultje/Projects/ffmpeg/test.mpg"

Starting ffserver and connecting a client (ffplay

$ ./ffserver -f ffs.cnf
FFserver version SVN-r10739, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --disable-ipv6
  libavutil version: 49.5.0
  libavcodec version: 51.45.0
  libavformat version: 51.15.0
  built on Oct 15 2007 07:57:55, gcc: 4.0.1 (Apple Computer, Inc. build
ffserver started. - - [Mon Oct 15 08:18:28 2007] "DESCRIBE
rtsp:// RTSP/1.0" 200 275

In ipv6-mode, I get a log message that says that the client sent a DESCRIBE
command when I connect the client. Here, I get it only when I quit the
client, suggesting a data caching problem (?). Client gives me nothing

What appears in ffserver's log? Can you try using "vlc -vvv <rtsp url>"
> to receive the video, which gives much more debugging information?
> Also, can you capture some traffic with wireshark to chek if the audio
> and video streams are actually started?

I'll need to try this later, I don't have any of that installed yet...


More information about the ffmpeg-devel mailing list