Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Screencasting your Ubuntu Desktop: It's easy

  1. #1
    Join Date
    Aug 2008
    Location
    Quebec, Canada
    Beans
    241

    Screencasting your Ubuntu Desktop: It's easy

    Hi fellow friends...

    I've always been interested in audio and video recording under Ubuntu. My last project WebcamStudio was quite an adventure, but after 5 years as the project manager, I felt that it was time to move on to something else. Don't worry, WebcamStudio is well and alive and currently maintained by Karl Ellis. You can get the latest news by joining his G+ community "WebcamStudio Reloaded" (https://plus.google.com/u/0/communit...69823088092206).

    Since then, I worked on my youtube channel, creating some screencast from time to time. The main issue when creating a screencast is finding a good software that is able to record in full HD, even if my laptop is not powerful enough for a full 30FPS.

    So I ended up using ffmpeg/avconv from the console to record my desktop. Once the recoding was done, I had to edit the video to add titles and my voice to comment what was happening on the screen.

    Even if it worked quite well, I wanted to do it in one step and avoid doing some video editing. Using that "complex" command in the terminal, I was able to achieve a screencast, with my webcam overlayed and also a banner:

    Code:
    avconv -r 10 -s 1366x768 -f x11grab -framerate 10 -video_size 1366x768 -i :0.0 -f video4linux2 -framerate 10 -video_size 320x240 -i /dev/video0 -f image2 -framerate 10 -i /tmp/screenstudio9094636433031284800.png -filter_complex [0:v]setpts=PTS-STARTPTS[desktop];[1:v]setpts=PTS-STARTPTS[webcam];[2:v]setpts=PTS-STARTPTS[banner];[desktop][webcam]overlay=main_w-overlay_w:main_h-overlay_h[newbackground];[newbackground][banner]overlay=0:main_h-overlay_h -f pulse -i  alsa_input.usb-Logitech_Logitech_USB_Microphone-00-Microphone.analog-mono -ar 44100 -vb 9000k -ab 128k -y /home/patrick/Broadcast/screenstudio.flv
    It's cool, but I was stuck with 2 problems:
    • How to change the titles on my banner in an easy way
    • How to avoid my terminal showing up at the start and the end of my video


    There are may ways to do this, but as I am a software developper, why not create something that would take care of this...

    Drum roll.... ScreenStudio is born!



    ScreenStudio is a wrapper for avconv, thus making it easy to screencast your destop. You can select your audio input, your webcam and your favorite banner to create your perfect screencast.

    The project is open-source GPLV3 is available from the website of ScreenStudio: http://screenstudio.crombz.com

    Have fun!

  2. #2
    Join Date
    Apr 2014
    Beans
    8

    Re: Screencasting your Ubuntu Desktop: It's easy

    Thanks so much, Ive been wanting to make tutorials for lubuntu on my youtube channel -3DActivated

  3. #3
    Join Date
    Aug 2013
    Beans
    6

    Re: Screencasting your Ubuntu Desktop: It's easy

    This looks good, I'll give it a try

  4. #4
    Join Date
    May 2006
    Location
    Milwaukee,WI
    Beans
    6,282
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Screencasting your Ubuntu Desktop: It's easy

    WOW, this is great. I am glad to see more and more options available for livestreaming. I currently use simplescreenrecorder and it works very very well always keeping the audio/video in sync which I always had issues with when using avconv or ffmpeg from the command line. The only thing missing is support for a webcam and compositing so that I could use an overlay. You refer to a "banner", is that an image that gets overlayed on top of your screenscast?

    Simplescreenrecorder was originally made for local recording to all sorts of formats but it does also work for livestreaming. I livestream on hitbox and will be doing so tonight at 8 pm CDT if you're interested in coming to check it out for a little bit. I livestream every Tuesday and Thursday at 8pm CDT until whenever and then on Sunday mornings at 9am until Noon. Since ssr doesn't have webcam support I have to open guvciview and set the window to "always on top" and I use devilspie to remove the window decoration so it appears like webcam support is built right into ssr.

    If you program supports an overlay image than this is what I have been looking for. I use OBS when I play windows games and livestream in windows and until obs-studio is done with development i had to just stick with simplescreenrecorder and capture the screen vs capturing the game. I cant wait to try out your software.

  5. #5
    Join Date
    Aug 2008
    Location
    Quebec, Canada
    Beans
    241

    Re: Screencasting your Ubuntu Desktop: It's easy

    ScreenStudio is able to capture the desktop, even on slow PCs using a lower frame rate while keeping a great quality. An overlay or banner can be applied using the provided banners or a custom PNG file by selecting Custom Banner.

    Title and SubTitle will in overlay of everything so it's easy to set up your broadcast or screencast without having to learn the commands of avconv.

    For now, ScreenStudio only supports one layout but as more options will be added in the future.

    Thanks for your great comments.

    For more examples and tutorials, have a look at my Youtube channel http://youtube.com/patrickballeux

  6. #6
    Join Date
    May 2006
    Location
    Milwaukee,WI
    Beans
    6,282
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Screencasting your Ubuntu Desktop: It's easy

    I can't even get it to work. When I attempt to use it I get, "An error occured.." I looked for a .screenstudio folder within my home directory for a log but there's none. How would I troubleshoot why this isn't working?

  7. #7
    Join Date
    Sep 2006
    Beans
    3,578

    Re: Screencasting your Ubuntu Desktop: It's easy

    Quote Originally Posted by dannyboy79 View Post
    If you program supports an overlay image than this is what I have been looking for. I use OBS when I play windows games and livestream in windows and until obs-studio is done with development i had to just stick with simplescreenrecorder and capture the screen vs capturing the game. I cant wait to try out your software.
    Some command line examples specific to streaming to the various live video sites: Encoding for streaming site with FFmpeg. Includes examples of desktop recording with webcam and image/logo overlay. It's written for FFmpeg (compile guide), so it may not work with forks.

  8. #8
    Join Date
    May 2006
    Location
    Milwaukee,WI
    Beans
    6,282
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Screencasting your Ubuntu Desktop: It's easy

    Quote Originally Posted by FakeOutdoorsman View Post
    Some command line examples specific to streaming to the various live video sites: Encoding for streaming site with FFmpeg. Includes examples of desktop recording with webcam and image/logo overlay. It's written for FFmpeg (compile guide), so it may not work with forks.
    thanks for the link, i was familiar with that page. i always have issues with my video and audio becoming desync'd after a certain period of time so i've given up on ffmpeg command line streaming. I use simplescreenrecorder which has built in code to ensure sync between audio and video. I 'm just waiting for him to incorporate compositing OR for obs-studio to get finished

  9. #9
    Join Date
    Aug 2008
    Location
    Quebec, Canada
    Beans
    241

    Re: Screencasting your Ubuntu Desktop: It's easy

    Version 0.9 has a bug when streaming. That is now fixed in 0.9.1 that is currently available.

    As for the logs, you're right, I do expose the complete output on the console when running from the command line "java -jar ScreenStudio.jar". The thing is that logging into a file could end-up in large files over time since the output is quite verbose.

    Get the newest version. I've made major modifications in this release. See the latest Youtube video (ScreenStudio 0.9.1: New Look) for the details.

    This new release also exposes the default configuration for AVCONV that you can now tweak to your liking.

  10. #10
    Join Date
    Aug 2008
    Location
    Quebec, Canada
    Beans
    241

    Re: Screencasting your Ubuntu Desktop: It's easy

    Here's the tutorial and demo for the version 0.9.1: http://www.youtube.com/watch?v=xdFFLTVbb9A

    Still in beta mode, but getting better!

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •