Workflow Compilation [finished] - Desktop Customization & Workflow

Users browsing this thread: 2 Guest(s)
z3bra
Grey Hair Nixers
Dear nixers,

This is gonna be the official thread for the "Workflow Compilation".

What is it ?
This is a video compiling a bunch of screencast from the nixers members, all performing the same task, but using their personnal setup.
this would result in a compilation showing the personnal workflow of each participant, and setting a comparison point between them.

Can I participate ?
Sure ! The more videos we get, the better. Just post your submission and we'll add it !

What are the rules ?
1. Nixers will have to perform the tasks in the exact order they are listed (see below).
2. Nixers must use a single monitor for the screencast
3. Nixers' screen resolution should be above 1280x720
4. Nixers submissions should be in webm format
5. Nixers should submit their compilation before 2015-02-14 at midnight (UTC).

How can I record the video ?
The command to use is the following (adjust the resolution to fit your actual setup):

Code:
RESOLUTION=1440x900
ffmpeg -f x11grab -s $RESOLUTION -an -r 16 -loglevel quiet -i :0.0 -b:v 5M -y workflow-compil-${USER}.webm

For those running OSX:

Code:
RESOLUTION=1440x900
ffmpeg -f avfoundation -s $RESOLUTION -an -r 16 -loglevel quiet -i 0:none -b:v 5M -y workflow-compil-${USER}.webm

To end the video, press `q`.

What is the task list ?
  • Put on some music
  • Write some random text to a file in /tmp
  • Install "toilet" or "figlet", and try it in a funny way !
  • Send an email (bitchplease@null.net if you have no idea)
  • Browse the forum (post something on this thread)
  • Connect to #nixers at irc.nixers.net to say "Hi !"
  • Arrange windows to take a pretty screenshot (show off)
  • Close all the windows and end the video.

Happy hacking !

Submissions:

FINAL CUT!! (z3bra.org)
For future references, the scripts used to create the compilation:
Resize all videos to the same size
Code:
#!/bin/sh
#
# resvid - 2015 (c) wtfpl
# resize a bunch of videos to the same size

# fuck you, ffmpeg banner
exec 2>/dev/null

# where to put the resulting videos
OUTDIR=$PWD/resized

# size of the final videos
SIZE=1440:900

# create the directory for edited videos
test ! -d $OUTDIR && mkdir -p $OUTDIR

for IN in $@; do
    printf "%s ... " "$(getname $IN)"
    ffmpeg -i $IN -vf "scale=$SIZE" -b:v 5M -y $OUTDIR/$IN
    printf "OK\n"
done

Add fading effects and text to the videos
Code:
#!/bin/sh
#
# fadevid - 2015 (c) wtfpl
# add fading effect, and an overlay text to each video given as parameter

# fuck you, ffmpeg banner
exec 2>/dev/null

# where to put the resulting videos
OUTDIR=$PWD/faded

# Number of frames to use for fading effect
FADELEN=30

# the font to use to draw text
FONTPARAM="font=BitMicro01:shadowx=4:shadowy=4:fontcolor=white:fontsize=28:x=w-tw-28:y=h-th-28"

# output the name of the vid, without extension (and all lowercase)
getname() {
    echo $1 | sed 's/\(.*\)\.[^.]*/\L\1/'
}

# get the number of frames of the video (used for fade out effect)
getframes() {
    ffprobe -count_frames -show_entries stream=nb_read_frames $IN|cut -sd= -f2
}

# create the directory for edited videos
test ! -d $OUTDIR && mkdir -p $OUTDIR

# add fading effect + hover text to all videos, and put them in a subdir
for IN in $@; do
    printf "%s ... " "$(getname $IN)"
    NBFRAME=$(getframes)
    VFILTER="fade=in:0:$FADELEN"
    VFILTER="$VFILTER,fade=out:$((NBFRAME - FADELEN)):$FADELEN"
    VFILTER="$VFILTER,drawtext=$FONTPARAM:text=$(getname $IN)"
    # 5Mib bitrate looks like a sane default
    ffmpeg -i $IN -vf "$VFILTER" -b:v 5M -y $OUTDIR/$IN
    printf "OK\n"
done

Concatenate the video
Code:
#!/bin/sh
#
# usage: concatvid *.webm > final.webm
cat $@

Damn... I wish... Real script below
Code:
#!/bin/sh
#
# catvid - 2015 (c) wtfpl
# concatenate videos in an arbitrary order
# run the script in a directory containing all the videos

INTRO=${INTRO:-intro.webm}

test -z "$1" && echo "I can't do that." >&2 && exit 1

# fuck you, ffmpeg banner
exec 2>/dev/null

# create a list compatible with the "concat" demuxer of ffmpeg
# don't forget to put the intro at the top
ls -1 | grep -v $INTRO > list.txt
sed -i "s/^.*$/file '&'/" list.txt
sed -i "0 ifile '$INTRO'" list.txt

# concatenate to $1
ffmpeg -f concat -i list.txt $1
BANGARANG, MOTHERFUCKER


Messages In This Thread
Workflow Compilation [finished] - by z3bra - 04-02-2015, 04:29 PM
RE: Workflow Compilation - by dcat - 04-02-2015, 05:02 PM
RE: Workflow Compilation - by xero - 04-02-2015, 05:05 PM
RE: Workflow Compilation - by z3bra - 04-02-2015, 06:23 PM
RE: Workflow Compilation - by LIESard - 04-02-2015, 06:56 PM
RE: Workflow Compilation - by vypr - 04-02-2015, 07:16 PM
RE: Workflow Compilation - by z3bra - 05-02-2015, 04:46 AM
RE: Workflow Compilation - by vypr - 05-02-2015, 06:51 AM
RE: Workflow Compilation - by eye - 05-02-2015, 11:23 AM
RE: Workflow Compilation - by venam - 05-02-2015, 03:53 PM
RE: Workflow Compilation - by z3bra - 06-02-2015, 08:59 AM
RE: Workflow Compilation - by thang - 06-02-2015, 10:05 AM
RE: Workflow Compilation - by mort - 06-02-2015, 08:37 PM
RE: Workflow Compilation - by z3bra - 08-02-2015, 10:00 AM
RE: Workflow Compilation - by vompatti - 08-02-2015, 10:27 AM
RE: Workflow Compilation - by z3bra - 08-02-2015, 05:02 PM
RE: Workflow Compilation - by xero - 08-02-2015, 06:57 PM
RE: Workflow Compilation - by thang - 08-02-2015, 10:16 PM
RE: Workflow Compilation - by boris - 09-02-2015, 02:12 AM
RE: Workflow Compilation - by z3bra - 09-02-2015, 05:43 AM
RE: Workflow Compilation - by boris - 09-02-2015, 06:23 AM
RE: Workflow Compilation - by z3bra - 09-02-2015, 07:20 AM
RE: Workflow Compilation - by Dr Chroot - 09-02-2015, 08:33 PM
RE: Workflow Compilation - by neeasade - 10-02-2015, 10:32 PM
RE: Workflow Compilation - by exp0sure - 10-02-2015, 11:52 PM
RE: Workflow Compilation - by b4dtR1p - 11-02-2015, 07:10 AM
RE: Workflow Compilation - by z3bra - 11-02-2015, 09:43 AM
RE: Workflow Compilation - by b4dtR1p - 11-02-2015, 11:02 AM
RE: Workflow Compilation - by boris - 12-02-2015, 11:57 PM
RE: Workflow Compilation - by z3bra - 13-02-2015, 03:49 PM
RE: Workflow Compilation - by stark - 13-02-2015, 06:43 PM
RE: Workflow Compilation - by z3bra - 15-02-2015, 09:47 AM
RE: Workflow Compilation - by fayesafe - 15-02-2015, 11:02 AM
RE: Workflow Compilation - by rocx - 15-02-2015, 12:00 PM
RE: Workflow Compilation - by z3bra - 16-02-2015, 06:54 AM
RE: Workflow Compilation - by nounoursheureux - 18-02-2015, 02:54 PM
RE: Workflow Compilation - by z3bra - 18-02-2015, 03:29 PM
RE: Workflow Compilation - by boris - 19-02-2015, 07:17 AM
RE: Workflow Compilation - by nounoursheureux - 19-02-2015, 12:41 PM
RE: Workflow Compilation - by z3bra - 19-02-2015, 03:34 PM
RE: Workflow Compilation - by z3bra - 20-02-2015, 09:50 AM
RE: Workflow Compilation - by boris - 20-02-2015, 12:22 PM
RE: Workflow Compilation - by z3bra - 20-02-2015, 12:27 PM
RE: Workflow Compilation - by boris - 20-02-2015, 01:00 PM
RE: Workflow Compilation - by boris - 21-02-2015, 04:38 PM
RE: Workflow Compilation - by nounoursheureux - 21-02-2015, 06:10 PM
RE: Workflow Compilation - by venam - 22-02-2015, 02:17 PM
RE: Workflow Compilation - by boris - 22-02-2015, 02:47 PM
RE: Workflow Compilation - by dami0 - 23-02-2015, 08:10 PM
RE: Workflow Compilation - by z3bra - 23-02-2015, 10:27 PM
RE: Workflow Compilation [finished] - by io86 - 24-02-2015, 09:31 AM
RE: Workflow Compilation [finished] - by xero - 24-02-2015, 12:52 PM
RE: Workflow Compilation [finished] - by z3bra - 24-02-2015, 01:02 PM
RE: Workflow Compilation [finished] - by boris - 24-02-2015, 02:23 PM
RE: Workflow Compilation [finished] - by eye - 26-02-2015, 07:11 PM
RE: Workflow Compilation [finished] - by Wildefyr - 03-05-2015, 04:11 PM
RE: Workflow Compilation [finished] - by z3bra - 04-05-2015, 06:28 AM
RE: Workflow Compilation [finished] - by Wildefyr - 04-05-2015, 02:39 PM