[FFmpeg-user] screen capture - small files

Jannes Faber jannes.faber at gmail.com
Mon Nov 23 11:53:35 CET 2015


I'm recording all audio input and outputs that my laptop has. Including a
USB audio interface to hook up XLR microphones.

I'm using pulseaudio to find all audio sources, set their volume and simply
record all of them, so I can later decide which ones to actually use when
editing.

Attached is the whole script. I'm using Fedora 23 and some things (paths)
might be specific to that. My laptop is used for giving "powerpoint"
presentations, so I record whatever they are showing on the beamer as well
as any audio (in or out). I record their faces separately with a camera so
I can later combine all that into one video.

In this script, I also set up some pulseaudio stuff that allows me to
listen to all the audio over the network (on my phone) while it's recording.


--
Jannes

On 23 November 2015 at 11:23, Jesper Hedin <jesper.hedin at intaktus.se> wrote:

> Thanks a lot!
>
> Just one question. What is hidden in your shell variables
> $AL:_AUDIO_INPUTS and $ALL_MAPPINGS
>
>
>    …Jesper
>
>
>
> > I'm using this, although I'm not going for the smallest output:
> >
> > $FFMPEG -hide_banner -loglevel warning -video_size ${W:-1280}x${H:-1024}
> \
> > -use_wallclock_as_timestamps 1 -framerate 30 \
> > -f x11grab -i :0.0 \
> > $ALL_AUDIO_INPUTS \
> > $ALL_MAPPINGS \
> > -codec:v libx264 -pix_fmt yuv444p -qp 0 -tune stillimage -preset
> ultrafast
> > -profile:v high444 \
> > -codec:a copy \
> > $OUTPUT_FILE
> >
> > You want to have a look at the -tune and -preset options.
> >
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: prepare_video.sh
Type: application/x-sh
Size: 14907 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20151123/9b99fc46/attachment.sh>


More information about the ffmpeg-user mailing list