[FFmpeg-trac] #6798(undetermined:new): crossfade goes into infinite loop in new versions of ffmpeg
FFmpeg
trac at avcodec.org
Thu Nov 2 06:55:56 EET 2017
#6798: crossfade goes into infinite loop in new versions of ffmpeg
-------------------------------------+-------------------------------------
Reporter: mpegnovice | Type: defect
Status: new | Priority: normal
Component: | Version: git-
undetermined | master
Keywords: cross fade | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug: Newer version of ffmpeg go into an infinite loop
trying to cross-fade two videos. Version
ffmpeg-20161122-d316b21-win64-static is the last version I have which
works ok. New versions such as ffmpeg-20171031-88c7aa1-win64-static or
ffmpeg-3.4-win64-static fail.
The input video can be pretty much anything. I extracted 3 seconds which
demos the problem with the ffmpeg command. The result fade.m2g should look
the same as either head.m2t or tail.m2t.
How to reproduce:
copy tail.m2t head.m2t
ffmpeg -y -i tail.m2t -i head.m2t -an -filter_complex
"[0:v]trim=start=0:end=1,setpts=PTS-
STARTPTS[firstclip];[1:v]trim=start=2:end=3,setpts=PTS-
STARTPTS[secondclip];[0:v]trim=start=1:end=2,setpts=PTS-
STARTPTS[fadeoutsrc];[1:v]trim=start=1:end=2,setpts=PTS-
STARTPTS[fadeinsrc];[fadeinsrc]format=pix_fmts=yuva420p,fade=t=in:st=0:d=1:alpha=1[fadein];[fadeoutsrc]format=pix_fmts=yuva420p,fade=t=out:st=0:d=1:alpha=1[fadeout];[fadein]fifo[fadeinfifo];[fadeout]fifo[fadeoutfifo];[fadeoutfifo][fadeinfifo]overlay[crossfade];[firstclip][crossfade][secondclip]concat=n=3[output];[0:a][1:a]
acrossfade=d=3 [audio]" -map "[output]" -map "[audio]" fade.m2t -report
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6798>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list