[FFmpeg-trac] #2480(avformat:new): libavformat can't handle mms streaming from http URLs

FFmpeg trac at avcodec.org
Thu Apr 18 16:15:19 CEST 2013


#2480: libavformat can't handle mms streaming from http URLs
----------------------------------+---------------------------------------
             Reporter:  gjdfgh    |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  avformat  |                  Version:  unspecified
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+---------------------------------------
 The following URL works fine with mplayer and VLC, but not ffplay:
 {{{
 http://direct.francetv.fr/regions/evt/medit-nice-direct.wsx?MSWMExt=.asf
 }}}
 However, using mmsh as protocol instead make it work:
 {{{
 mmsh://direct.francetv.fr/regions/evt/medit-nice-direct.wsx?MSWMExt=.asf
 }}}
 It looks like libavformat is missing some logic to recognize that a http
 URL is actually mms.

 The following is even "harder", as in that it doesn't work with mplayer or
 ffplay, and only VLC:
 {{{
 http://wm.microsoft.com/ms/evnet/Vista_Diagnostics_s_ch9.wmv
 }}}

 This is bad, because you can't just tell users they should try "mmsh"
 instead of "http" if "http" happens not to work.

 ffplay dump:
 {{{

 $ ffplay http://direct.francetv.fr/regions/evt/medit-nice-
 direct.wsx?MSWMExt=.asf
 ffplay version 1.0.6 Copyright (c) 2003-2013 the FFmpeg developers
   built on Mar 25 2013 16:52:47 with gcc 4.7 (Debian 4.7.2-5)
   configuration: --prefix=/usr --extra-cflags='-g -O2 -fstack-protector
 --param=ssp-buffer-size=4 -Wformat -Werror=format-security ' --extra-
 ldflags='-Wl,-z,relro' --cc='ccache cc' --enable-shared --enable-
 libmp3lame --enable-gpl --enable-nonfree --enable-libvorbis --enable-
 pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-
 x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb
 --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-
 nonfree --disable-stripping --enable-libvpx --enable-libschroedinger
 --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg
 --enable-librtmp --enable-avfilter --enable-libfreetype --enable-libvo-
 aacenc --disable-decoder=amrnb --enable-libvo-amrwbenc --enable-libaacplus
 --libdir=/usr/lib/i386-linux-gnu --disable-vda --enable-libbluray
 --enable-libcdio --enable-gnutls --enable-frei0r --enable-openssl
 --enable-libass --enable-libopus --enable-fontconfig --enable-libdc1394
 --enable-libfdk-aac --disable-altivec --disab  libavutil      51. 73.101 /
 51. 73.101
   libavcodec     54. 59.100 / 54. 59.100
   libavformat    54. 29.104 / 54. 29.104
   libavdevice    54.  2.101 / 54.  2.101
   libavfilter     3. 17.100 /  3. 17.100
   libswscale      2.  1.101 /  2.  1.101
   libswresample   0. 15.100 /  0. 15.100
   libpostproc    52.  0.100 / 52.  0.100
 http://direct.francetv.fr/regions/evt/medit-nice-direct.wsx?MSWMExt=.asf:
 Invalid data found when processing input
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2480>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list