Video playback is too fast.

Help
2008-10-09
2013-04-24
  • Greetings,

    I was having problems with xvidcap in the Ubuntu repositories as it always only captured one frame. So I downloaded the tarball of xvidcap, built it successfully, but when I record something and play it, it is played back at a very accelerated / too accelerated / very fast / too fast videp playback rate. I have an example at http://willard.madscience.dk/error.tar (I will probably not keep that file there forever, though), along with the log, which I have displayed below for convenience.

    What I did was the following:

    ---

    willard@njordur:~/xvidcap-submit/error
    > /home/willard/bin/xvidcap -v --cap_geometry 1024x768+0+0 --gui no --file error.avi > error.log

    ---

    However, when I play the video, it is way too fast.

    ---

    willard@njordur:~/xvidcap-submit/error
    > mplayer -fs error.avi

    [a very accelerated video playback]

    ---

    Some details:

    ---

    willard@njordur:~/xvidcap-submit/error
    > cat error.log

    Current settings:
    flags = 1571
    capture mode = multi-frame
    position = 1024x768+0+0
    rescale output to = 100
    frames per second = 10,00
    file pattern = error.avi
    file format = AUTO
    video encoding = AUTO
    audio codec = AUTO
    verbose level = 1
    frame start no = 0
    frames to store = 0
    time to capture = 0 sec
    autocontinue = no
    input source = shm (2)
    capture pointer = white
    capture audio = yes
    - input = /dev/dsp
    - sample rate = 44100
    - bit rate = 64000
    - channels = 2
    animate command = mplayer "${XVFILE}" &
    make video command= xterm -e "echo not needed for multi-frame capture; echo hit enter to dismiss; read"
    edit frame command= xterm -e "echo none specified; echo hit enter to dismiss; read"
    missing -459 milli secs (100 needed per frame), pic no 0
    missing -399 milli secs (100 needed per frame), pic no 1
    missing -393 milli secs (100 needed per frame), pic no 2
    missing -386 milli secs (100 needed per frame), pic no 3
    missing -388 milli secs (100 needed per frame), pic no 4
    missing -389 milli secs (100 needed per frame), pic no 5
    missing -392 milli secs (100 needed per frame), pic no 6
    missing -388 milli secs (100 needed per frame), pic no 7
    missing -387 milli secs (100 needed per frame), pic no 8
    missing -392 milli secs (100 needed per frame), pic no 9
    missing -394 milli secs (100 needed per frame), pic no 10
    missing -389 milli secs (100 needed per frame), pic no 11
    missing -387 milli secs (100 needed per frame), pic no 12
    missing -391 milli secs (100 needed per frame), pic no 13
    missing -392 milli secs (100 needed per frame), pic no 14
    missing -389 milli secs (100 needed per frame), pic no 15
    missing -388 milli secs (100 needed per frame), pic no 16
    missing -388 milli secs (100 needed per frame), pic no 17
    missing -392 milli secs (100 needed per frame), pic no 18
    missing -389 milli secs (100 needed per frame), pic no 19
    missing -388 milli secs (100 needed per frame), pic no 20
    missing -389 milli secs (100 needed per frame), pic no 21
    missing -390 milli secs (100 needed per frame), pic no 22
    missing -389 milli secs (100 needed per frame), pic no 23
    missing -389 milli secs (100 needed per frame), pic no 24
    missing -389 milli secs (100 needed per frame), pic no 25
    missing -391 milli secs (100 needed per frame), pic no 26
    missing -389 milli secs (100 needed per frame), pic no 27
    missing -390 milli secs (100 needed per frame), pic no 28
    missing -388 milli secs (100 needed per frame), pic no 29
    missing -390 milli secs (100 needed per frame), pic no 30
    missing -391 milli secs (100 needed per frame), pic no 31
    missing -391 milli secs (100 needed per frame), pic no 32
    missing -390 milli secs (100 needed per frame), pic no 33
    missing -391 milli secs (100 needed per frame), pic no 34
    missing -387 milli secs (100 needed per frame), pic no 35
    missing -392 milli secs (100 needed per frame), pic no 36
    missing -390 milli secs (100 needed per frame), pic no 37
    missing -390 milli secs (100 needed per frame), pic no 38
    missing -392 milli secs (100 needed per frame), pic no 39
    missing -390 milli secs (100 needed per frame), pic no 40
    missing -390 milli secs (100 needed per frame), pic no 41
    missing -392 milli secs (100 needed per frame), pic no 42
    missing -391 milli secs (100 needed per frame), pic no 43
    missing -388 milli secs (100 needed per frame), pic no 44
    missing -388 milli secs (100 needed per frame), pic no 45
    missing -389 milli secs (100 needed per frame), pic no 46
    missing -388 milli secs (100 needed per frame), pic no 47
    missing -390 milli secs (100 needed per frame), pic no 48
    missing -387 milli secs (100 needed per frame), pic no 49
    missing -408 milli secs (100 needed per frame), pic no 50
    missing -393 milli secs (100 needed per frame), pic no 51
    missing -389 milli secs (100 needed per frame), pic no 52
    missing -391 milli secs (100 needed per frame), pic no 53
    missing -387 milli secs (100 needed per frame), pic no 54
    missing -392 milli secs (100 needed per frame), pic no 55
    missing -388 milli secs (100 needed per frame), pic no 56
    missing -389 milli secs (100 needed per frame), pic no 57
    missing -389 milli secs (100 needed per frame), pic no 58
    missing -389 milli secs (100 needed per frame), pic no 59
    missing -388 milli secs (100 needed per frame), pic no 60
    missing -389 milli secs (100 needed per frame), pic no 61
    missing -390 milli secs (100 needed per frame), pic no 62
    missing -393 milli secs (100 needed per frame), pic no 63
    missing -387 milli secs (100 needed per frame), pic no 64
    missing -387 milli secs (100 needed per frame), pic no 65
    missing -387 milli secs (100 needed per frame), pic no 66
    missing -391 milli secs (100 needed per frame), pic no 67
    missing -390 milli secs (100 needed per frame), pic no 68
    missing -387 milli secs (100 needed per frame), pic no 69
    missing -388 milli secs (100 needed per frame), pic no 70
    missing -392 milli secs (100 needed per frame), pic no 71
    missing -389 milli secs (100 needed per frame), pic no 72
    missing -389 milli secs (100 needed per frame), pic no 73
    missing -391 milli secs (100 needed per frame), pic no 74
    missing -392 milli secs (100 needed per frame), pic no 75
    missing -386 milli secs (100 needed per frame), pic no 76
    missing -391 milli secs (100 needed per frame), pic no 77
    missing -390 milli secs (100 needed per frame), pic no 78
    missing -390 milli secs (100 needed per frame), pic no 79
    missing -390 milli secs (100 needed per frame), pic no 80
    missing -388 milli secs (100 needed per frame), pic no 81
    missing -390 milli secs (100 needed per frame), pic no 82
    missing -392 milli secs (100 needed per frame), pic no 83
    missing -391 milli secs (100 needed per frame), pic no 84
    missing -390 milli secs (100 needed per frame), pic no 85
    missing -387 milli secs (100 needed per frame), pic no 86
    missing -392 milli secs (100 needed per frame), pic no 87
    missing -389 milli secs (100 needed per frame), pic no 88
    missing -391 milli secs (100 needed per frame), pic no 89
    missing -389 milli secs (100 needed per frame), pic no 90
    missing -393 milli secs (100 needed per frame), pic no 91
    missing -387 milli secs (100 needed per frame), pic no 92
    missing -389 milli secs (100 needed per frame), pic no 93
    missing -390 milli secs (100 needed per frame), pic no 94
    missing -390 milli secs (100 needed per frame), pic no 95
    missing -391 milli secs (100 needed per frame), pic no 96
    missing -386 milli secs (100 needed per frame), pic no 97
    missing -413 milli secs (100 needed per frame), pic no 98
    missing -421 milli secs (100 needed per frame), pic no 99
    missing -414 milli secs (100 needed per frame), pic no 100
    missing -393 milli secs (100 needed per frame), pic no 101
    missing -388 milli secs (100 needed per frame), pic no 102
    missing -389 milli secs (100 needed per frame), pic no 103
    missing -390 milli secs (100 needed per frame), pic no 104
    missing -388 milli secs (100 needed per frame), pic no 105
    missing -391 milli secs (100 needed per frame), pic no 106
    missing -391 milli secs (100 needed per frame), pic no 107
    missing -389 milli secs (100 needed per frame), pic no 108
    missing -391 milli secs (100 needed per frame), pic no 109
    missing -388 milli secs (100 needed per frame), pic no 110
    missing -391 milli secs (100 needed per frame), pic no 111
    missing -393 milli secs (100 needed per frame), pic no 112
    missing -388 milli secs (100 needed per frame), pic no 113
    missing -390 milli secs (100 needed per frame), pic no 114
    missing -391 milli secs (100 needed per frame), pic no 115
    missing -392 milli secs (100 needed per frame), pic no 116
    missing -391 milli secs (100 needed per frame), pic no 117
    missing -388 milli secs (100 needed per frame), pic no 118
    missing -389 milli secs (100 needed per frame), pic no 119
    missing -391 milli secs (100 needed per frame), pic no 120
    missing -387 milli secs (100 needed per frame), pic no 121
    missing -391 milli secs (100 needed per frame), pic no 122
    missing -387 milli secs (100 needed per frame), pic no 123
    missing -393 milli secs (100 needed per frame), pic no 124
    missing -390 milli secs (100 needed per frame), pic no 125
    missing -391 milli secs (100 needed per frame), pic no 126
    missing -389 milli secs (100 needed per frame), pic no 127
    missing -391 milli secs (100 needed per frame), pic no 128
    missing -390 milli secs (100 needed per frame), pic no 129
    missing -391 milli secs (100 needed per frame), pic no 130
    missing -389 milli secs (100 needed per frame), pic no 131
    missing -393 milli secs (100 needed per frame), pic no 132
    missing -389 milli secs (100 needed per frame), pic no 133
    missing -387 milli secs (100 needed per frame), pic no 134
    missing -387 milli secs (100 needed per frame), pic no 135
    missing -389 milli secs (100 needed per frame), pic no 136
    missing -391 milli secs (100 needed per frame), pic no 137
    missing -392 milli secs (100 needed per frame), pic no 138
    missing -390 milli secs (100 needed per frame), pic no 139
    missing -392 milli secs (100 needed per frame), pic no 140
    missing -390 milli secs (100 needed per frame), pic no 141
    missing -387 milli secs (100 needed per frame), pic no 142
    missing -388 milli secs (100 needed per frame), pic no 143
    missing -399 milli secs (100 needed per frame), pic no 144
    missing -391 milli secs (100 needed per frame), pic no 145
    missing -392 milli secs (100 needed per frame), pic no 146
    missing -390 milli secs (100 needed per frame), pic no 147
    missing -392 milli secs (100 needed per frame), pic no 148
    missing -388 milli secs (100 needed per frame), pic no 149
    missing -408 milli secs (100 needed per frame), pic no 150
    missing -392 milli secs (100 needed per frame), pic no 151
    missing -391 milli secs (100 needed per frame), pic no 152
    missing -388 milli secs (100 needed per frame), pic no 153
    missing -387 milli secs (100 needed per frame), pic no 154
    missing -390 milli secs (100 needed per frame), pic no 155
    missing -389 milli secs (100 needed per frame), pic no 156
    missing -392 milli secs (100 needed per frame), pic no 157
    missing -388 milli secs (100 needed per frame), pic no 158
    missing -389 milli secs (100 needed per frame), pic no 159
    missing -387 milli secs (100 needed per frame), pic no 160
    missing -391 milli secs (100 needed per frame), pic no 161
    missing -388 milli secs (100 needed per frame), pic no 162
    missing -392 milli secs (100 needed per frame), pic no 163
    missing -388 milli secs (100 needed per frame), pic no 164
    missing -391 milli secs (100 needed per frame), pic no 165
    missing -388 milli secs (100 needed per frame), pic no 166
    missing -387 milli secs (100 needed per frame), pic no 167
    missing -389 milli secs (100 needed per frame), pic no 168
    missing -391 milli secs (100 needed per frame), pic no 169
    missing -390 milli secs (100 needed per frame), pic no 170
    missing -387 milli secs (100 needed per frame), pic no 171
    missing -388 milli secs (100 needed per frame), pic no 172
    missing -391 milli secs (100 needed per frame), pic no 173
    missing -387 milli secs (100 needed per frame), pic no 174
    missing -386 milli secs (100 needed per frame), pic no 175
    missing -390 milli secs (100 needed per frame), pic no 176
    missing -388 milli secs (100 needed per frame), pic no 177
    missing -388 milli secs (100 needed per frame), pic no 178
    missing -391 milli secs (100 needed per frame), pic no 179
    missing -390 milli secs (100 needed per frame), pic no 180
    missing -393 milli secs (100 needed per frame), pic no 181
    missing -387 milli secs (100 needed per frame), pic no 182
    missing -389 milli secs (100 needed per frame), pic no 183
    missing -388 milli secs (100 needed per frame), pic no 184
    missing -391 milli secs (100 needed per frame), pic no 185
    missing -388 milli secs (100 needed per frame), pic no 186
    missing -389 milli secs (100 needed per frame), pic no 187
    missing -388 milli secs (100 needed per frame), pic no 188
    missing -392 milli secs (100 needed per frame), pic no 189
    missing -388 milli secs (100 needed per frame), pic no 190
    missing -392 milli secs (100 needed per frame), pic no 191
    missing -390 milli secs (100 needed per frame), pic no 192
    missing -392 milli secs (100 needed per frame), pic no 193
    missing -389 milli secs (100 needed per frame), pic no 194
    missing -387 milli secs (100 needed per frame), pic no 195
    missing -388 milli secs (100 needed per frame), pic no 196
    missing -391 milli secs (100 needed per frame), pic no 197
    missing -392 milli secs (100 needed per frame), pic no 198
    missing -391 milli secs (100 needed per frame), pic no 199
    missing -408 milli secs (100 needed per frame), pic no 200
    missing -390 milli secs (100 needed per frame), pic no 201
    missing -390 milli secs (100 needed per frame), pic no 202
    missing -386 milli secs (100 needed per frame), pic no 203
    missing -388 milli secs (100 needed per frame), pic no 204
    missing -389 milli secs (100 needed per frame), pic no 205
    missing -392 milli secs (100 needed per frame), pic no 206
    missing -387 milli secs (100 needed per frame), pic no 207
    missing -387 milli secs (100 needed per frame), pic no 208
    missing -389 milli secs (100 needed per frame), pic no 209
    missing -393 milli secs (100 needed per frame), pic no 210
    missing -390 milli secs (100 needed per frame), pic no 211
    missing -389 milli secs (100 needed per frame), pic no 212
    missing -391 milli secs (100 needed per frame), pic no 213
    missing -391 milli secs (100 needed per frame), pic no 214
    missing -390 milli secs (100 needed per frame), pic no 215
    missing -388 milli secs (100 needed per frame), pic no 216
    missing -386 milli secs (100 needed per frame), pic no 217
    missing -391 milli secs (100 needed per frame), pic no 218
    missing -440 milli secs (100 needed per frame), pic no 219
    missing -393 milli secs (100 needed per frame), pic no 220
    missing -387 milli secs (100 needed per frame), pic no 221
    missing -394 milli secs (100 needed per frame), pic no 222
    missing -389 milli secs (100 needed per frame), pic no 223
    missing -389 milli secs (100 needed per frame), pic no 224
    missing -389 milli secs (100 needed per frame), pic no 225
    missing -392 milli secs (100 needed per frame), pic no 226
    missing -390 milli secs (100 needed per frame), pic no 227
    missing -390 milli secs (100 needed per frame), pic no 228
    missing -386 milli secs (100 needed per frame), pic no 229
    missing -392 milli secs (100 needed per frame), pic no 230
    missing -387 milli secs (100 needed per frame), pic no 231
    missing -388 milli secs (100 needed per frame), pic no 232
    missing -390 milli secs (100 needed per frame), pic no 233
    missing -388 milli secs (100 needed per frame), pic no 234
    missing -392 milli secs (100 needed per frame), pic no 235
    missing -390 milli secs (100 needed per frame), pic no 236
    missing -389 milli secs (100 needed per frame), pic no 237
    missing -391 milli secs (100 needed per frame), pic no 238
    missing -388 milli secs (100 needed per frame), pic no 239
    missing -389 milli secs (100 needed per frame), pic no 240
    missing -388 milli secs (100 needed per frame), pic no 241
    missing -394 milli secs (100 needed per frame), pic no 242
    missing -387 milli secs (100 needed per frame), pic no 243
    missing -388 milli secs (100 needed per frame), pic no 244
    missing -390 milli secs (100 needed per frame), pic no 245
    missing -391 milli secs (100 needed per frame), pic no 246
    missing -388 milli secs (100 needed per frame), pic no 247
    missing -392 milli secs (100 needed per frame), pic no 248
    missing -390 milli secs (100 needed per frame), pic no 249
    missing -408 milli secs (100 needed per frame), pic no 250
    missing -391 milli secs (100 needed per frame), pic no 251
    missing -391 milli secs (100 needed per frame), pic no 252
    missing -389 milli secs (100 needed per frame), pic no 253
    missing -390 milli secs (100 needed per frame), pic no 254
    missing -390 milli secs (100 needed per frame), pic no 255
    missing -388 milli secs (100 needed per frame), pic no 256
    missing -389 milli secs (100 needed per frame), pic no 257
    missing -389 milli secs (100 needed per frame), pic no 258
    missing -392 milli secs (100 needed per frame), pic no 259
    missing -387 milli secs (100 needed per frame), pic no 260
    missing -389 milli secs (100 needed per frame), pic no 261
    missing -386 milli secs (100 needed per frame), pic no 262
    missing -390 milli secs (100 needed per frame), pic no 263
    missing -388 milli secs (100 needed per frame), pic no 264
    missing -388 milli secs (100 needed per frame), pic no 265
    missing -388 milli secs (100 needed per frame), pic no 266
    missing -391 milli secs (100 needed per frame), pic no 267
    missing -390 milli secs (100 needed per frame), pic no 268
    missing -388 milli secs (100 needed per frame), pic no 269
    missing -389 milli secs (100 needed per frame), pic no 270
    missing -394 milli secs (100 needed per frame), pic no 271
    missing -389 milli secs (100 needed per frame), pic no 272
    missing -391 milli secs (100 needed per frame), pic no 273
    missing -388 milli secs (100 needed per frame), pic no 274
    missing -391 milli secs (100 needed per frame), pic no 275
    missing -390 milli secs (100 needed per frame), pic no 276
    missing -388 milli secs (100 needed per frame), pic no 277
    missing -390 milli secs (100 needed per frame), pic no 278
    missing -389 milli secs (100 needed per frame), pic no 279
    missing -391 milli secs (100 needed per frame), pic no 280
    missing -388 milli secs (100 needed per frame), pic no 281
    missing -389 milli secs (100 needed per frame), pic no 282
    missing -392 milli secs (100 needed per frame), pic no 283
    missing -388 milli secs (100 needed per frame), pic no 284
    missing -392 milli secs (100 needed per frame), pic no 285
    missing -390 milli secs (100 needed per frame), pic no 286
    missing -391 milli secs (100 needed per frame), pic no 287
    missing -387 milli secs (100 needed per frame), pic no 288
    missing -389 milli secs (100 needed per frame), pic no 289
    missing -388 milli secs (100 needed per frame), pic no 290
    missing -390 milli secs (100 needed per frame), pic no 291
    missing -386 milli secs (100 needed per frame), pic no 292
    missing -388 milli secs (100 needed per frame), pic no 293
    missing -390 milli secs (100 needed per frame), pic no 294
    missing -389 milli secs (100 needed per frame), pic no 295
    missing -390 milli secs (100 needed per frame), pic no 296
    missing -388 milli secs (100 needed per frame), pic no 297
    missing -391 milli secs (100 needed per frame), pic no 298
    missing -393 milli secs (100 needed per frame), pic no 299
    missing -405 milli secs (100 needed per frame), pic no 300
    missing -388 milli secs (100 needed per frame), pic no 301
    missing -390 milli secs (100 needed per frame), pic no 302
    missing -393 milli secs (100 needed per frame), pic no 303
    missing -391 milli secs (100 needed per frame), pic no 304
    missing -389 milli secs (100 needed per frame), pic no 305
    missing -388 milli secs (100 needed per frame), pic no 306
    missing -395 milli secs (100 needed per frame), pic no 307
    missing -394 milli secs (100 needed per frame), pic no 308
    missing -391 milli secs (100 needed per frame), pic no 309
    missing -392 milli secs (100 needed per frame), pic no 310
    missing -388 milli secs (100 needed per frame), pic no 311
    missing -393 milli secs (100 needed per frame), pic no 312
    missing -388 milli secs (100 needed per frame), pic no 313
    missing -388 milli secs (100 needed per frame), pic no 314
    missing -389 milli secs (100 needed per frame), pic no 315
    missing -393 milli secs (100 needed per frame), pic no 316
    missing -387 milli secs (100 needed per frame), pic no 317
    missing -389 milli secs (100 needed per frame), pic no 318
    missing -392 milli secs (100 needed per frame), pic no 319
    missing -394 milli secs (100 needed per frame), pic no 320
    missing -404 milli secs (100 needed per frame), pic no 321
    missing -388 milli secs (100 needed per frame), pic no 322
    missing -388 milli secs (100 needed per frame), pic no 323
    missing -391 milli secs (100 needed per frame), pic no 324
    missing -387 milli secs (100 needed per frame), pic no 325
    missing -389 milli secs (100 needed per frame), pic no 326
    missing -390 milli secs (100 needed per frame), pic no 327
    missing -390 milli secs (100 needed per frame), pic no 328
    missing -387 milli secs (100 needed per frame), pic no 329
    missing -388 milli secs (100 needed per frame), pic no 330
    missing -456 milli secs (100 needed per frame), pic no 331
    missing -402 milli secs (100 needed per frame), pic no 332
    missing -389 milli secs (100 needed per frame), pic no 333
    missing -388 milli secs (100 needed per frame), pic no 334
    missing -388 milli secs (100 needed per frame), pic no 335
    missing -392 milli secs (100 needed per frame), pic no 336
    missing -390 milli secs (100 needed per frame), pic no 337
    missing -396 milli secs (100 needed per frame), pic no 338
    missing -388 milli secs (100 needed per frame), pic no 339
    missing -393 milli secs (100 needed per frame), pic no 340
    missing -388 milli secs (100 needed per frame), pic no 341
    missing -389 milli secs (100 needed per frame), pic no 342
    missing -391 milli secs (100 needed per frame), pic no 343
    missing -390 milli secs (100 needed per frame), pic no 344
    missing -388 milli secs (100 needed per frame), pic no 345
    missing -398 milli secs (100 needed per frame), pic no 346
    missing -391 milli secs (100 needed per frame), pic no 347
    missing -393 milli secs (100 needed per frame), pic no 348
    missing -390 milli secs (100 needed per frame), pic no 349
    missing -412 milli secs (100 needed per frame), pic no 350
    missing -392 milli secs (100 needed per frame), pic no 351
    missing -389 milli secs (100 needed per frame), pic no 352
    missing -388 milli secs (100 needed per frame), pic no 353
    missing -389 milli secs (100 needed per frame), pic no 354
    missing -391 milli secs (100 needed per frame), pic no 355
    missing -390 milli secs (100 needed per frame), pic no 356
    missing -393 milli secs (100 needed per frame), pic no 357
    missing -390 milli secs (100 needed per frame), pic no 358
    missing -389 milli secs (100 needed per frame), pic no 359
    missing -390 milli secs (100 needed per frame), pic no 360
    missing -390 milli secs (100 needed per frame), pic no 361
    missing -387 milli secs (100 needed per frame), pic no 362
    missing -391 milli secs (100 needed per frame), pic no 363
    missing -390 milli secs (100 needed per frame), pic no 364
    missing -387 milli secs (100 needed per frame), pic no 365
    missing -389 milli secs (100 needed per frame), pic no 366
    missing -389 milli secs (100 needed per frame), pic no 367
    missing -391 milli secs (100 needed per frame), pic no 368
    missing -390 milli secs (100 needed per frame), pic no 369
    missing -388 milli secs (100 needed per frame), pic no 370
    missing -390 milli secs (100 needed per frame), pic no 371
    missing -387 milli secs (100 needed per frame), pic no 372
    missing -393 milli secs (100 needed per frame), pic no 373
    missing -389 milli secs (100 needed per frame), pic no 374
    missing -391 milli secs (100 needed per frame), pic no 375
    missing -389 milli secs (100 needed per frame), pic no 376
    missing -392 milli secs (100 needed per frame), pic no 377
    missing -386 milli secs (100 needed per frame), pic no 378
    missing -387 milli secs (100 needed per frame), pic no 379
    missing -391 milli secs (100 needed per frame), pic no 380
    missing -390 milli secs (100 needed per frame), pic no 381
    missing -390 milli secs (100 needed per frame), pic no 382
    missing -390 milli secs (100 needed per frame), pic no 383
    missing -388 milli secs (100 needed per frame), pic no 384
    missing -391 milli secs (100 needed per frame), pic no 385
    missing -389 milli secs (100 needed per frame), pic no 386
    missing -388 milli secs (100 needed per frame), pic no 387
    missing -390 milli secs (100 needed per frame), pic no 388
    missing -392 milli secs (100 needed per frame), pic no 389
    missing -388 milli secs (100 needed per frame), pic no 390
    missing -387 milli secs (100 needed per frame), pic no 391
    missing -388 milli secs (100 needed per frame), pic no 392
    missing -389 milli secs (100 needed per frame), pic no 393
    missing -391 milli secs (100 needed per frame), pic no 394
    missing -389 milli secs (100 needed per frame), pic no 395
    missing -388 milli secs (100 needed per frame), pic no 396
    missing -392 milli secs (100 needed per frame), pic no 397
    missing -389 milli secs (100 needed per frame), pic no 398
    missing -387 milli secs (100 needed per frame), pic no 399
    missing -410 milli secs (100 needed per frame), pic no 400
    missing -394 milli secs (100 needed per frame), pic no 401
    missing -386 milli secs (100 needed per frame), pic no 402
    missing -388 milli secs (100 needed per frame), pic no 403
    missing -391 milli secs (100 needed per frame), pic no 404
    missing -391 milli secs (100 needed per frame), pic no 405
    missing -387 milli secs (100 needed per frame), pic no 406
    missing -393 milli secs (100 needed per frame), pic no 407
    missing -392 milli secs (100 needed per frame), pic no 408
    missing -390 milli secs (100 needed per frame), pic no 409
    missing -386 milli secs (100 needed per frame), pic no 410
    missing -389 milli secs (100 needed per frame), pic no 411
    missing -391 milli secs (100 needed per frame), pic no 412
    missing -390 milli secs (100 needed per frame), pic no 413
    missing -387 milli secs (100 needed per frame), pic no 414
    missing -389 milli secs (100 needed per frame), pic no 415
    missing -387 milli secs (100 needed per frame), pic no 416
    missing -386 milli secs (100 needed per frame), pic no 417
    missing -393 milli secs (100 needed per frame), pic no 418
    missing -390 milli secs (100 needed per frame), pic no 419
    missing -389 milli secs (100 needed per frame), pic no 420
    missing -389 milli secs (100 needed per frame), pic no 421
    missing -390 milli secs (100 needed per frame), pic no 422
    missing -386 milli secs (100 needed per frame), pic no 423
    missing -387 milli secs (100 needed per frame), pic no 424
    missing -392 milli secs (100 needed per frame), pic no 425
    missing -392 milli secs (100 needed per frame), pic no 426
    missing -389 milli secs (100 needed per frame), pic no 427
    missing -391 milli secs (100 needed per frame), pic no 428
    missing -388 milli secs (100 needed per frame), pic no 429
    missing -392 milli secs (100 needed per frame), pic no 430
    missing -393 milli secs (100 needed per frame), pic no 431
    missing -386 milli secs (100 needed per frame), pic no 432
    missing -387 milli secs (100 needed per frame), pic no 433
    missing -391 milli secs (100 needed per frame), pic no 434
    missing -390 milli secs (100 needed per frame), pic no 435
    missing -390 milli secs (100 needed per frame), pic no 436
    missing -387 milli secs (100 needed per frame), pic no 437
    missing -390 milli secs (100 needed per frame), pic no 438
    missing -390 milli secs (100 needed per frame), pic no 439
    missing -390 milli secs (100 needed per frame), pic no 440
    missing -388 milli secs (100 needed per frame), pic no 441
    missing -393 milli secs (100 needed per frame), pic no 442
    missing -388 milli secs (100 needed per frame), pic no 443
    missing -387 milli secs (100 needed per frame), pic no 444
    missing -388 milli secs (100 needed per frame), pic no 445
    missing -390 milli secs (100 needed per frame), pic no 446
    missing -388 milli secs (100 needed per frame), pic no 447
    missing -390 milli secs (100 needed per frame), pic no 448
    missing -392 milli secs (100 needed per frame), pic no 449
    missing -413 milli secs (100 needed per frame), pic no 450
    missing -388 milli secs (100 needed per frame), pic no 451
    missing -388 milli secs (100 needed per frame), pic no 452
    missing -447 milli secs (100 needed per frame), pic no 453
    missing -394 milli secs (100 needed per frame), pic no 454
    missing -391 milli secs (100 needed per frame), pic no 455
    missing -390 milli secs (100 needed per frame), pic no 456
    missing -388 milli secs (100 needed per frame), pic no 457
    missing -390 milli secs (100 needed per frame), pic no 458
    missing -390 milli secs (100 needed per frame), pic no 459
    missing -389 milli secs (100 needed per frame), pic no 460
    missing -387 milli secs (100 needed per frame), pic no 461
    missing -393 milli secs (100 needed per frame), pic no 462
    missing -391 milli secs (100 needed per frame), pic no 463
    missing -391 milli secs (100 needed per frame), pic no 464
    missing -389 milli secs (100 needed per frame), pic no 465
    missing -390 milli secs (100 needed per frame), pic no 466
    missing -390 milli secs (100 needed per frame), pic no 467
    missing -390 milli secs (100 needed per frame), pic no 468
    missing -390 milli secs (100 needed per frame), pic no 469
    missing -390 milli secs (100 needed per frame), pic no 470
    missing -389 milli secs (100 needed per frame), pic no 471
    missing -387 milli secs (100 needed per frame), pic no 472
    missing -389 milli secs (100 needed per frame), pic no 473
    missing -391 milli secs (100 needed per frame), pic no 474
    missing -392 milli secs (100 needed per frame), pic no 475
    missing -389 milli secs (100 needed per frame), pic no 476
    missing -389 milli secs (100 needed per frame), pic no 477
    missing -389 milli secs (100 needed per frame), pic no 478
    missing -389 milli secs (100 needed per frame), pic no 479
    missing -389 milli secs (100 needed per frame), pic no 480
    missing -388 milli secs (100 needed per frame), pic no 481
    missing -391 milli secs (100 needed per frame), pic no 482
    missing -390 milli secs (100 needed per frame), pic no 483
    missing -389 milli secs (100 needed per frame), pic no 484
    missing -391 milli secs (100 needed per frame), pic no 485
    missing -387 milli secs (100 needed per frame), pic no 486
    missing -394 milli secs (100 needed per frame), pic no 487
    missing -388 milli secs (100 needed per frame), pic no 488
    missing -388 milli secs (100 needed per frame), pic no 489
    missing -390 milli secs (100 needed per frame), pic no 490
    missing -390 milli secs (100 needed per frame), pic no 491
    missing -392 milli secs (100 needed per frame), pic no 492
    missing -387 milli secs (100 needed per frame), pic no 493
    missing -390 milli secs (100 needed per frame), pic no 494
    missing -391 milli secs (100 needed per frame), pic no 495
    missing -387 milli secs (100 needed per frame), pic no 496
    missing -391 milli secs (100 needed per frame), pic no 497
    missing -392 milli secs (100 needed per frame), pic no 498
    missing -391 milli secs (100 needed per frame), pic no 499
    missing -410 milli secs (100 needed per frame), pic no 500
    missing -393 milli secs (100 needed per frame), pic no 501
    missing -389 milli secs (100 needed per frame), pic no 502
    missing -390 milli secs (100 needed per frame), pic no 503
    missing -390 milli secs (100 needed per frame), pic no 504
    missing -390 milli secs (100 needed per frame), pic no 505
    missing -387 milli secs (100 needed per frame), pic no 506
    missing -390 milli secs (100 needed per frame), pic no 507
    missing -388 milli secs (100 needed per frame), pic no 508
    missing -391 milli secs (100 needed per frame), pic no 509
    missing -389 milli secs (100 needed per frame), pic no 510
    missing -392 milli secs (100 needed per frame), pic no 511
    missing -390 milli secs (100 needed per frame), pic no 512
    missing -388 milli secs (100 needed per frame), pic no 513
    missing -391 milli secs (100 needed per frame), pic no 514
    missing -391 milli secs (100 needed per frame), pic no 515
    missing -393 milli secs (100 needed per frame), pic no 516
    missing -389 milli secs (100 needed per frame), pic no 517
    missing -387 milli secs (100 needed per frame), pic no 518
    missing -389 milli secs (100 needed per frame), pic no 519
    missing -390 milli secs (100 needed per frame), pic no 520
    missing -398 milli secs (100 needed per frame), pic no 521
    missing -392 milli secs (100 needed per frame), pic no 522
    missing -390 milli secs (100 needed per frame), pic no 523
    missing -388 milli secs (100 needed per frame), pic no 524
    missing -390 milli secs (100 needed per frame), pic no 525
    missing -389 milli secs (100 needed per frame), pic no 526
    missing -389 milli secs (100 needed per frame), pic no 527
    missing -391 milli secs (100 needed per frame), pic no 528
    missing -390 milli secs (100 needed per frame), pic no 529
    missing -391 milli secs (100 needed per frame), pic no 530
    missing -397 milli secs (100 needed per frame), pic no 531
    missing -394 milli secs (100 needed per frame), pic no 532
    missing -386 milli secs (100 needed per frame), pic no 533
    missing -389 milli secs (100 needed per frame), pic no 534

    willard@njordur:~/xvidcap-submit/error
    > ldd /home/willard/bin/xvidcap
        linux-vdso.so.1 =>  (0x00007fff3fbfe000)
        libglade-2.0.so.0 => /usr/lib/libglade-2.0.so.0 (0x00007f57377ba000)
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x00007f57371eb000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00007f5736ea4000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x00007f5736c0a000)
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x00007f57369ea000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x00007f57367d0000)
        libm.so.6 => /lib/libm.so.6 (0x00007f573654f000)
        libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x00007f5736344000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x00007f5736100000)
        libcairo.so.2 => /usr/lib/libcairo.so.2 (0x00007f5735e95000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007f5735c50000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00007f5735a4d000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007f5735849000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x00007f5735645000)
        librt.so.1 => /lib/librt.so.1 (0x00007f573543c000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f573517c000)
        libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x00007f5734f7a000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00007f5734d75000)
        libXmu.so.6 => /usr/lib/libXmu.so.6 (0x00007f5734b5c000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00007f5734940000)
        libc.so.6 => /lib/libc.so.6 (0x00007f57345de000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f57343cd000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f57340ca000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00007f5733eb3000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007f5733c82000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007f5733a79000)
        libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x00007f5733877000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0x00007f573366e000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00007f5733467000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00007f573325d000)
        libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0x00007f573305b000)
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x00007f5732e2f000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007f5732bb2000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00007f573298d000)
        libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x00007f573275f000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f5732454000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f5732246000)
        libselinux.so.1 => /lib/libselinux.so.1 (0x00007f573202a000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f57379d4000)
        libpcre.so.3 => /usr/lib/libpcre.so.3 (0x00007f5731e04000)
        libXt.so.6 => /usr/lib/libXt.so.6 (0x00007f5731ba0000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0x00007f5731998000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0x00007f573177d000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f573157b000)
        libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0x00007f573137a000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f573115f000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007f5730f3b000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f5730d36000)

    ---

    There is definitely something wrong. It seems that it "forgets" to encode chunks at regular intervals?

    I do not know if this is a bug or just me not knowing how to use this software, so therefore, I am posting this here.

    Do you (Karl), or anyone else, know what the problem is, and how I fix it?

    Cheers,
    Willard.

     
    • Ah, by the way,

      ---

      willard@njordur:~/xvidcap-submit/error
      > uname -a
      Linux njordur 2.6.24-19-generic #1 SMP Wed Aug 20 17:53:40 UTC 2008 x86_64 GNU/Linux

      willard@njordur:~/xvidcap-submit/error
      > cat /proc/cpuinfo
      processor       : 0
      vendor_id       : GenuineIntel
      cpu family      : 6
      model           : 15
      model name      : Intel(R) Core(TM)2 Duo CPU     T7300  @ 2.00GHz
      stepping        : 10
      cpu MHz         : 800.000
      cache size      : 4096 KB
      physical id     : 0
      siblings        : 2
      core id         : 0
      cpu cores       : 2
      fpu             : yes
      fpu_exception   : yes
      cpuid level     : 10
      wp              : yes
      flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm ida
      bogomips        : 3995.11
      clflush size    : 64
      cache_alignment : 64
      address sizes   : 36 bits physical, 48 bits virtual
      power management:

      processor       : 1
      vendor_id       : GenuineIntel
      cpu family      : 6
      model           : 15
      model name      : Intel(R) Core(TM)2 Duo CPU     T7300  @ 2.00GHz
      stepping        : 10
      cpu MHz         : 800.000
      cache size      : 4096 KB
      physical id     : 0
      siblings        : 2
      core id         : 1
      cpu cores       : 2
      fpu             : yes
      fpu_exception   : yes
      cpuid level     : 10
      wp              : yes
      flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm ida
      bogomips        : 3990.01
      clflush size    : 64
      cache_alignment    : 64
      address sizes    : 36 bits physical, 48 bits virtual
      power management:

      ---

      I am doing this on an ASUS F8SA Notebook.

      http://www.asus.com/products.aspx?l1=5&l2=26&l3=501&l4=0&model=1591&modelmenu=1

      Cheers,
      Willard.

       
    • Hmm. Okay, I tried grabbing only a small portion of my screen, and then everything works fine.

      ---

      willard@njordur:~/xvidcap-small
      > /home/willard/bin/xvidcap -v --cap_geometry 200x200[0+0] --gui no --file error.avi > error.log
      app_data.c xvc_appdata_set_defaults: Warning!!!
      Your window manager appears to be non-compliant!

      willard@njordur:~/xvidcap-small
      > mplayer error.avi

      [a small part of my screen, with correct playback speed, and synchronized sound]

      willard@njordur:~/xvidcap-small
      > cat error.log
      Current settings:
      flags = 1571
      capture mode = multi-frame
      position = 200x200+0+0
      rescale output to = 100
      frames per second = 10,00
      file pattern = error.avi
      file format = AUTO
      video encoding = AUTO
      audio codec = AUTO
      verbose level = 1
      frame start no = 0
      frames to store = 0
      time to capture = 0 sec
      autocontinue = no
      input source = shm (2)
      capture pointer = white
      capture audio = yes
      - input = /dev/dsp
      - sample rate = 44100
      - bit rate = 64000
      - channels = 2
      animate command = mplayer "${XVFILE}" &
      make video command= xterm -e "echo not needed for multi-frame capture; echo hit enter to dismiss; read"
      edit frame command= xterm -e "echo none specified; echo hit enter to dismiss; read"

      ---

      So, it seems I am making xvidcap grab more than my computer can handle. Which I find strange, because this machine is a beast.

      Can you recommend any options to make my screencast more resource-efficient?

      Cheers,
      Willard.

       
      • Well,

        1. do not use -v (when not debugging)
        2. what window manager are you using?
          -  if you are not using a compositing window manager (compiz or the likes) try enabling XShm and XDamage from the preferences UI
        3. try decreasing audio quality

        HTH,

        Karl.

         
    • Thanks for the prompt reply.

      1) Alrightey.

      2) I am using xmonad. A tiling window manager. So, no fancy compiz-3d stuff. However, I have performed a bastard-fusion of gnome and xmonad, so I have a status bar, applets, auto-mounting, etc. etc. while still having a tiling wm. I hope that is not a problem. xmonad can be "mean", but only to windowed applications who misbehave (not X).

      ---

      willard@njordur:~/xvidcap-tryxopts
      > cat /home/willard/.gnomerc
      export WINDOW_MANAGER=xmonad

      ---

      Anyways, fiddling in the properties of the xvidcap gui yielded the following config file.

      ---

      willard@njordur:~/xvidcap-tryxopts
      > cat ../.xvidcaprc
      #
      # xvidcap configuration file

      #general options ...
      # default capture mode (0 = single-frame, 1 = multi-frame)
      default_mode: 1
      # capture source
      source: shm
      # take screenshots using the XDamage extension for efficiency.
      # this does not work well for 3D compositing window managers like compiz or beryl.
      # therefore xvidcap disables this by default for those window managers.
      # set this to "-1" for auto-detection, "0" for disabled, or "1" for enabled.
      use_xdamage: 1
      # hide GUI
      nogui: 0
      # hide frame around capture area
      noframe: 0
      # device to grab audio from
      audio_in: /dev/dsp
      # what kind of mouse pointer should be recorded? 0 = none, 1 = white, 2 = black
      mouse_wanted: 2
      # should cap_geometry be saved to prefs?
      save_geometry: 0
      # locked frame follows mouse not window
      follow_mouse: 0
      # toggle autocontinue (0/1)
      auto_continue: 0
      # always show results dialog (0/1)
      always_show_results: 1
      # rescale the captured area to n percent of the original
      rescale: 100
      # minimize the main control to the system tray while recording
      minimize_to_tray: 0

      #options for single-frame capture ...
      # file pattern
      # this defines the filetype to write via the extension provided
      # valid extensions are: .xwd .pgm .ppm .png .jpg .jpeg
      sf_file: test-%04d.xwd
      # file format - use AUTO to select format through file extension
      # Otherwise specify one of the following: xwd, pgm, ppm, png, jpg
      sf_format: NONE
      # video codec used by ffmpeg - use AUTO to auto-detect codec
      # Otherwise specify one of the following: PGM, PPM, PNG, JPEG
      #sf_codec: NONE
      # audio codec (for future use)
      sf_au_codec: NONE
      # frames per second
      # put as normal decimal number or a fraction like "30000/10001"
      sf_fps: 100/10
      # max time (0 = unlimited)
      sf_max_time: 0
      # max frames (0 = unlimited)
      sf_max_frames: 0
      # number to start counting individual frames from
      sf_start_no: 0
      # quality (JPEG/MPEG)
      sf_quality: 90
      # toggle audio capture (0/1) (for future use)
      sf_audio: 0
      # sample rate for audio capture (for future use)
      sf_audio_rate: 0
      # bit rate for audio capture (for future use)
      sf_audio_bits: 0
      # number of channels to use in audio capture (for future use)
      sf_audio_channels: 0
      # command to display captured frames as animation
      sf_animate_cmd: animate -delay "${XVTIME%,*}x1000" "${XVFILE}" &
      # command to edit current frame
      sf_edit_cmd: gimp "${XVFILE}" &
      # command to encode captured frames
      sf_video_cmd: ppm2mpeg.sh "${XVFILE}" ${XVFFRAME} ${XVLFRAME} ${XVWIDTH} ${XVHEIGHT} ${XVFPS} ${XVTIME} &

      #options for multi-frame capture ...
      # file pattern
      # this defines the filetype to write via the extension provided
      # valid extensions are: pgm ppm png jpg jpeg avi mpeg mpg asf flv flv1 swf dv m1v vcd m2v svcd vob dvd mov qt
      mf_file: test-%04d.mpeg
      # file format - use AUTO to select format through file extension
      # Otherwise specify one of the following: pgm, ppm, png, jpg, avi, divx, asf, flv1, swf, dv, mpeg, mpeg2, vob, mov
      mf_format: NONE
      # video codec used by ffmpeg - use AUTO to auto-detect codec
      # Otherwise specify one of the following: MPEG1, MJPEG, MPEG4, MS_DIV2, MS_DIV3, FFV1, FLASH_VIDEO, FLASH_SV, DV, MPEG2, SVQ1
      mf_codec: NONE
      # audio codec used by ffmpeg - use AUTO to auto-detect audio codec
      # Otherwise specify one of the following: MP2, VORBIS, AC3, PCM16
      mf_au_codec: NONE
      # frames per second
      # put as normal decimal number or a fraction like "30000/10001"
      mf_fps: 100/10
      # max time (0 = unlimited)
      mf_max_time: 0
      # max frames (0 = unlimited)
      mf_max_frames: 0
      # number to start counting individual frames from (for future use)
      mf_start_no: 0
      # quality (JPEG/MPEG)
      mf_quality: 90
      # toggle audio capture (0/1)
      mf_audio: 1
      # sample rate for audio capture
      mf_audio_rate: 44100
      # bit rate for audio capture
      mf_audio_bits: 64000
      # number of channels to use in audio capture
      mf_audio_channels: 2
      # command to display captured frames as animation
      mf_animate_cmd: mplayer "${XVFILE}" &
      # command to edit current movie
      mf_edit_cmd: xterm -e "echo none specified; echo hit enter to dismiss; read"
      # command to encode captured frames (subject to change)
      mf_video_cmd: xterm -e "echo not needed for multi-frame capture; echo hit enter to dismiss; read"

      ---

      I tried capturing a 1024x768 portion of my screen, and I got

      ---

      willard@njordur:~/xvidcap-tryxopts
      > /home/willard/bin/xvidcap --cap_geometry 1024x768+0+0 --gui no --file error.mpeg
      app_data.c xvc_appdata_set_defaults: Warning!!!
      Your window manager appears to be non-compliant!
      [mpeg4 @ 0x80bd80]removing common factors from framerate
      The program 'xvidcap' received an X Window System error.
      This probably reflects a bug in the program.
      The error was 'BadMatch (invalid parameter attributes)'.
        (Details: serial 465 error_code 8 request_code 149 minor_code 4)
        (Note to programmers: normally, X errors are reported asynchronously;
         that is, you will receive the error a while after causing it.
         To debug your program, run it with the --sync command line
         option to change this behavior. You can then get a meaningful
         backtrace from your debugger if you break on the gdk_x_error() function.)

      ---

      The encoding went fine to begin with. I could move the mouse around, highlight text in a terminal, and speak, and the result of that is very good and synchronized. The Xdamage option really makes a difference, I see. However, as soon as I switched tag spaces or spawned a new window, I got the "X Window System error" displayed above.

      3) I'll try that next as soon as I break through this wall :-P

      Cheers,
      Willard.

       
    • By the way,

      ---

      willard@njordur:~/xvidcap-test
      > /home/willard/bin/xvidcap --gui yes
      app_data.c xvc_appdata_set_defaults: Warning!!!
      Your window manager appears to be non-compliant!

      (xvidcap:12614): libglade-WARNING **: could not find glade file '/usr/local/share/xvidcap/glade/gnome-xvidcap.glade'
      **
      ** ERROR:(gnome_ui.c:1714):xvc_ui_create: assertion failed: (xml)
      Aborted

      ---

      As I installed xvidcap to my homedir, I needed to manually place a symlink at /usr/local/share/xvidcap/glade/ to gnome-xvidcap.glade in my homedir (~/lib/xvidcap-1.1.7/src/gnome-xvidcap.glade) to make the gui appear.

       
    • Huh.

      I tried removing my .gnomerc such that I revert back to Ubuntu's default window manager (metacity). That did the trick! The 1440x900 recording does not crash (hasn't yet), is synchronized, even after it "misses out" on a few frames when I really put xvidcap to the (stress)test, and is very crisp.

      Do, now that I can actually use xvidcap, my next logical question is: how come I cannot use any window manager, such as xmonad? How does xvidcap condition on the window manager being used? Do you know of a way to get xvidcap to work in xmonad, or am I barking up the wrong tree?

      By the way, may I suggest an addition to your documentation? Since I refrain from using GUIs as much as possibe, I was unaware that there even was a config file for xvidcap. It does not say anywhere in the man page for xvidcap that xvidcap checks for a config file at ~/.xvidcaprc . Also, since I didn't touch the GUI until you told me to, I did not know there was an Xdamage option, and that it made this much difference.

      Thanks for your suggestions so far.

      Best regards,
      Willard.

       
    • Willard,

      believe me, I do wish the window manager were transparent to xvidcap operation. Unfortunately it is not. There are lots of differences in window managers' interpretations of how certain situations are to be treated. For example, if you use compiz and try to select a capture area and click down on a window title bar, then drag, xvidcap will crash, because it will get NULL color information, where metacity will provide the color info for the window the decoration belongs to. There are several such differences (this being one I haven't treated in code, yet) which is the reason why xvidcap tries to detect what kind of window manager is in use. That's why you were seeing "Your window manager appears to be non-compliant!" ... xvidcap didn't know what to do with your window manager. In such a situation, it will default to not use Xdamage (as with compiz). You can always manually override this setting. XDamage is a huge speed improvement because it means xivdcap does not need to fetch the complete capture area from the X server for each frame, only the area with changes.

      Btw., you should not need the symlink if you use configure correctly, e. g.:
      configure --prefix=/home/willard

      Cheers,

      Karl.