Opened 6 years ago

Last modified 5 years ago

#2031 reopened enhancement

ffmpeg fails to access certain http URLs

Reported by: gjdfgh Owned by:
Priority: wish Component: avformat
Version: git-master Keywords: url av_url_split http
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

$ ffmpeg -i 'http://samples.mplayerhq.hu/V-codecs/N264/Video demo-1.avi' fds.avi
ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers
  built on Nov 17 2012 12:13:29 with gcc 4.7 (Debian 4.7.2-4)
  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 --disable-decoder=libdirac --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-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-libvpx --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 --disable-altivec   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 @ 0x8091600] HTTP error 404 Not Found
http://samples.mplayerhq.hu/V-codecs/N264/Video demo-1.avi: Input/output error

mplayer can access the file without trouble.

(Never mind the problem that the video codec used for this file is not supported by ffmpeg or mplayer.)

Change History (5)

comment:1 Changed 6 years ago by Cigaes

Spaces are not valid in HTTP URLs. Replace them by %20 and it works.

comment:2 Changed 6 years ago by gjdfgh

The ffmpeg component should be doing this.

comment:3 Changed 6 years ago by cehoyos

  • Priority changed from normal to wish
  • Reproduced by developer set
  • Status changed from new to open
  • Type changed from defect to enhancement
  • Version changed from unspecified to git-master

comment:4 Changed 5 years ago by saste

  • Keywords url av_url_split http added
  • Resolution set to fixed
  • Status changed from open to closed

Hopefully fixed in:

commit 4a8fc1d83b1b55e1ac533644168018ebeec0c732
Author: Senthilnathan M <senthilnathan.maadasamy@gmail.com>
Date:   Sun Feb 10 23:08:52 2013 +0530

    lavf/utils: add support for special characters encoding in URL
    
    In particular, fix trac ticket #2031.
    
    Signed-off-by: Senthilnathan M <senthilnathan.maadasamy@gmail.com>
    Signed-off-by: Stefano Sabatini <stefasab@gmail.com>

Please reopen the ticket if this still fails in some cases.

comment:5 Changed 5 years ago by cehoyos

  • Resolution fixed deleted
  • Status changed from closed to reopened

The commit was reverted.

Note: See TracTickets for help on using tickets.