Rendering Text?

Josh Doe josh at joshdoe.com
Thu Jan 31 08:50:44 PST 2013


On Thu, Jan 31, 2013 at 11:43 AM, Stirling Westrup <swestrup at gmail.com>wrote:
>
>  > That's because a plain text file has no header or other information that
> > decodebin can use to know it's "text/plain". Try this:
> > gst-launch-1.0 filesrc location=text.txt ! "text/plain" ! textrender !
> > xvimagesink display=':5'
>
> Well, that's *sort of* an improvement. The pipeline as given refuses
> to run because it can't link filesrc to textrender. If I put a
> decodebin in the middle, I get the helpful "This appears to be a text
> file" error.


I'm using filesrc ! "text/plain" ! textrender with 0.10 and it works fine.
Maybe try:
gst-launch-1.0 filesrc location=text.txt ! capssetter caps="text/plain"
replace=true ! textrender ! xvimagesink display=':5'

-Josh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130131/002621a3/attachment.html>


More information about the gstreamer-devel mailing list