Hi. Im getting the same error the guy got one page ago. I switched to
Code:
ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 30 -s 1024x768 -i :0.0 -acodec pcm_s16le -vcodec libx264 -preset slow -threads 0 big.mkv
But I get a ridiculously laggy 1-3fps recovering with lossy video. None of the solutions in this thread seem to have remotely helped, and gtk-recordmydesktop has terrible sync issues so there is no using that.. (It also takes a year to encode... >.<)
Help please?
Code:
[libx264 @ 0xaa75500] constant rate-factor is incompatible with 2pass.
Output #0, matroska, to 'big.mkv':
Stream #0.0: Video: libx264, yuv420p, 1024x768, q=0-69, pass 1, pass 2, 200 kb/s, 90k tbn, 30 tbc
Stream #0.1: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, pass 1, pass 2, 1411 kb/s
Stream mapping:
Stream #1.0 -> #0.0
Stream #0.0 -> #0.1
Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
This is the syntax that gives me the error
Code:
ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 30 -s 1024x768 -i :0.0 -acodec pcm_s16le -vcodec libx264 -vpre lossless_ultrafast -threads 0 big.mkv
Side note, when I do use slow, I get this kind of ****. See brackets.
Code:
Stream mapping:
Stream #1.0 -> #0.0
Stream #0.0 -> #0.1
Press [q] to stop, [?] for help
frame= 122 <<<fps= 1>>> q=13.0 Lsize= 6048kB time=00:00:26.33 bitrate=1881.1kbits/s
Bookmarks