[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-multimedia
Subject:    Re: Konrad Materka, GSOC proposal
From:       "Sylvain \"Skarsnik\" Colinet" <scolinet () gmail ! com>
Date:       2008-03-29 15:30:04
Message-ID: 903bdef20803290830n40ce7503y3e8eeb83aa590459 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]

[Attachment #4 (text/plain)]

2008/3/29 Konrad Materka <materka@gmail.com>:

> Matthias Kretz napisał(a):
> (...)
> >>> Yes, write it like a library but for now just compile it into
> >>> phonon-xine.
> >> Parsing library is back-end independent, so it won't depend on xine.
> >
> > Good. You should probably make that a requirement - then it's really
> easy to
> > take that code and use it in other backends or even in the frontend,
> should
> > we decide to do that later on.
>
> (...)
> > The subtitle code should be able to provide masked QPixmaps, QImages,
> plain
> > text and perhaps other formats like e.g. rich text (think Karaoke where
> a
> > part of the text is colored differently). It will "push" that data out
> to the
> > frontend where the application either handles it itself or uses the
> widget
> > you will write as part of the Phonon frontend classes.
>
> I was thinking about it (without Phonon) and I came up to the same
> conclusion :) My libsubtitle was designed to provide pixmaps and some
> text for widget and frontend application. Widget is in presentation
> layer with some funtion control layer. Library (no matter if separated
> or in Phonon) is in data layer with some controls.
>
>
Maybe provide a QTextDocument, you can draw on any painter device like
pixmap, widget..
with the draw method and offer rich text rendering.
But yes, all subtitle thing (parsing/select the good) dont need
xine/gst/whatever, the only thing the developer need to provide is something
to
sync the subtitle with audio/video

-- 
Sylvain "Skarsnik" Colinet

Victory was near but the power of the ring couldn't be undone

[Attachment #5 (text/html)]

<br><br><div class="gmail_quote">2008/3/29 Konrad Materka &lt;<a \
href="mailto:materka@gmail.com">materka@gmail.com</a>&gt;:<br><blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;"> Matthias Kretz napisał(a):<br>
(...)<br>
<div class="Ih2E3d">&gt;&gt;&gt; Yes, write it like a library but for now just \
compile it into<br> &gt;&gt;&gt; phonon-xine.<br>
&gt;&gt; Parsing library is back-end independent, so it won&#39;t depend on xine.<br>
&gt;<br>
&gt; Good. You should probably make that a requirement - then it&#39;s really easy \
to<br> &gt; take that code and use it in other backends or even in the frontend, \
should<br> &gt; we decide to do that later on.<br>
<br>
</div>(...)<br>
<div class="Ih2E3d">&gt; The subtitle code should be able to provide masked QPixmaps, \
QImages, plain<br> &gt; text and perhaps other formats like e.g. rich text (think \
Karaoke where a<br> &gt; part of the text is colored differently). It will \
&quot;push&quot; that data out to the<br> &gt; frontend where the application either \
handles it itself or uses the widget<br> &gt; you will write as part of the Phonon \
frontend classes.<br> <br>
</div>I was thinking about it (without Phonon) and I came up to the same<br>
conclusion :) My libsubtitle was designed to provide pixmaps and some<br>
text for widget and frontend application. Widget is in presentation<br>
layer with some funtion control layer. Library (no matter if separated<br>
or in Phonon) is in data layer with some controls.<br>
<br></blockquote><div><br>Maybe provide a QTextDocument, you can draw on any painter \
device like pixmap, widget..<br>with the draw method and offer rich text rendering. \
<br>But yes, all subtitle thing (parsing/select the good) dont need<br> \
xine/gst/whatever, the only thing the developer need to provide is something \
to<br>sync the subtitle with audio/video<br></div></div><br>-- <br>Sylvain \
&quot;Skarsnik&quot; Colinet<br><br>Victory was near but the power of the ring \
couldn&#39;t be undone



_______________________________________________
kde-multimedia mailing list
kde-multimedia@kde.org
https://mail.kde.org/mailman/listinfo/kde-multimedia


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic