Daraku
2006-Jun-20 12:05 UTC
[ogg-dev] Souffleur subtittle editor (SoC). Need Help with GStreamer
Hi, All!!! I am at last added some GStreamer support to the Souffleur, and I am already read this manuals: - http://pygstdocs.berlios.de/ - http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/index.html But it's steel hard for me to understand (or maybe I something missed) how it work. :( For example: I don't know where to search info on how to load additional info on streams (LANGAGE, AUTHOR...). Or how to load streams data (Subtitle text). Or how to select some streams in multi streams file (one video, and one audio) to play... Please help me with docs. Maxim.
Michael Smith
2006-Jun-21 01:48 UTC
[ogg-dev] Re: Souffleur subtittle editor (SoC). Need Help with GStreamer
On 6/20/06, Daraku <otaky@ukr.net> wrote:> Hi, All!!! > > I am at last added some GStreamer support to the Souffleur, and I am > already read this manuals: > - http://pygstdocs.berlios.de/ > - > http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/index.html > But it's steel hard for me to understand (or maybe I something missed) > how it work. :(Hi Maxim, GStreamer's pretty complex, and though the low-level documentation is pretty complete, it's often quite difficult to understand how to accomplish some of the higher-level tasks, at least at first. So don't get too depressed at finding it hard to understand!> > For example: I don't know where to search info on how to load additional > info on streams (LANGAGE, AUTHOR...). Or how to load streams data > (Subtitle text). Or how to select some streams in multi streams file > (one video, and one audio) to play...I'm not sure how far you've got so far with this stuff. Most of the information-about-streams stuff comes from "tag messages". You should be listening to tag messages on your pipeline bus, and you will get any information about various tags that gstreamer knows. This might include Author, language info, etc. - of course, if that information isn't present, gstreamer can't give it to you. Subtitle information will come on a seperate pad, for playback you would composite it on to the video. It'll generally have a caps type of "text/something" for some value of 'something' depending on the subtitle format in use. Selecting particular streams depends on what you're doing precisely - if you're using decodebin, you can just select which ones to use as they appear, responding to the pad-added signal. If you're using playbin (which I don't think you will be?), it can do this internally for you. I've CCed Edward Hervey - if you have problems specific to gst-python (rather than general problems understanding how to use gstreamer), he'll probably be able to help. However, we're also here to help you - both on the xiph lists, and in the #gstreamer channel if you want to join us on irc. Mike
Ralph Giles
2006-Jun-22 10:07 UTC
[ogg-dev] Re: Souffleur subtittle editor (SoC). Need Help with GStreamer
On Tue, Jun 20, 2006 at 10:04:58PM +0300, Daraku wrote:> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/index.html > But it's steel hard for me to understand (or maybe I something missed) > how it work. :(How's this coming? Was Mike's response helpful? I'm going on vacation for the next couple of days, and all the gstreamer people are occupied with Guadec, so if you're stuck it might be worth hacking around the issue by just using an external subtitle file you read and write yourself. Now that you're done with exams it would be nice to get a working mock-up before the google evaluations are due at the end of June. You can rework it to use gstreamer properly later. That just leaves getting playback and scrubbing working. You might look at Andy Wingo's theora clip trimmer for an example of that: http://webcvs.freedesktop.org//gstreamer/gst-python/examples/remuxer.py There's also thoggen, but I don't think that's been ported to gstreamer 0.10, which is definitely what you should be using. http://thoggen.net/svn/ Hope that helps, and looking forward to seeing souffleur play video! -r
Hi Andy, Hope you're recovering from guadec. Quick remuxer.py question. Daraku (Maxim) borrowed the GstPlayer class for the Souffleur subtitle editor he's working on for Google SoC, but your source file doesn't have a copyright or license header. Is it ok to use it under the GPL? If you're not the original author, who should we credit? Cheers, -r
Hi All! Sorry for silence, I have some troubles with access to the Internet :(. Status of project: - Video playback by GStreamer (play by frame support will be soon) - Manual SRT support (GStreamer support will be soon) - Subs sink with video Not much, I think :( P.S. Now, when I am, at last, have stable access to the Internet, I am will be forced to fill the hole in the project schedule, that appear in last 10 days. Maxim.