[vlc-devel] Re: h264 streaming using rtp/rtsp
conundrums at gmail.com
Tue Dec 14 13:07:16 CET 2004
On Tue, 7 Dec 2004 14:02:47 +0100, Sigmund Augdal <sigmunau at stud.ntnu.no> wrote:
> On Tue, Dec 07, 2004 at 01:29:56PM +0100, Hussain wrote:
> > Hello.
> > I would like to stream h.264 encoded video content using rtp/rtsp from
> > the Darwin server, and would like to play it back using VLC. My
> > questions are
> > 1. In VLC, do I need to amend the livedotcom.cpp code , (found in
> > modules/demux) only, or are there other codes I would need to amend
> > as well? As the SVN repository is down, I have not been able to get
> > hold of the latest VLC codes, and the ones I currently have are about
> > a 2 months old, so I have not been able to go through the latest
> > codes. Thus am not sure what provisions have already been made to
> > stream h264 encoded video content.
> you probably only need a few lines of change to vlc code in livedotcom.cpp.
> Just a mapping from the live.com codec name for h264 to a vlc fourcc.
Hello, I created a H264VideoRTPSource.cpp, and was able to
successfully compile it with the live.com code. I assumed that it was
successfully compiles, as I was able to see the object files, and I
had no errors. Then I compiled the VLC code with the newly compiled
live.com code. Upon trying to play back the stream i get the following
o=StreamingServer 3312013312 1101731661000 IN IP4 188.8.131.52
c=IN IP4 0.0.0.0
m=video 0 RTP/AVP 96
 livedotcom demuxer warning: RTP subsession 'video/H264'
failed(RTP payload format unknown or not supported)
 livedotcom demuxer error: PLAY failed No RTSP session is
currently in progress
 main demuxer warning: no access_demux module matching
"rtsp" could be loaded
 main input debug: access2_New: access='rtsp'
 main access debug: looking for access2 module
 main access debug: probing 4 candidates
Also I think I did map the code properly by adding the following lines
in the livedotcom code, in the demuxOpen section.
else if( !strcmp( sub->codecName(), "H264" ) )
tk->fmt.i_codec = VLC_FOURCC( 'H', '2', '6', '4' );
Is there any other place I would need to make the changes, or is it
more likely that I have not integrated my H264VideoRTPSource class in
the live media code?
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
More information about the vlc-devel