Le blog de Jean David TECHER, un Réunionnais à Saint-Priest/Lyon

Aller au contenu | Aller au menu | Aller à la recherche


< 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 >

mercredi 20 novembre 2013

Alien Rage Unlimited - Create Dedicated servers

Yesterday I tried Alien Rage Unlimited on Wine. The singleplayer mode works like a charm. Unfortunately dedicated servers list for multiplayer was empty. I was thinking of an wine issue. Investigating on this I figured out that this list can be empty.

Listed below are links I found to create dedicated servers.

It is worth having a try tonight on wine

lundi 11 novembre 2013

Les terres d'Ahranes

Voici les 3 premiers chapitres d'une sorte de roman "Les terres d'Ahranes" ici en libre téléchargement. Je viens juste de finir les 3 premiers chapitres. Ca se lit facilement. Plusieurs passages sont gores.

Résumé: un soldat égaré est retrouvé par des marchands. Il a perdu la mémoire. Au fil de l'intrigue, il découvre que bien des mystères jallonent son histoire.

Bonne lecture!

dimanche 3 novembre 2013

Record desktop (video and audio) using ffmpeg 2.1

1. Output example

2. Linux shell script

Here is the Linux shell script I use to record my desktop
GAME="Enslaved Odyssey to the West"
WINE_VERSION="WINE 1.7.4"
LOGO="Logo.png"
TITLE="Linux Gaming"
DATE="$(LANG=C date '+%B %d,%Y')"
OUTPUTFILE=$(echo ${GAME} | sed -e "s: :_:g")

export LD_LIBRARY_PATH=/opt/ffmpeg/2.1/lib:/usr/local/lib:$LD_LIBRARY_PATH 
export PATH=/opt/ffmpeg/2.1/bin/:$PATH

[ -d ${OUTPUTFILE} ] && { rm -rf ${OUTPUTFILE}; }

mkdir ${OUTPUTFILE}

cd ${OUTPUTFILE}

# Generate image for intro
# Source: http://kwlug.org/node/854
convert ../${LOGO} -gravity Center -font DejaVu-Sans-Book \
-pointsize 120 -fill gray -draw "text 1,121 '${GAME}'" \
-fill white -draw "text 0,120 '${GAME}'" \
-pointsize 90 -fill gray -draw "text 2,2 '${WINE_VERSION}'" \
-fill white -draw "text 0,0 '${WINE_VERSION}'" \
-pointsize 80 -fill gray -draw "text 1,-421 '${TITLE}'" \
-fill white -draw "text 0,-420 '${TITLE}'" \
-pointsize 40 -fill gray -draw "text 1,251 '${DATE}'" \
-fill white -draw "text 0,250 '${DATE}'" \
"${OUTPUTFILE}-intro.png"

#Concat audio and image for intro
# Duration: 6 seconds
ffmpeg -loop 1  -f image2 -i "${OUTPUTFILE}-intro.png" -i ../wayowayo.mp3 -ss 00:00:18 -t 00:00:06 -c:v libx264 \
-tune stillimage -c:a aac -strict experimental -b:a 192k ${OUTPUTFILE}-intro.mp4

# Removing/Adding the same file on Desktop helps me to know when recording screen starts
rm -f /home/david/Bureau/record.go
sleep 10s;
echo > /home/david/Bureau/record.go

# Screen: Record the first screen (Resolution: 2560x1440)
ffmpeg -f alsa -i pulse -y test.wav -f x11grab -show_region 1 -video_size 2560x1440 -framerate 24 -i :0.0 \
-threads 2 -q 1 -bt 8000000 -b 8500000 -an -vcodec libx264 -pre ultrafast -y test.mp4

# Screen: Concat Audio and Video
ffmpeg -i test.wav -i test.mp4 -acodec libfaac -qscale 0 -y ${OUTPUTFILE}-screen.mp4

# Merge the 2 videos: 
# 1)  video for intro 
# 2)  video for screen
ffmpeg -i ${OUTPUTFILE}-intro.mp4  -c copy -bsf h264_mp4toannexb -y temp0.ts
ffmpeg -i ${OUTPUTFILE}-screen.mp4 -c copy -bsf h264_mp4toannexb -y temp1.ts
ffmpeg -i "concat:temp0.ts|temp1.ts" -c copy -absf aac_adtstoasc -y ${OUTPUTFILE}-final.mp4

mardi 29 octobre 2013

Xen 4.3.0/ VGA Passthrough: Ubuntu (virtual machine), a GTX 680 hard-moded to 1/2 GRID K2, NVIDIA driver 331.17

A couple days ago I set up a VM. This is Ubuntu 12.04.3 32 bits. I have full access to my NVIDIA card. Driver 331.17 was installed.So this is just a simple demo to show that proprietary NVIDIA driver works perfectly with this card hard-moded to GRID K2. High resolutions (2 screens: 2560x1440, 1920x1080) work too
Before I set up another VM. It was Linux mint 15 64 Bits. It worked too