#11061: FFmpeg hangs when using apad filter along with shortest flag
-------------------------------------+-------------------------------------
             Reporter:  Krzysztof    |                    Owner:  elenril
  Paliga                             |
                 Type:  defect       |                   Status:  reopened
             Priority:  normal       |                Component:  ffmpeg
              Version:  git-master   |               Resolution:
             Keywords:  audio        |               Blocked By:
  filters pad                        |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by steipal):

 * status:  closed => reopened
 * resolution:  fixed =>

Comment:

 Using the latest master build from BtbN ([https://github.com/BtbN/FFmpeg-
 Builds/releases/tag/latest] Latest Auto-Build (2024-10-16 18:22)) it's
 still not fixed even with the patch commited 2 days ago. This will still
 hang:


 {{{
 ffmpeg.exe -t 5 -i "http://commondatastorage.googleapis.com/gtv-videos-
 bucket/sample/ElephantsDream.mp4" -af apad -shortest -f null -
 }}}

 {{{
 ffmpeg version N-117491-gb989314c12 Copyright (c) 2000-2024 the FFmpeg
 developers
   built with gcc 14.2.0 (Rev1, Built by MSYS2 project)
   configuration:  --disable-static --enable-shared --pkg-config=pkgconf
 --cc='ccache gcc' --cxx='ccache g++' --ld='ccache g++' --extra-
 cxxflags=-fpermissive --extra-cflags=-Wno-int-conversion --disable-
 autodetect --enable-amf --enable-bzlib --enable-cuda --enable-cuvid
 --enable-d3d12va --enable-d3d11va --enable-dxva2 --enable-iconv --enable-
 lzma --enable-nvenc --enable-zlib --enable-sdl2 --enable-ffnvcodec
 --enable-nvdec --enable-cuda-llvm --enable-libmp3lame --enable-libopus
 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265
 --enable-libdav1d --enable-libaom --disable-debug --enable-fontconfig
 --enable-libass --enable-libbluray --enable-libfreetype --enable-
 libharfbuzz --enable-libvpl --enable-libmysofa --enable-libopenjpeg
 --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora
 --enable-libtwolame --enable-libvidstab --enable-libwebp --enable-libxml2
 --enable-libzimg --enable-libshine --enable-gpl --enable-avisynth
 --enable-libxvid --enable-libopenmpt --enable-librav1e --enable-libsrt
 --enable-libgsm --enable-libvmaf --enable-libsvtav1 --enable-gnutls
 --extra-cflags=-DLIBTWOLAME_STATIC --extra-cflags=-DLIBXML_STATIC --extra-
 libs=-liconv --disable-w32threads --shlibdir=/local64/bin-video
   libavutil      59. 42.100 / 59. 42.100
   libavcodec     61. 22.100 / 61. 22.100
   libavformat    61.  9.100 / 61.  9.100
   libavdevice    61.  4.100 / 61.  4.100
   libavfilter    10.  6.100 / 10.  6.100
   libswscale      8.  5.100 /  8.  5.100
   libswresample   5.  4.100 /  5.  4.100
   libpostproc    58.  4.100 / 58.  4.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
 'http://commondatastorage.googleapis.com/gtv-videos-
 bucket/sample/ElephantsDream.mp4':
   Metadata:
     major_brand     : mp42
     minor_version   : 0
     compatible_brands: isomavc1mp42
     creation_time   : 2010-05-17T15:28:46.000000Z
   Duration: 00:10:53.80, start: 0.000000, bitrate: 2075 kb/s
   Stream #0:0[0x1](und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz,
 stereo, fltp, 125 kb/s (default)
     Metadata:
       creation_time   : 2010-05-17T15:28:46.000000Z
       handler_name    : (C) 2007 Google Inc. v08.13.2007.
       vendor_id       : [0][0][0][0]
   Stream #0:1[0x2](und): Video: h264 (High) (avc1 / 0x31637661),
 yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 1947 kb/s, 24 fps, 24
 tbr, 24k tbn (default)
     Metadata:
       creation_time   : 2010-05-17T15:28:46.000000Z
       handler_name    : (C) 2007 Google Inc. v08.13.2007.
       vendor_id       : [0][0][0][0]
 Stream mapping:
   Stream #0:1 -> #0:0 (h264 (native) -> wrapped_avframe (native))
   Stream #0:0 -> #0:1 (aac (native) -> pcm_s16le (native))
 Press [q] to stop, [?] for help
 Output #0, null, to 'pipe:':
   Metadata:
     major_brand     : mp42
     minor_version   : 0
     compatible_brands: isomavc1mp42
     encoder         : Lavf61.9.100
   Stream #0:0(und): Video: wrapped_avframe, yuv420p(progressive), 1280x720
 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 24 fps, 24 tbn (default)
     Metadata:
       encoder         : Lavc61.22.100 wrapped_avframe
       creation_time   : 2010-05-17T15:28:46.000000Z
       handler_name    : (C) 2007 Google Inc. v08.13.2007.
       vendor_id       : [0][0][0][0]
   Stream #0:1(und): Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
 (default)
     Metadata:
       encoder         : Lavc61.22.100 pcm_s16le
       creation_time   : 2010-05-17T15:28:46.000000Z
       handler_name    : (C) 2007 Google Inc. v08.13.2007.
       vendor_id       : [0][0][0][0]
 [out#0/null @ 0000015b7ae92300] video:52KiB audio:861KiB subtitle:0KiB
 other streams:0KiB global headers:0KiB muxing overhead: unknown
 frame=  120 fps= 58 q=-0.0 Lsize=N/A time=00:00:05.00 bitrate=N/A
 speed=2.42x
 Exiting normally, received signal 2.
 }}}

 The problem seems to be in conjunction with "-t" input parameter. One will
 have to CTRL+C to abort.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11061#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to