Ffmpeg screen recording filesize

Pardon me for opening several questions about ffmpeg, but I don't want to mix several questions into one post as it may get really hard to keep track of the answers.
I have noticed that recording my screen with the following command:
ffmpeg -f alsa -i hw:0 -f x11grab -s wxga -r 25 -i :0.0 -qscale 31 /tmp/out.mpg
which I assume is the worst quality I can get, I still record at about 1MB/s which is kind of large. Can I further reduce this filesize, and if so, how do I do this?
Thanks a lot!

A common practice is to use a fast, and often lossless, encoder to initially capture your screen and then re-encode this to something more manageable. The two-step method allows you to take advantage of a fast encoder so your screencast looks smooth, and also achieve an output that isn't morbidly obese in file size.
FFcast is a good screencast tool. Also see HOWTO: Proper Screencasting on Linux.

Similar Messages

  • Screen Recording with ffmpeg/recording mic and speaker output

    I've been doing much research on this, and to be honest A/V editing is not my strong suit. I use a script I wrote two days ago to initiate both screen recording with ffmpeg and compiling the resulting mkv file with ffmpeg as well. The entire script can be seen here:
    #!/bin/bash
    #Create function to exit program
    function quite {
    if [ $ANSWER3 = "y" ]; then
    exit
    else
    exit
    fi
    #Create function to start ffmpeg record
    function record {
    if [ $ANSWER = "y" ]; then
    ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 30 -s 1366x768 -i :0.0 -acodec aac -vcodec libx264 -preset ultrafast -strict -2 -crf 0 -threads 0 $ORIGINALNAME
    else
    if [ $ANSWER = "n" ]; then
    echo "Would you like to convert an existing input file? (y/n)"
    read ANSWER4
    if [ $ANSWER4 = "y" ]; then
    ffmpeg -i $ORIGINALNAME -vcodec libx264 -acodec aac -ab 128k -crf 22 -strict -2 -threads 0 $OUTPUTFILE
    echo "The program will now exit"
    read
    exit
    else
    exit
    fi
    else
    exit
    fi
    fi
    #Function to convert the recorded video
    function convert {
    if [ $ANSWER2 = "y" ]; then
    ffmpeg -i $ORIGINALNAME -vcodec libx264 -acodec aac -ab 128k -crf 22 -strict -2 -threads 0 $OUTPUTFILE
    else
    exit
    fi
    #Change to Screen Record directory in My Videos
    cd ~/My\ Videos/Screen\ Record/
    #Clear screen, and ask for input on what to name the origional file and the converted file
    clear
    echo "Please, enter the name of your file followed by .mkv"
    read ORIGINALNAME
    echo "You're files name is $ORIGINALNAME!"
    echo "Please, enter name of the output file followed by .mp4"
    read OUTPUTFILE
    echo "You're final file is $OUTPUTFILE!"
    clear
    #Prompt for continuing with recording
    echo "Would you like to continue with screen recording?[y/n]"
    read ANSWER
    clear
    #Run the record function
    record
    #Prompt for converting the created video
    echo "Would you like to convert the file now?"
    read ANSWER2
    clear
    #Run convert function
    convert
    #Prompt to close command
    echo "Operation finished, all done."
    echo "The program will now exit."
    read ANSWER3
    For simplicities sake, and because I don't think there's a real problem with my script but something else, here's the two ffmpeg scripts from the above script:
    recorder
    ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 30 -s 1366x768 -i :0.0 -acodec aac -vcodec libx264 -preset ultrafast -strict -2 -crf 0 -threads 0 $ORIGINALNAME
    compiler
    ffmpeg -i $ORIGINALNAME -vcodec libx264 -acodec aac -ab 128k -crf 22 -strict -2 -threads 0 $OUTPUTFILE
    Anyway, I have pavucontrol used to set the recording input after I've started recording. I want to be able to record the sound of my voice on my usb headset (which works fine) and be able to hear the sound of music or a youtube video I'm also playing during the recording. I've seen the loopback mixer from Alsamixer gui and the input, output, and record tabs in pulseaudio mixer. To be honest, after researching all this stuff in ffmpeg (which is a ocmplicated program) and whatever amix, dmix,  and some other programs I'm not sure what are, I have no idea where to go anymore. I'd continue researching, but I'm only getting more confused the further I go. I'm extremely willing to learn and will follow any instructions you give to help me out. I don't just want to do this one task, like how I learned enough to write a script file, I want to be able to tweak ffmpeg to suit my needs for any purpose it can be used for. This is my first step to being able to do that. Thanks ahead of time for your help.

    OK, I've manages to learn enough about jack to not break my system and can work with that, Pulseaudio, and alsa is always installed. Is there a way I can create a virtual device that takes in the input from both the system sound and the headset mic that I can set as the audio input for ffmpeg? I've been looking online and I've got a headache at this point from trying. I have learned to use ffmpeg on a new level, but I still can't do what I want to do. (which is record sound from the headset mic and the system sound at the same time while using ffmpeg. I could make two audio files from each channel and record the screen with x11grab. then combine all that using another utility, but then I have to run three separate programs at the same time (which will eat up my cpu) and still run whatever I'm recording from my screen. Something that will do all this for me would be much appreciated.

  • I have quicktime pro and it does NOT have the screen record mode that Quicktime is suppose to have.  Can I uninstall it and go back to an older version that would have screen recording?  If so, how?  Step by step needed.  Thank you for your time.

    I have quicktime pro and it does NOT have the screen record mode that Quicktime is suppose to have.  Can I uninstall it and go back to an older version that would have screen recording?  If so, how?  Step by step needed.  Thank you for your time.

    Did you remove Quicktime X?
    On a normal install Quicktime 7 is installed in the Utilities folder and Quicktime Pro in the main Applications folder.
    You will need to reinstall OS X to get Quicktime X back if you have deleted it.
    I notice yor profile says 10.5.8. Quicktime X is only available on 10.6 and above.

  • I was trying to make a new screen recording using quicktimeplay, but when I watched the video after recording it all I could hear was me talking while the video was showing on the screen. How do I turn off that recording and turn the right one on? thanks

    I was trying to make a new screen recording using quicktimeplay, but when I watched the video after recording it all I could hear was me talking while the video was showing on the screen. How do I turn off that recording and turn the right one on? thanks

    Hi j2399123,
    It sounds like your screen recording is doing what it was designed to do, capture what is happening on your screen, with optional voice over with the microphone.
    Screen recording is for recording what you see on the screen, it is not a "video capture" option, like for capturing a movie with sound that is playing on your screen.
    For the QuickTime recording options, check out "Recording with QuickTime Player" in
    Mac Basics: QuickTime Player creates, plays, edits, and shares video and audio files
    http://support.apple.com/kb/ht4024
    And for screen recording specifically, there's
    QuickTime Player 10.x: Record your computer’s screen
    http://support.apple.com/kb/PH5882
    Thank you for thinking of Apple Support Communities for your support needs.
    Nubz

  • Comprehensive Captivate Screen Recording Tutorial

    I am looking for a complete treatment of screen recording, software simulations, FMR, and so forth. The ones I have found tell me how to check boxes and establish the settings. What I am looking for is how to capture a full screen (so resolution and screen size is an issue), how to scroll smoothly (on a website "how-tom" the scrolling is jerky, auto-panning frequently overruns the position of the screen view, and manual panning results in mouse movements that are more for moving the recording region than for the demo being recorded.), and how to edit the results without having the mouse appear on a subsequent screen shot or how to take out portions or how to add a delay on certain portions.
    I am using Cp7. I want to record a demonstration about using our website. The CP project is to be published at 800x600. My monitor is 1920x1080. How do I work around the size differences and avoid the poor scrolling and panning? I have recorded at 1920x1080 and then resized the project in Captivate to 800x435 (my numbers may be off but I maintained the aspect ratio) and when I play it back, it is jumpy and certain images flash.
    I just want a decent turorial. Perhaps a training class. I full treatment of how-to do screen recording so that it is smooth and is at the right screen/image size.
    Any help is appreciated.
    Signed, a small Adobe product user who yearns to be a big Adobe product user with just one great product: Captivate.
    Michael

    If I turn out to be correct, yes.  But I might be wrong.
    You can test whether or not this is the issue by just capturing a section of the Prezi where nothing much in the way of animation is happening.  Find say a five or ten second slot with little or no animation and see whether that FMV part still exhibits the same issue.  If your PC seems to handle that OK, then try a longer section with more animation.  If I'm right, you should not have the issue where little or no animation is present, but the longer your file goes on and the more animation the chip in your motherboard has to decode, the slower it will get,

  • Screen recording - recording part of the screen or low resolution

    I want to record part of the screen in quick time x, has anybody found a way to do this?
    As a work-around, I tried reducing the screen resolution to 640x480 or 800x600 but the recorder doesn't seem to pick anything up at this resolution. After recording nothing happens then when i switch back to full resolution i get the message:
    *Recording failed because no data was received.*
    Make sure that the media input source is turned on and playing.
    Message was edited by: nz_strabo

    I am just trying to figure out how to record a screen shot, i dont care if its full or part screen, any advice for me?
    Not sure if there is any difference between OS 10.6.1 and 10.6.2, but all I did was select the "New Screen Recording" File menu option and press the record button (circle with red dot in center) to make a test recording which was automatically saved in the Movies folder when the "stop recoding" key shortcut sequence was pressed. As to SnapzProX, it is a commercial program which you can purchase. It allows fullscreen/partial screen recordings and can be set up to record a fixed area of the screen or a fixed size portion of the screen area which follows the cursor around the screen.

  • I have a issue screen recording on my mac with quick time player. I have a 13' MacBook Air and i am able to screen record perfectly. But when I Plug in my head phones in to the port I am not able to record the audio.Only just the screen rec

    I would like to know If I will be able to record(using quick time player) both audio and video on my mac with head phones connected
    My Mac - OSX Version 10.9.3 , Processor 1.8GHz Intel core i5, Memory 4GB 1600 Mhz DDR3

    Hi Sansony,
    Welcome to the Apple Support Communities!
    I understand you would like to record audio from the headphones you connected to your computer. When recording audio with QuickTime Player, you can choose to use the built-in microphone, an external microphone you’ve connected, or a microphone from a connected Apple display. Please use the following article as a reference.
    Mac Basics: QuickTime Player creates, plays, edits, and shares video and audio files
    http://support.apple.com/kb/ht4024
    Clicking the triangle icon gives you additional options, such as letting you choose whether to use the built-in microphone on your Mac, an external microphone you've connected to your Mac, a microphone from a connected Apple display, or the option to simply use no microphone at all. The triangle also allows you to adjust the finished quality of your screen recording, select whether or not your mouse clicks are shown during the recording (the pointer is highlighted when you click), and to select what location (on your Mac) to save your screen recording when finished.
    Have a great day,
    Joe

  • How do I record a quicktime screen recording directly to an external hard drive?

    I want to record a screen recording directly to an external hard drive (or flash drive/SD card) and I've heard that doing so will improve system performance by reducing the workload somehow. I'm not entirely sure.
    Is that true, will it work, and how do I do it?
    Help would be much appreciated!

    I think USB is much slower than your internal HDD connection and you might start losing frames. The system itself will do the same job... the only where performance may increase are the actions where you need to read/write from/to the disk i.e. open an app or save file.

  • Does Premier have an Screen recorder if not does adobe has one in the Cloud ?

    Basically Does Premier have an Screen recorder if not does adobe has one in the Cloud ?
    Thanks !

    Adobe Captivate is the one but it's not in the Cloud. Camstudio is also very good at that.

  • I'm trying to record only part of my screen using my Quicktime 10.0, but once I press record in the "Screen recording" feature it automatically starts recording and doesn't give me the option to choose what part of the screen to capture. What gives?

    I'm trying to record only part of my screen using my Quicktime 10.0, but once I press record in the "Screen recording" feature it automatically starts recording and doesn't give me the option to choose what part of the screen to capture. What gives?

    QuickTime version 10 can only record the entire screen.
    10.1, 10.2 and 10.3 offer part of the screen recording.

  • I did a screen recording and im not allowed to watch my video. All it says is,The document __ could not be opened. The movie is not in a format that QuickTime Player understands. When I click to the button that says learn more it doesn't show me what todo

    I need help because when i want to see my video it directs me to apple but does not show me what i need to download in order to view my screen recording. My macbook is up to date.

    What format is the video in?

  • Why can't I import a .mov created with QT screen recording into FCX?

    I created a .mov file with QuickTime's Screen Recording mode. The movie thus created opens in the QuickTime Player and plays fine, but when I try to import it into FCX's editor with File>Import, I get an error message: "File Error: 1 file(s) recognized, 0 access denied, 1 unknown".
    Why can't I import this .mov to edit it in FCX?
    Thanks,
    George

    Bengt, I believe the OP's "FCX" does mean FCE.
    Like Al said, they need to be transcoded (say, to AIC) in something like MPEG Streamclip, QT Pro  or Compressor.
    Actually, FCP X will happily open them.
    Russ

  • When using quicktime screen recorder, the recording changes colors

    Please help me out!! So I've had my macbook air for a while now and I've used the quicktime screen recorder multipul times, but latley something changed. When I go to record my screen everything works fine, and once its finished and I've saved it it's still normal. But once I go to import it into imovie the entire recording turns red, I can still see the recording but everything is just red! Everywhere else the recording looks fine, but its only when I try to put it into imovie that it changes colors. Its never done this before and all of my past screen recordings work fine.
    Does anyone know what I can do to fix it?
    Any advice would be greatly appreciated!
    Thank you

    Hello meaganmarie,
    I am assuming you have quicktime up to date (10.3)
    When recording a game window,
    - select quicktime
    - go to file > New Movie Recording
    - select your game window like a rectangular marquee selection (drag and make a rectangle filling only your game window
    - stop when done and save
    This way the endtire screen (including youe desktop) won't be seen, just your selected game window.
    Regards,
    Asevenc

  • Why is Screen Recorder not showing in Quicktime on Snow LEopard?

    I need a screen recorder feature to record some  videos and presentations for uploading onto my website. With all the video and audio features included on OSX 10.6 I expected Quick Time Player to have a screen recorder feature - but no dice. There is no feature on the Quick Time menu. I have Quick Time Pro, iMove ( 09 and 06), the entire iWork suite, on an older MacBook (07) with plenty of RAM.
    I must be missing something.
    Also - will there be sound with this feature? Or must I opt for another app and if so, which one? And where are there tutorials about how best to do this? THe need must be fairly commonplace by now.
    Thanks
    RA

    Just found another post that tells me QuickTime Pro doesn't have a screen Recorder Feature. So can QT fromSnow LEopard be uploaded alongside Pro?
    HELPHELP

  • Can Microsoft add a screen recording software in the next update

    Apple has screen recording software on it when you get it. Can Microsoft do this to? It will promote more gamers to use it and more people who use Youtube to post videos.

    Apple has a great screen capture software downloaded on the computer for you,  completely free! To by that same screen capture software for
    Windows is about thirty dollars. Microsoft add a free screen recorder in the next update. This will put
    Microsoft up above Apple. Think about it. More gaming is done on Microsoft computers than on
    Apples. This will promote even more people to use Microsoft
    and will allow more gamers and people who have Youtube channels to use Microsoft computers. I want a safe screen capture software that is easy-to-use and reliable.

Maybe you are looking for