Results 1 to 3 of 3

Thread: FFMPEG: recording Video + Microphone + Desktop Sounds

  1. #1
    Join Date
    Apr 2010
    Location
    Croatia, Zagreb
    Beans
    19
    Distro
    Ubuntu 9.10 Karmic Koala

    FFMPEG: recording Video + Microphone + Desktop Sounds

    I'm planning on doing some video tutorials and after extensive digging I couldn't find what I need, there is a cool topic here http://ubuntuforums.org/showthread.php?t=1710642 but it didn't help me since it just crashes when I start the script (I think it's because the pulse setting because I'm using another script that is very similar but uses hw:0,0 instead).

    Here are the things I want to do:
    1. Record the desktop + microphone + desktop sounds at the same time
    2. I want my sound file seperate (if possible) so I could touch it up a bit in Audacity

    This is the current script I'm using for recording (I don't know if even the microphone recording works, gotta try that out, I did only some video quality tests)

    Code:
    ffmpeg -f alsa -ac 2 -i hw:0,0 -f x11grab -r 30 -s $(xwininfo -root | grep 'geometry' | awk '{print $2;}') -i :0.0 -acodec pcm_s16le -vcodec libx264 -vpre lossless_ultrafast -threads 0 -y output.mkv
    I apologize in advance if this topic has been brought up hundred times before but I don't have the time to turn the whole internet upside down for the answers, I just want to do some tutorial

  2. #2

    Re: FFMPEG: recording Video + Microphone + Desktop Sounds

    Here's an old command I had archived for comparison.
    YMMV...

    Code:
    ffmpeg -f x11grab -s wxga -r 25 -i :0.0 -sameq ~/mymovie.mpg
    Windows assumes the user is an idiot.
    Linux demands proof.

  3. #3
    Join Date
    Apr 2010
    Location
    Croatia, Zagreb
    Beans
    19
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: FFMPEG: recording Video + Microphone + Desktop Sounds

    Quote Originally Posted by Habitual View Post
    Here's an old command I had archived for comparison.
    YMMV...

    Code:
    ffmpeg -f x11grab -s wxga -r 25 -i :0.0 -sameq ~/mymovie.mpg
    Comparison?

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
  •