[FFmpeg-trac] #6424(avfilter:closed): endless loop in avfilter.c
FFmpeg
trac at avcodec.org
Thu Jun 22 06:46:37 EEST 2017
#6424: endless loop in avfilter.c
-------------------------------------+-------------------------------------
Reporter: tinybug | Owner:
Type: defect | Status: closed
Priority: important | Component: avfilter
Version: git-master | Resolution: fixed
Keywords: deadlock | Blocked By:
regression | Reproduced by developer: 1
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by friday):
This is my output:
{{{
ffmpeg version N-86515-g478a194 Copyright (c) 2000-2017 the FFmpeg
developers
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
configuration: --extra-libs=-ldl --enable-gpl --enable-libass --enable-
libfdk-aac --enable-libmp3lame --enable-libopus --enable-libtheora
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree
libavutil 55. 66.100 / 55. 66.100
libavcodec 57. 99.100 / 57. 99.100
libavformat 57. 73.100 / 57. 73.100
libavdevice 57. 7.100 / 57. 7.100
libavfilter 6. 92.100 / 6. 92.100
libswscale 4. 7.101 / 4. 7.101
libswresample 2. 8.100 / 2. 8.100
libpostproc 54. 6.100 / 54. 6.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Fox and the cat 2015.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2016-08-20T14:56:53.000000Z
Duration: 00:01:04.34, start: 0.000000, bitrate: 1925 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p,
1280x720 [SAR 1:1 DAR 16:9], 1797 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
(default)
Metadata:
creation_time : 2016-08-20T14:56:53.000000Z
handler_name : ISO Media file produced by Google Inc.
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz,
stereo, fltp, 125 kb/s (default)
Metadata:
creation_time : 2016-08-20T14:56:53.000000Z
handler_name : ISO Media file produced by Google Inc.
Input #1, ogg, from 'grimmsfairytales_44_grimm.ogg':
Duration: 00:02:21.58, start: 0.000000, bitrate: 70 kb/s
Stream #1:0: Audio: vorbis, 44100 Hz, stereo, fltp, 96 kb/s
Metadata:
ARTIST : Jacob and Wilhelm Grimm
GENRE : Speech
ENGINEER : Robert Neufeld
TITLE : 44 - The Fox and the Cat
ALBUM : Grimm's Fairy Tales
track : 44
DATE : 2012-02-02
ENCODER : Lavf53.18.0
COMMENT :
http://www.archive.org/details/grimm_fairy_tales_1202_librivox
Stream mapping:
Stream #0:1 (aac) -> amix:input0 (graph 0)
Stream #1:0 (vorbis) -> amix:input1 (graph 0)
amix (graph 0) -> Stream #0:0 (aac)
Stream #0:0 -> #0:1 (h264 (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 0x3d92a80] using SAR=1/1
[libx264 @ 0x3d92a80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
AVX
[libx264 @ 0x3d92a80] profile High, level 3.1
[libx264 @ 0x3d92a80] 264 - core 150 - H.264/MPEG-4 AVC codec - Copyleft
2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=3
deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00
mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0
deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=1
lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0
bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25
scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0
qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'amix.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
encoder : Lavf57.73.100
Stream #0:0: Audio: aac (LC) ([64][0][0][0] / 0x0040), 44100 Hz,
stereo, fltp, 128 kb/s (default)
Metadata:
encoder : Lavc57.99.100 aac
Stream #0:1(und): Video: h264 (libx264) ([33][0][0][0] / 0x0021),
yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 25 fps, 12800
tbn, 25 tbc (default)
Metadata:
creation_time : 2016-08-20T14:56:53.000000Z
handler_name : ISO Media file produced by Google Inc.
encoder : Lavc57.99.100 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
frame= 1606 fps= 10 q=28.0 size= 13499kB time=00:01:02.50
bitrate=1769.2kbits/s speed= 0.4x
}}}
The last part of the version number (g478a194) is your commit hash, as you
can see.
The time it stops is very near the end (00:01:02.50 / 00:01:04.34). After
this it still uses 100% CPU until I force the process to quit. I can't
tell whether or not this is the same underlying issue as the original
ticket, but the result is seemingly the same.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6424#comment:9>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list