KSnapshot screencast feature

View: New views
8 Messages — Rating Filter:   Alert me  

KSnapshot screencast feature

by afiestas :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi there!
I've been researching a bit about screencast in gnu/linux, and I'd like to try
to add it in ksnapshot, but I'm not sure which is the best way to do it.... so
please, could someone give me a hint?

Afaik there are 3 ways to record the desktop:
1-Create a ksnapshot backend using ffmpeg/recordmydesktop binary
2-Use the X11 libraries to get information, and a video (encode) library to
write that information.
3-Use libavcodec (ffmpeg library) that already has all X11 /encoding stuff done.

which one do you think that's the best approach? my guess is the third option.

Thanks!
_______________________________________________
Kde-graphics-devel mailing list
Kde-graphics-devel@...
https://mail.kde.org/mailman/listinfo/kde-graphics-devel

Re: KSnapshot screencast feature

by Bugzilla from eros.kde@email.it :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Qt-Recordmydesktop is cool (in python, IIRC, but it works really good for mee,
even allowing for the window selection). You could find some useful code in
there.

So you could add the glue layer from the ksnapshot application logic and the
'recordmydesktop' tool. Even check at runtime if suck a command exists on the
system and disable the screen recording if not.

So I'll vote for option 1, even if it's guaranteed to work on linux only. I
played with ffmpeg (option 3) in past and it's not that easy, the code is
tricky, handling all cases is a pita, and it relies on the codecs you have
installed, plus you'll have one more 'compile time' dependancy. But if you can
put a lot of efforts on this, then ffmpeg is again a nice choice.

Enrico

On Tuesday 14 July 2009 04:01:46 Alex Fiestas wrote:

> Hi there!
> I've been researching a bit about screencast in gnu/linux, and I'd like to
> try to add it in ksnapshot, but I'm not sure which is the best way to do
> it.... so please, could someone give me a hint?
>
> Afaik there are 3 ways to record the desktop:
> 1-Create a ksnapshot backend using ffmpeg/recordmydesktop binary
> 2-Use the X11 libraries to get information, and a video (encode) library to
> write that information.
> 3-Use libavcodec (ffmpeg library) that already has all X11 /encoding stuff
> done.
>
> which one do you think that's the best approach? my guess is the third
> option.
>
> Thanks!
> _______________________________________________
> Kde-graphics-devel mailing list
> Kde-graphics-devel@...
> https://mail.kde.org/mailman/listinfo/kde-graphics-devel
 
 
 --
 Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f
 
 Sponsor:
 Vieni in vacanza nei Riccione Family Hotels! Ti aspettano servizi per bambini, mini club e tanto divertimento! Prenota on-line la tua vacanza!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=9302&d=14-7
_______________________________________________
Kde-graphics-devel mailing list
Kde-graphics-devel@...
https://mail.kde.org/mailman/listinfo/kde-graphics-devel

Re: KSnapshot screencast feature

by Richard Moore-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Jul 14, 2009 at 3:01 AM, Alex Fiestas<alex@...> wrote:
> I've been researching a bit about screencast in gnu/linux, and I'd like to try
> to add it in ksnapshot, but I'm not sure which is the best way to do it.... so
> please, could someone give me a hint?
>

Hi Alex,

I don't think the user interface we want for ksnapshot really matches
what is required for a screencast application. I think a better plan
is to create a new application for this with a UI that is designed for
the task. I would probably have to reject a patch that adds support
for screencasts to ksnapshot unless you can think of a way to do it
that doesn't impact the existing user interface.

Cheers

Rich.
_______________________________________________
Kde-graphics-devel mailing list
Kde-graphics-devel@...
https://mail.kde.org/mailman/listinfo/kde-graphics-devel

Re: KSnapshot screencast feature

by Bugzilla from eros.kde@email.it :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tuesday 14 July 2009 12:01:54 Richard Moore wrote:

> On Tue, Jul 14, 2009 at 3:01 AM, Alex Fiestas<alex@...> wrote:
> > I've been researching a bit about screencast in gnu/linux, and I'd like
> > to try to add it in ksnapshot, but I'm not sure which is the best way to
> > do it.... so please, could someone give me a hint?
>
> Hi Alex,
>
> I don't think the user interface we want for ksnapshot really matches
> what is required for a screencast application. I think a better plan
> is to create a new application for this with a UI that is designed for
> the task. I would probably have to reject a patch that adds support
> for screencasts to ksnapshot unless you can think of a way to do it
> that doesn't impact the existing user interface.

He could do something like this:
http://img223.yfrog.com/img223/8825/ksnpshtrmx.png

In the end there is one button in the default UI + a systray control while
recording. The impact can be minimized, the functionality here is big indeed.

Enrico
 
 
 --
 Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f
 
 Sponsor:
 Last Minute a Riccione. Scopri le offerte su vacanzedivertenti.it  
* Buona Vacanza!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=9340&d=14-7
_______________________________________________
Kde-graphics-devel mailing list
Kde-graphics-devel@...
https://mail.kde.org/mailman/listinfo/kde-graphics-devel

Re: KSnapshot screencast feature

by Richard Moore-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Jul 14, 2009 at 12:31 PM, Enrico Ros<eros.kde@...> wrote:

> On Tuesday 14 July 2009 12:01:54 Richard Moore wrote:
>> On Tue, Jul 14, 2009 at 3:01 AM, Alex Fiestas<alex@...> wrote:
>> > I've been researching a bit about screencast in gnu/linux, and I'd like
>> > to try to add it in ksnapshot, but I'm not sure which is the best way to
>> > do it.... so please, could someone give me a hint?
>>
>> Hi Alex,
>>
>> I don't think the user interface we want for ksnapshot really matches
>> what is required for a screencast application. I think a better plan
>> is to create a new application for this with a UI that is designed for
>> the task. I would probably have to reject a patch that adds support
>> for screencasts to ksnapshot unless you can think of a way to do it
>> that doesn't impact the existing user interface.
>
> He could do something like this:
> http://img223.yfrog.com/img223/8825/ksnpshtrmx.png
>
> In the end there is one button in the default UI + a systray control while
> recording. The impact can be minimized, the functionality here is big indeed.

Except that that isn't actually enough interface to make a viable
screen recording application. You also need settings like 'should I
only record the focussed window', 'how should I compress the data'
etc. etc. We've managed this far to entirely avoid the need for any
kind of configuration dialog in ksnapshot and adding one for this
would be a retrograde step.

Cheers

Rich.
_______________________________________________
Kde-graphics-devel mailing list
Kde-graphics-devel@...
https://mail.kde.org/mailman/listinfo/kde-graphics-devel

Re: KSnapshot screencast feature

by afiestas :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> > He could do something like this:
> > http://img223.yfrog.com/img223/8825/ksnpshtrmx.png
> >
> > In the end there is one button in the default UI + a systray control
> > while recording. The impact can be minimized, the functionality here is
> > big indeed.
Thanks for the mockup!

> Except that that isn't actually enough interface to make a viable
> screen recording application. You also need settings like 'should I
> only record the focussed window', 'how should I compress the data'
> etc. etc. We've managed this far to entirely avoid the need for any
> kind of configuration dialog in ksnapshot and adding one for this
> would be a retrograde step.
>
> Cheers
>
> Rich.
My idea is continue without a configuration dialog, and keep it as simple as
possible, in the same way that ksnapshot doesn't ask for the picture format.
For example:
Always ogv, always encode after record, and for the rest, use the current
combo boxes (record screen, window, region...).

The only thing I'm not really sure how to integrate it without modify the
interface is the sound option (with or without sound), but i'm sure that
somebody can make a good mockup for this!


By the way, I'm not talking about a big and complete screencast solution like,
camstasia/captivate, I'm talking about something like recordmydesktop, but
integrated in our environment.

Cya and thanks for the quick response!
_______________________________________________
Kde-graphics-devel mailing list
Kde-graphics-devel@...
https://mail.kde.org/mailman/listinfo/kde-graphics-devel

Re: KSnapshot screencast feature

by Bugzilla from eros.kde@email.it :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tuesday 14 July 2009 16:54:31 you wrote:

> My idea is continue without a configuration dialog, and keep it as simple
>  as possible, in the same way that ksnapshot doesn't ask for the picture
>  format. For example:
> Always ogv, always encode after record, and for the rest, use the current
> combo boxes (record screen, window, region...).
>
> The only thing I'm not really sure how to integrate it without modify the
> interface is the sound option (with or without sound), but i'm sure that
> somebody can make a good mockup for this!
>
> By the way, I'm not talking about a big and complete screencast solution
>  like, camstasia/captivate, I'm talking about something like
>  recordmydesktop, but integrated in our environment.

Hello Alex, any progress on this?
Apart the 1 button addition to the main interface, the 'sound' and other
options can pop up on a panel when you press that 'screencast' button.

Keep up posted,
Enrico

--


 
 
 --
 Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f
 
 Sponsor:
 Offerte per Luglio e Agosto a Riccione. Prenota ora su vacanzedivertenti.it
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=9393&d=6-8
_______________________________________________
Kde-graphics-devel mailing list
Kde-graphics-devel@...
https://mail.kde.org/mailman/listinfo/kde-graphics-devel

Re: KSnapshot screencast feature

by afiestas :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, sorry for the delay :/!
Finally we decided (KSnapshot mantainers and myself) that the best is create a
new application only for screencast.
Right now the new application is only in "Research phase" and I hope have
something to show at the end of the month. I'm working in another project also
related with video, so I can't use all the time in the screencast one.

cya!

--
Alex Fiestas
_______________________________________________
Kde-graphics-devel mailing list
Kde-graphics-devel@...
https://mail.kde.org/mailman/listinfo/kde-graphics-devel