/
Screencast with Linux

Screencast with Linux


ffmpeg -f x11grab -video_size 1366x768 -i $DISPLAY -f alsa -i default -c:v libx264 video.mp4

Adjust the video size to your screen resolution for best quality.

Cutting the video

Use Pitivi, OpenShot or another GUI program.

Command line

Can be faster, as it does not need to re-encode

Cutting

ffmpeg -ss 00:08:00 -i video.mp4 -ss 00:01:00 -t 00:01:00 -c copy videocut.mp4

The first -ss seeks fast to (approximately) 8min0sec, and then the second -ss seeks accurately to 9min0sec, and the -t 00:01:00 takes out a 1min0sec clip.

https://superuser.com/questions/138331/using-ffmpeg-to-cut-up-video

Use -to instead of -t to seek to absolute time values.

ffmpeg -ss 00:08:00 -i video.mp4 -ss 00:01:00 -to 00:10:00 -c copy videocut.mp4

Joining videos

https://trac.ffmpeg.org/wiki/Concatenate

Related content

Video ideas
Video ideas
More like this
Subtitling Youtube Videos and Translating Descriptions
Subtitling Youtube Videos and Translating Descriptions
More like this
Template for Meeting Minutes
Template for Meeting Minutes
More like this
Retrospective
Retrospective
More like this
Speaker list
Speaker list
More like this
Hackathon Prep. Meeting 2016-10-01
Hackathon Prep. Meeting 2016-10-01
More like this


To the extent possible under law, the yunity wiki contributors have waived all copyright and related or neighboring rights to the content of the yunity wiki. More information...


You have an account but can't edit or create pages? Write us in the open chatroom or in our yunity Slack!