typed-ffmpeg icon indicating copy to clipboard operation
typed-ffmpeg copied to clipboard

Debug Tools

Open lucemia opened this issue 1 year ago • 1 comments

Problem

  • While debug ffmpeg filter, it will be nicer if user don't need to provide sample video.

Solution

  • Provide a Debug Mode that will replace all input source to sample source.
  1. create fake input
  2. online debugger

lucemia avatar Mar 27 '24 06:03 lucemia

ffmpeg -f lavfi -i color=c=blue:s=1280x720:d=10 -vf "drawtext=text='%{n} / %{pts\:flt}':fontcolor=white:fontsize=24:x=(w-tw)/2:y=(h-th)/2" output.mp4

lucemia avatar Mar 28 '24 04:03 lucemia