Record and display Kinect audio and video via avconv

Posted by ThomasH on Ask Ubuntu See other posts from Ask Ubuntu or by ThomasH
Published on 2012-07-12T12:26:10Z Indexed on 2013/10/30 4:15 UTC
Read the original article Hit count: 261

Filed under:
|
|
|

I'm trying to record audio and video from a Kinect using avconv but I seem to have trouble specifying the right options.

avconv -f video4linux2 -video_size 640x480 -c:v h264 -c:a ac3 -i /dev/video1 test.mp4

results in:

avconv: /build/buildd/libav-extra-0.8.3ubuntu0.12.04.1/libav/libavutil/mathematics.c:79: av_rescale_rnd: Assertion `c > 0' failed.
Aborted (core dumped)

Cheese is perfectly happy recording the audio and video from the Kinect, so it's not a setup issue. For added fun, I also need to display the video at the same time.

© Ask Ubuntu or respective owner

Related posts about sound

Related posts about video