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
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

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