Catégories
Liens
Enregistrement audio et vidéo de ce qu'il se passe sur l'ordinateur.
Solutions sur Linux
Essayer avant toute chose avec Kazam ou gtk-recordmydesktop ou http://www.maartenbaert.be/simplescreenrecorder/
Autre ressource sur Screencast your patch.
Screencast audio/video
(ffmpeg for video, vlc for audio, jack and pulse audio to connect Pure Data to vlc)
ffmpeg
qjackctl, jack, pulse
Dans QJackCtl : Script après le démarrage :
#!/bin/bash # Script to screencast audio and video (ffmpeg for video, vlc for audio, jack and pulse audio to connect Pure Data to vlc) DATE=`date +%Y%m%d` TIME=`date +%Hh%M` AUDIO_FILE="/media/data/videos/record/out-$DATE-$TIME.wav" VIDEO_FILE="/media/data/videos/record/out-$DATE-$TIME.avi" # Start screencast cp ~/.pdextended_malinette ~/.pdextended qjackctl -a ~/Softs/jack-patchbay.xml & sleep 3 pd-extended -jack -open /media/data/code/malinette/malinette/MALINETTE-en.pd & sleep 3 ffmpeg -f x11grab -r 25 -s 946x768 -i :0.0+0,0 -vcodec huffyuv -y $VIDEO_FILE & cvlc jack://channels=2:ports=.* --jack-input-auto-connect --sout="#transcode{acodec=s16l,channels=2,ab=128,samplerate=44100}:standard{access=file,mux=wav,dst="$AUDIO_FILE"}" # Kill killall qjackctl killall pd-extended killall ffmpeg killall cvlc #jack_connect pd_extended_0:output0 "PulseAudio JACK Source:front-left" #jack_connect pd_extended_0:output1 "PulseAudio JACK Source:front-right" #--sout "#transcode{acodec=mp3,ab=128,channels=2,samplerate=44100}:duplicate{dst=std{access=file,mux=mp4,dst=$AUDIO_FILE}}}"
ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 30 -s 948x738 -i :0.0+0,24 -acodec pcm_s16le -vcodec libx264 -preset ultrafast -threads 0 -y test-pulse.mkv
cvlc --jack-input-auto-connect screen:// --screen-fps=25 --input-slave pulse://jack_in --sout "#transcode{venc=x264,quality:100,scale=1,fps=30,acodec=mp3,ab=128,channels=2, samplerate=44100}:duplicate{dst=std{access=file,mux=mp4,dst=nowardev.mp4}}}"
recordmydesktop -x 300 -y 300 -width 480 -height 272 -fps 15 --use-jack system:capture_1 system:capture_2 -o output.ogv
avconv -f x11grab -show_region 1 -video_size hd720 -framerate 24 -i :0.0 -threads 2 -q 1 test.mkv
mplayer -tv driver=v4l2:gain=1:width=640:height=480:device=/dev/video0:fps=10:outfmt=rgb16 tv://
byzanz-record --duration=15 --x=200 --y=300 --width=700 --height=400 out.gif
Source : http://lists.puredata.info/pipermail/pd-list/2014-11/108461.html
ffmpeg -f jack -ac 2 -i ffmpeg -f x11grab -r 25 -s 1366x768 -i :0.0 -acodec pcm_s16le -threads 0 output.mkv
Notice that:
ffmpeg -y -i "$INFILE" -threads 8 -f webm -vcodec libvpx -g 120 -level 216 -profile 0 -qmax 42 -qmin 10 -rc_buf_aggressivity 0.95 -vb 2M -acodec libvorbis -aq 90 -ac 2 $OUTFILE