Drawtext ffmpeg на заказ для AndroidAndroid

Форум для тех, кто программирует под Android
Anonymous
Drawtext ffmpeg на заказ для Android

Сообщение Anonymous »


Needing an ffmpeg command that works in Android drawtext but custom with image overlay

Similar to this source Drawtext create custom transparent background

The current code example is

ffmpeg -i input.mp4 -vf \ "format=yuv444p, \ drawbox=y=ih/PHI:color=black@0.4:width=iw:height=48:t=fill, \ drawtext=fontfile=OpenSans-Regular.ttf:text='Title of this Video':fontcolor=white:fontsize=24:x=(w-tw)/2:y=(h/PHI)+th, \ format=yuv420p" \ -c:v libx264 -c:a copy -movflags +faststart output.mp4 Here is an example output file Link to output video screenshot

But we want to modify it so that the drawtext is 2 lines, and a thumbnail in the drawtext

Example is the screenshot we want Output example


Источник: https://stackoverflow.com/questions/781 ... om-android

Вернуться в «Android»