PDA

View Full Version : Capturing in Linux



FokeyJoe
22-11-2009, 09:40 PM
Hiya,
I'm trying to get the Hauppauge working in Linux, without using MythTV - I tend to use mplayer directly. I seem to be getting the device talking okay across USB, can use v4l2-ctl to set the configuration and can cat /dev/video1 > test.ts just fine. However:
1) It only captures 20 seconds and then stops. What it captures is fine, but only 20 seconds
2) Whenever I try to initiate a capture I have to turn it off and back on again for it to work
It's on the v1.5.6 firmware. It's working fine on windows - I've capped over 2 hours quite easily. I'm sourcing from a sky+ via S-Video (will be component next week, I hope!) and SP/DIF. I've also tried mplayer /dev/video1 -dumpstream -dumpfile test.ts, but it does exactly the same. uname -a is:
Linux artemis 2.6.30-gentoo-r5 #1 SMP PREEMPT Thu Nov 19 23:59:11 GMT 2009 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+ AuthenticAMD GNU/Linux
I'm issuing the following commands to initialize it each time:
v4lctl -c /dev/video1 setinput S-Video
v4l2-ctl -d /dev/video1 -c audio_encoding=4

Any ideas? TIA :)