Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-25-2008, 09:56 PM   #16
HCL Maintainer
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 76

Well… did you solve your problem?

I am not very well-acquainted with gstreamer, but I found that you can also use it to hardcode subtitles as well. Gstreamer uses a sort of pipeline to apply filters, and takes some getting used to. You can use the command-line gst-launch to set up such a pipeline if you don’t want to bother with a Python or Perl script:
gst-launch filesrc ! subparse ! txt. filesrc location=input.avi ! decodebin ! textoverlay name=txt ! xvidenc ! filesink location=output.avi
The above command works for me on the test xvid file I linked before (you have to have installed on your system), and you can customize the textoverlay further with options covered in the docs. In fact, you could do both the subtitle overlay as well as the image overlay all with gstreamer.
Old 06-25-2008, 10:27 PM   #17
LQ Newbie
Registered: Oct 2005
Distribution: Debian Etch
Posts: 8

Original Poster
Rep: Reputation: 0
Originally Posted by osor View Post
Well… did you solve your problem?
Not yet, still trying things though. I didn't get much chance to look at it yesterday as I had other things to do.

Not sure whats up with MEncoder not working. FFMPEG and works but isn't terribly practical so I'll see what else I can find.

I'll try and have a play with gstreamer today and see what I come up with.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Enhanced command line text editor netsoft2005 Linux - Software 2 07-14-2005 08:42 AM
Copy text from command line Duukkis Linux - General 8 08-25-2003 02:29 PM
VI text editor in command line InSane103 Linux - Software 4 07-09-2003 10:04 PM
Command line Text Terri Linux - General 8 04-05-2002 04:10 PM
command line text formating anyone? DavidPhillips Linux - General 2 11-25-2001 07:26 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:51 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration