[MPlayer-dev-eng] MMS support in mplayer begun

Derek J Witt djw at flinthills.com
Tue Dec 11 10:57:16 CET 2001


Hello, everyone.  This is what I have so far for the MMS support. I am
able to connect to mms://mslive.net-36.net:1755/panamsatedge117.  The
only strange thing I can't figure out yet is that upon sending the
"funnel" info, the server returns a funnel error (0x03).  However, if I
attempt to continue and request the file on the server, the server
returns file not found.  But mplayer can at least respond to the ping
command from the server, and thus stay connected.  Mplayer does send the
mms header to the server upon making a tcp connection.

So, I'm making good progress on my end. But I may have hit a stumbling
block. Once I could figure out how to send the right "funnel"
information...

-- 
**  Derek J Witt                                              **
*   Email: mailto:djw at flinthills.com                           *
*   Home Page: http://www.flinthills.com/~djw/                 *
*** "...and on the eighth day, God met Bill Gates." - Unknown **
-------------- next part --------------
? libmpdemux-derek
? libmpdemux/mmst.c
? libmpdemux/mmst.h
Index: libmpdemux/Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- libmpdemux/Makefile	24 Nov 2001 23:58:12 -0000	1.11
+++ libmpdemux/Makefile	11 Dec 2001 09:52:28 -0000
@@ -5,7 +5,7 @@
 
 SRCS = mp3_hdr.c video.c mpeg_hdr.c cache2.c asfheader.c aviheader.c aviprint.c aviwrite.c demux_asf.c demux_avi.c demux_mov.c demux_mpg.c demux_viv.c demuxer.c dvdauth.c open.c parse_es.c stream.c tv.c tvi_dummy.c tvi_v4l.c frequencies.c demux_fli.c
 ifeq ($(STREAMING),yes)
-SRCS += asf_streaming.c url.c http.c network.c
+SRCS += asf_streaming.c url.c http.c network.c mmst.c
 endif
 
 OBJS	= $(SRCS:.c=.o)
Index: libmpdemux/asf_streaming.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/asf_streaming.c,v
retrieving revision 1.10
diff -u -r1.10 asf_streaming.c
--- libmpdemux/asf_streaming.c	11 Dec 2001 01:07:40 -0000	1.10
+++ libmpdemux/asf_streaming.c	11 Dec 2001 09:52:29 -0000
@@ -44,7 +44,7 @@
 	}
 	if( !strncasecmp( proto_s, "mms", 3) ) {
 		printf("Trying ASF/TCP...\n");
-		//fd = asf_mmst_streaming_start( stream );
+		fd = asf_mmst_streaming_start( stream );
 		if( fd!=-1 ) return fd;
 		printf("  ===> ASF/TCP failed\n");
 	}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mmst.c
Type: text/x-csrc
Size: 9466 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20011211/b13883d3/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mmst.h
Type: text/x-chdr
Size: 4601 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20011211/b13883d3/attachment.h>


More information about the MPlayer-dev-eng mailing list