[FFmpeg-devel] [PATCH] Make RTP work with IPv6 enabled
Ronald S. Bultje
rsbultje
Mon Oct 15 04:21:04 CEST 2007
Hi Nicolas,
On 10/14/07, Nicolas George <nicolas.george at normalesup.org> wrote:
>
> Le tridi 23 vend?miaire, an CCXVI, Ronald S. Bultje a ?crit:
> > This patch does only fix this issue for video-only or audio-only rtsp
> > streams, does it? In case of both video + audio, I get both trying to
> > connect to local port X (5000 in my case), second fails and I get the
> bind:
> > Address already in use error. (Not sure, really, trying to figure out
> what's
> > going on...)
>
> The snippet of ffserver.conf I posted works for me with audio and video,
> provided the /tmp/test.mpg file has audio and video.
>
> (On the other hand, it does not work with a live stream, whether with the
> patch or with --disable-ipv6; I will post on -users about it soon.)
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. Your ffserver.conf excerpt
in the sample ffserver.conf gives me nothing. It connects properly, but
ffplay hangs in av_find_stream_info():
#0 0x9001a1cc in select ()
#1 0x000bbc4c in udp_read_packet ()
#2 0x000bbe1d in rtsp_read_packet ()
#3 0x0000e19c in av_read_packet ()
#4 0x0000f579 in av_read_frame_internal ()
#5 0x00012be2 in av_find_stream_info ()
#6 0x00007b2a in decode_thread (arg=0xe0e7000) at ffplay.c:1908
#7 0x00a1524c in SDL_RunThread ()
#8 0x00a5263b in RunThread ()
#9 0x90024227 in _pthread_body ()
seems like the server sends no data. What's going on?
(ffserver is just setup to listen to localhost:8090, and I'm connecting to
that using rtsp://127.0.0.1:8090/test1.mpg. The SDP is sent properly, just
the data transfer never starts...)
Ronald
More information about the ffmpeg-devel
mailing list