Page 20 of 25 FirstFirst ... 101819202122 ... LastLast
Results 191 to 200 of 246

Thread: HOWTO: Proper Screencasting on Linux

  1. #191
    Join Date
    Oct 2012
    Beans
    12

    Re: HOWTO: Proper Screencasting on Linux

    To view the method mentioned above in action, visit:

    https://www.youtube.com/watch?v=B-ry-f3Mpx4

  2. #192
    Join Date
    Oct 2012
    Beans
    12

    Re: HOWTO: Proper Screencasting on Linux


  3. #193
    Join Date
    Sep 2006
    Beans
    3,475

    Re: HOWTO: Proper Screencasting on Linux

    Quote Originally Posted by nehaljwani View Post
    To view the method mentioned above in action, visit:

    https://www.youtube.com/watch?v=B-ry-f3Mpx4
    Do not use the -sameq option when using x11grab. See sameq does not mean "same quality".

  4. #194
    Join Date
    Aug 2008
    Beans
    67

    Re: HOWTO: Proper Screencasting on Linux

    So, how to do screencast with ffmpeg with simultaneous capturing internal(which goes to speakers) and with external(which recorded by microphone) sound?
    Core2Duo E7400, GeForce GT440, 4Gb RAM

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

    Re: HOWTO: Proper Screencasting on Linux

    Quote Originally Posted by rulet View Post
    So, how to do screencast with ffmpeg with simultaneous capturing internal(which goes to speakers) and with external(which recorded by microphone) sound?
    using pavucontrol and all streams. you can create loopbacks so it records both internal audio and mic using pactl, see here for a hint: http://ubuntuforums.org/showthread.p...ghlight=twitch
    Check out my Blog about my life and computer software and hardware. http://ubuntuaddicted.blogspot.com/
    My YouTube channel:
    http://www.youtube.com/ubuntuaddicted

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

    Re: HOWTO: Proper Screencasting on Linux

    when trying this
    Code:
    ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 30 -s 1280x720 -i :0.0 -acodec pcm_s16le -vcodec libx264 -preset ultrafast -crf 0 -threads 0 output.mkv
    i get this
    Code:
    [matroska @ 0x1668bc0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 1 >= 1
    av_interleaved_write_frame(): Invalid argument
    What gives?
    Check out my Blog about my life and computer software and hardware. http://ubuntuaddicted.blogspot.com/
    My YouTube channel:
    http://www.youtube.com/ubuntuaddicted

  7. #197
    Join Date
    Sep 2006
    Beans
    3,475

    Re: HOWTO: Proper Screencasting on Linux

    I don't have a "real" solution, but you can output the audio separately and then mux it afterwards. Untested example:

    Code:
    ffmpeg -f x11grab -r 30 -s 1280x720 -i :0.0 -vcodec libx264 -preset ultrafast -crf 0 output-v.mkv -f alsa -ac 2 -i pulse -acodec pcm_s16le output-a.wav
    ffmpeg -i output-v.mkv -i output-a.wav -c copy output.mkv
    Note that "-threads 0" is default so you don't need to include it.

  8. #198
    Join Date
    Jan 2008
    Location
    Kaunas, Lithuania
    Beans
    60
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: HOWTO: Proper Screencasting on Linux

    Hello!

    I've got a bit of a problem with recording - my video & audio get increasingly desynchronized. The longer the video, the longer the gap. For example, in one of the videos I recorded, a couple of minutes in, the video is behind audio by a couple of seconds, @ 1 hour mark - almost a minute, at 2 hour mark - a bit more than two minutes.

    I run the capture with
    Code:
    ./ffmpeg -f alsa -ac 2 -i pulse -f alsa -ac 2 -i pulse -f x11grab -r 30 -s 1280x720 -i +foo,bar -filter_complex amix=inputs=2:duration=first:dropout_transition=3 -acodec pcm_s16le -vcodec libx264 -preset ultrafast -x264opts crf=0 -threads 0 /foo/bar.mkv
    I tried running it with -vsync, with aresample=async=1000 audio filter, and tried with both at the same time. Tried recording both audio stream without mixing them on the fly. Tried recording only one audio stream. I still get the same going out of sync problem. Could anyone help me? 'Cause I am out of ideas.
    Last edited by VinisLentoje; January 26th, 2013 at 10:13 PM.
    Why do you wear glasses if you're deaf?
    Code:
    while(1) {
            alone();
    }

  9. #199
    Join Date
    Sep 2010
    Beans
    2

    Re: HOWTO: Proper Screencasting on Linux

    I seem to have the same problem. Video and audio got out of sync too on my ~40 min video.

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

    Re: HOWTO: Proper Screencasting on Linux

    i would suggest turning down your frames per second. give that a try
    Check out my Blog about my life and computer software and hardware. http://ubuntuaddicted.blogspot.com/
    My YouTube channel:
    http://www.youtube.com/ubuntuaddicted

Page 20 of 25 FirstFirst ... 101819202122 ... 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
  •