New submission from Dennis <[email protected]>:

I purpose a few changes to the way FFmpeg handles WMS 
content. I purpose these for transparent 
compatibility with the "Microsoft way", as I 
understand it. Your comments and thoughts are 
encouraged.

First, there should be a rollover protocol called: 
MMS (ex., mms://domain.tld/PubPoint). This rollover 
protocol should try to access the PubPoint in this 
order: RTSP-UDP --> RTSP-TCP --> MMSH (HTTP, see #2). 
I did not include pure MMS in the failover protocol 
scheme because Microsoft has depreciated it in Server 
2003 and it is not even present in Server 2008. I 
think leaving it in MMST is probaly best.

Second, the MMSH protocol should either be included 
in the regular HTTP protocol or there should be some 
sort of failover in HTTP to MMSH (perhaps auto 
detection or hook). I suggest this because Microsoft 
says to write WMS over HTTP URL's as: 
http://domain.tld:port/PubPoint when making an ASX or 
accessing the stream in Windows media player. keeping 
just "http" would help with compatibility.

Last, I don't believe FFmpeg fully supports ASX 
files. When I try my ASX generated with WMS 2008:
ffmpeg -i http://www.djxmmx.net/content/wms/Rap-
RnB.asx
FFmpeg version SVN-r26188, Copyright (c) 2000-2011 
the FFmpeg developers
  built on Jan  2 2011 04:10:51 with gcc 4.4.2
  configuration: --enable-gpl --enable-version3 --
enable-libgsm --enable-libvorb
is --enable-libtheora --enable-libspeex --enable-
libmp3lame --enable-libopenjpeg
 --enable-libschroedinger --enable-libopencore_amrwb -
-enable-libopencore_amrnb
--enable-libvpx --disable-decoder=libvpx --arch=x86 --
enable-runtime-cpudetect -
-enable-libxvid --enable-libx264 --enable-librtmp --
extra-libs='-lrtmp -lpolarss
l -lws2_32 -lwinmm' --target-os=mingw32 --enable-
avisynth --enable-w32threads --
cross-prefix=i686-mingw32- --cc='ccache i686-mingw32-
gcc' --enable-memalign-hack

  libavutil     50.36. 0 / 50.36. 0
  libavcore      0.16. 0 /  0.16. 0
  libavcodec    52.101. 0 / 52.101. 0
  libavformat   52.91. 0 / 52.91. 0
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter    1.72. 0 /  1.72. 0
  libswscale     0.12. 0 /  0.12. 0
http://www.djxmmx.net/content/wms/Rap-RnB.asx: 
Invalid data found when processin
g input

The ASX is also suppose to merge the metadata in the 
stream. For example, if there is no copyright present 
in the stream metadata and I add the 
<Copyright></Copyright> tag in the ASX, it should 
display the copyright in the end content.

That's pretty much all I can think of right now.

Once again, these are only suggestions to help make 
FFmpeg the most complete and compliant. Let me know 
what you think. Thanks.

----------
messages: 13192
priority: normal
status: new
substatus: new
title: WMS Compatibility Suggestions
type: feature_request

________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2484>
________________________________________________

Reply via email to