The problem only comes from the -vf because it works well without it. The name of the command is the name of the option and the argument is. FFmpeg/doc/writingfilters.txt Go to file 421 lines (316 sloc) 16.1 KB Raw Blame This document is a tutorial/initiation for writing simple filters in libavfilter. These options are marked âTâ on the output of ffmpeg-h filter.drawtext filter description text value: this is a string: may contain one, or more. Some options can be changed during the operation of the filter using a command. Filtering in FFmpeg is enabled through the libavfilter library. The format filter is then used again to ensure that the pixel format of the output file is compatible with all players. 6 Changing options at runtime with a command. The format filter is used to improve the color of the drawbox area otherwise, depending on your input and output formats, the area could look de-saturated or monochrome. vcodec libx264 -pix_fmt yuv420p -preset $QUAL -r $FPS -g $(($FPS * 2)) -b:v $VBR \ See ffmpeg -filters to view which filters have timeline support. vf "drawtext=text='SOME TEXT':x=(w-text_w):y=(h-text_h):fontfile=OpenSans.ttf:fontsize=30:fontcolor=white" \ I can't use another method for concatenation, so how should I do ? (I don't mind about using several commands, as long as everything is done live and can be streamed directly)Ä«y the way, here's an example command I use : ffmpeg \ vf - for creating filter graph on video. The problem is that I used complex filter to concatenate the videos, and -vf to drawtext, but ffmpeg says I can't use complex filters and -vf in the same time. to connect two command together so that the output of one program becomes the input of the next program. I have a ffmpeg command that plays several videos from a folder to a live stream, but I would also like to add text overlays over it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |