[FFmpeg-trac] #4126(avformat:new): FFMPEG is very slow when trying to use a http url as source

FFmpeg trac at avcodec.org
Fri Nov 21 02:45:57 CET 2014


#4126: FFMPEG is very slow when trying to use a http url as source
-------------------------------------+-------------------------------------
             Reporter:  srikanth     |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:  avformat     |                  Version:
             Keywords:  network,     |  unspecified
  performance                        |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Whenever I try to use a HTTP url as source for trancoding/muxing, the task
 completes successfully, but the time taken is an order of magnitude longer
 that just downloading the file and performing the operation locally.

 I want to extract audio streams from sources online and I do not have the
 disk space locally to download the entire file. Is there any faster way to
 do this?


 How to reproduce:
 {{{
 ffmpeg -i
 http://ftp.nluug.nl/pub/graphics/blender/demo/movies/Sintel.2010.720p.mkv
 -vn test.wav
 ffmpeg version 2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
   built on Oct 14 2014 15:31:40 with gcc 4.6 (Ubuntu/Linaro
 4.6.3-1ubuntu5)
   configuration:
   libavutil      54.  7.100 / 54.  7.100
   libavcodec     56.  1.100 / 56.  1.100
   libavformat    56.  4.101 / 56.  4.101
   libavdevice    56.  0.100 / 56.  0.100
   libavfilter     5.  1.100 /  5.  1.100
   libswscale      3.  0.100 /  3.  0.100
   libswresample   1.  1.100 /  1.  1.100
 }}}
 Patches should be submitted to the ffmpeg-devel mailing list and not this
 bug tracker.

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


More information about the FFmpeg-trac mailing list