[FFmpeg-trac] #2122(swresample:new): Commit 75d900d makes skipping in the input while using swresample very slow

FFmpeg trac at avcodec.org
Tue Jan 8 15:40:51 CET 2013


#2122: Commit 75d900d makes skipping in the input while using swresample very slow
------------------------------------+--------------------------------------
             Reporter:  eelco       |                    Owner:  michael
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  swresample
              Version:  1.1         |               Resolution:
             Keywords:  regression  |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+--------------------------------------

Comment (by eelco):

 Yes.

 {{{

 time ./ffmpeg -ss 2 -i ~/Downloads/example.mkv  -t 1 -vcodec copy -f
 matroska -map 0:0 -acodec ac3 -async 1 -map 0:1 -y /dev/null
 ffmpeg version N-48635-g8615970 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Jan  8 2013 15:38:39 with llvm-gcc 4.2.1 (LLVM build
 2336.11.00)
   configuration: --prefix=/Users/eelco/Projects/Beamer/FFmpeg/build
 --enable-gpl --enable-version3 --enable-libx264 --disable-shared --enable-
 static --enable-libtheora --enable-libvorbis --enable-libvo-aacenc
 --disable-doc --extra-cflags='-DMACOSX_DEPLOYMENT_TARGET=10.6 -isysroot
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
 -mmacosx-version-min=10.6
 -I/Users/eelco/Projects/Beamer/FFmpeg/build/include' --extra-
 ldflags='-isysroot
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
 -mmacosx-version-min=10.6 -L/Users/eelco/Projects/Beamer/FFmpeg/build/lib'
   libavutil      52. 13.100 / 52. 13.100
   libavcodec     54. 86.100 / 54. 86.100
   libavformat    54. 59.106 / 54. 59.106
   libavdevice    54.  3.102 / 54.  3.102
   libavfilter     3. 32.100 /  3. 32.100
   libswscale      2.  1.103 /  2.  1.103
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  2.100 / 52.  2.100
 Input #0, matroska,webm, from '/Users/eelco/Downloads/example.mkv':
   Metadata:
     title           : Project X Extended Cut (2012) – Release for HDCLUB
 by Pro_Rock_
     creation_time   : 2012-08-05 02:07:48
   Duration: 01:32:59.79, start: 0.000000, bitrate: 11159 kb/s
     Stream #0:0(eng): Video: h264 (High), yuv420p, 1280x720, SAR 1:1 DAR
 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
     Stream #0:1(rus): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
     Metadata:
       title           : Дубляж
     Stream #0:2(rus): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536
 kb/s (default)
     Metadata:
       title           : VO MaksCiganov
     Stream #0:3(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536
 kb/s
     Metadata:
       title           : Оригинал
     Stream #0:4(rus): Subtitle: subrip (default)
     Metadata:
       title           : Force
     Stream #0:5(rus): Subtitle: subrip
     Metadata:
       title           : Full
     Stream #0:6(eng): Subtitle: subrip
     Metadata:
       title           : Оригинал
 -async is forwarded to lavfi similarly to -af
 aresample=async=1:min_hard_comp=0.100000.
 Output #0, matroska, to '/dev/null':
   Metadata:
     title           : Project X Extended Cut (2012) – Release for HDCLUB
 by Pro_Rock_
     encoder         : Lavf54.59.106
     Stream #0:0(eng): Video: h264, yuv420p, 1280x720 [SAR 1:1 DAR 16:9],
 q=2-31, 23.98 fps, 1k tbn, 1k tbc (default)
     Stream #0:1(rus): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
     Metadata:
       title           : Дубляж
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
   Stream #0:1 -> #0:1 (ac3 -> ac3)
 Press [q] to stop, [?] for help
 frame=   74 fps=6.5 q=-1.0 Lsize=      86kB time=00:00:01.01 bitrate=
 690.1kbits/s
 video:28kB audio:56kB subtitle:0 global headers:0kB muxing overhead
 1.790181%
        11.46 real         3.66 user         7.47 sys
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2122#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list