[FFmpeg-trac] #6424(avfilter:closed): endless loop in avfilter.c
FFmpeg
trac at avcodec.org
Thu Jun 22 10:53:00 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 tinybug):
This is my output
{{{
ffmpeg -ss 9 -t 3 -i 7bed448f-b835-44d0-8838-70bd5a98f116.mp4 -ss 0 -t 3
-i fbb7460b-233a-48a9-8e19-beb37a5297fe.mp4 -y -filter_complex
"[0:v]fps=fps=25[fps0];[1:v]fps=fps=25[fps1];[fps1][fps0]overlay=x=50:y=50[overlay];[0:a]afade=type=out:ss=0:d=3[afade100];[1:a]afade=type=in:ss=0:d=3[afade101];[afade100][afade101]amix=inputs=2:duration=shortest[amix10];[overlay][amix10]concat=n=1:a=1:v=1:unsafe=1[v][a]"
-map [v] -map [a] -vcodec libx264 -pix_fmt yuv420p -r 25 -profile:v main
-level 3.1 -acodec aac tmp.mp4
ffmpeg version N-86515-g478a1949d9 Copyright (c) 2000-2017 the FFmpeg
developers
built with Apple LLVM version 8.1.0 (clang-802.0.42)
configuration: --enable-debug --disable-stripping --disable-doc
--enable-nonfree --enable-openssl --enable-gnutls --disable-static
--enable-shared --enable-postproc --enable-runtime-cpudetect --enable-
libx264 --enable-gpl --enable-libmp3lame --enable-gray --enable-
libfreetype --enable-libopenjpeg --enable-version3 --enable-libass
--enable-opencl --enable-libfdk-aac --extra-libs='-L/data/tmp/libs
-lGPUImage -lANGLE -lEGL_static -lGLESv2_static -langle_util_static
-lstdc++ -langle_common -langle_deqp_decpp -langle_deqp_libtester
-langle_gpu_info_util -langle_image_util -langle_internal_gmock
-langle_internal_gtest -langle_libpng -langle_zlib -lpreprocessor
-ltranslator -lGPUImageRender -lcjson' --extra-
cflags='-I/Users/liuzx/Documents/projects/opensource/angle/samples/GPUImage
-I/Users/liuzx/Documents/projects/opensource/angle/samples/GPUImageRender
-I/Users/liuzx/Documents/projects/opensource/angle/samples/GPUImageRenderTest'
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
'7bed448f-b835-44d0-8838-70bd5a98f116.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.71.100
Duration: 00:00:12.02, start: 0.000000, bitrate: 993 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p,
368x640, 860 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz,
stereo, fltp, 128 kb/s (default)
Metadata:
handler_name : SoundHandler
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'fbb7460b-233a-
48a9-8e19-beb37a5297fe.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.71.100
Duration: 00:00:10.04, start: 0.000000, bitrate: 721 kb/s
Stream #1:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p,
368x640, 585 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #1:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz,
stereo, fltp, 128 kb/s (default)
Metadata:
handler_name : SoundHandler
Stream mapping:
Stream #0:0 (h264) -> fps
Stream #0:1 (aac) -> afade
Stream #1:0 (h264) -> fps
Stream #1:1 (aac) -> afade
concat:out:v0 -> Stream #0:0 (libx264)
concat:out:a0 -> Stream #0:1 (aac)
Press [q] to stop, [?] for help
[libx264 @ 0x7fc7ae002200] using cpu capabilities: MMX2 SSE2Fast SSSE3
SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0x7fc7ae002200] profile Main, level 3.1
[libx264 @ 0x7fc7ae002200] 264 - core 148 r2762 90a61ec - 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=0x1:0x111 me=hex subme=7 psy=1
psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0
cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6
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 'tmp.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.73.100
Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p,
368x640, q=-1--1, 25 fps, 12800 tbn, 25 tbc (default)
Metadata:
encoder : Lavc57.99.100 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Stream #0:1: Audio: aac (LC) ([64][0][0][0] / 0x0040), 44100 Hz,
stereo, fltp, 128 kb/s (default)
Metadata:
encoder : Lavc57.99.100 aac
^C^C^CReceived > 3 system signals, hard exiting=00:00:02.41 bitrate=
145.0kbits/s speed=4.79x
}}}
Just same with @friday. This bug was not fixed. FFMPEG still runs
forever.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6424#comment:11>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list