Post subject: Using mplayer as a not laggy mythTV?
Player (36)
Joined: 9/11/2004
Posts: 2631
Question, I'm looking into making my computer into a place where I can record myself playing video games. Like PS2 games. I have my capture card installed and configured and I can play it with mplayer or anything else really. However, I can't play it and capture it at the same time. Well, I've come up with two different ways to do that actually, but each has a problem. I can tee /dev/video0 to two fifos and play from one and record from the other, but it only runs at 10fps because the v4l driver doesn't run the control commands for the device correctly because it's attempting to act upon the fifo and not the block device. Or I can mplayer then dump the video stream to a fifo, tee the fifo into another instance of mplayer and mencoder, but that's results in a 1/5 second of lag, which is undoable for playing video games. Does anyone know how I can send the device control signals directly to /dev/video0 so when I attempt to play the video it runs at 29.97 fps? Or of a different way to do it altogether?
Build a man a fire, warm him for a day, Set a man on fire, warm him for the rest of his life.
Player (201)
Joined: 7/6/2004
Posts: 511
You can buy a part that splits the video signal, send one part to a tv, the other to your computer. -sorry if this is not applicable to your specific situation.
g,o,p,i=1e4,a[10001];main(x){for(;p?g=g/x*p+a[p]*i+2*!o: 53^(printf("%.4d",o+g/i),p=i,o=g%i);a[p--]=g%x)x=p*2-1;}
Player (36)
Joined: 9/11/2004
Posts: 2631
flagitious wrote:
You can buy a part that splits the video signal, send one part to a tv, the other to your computer. -sorry if this is not applicable to your specific situation.
That was my backup plan, I'd rather not cram a TV in my room. There's enough energy being wasted right now.
Build a man a fire, warm him for a day, Set a man on fire, warm him for the rest of his life.