Results 1 to 3 of 3

Thread: ffmpeg screencasting issue - please read

  1. #1
    Join Date
    Feb 2012
    Beans
    70

    Exclamation ffmpeg screencasting issue - please read

    Hello my good friends

    I have been using this script for AGES on Ubuntu, but suddenly, now I am using Linux Mint 13, it throws an error. Here is the script:

    Code:
    #!/bin/bash
    
    ffmpeg -f alsa -ac 1 -ab 192k -i pulse -acodec pcm_s16le -f x11grab -r 15 -s 1280x1024 -i :0.$1 -r 15 -s 1280x1024 -sameq -aspect 5:4 -vcodec libx264 -vpre lossless_ultrafast -threads 0 $2.mkv
    Here is the error message I see, when I run './screencast 0 output' :

    Code:
    Unrecognized option 'preset'
    /usr/share/avconv/libx264-lossless_ultrafast.avpreset: Invalid option or argument: 'preset=ultrafast', parsed as 'preset' = 'ultrafast'
    Does anyone know what the issue I am seeing, is?

    Thank you!

  2. #2
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: ffmpeg screencasting issue - please read

    Moved to Other OS/Distro Talk.

  3. #3
    Join Date
    Feb 2012
    Beans
    70

    Re: ffmpeg screencasting issue - please read

    Fixed it!

    Modified script

    Code:
    #!/bin/bash
    
    ffmpeg -f alsa -ac 1 -ab 192k -i pulse -acodec pcm_s16le -f x11grab -r 15 -s 1280x1024 -i :0.$1 -r 15 -s 1280x1024 -sameq -aspect 5:4 -vcodec libx264 -preset:v ultrafast -threads 0 $2.mkv

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
  •