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 _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Wed, 2019-02-06 at 11:41 +0530, Manas Jayanth wrote:
Hi, > 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? Maybe. Could you give more details about the rest of your pipeline? You use 'textoverlay' to put text on top of the video, right? Cheers Tim -- Tim Müller, Centricular Ltd - http://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Manas Jayanth
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 On Wed, Feb 6, 2019 at 11:41 AM Manas Jayanth <[hidden email]> wrote:
- prometheansacrifice _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Le mer. 6 févr. 2019 05 h 27, Manas Jayanth <[hidden email]> a écrit :
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.
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Manas Jayanth
>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 _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |