Code: Select all
avconv -f oss -i /dev/oss/oss_hdaudio0/pcmin0 -f x11grab -r 30 -s 1920*1080 -i :0.0 -vcodec libx264 -preset ultrafast -ab 320k -threads 8 screen.mkv
Code: Select all
avconv -f pulse -i default -f x11grab -r 30 -s 1920*1080 -i :0.0 -vcodec libx264 -preset ultrafast -ab 320k -threads 8 screen.mkv
But I can't record audio. With the first command I get an error. With the second command I don't record audio.
I think Avconv doesn't support OSS4, but someone do before than me and he has a solution.