Reduced text rendering quality

Manas Jayanth prometheansacrifice at gmail.com
Fri Feb 8 06:22:32 UTC 2019


>Le mer. 6 févr. 2019 05 h 27, Manas Jayanth <prometheansacrifice at
gmail.com>
>a écrit :
>
>> I'm using GES with the following as GESEffectClip that gets added to a
>> second layer, hoping that keeping the text in a different layer would
>> prevent its scaling/distortion. The first layer is the media ofc.
>>
>>         textoverlay \
>>                              shaded-background=0 \
>>                              shading-value=50 \
>>                              draw_outline=0 \
>>                              y-absolute=0
>>                              deltax=0
>>                              xpad=32
>>                              deltay=300
>>                              text=\"%s\" \
>>                              line-alignment=left \
>>                              draw-shadow=false \
>>                              valignment=absolute \
>>                              halignment=left \
>>                              font-desc=\"fira sans 24\" \
>>                              scale-mode=1 \
>>                              auto-resize=true
>>
>
>GES or the video mixer element would need to support overlay composition
>meta. So that it can telle text overlay to attach seperate overlay buffer
>to the buffer instead of compositing, and these prerendered buffer could
>match the output size.
>
>An other approach, without patching GST/GES, would be to create a dedicated
>track for the text, with the output size set to the final resolution.


This is a very interesting approach. I have been recommended to try
GESTitleClip
and it seems simpler. Nevertheless, this approach has helped my understand
the
reason behind the current behaviour.


>
>
>>
>>
>> On Wed, Feb 6, 2019 at 11:41 AM Manas Jayanth <
>> prometheansacrifice at gmail.com> wrote:
>>
>>> I have a text that lasts two images - sort of a subtitle. I noticed if
>>> one of the image is low res, the resolution of the text is affected too.
>>> Can I avoid this?
>>>
>>> --
>>> - prometheansacrifice
>>>
>>
>>
>> --
>> - prometheansacrifice
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190208/9934e383/attachment.html>


More information about the gstreamer-devel mailing list