LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

Rep: Reputation: 78

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:
Code:
gst-launch filesrc location=subs.srt ! 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 libgstxvid.so 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, 09:27 PM   #17
mundy
LQ Newbie
 
Registered: Oct 2005
Distribution: Debian Etch
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
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 imlib2.so 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.
 
  


Reply



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 07:42 AM
Copy text from command line Duukkis Linux - General 8 08-25-2003 01:29 PM
VI text editor in command line InSane103 Linux - Software 4 07-09-2003 09:04 PM
Command line Text Terri Linux - General 8 04-05-2002 03:10 PM
command line text formating anyone? DavidPhillips Linux - General 2 11-25-2001 06:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:31 PM.

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