Not sure how that will work. You need an sdp file to be able to receive an RTP stream, do you have that already?
Port 8090
RTSPPort 554
BindAddress 127.0.0.1
MaxHTTPConnections 10
MaxClients 2
MaxBandwidth 10000
CustomLog -
<Stream 1>
Format rtp
File "http://my.server.name:8090/1.flv?date=2000-01-01T00:00:00"
</Stream>
<Stream stat.html>
Format status
ACL allow localhost
</Stream>
Port 8090
BindAddress 0.0.0.0
MaxHTTPConnections 1000
MaxClients 200
MaxBandwidth 10000
CustomLog -
<Feed f.ffm>
# ffmpeg http://localhost:8090/f.ffm
File /tmp/f.ffm
FileMaxSize 2000M
</Feed>
<Stream 1.flv>
Format flv
Feed f.ffm
NoLoop
VideoCodec libx264
VideoFrameRate 24
VideoBitRate 400
VideoSize 480x272
AVPresetVideo default
AVPresetVideo baseline
AVOptionVideo flags +global_header
AudioCodec libfaac
AudioBitRate 64
AudioChannels 2
AudioSampleRate 44100
AVOptionAudio flags +global_header
</Stream>
<Stream stat.html>
Format status
ACL allow localhost
</Stream>
Running ffserver on the phone is for various reasons something I'd like avoid or at least postpone at the moment (don't you need to be root to install programs?)
As Howard already got streaming to his G1 working (with only a ffserver on the host), I'd like to get that working. Actually I'm already trying for a few days, but can't get it working. Please give a little help.
I am using the ffserver svn version of today (r23819). The phone retrieves info using "DESCRIBE" and after that decides it cannot play the stream.
I have assumed all relevant patches Howard suggested are now in svn tree. The last patch "rtpenc_h264.c.patch" I've applied additionally, as suggested by Howard. BTW this patch is really not in svn (yet), although Luca says so.
Also I still get these warnings: "Sun Jun 27 12:37:19 2010 [NULL @ 0x1463f70]AAC with no global headers is currently not supported." so I guess there are more patches that have not made it to current svn. I am using the ffserver config file as suggested, with two times "AVOptionVideo flags +global_header" as suggested (audio and video section).