Hey,
So I`m trying a pretty common task, draw a text on the *top-left* of my
video (0,0), but for some reason it draws on the *top-right*, and the text
is written vertically for some reason, I want it to be written horizontally.
Here`s the code I`m using (Xamarin Android):
List<string> cmd = new List<string>();
cmd.Add("-i");
cmd.Add(GetPathToImage(this.ApplicationContext, videoUri));
cmd.Add("-vcodec libx264 -acodec aac -strict -2 -ar 44100 -r
30");
cmd.Add("-vf");
cmd.Add("scale=720:368,pad=750:398:15:15:white,drawtext=fontfile="+fontFilePath+":text=AAAA:x=0:y=0:fontsize=30:box=1");
cmd.Add(croppedVideoPath);
Additionally, I`m using *pad* to create a white border on my video, but I
want the top border to be bigger than the rest, how can I achieve that?
Thank you,
--
View this message in context:
http://ffmpeg-users.933282.n4.nabble.com/DrawText-Not-Drawing-from-top-left-0-0-tp4678874.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".