theYinYeti Posted September 10, 2004 Report Share Posted September 10, 2004 Hello, I did not manage to record TV, even though XawTV and XawDecode both work perfectly! How does TV recording work, please Yves. Quote Link to comment Share on other sites More sharing options...
devries Posted September 10, 2004 Report Share Posted September 10, 2004 The easiest way: cat /dev/video0 > tv.(mpg, avi whatever) A better way: A program like freevo or mythtv to schedule recordings. And xmltv to grab tv listings. If you want to use freevo look in the FAQs for a howto. Good luck. Quote Link to comment Share on other sites More sharing options...
theYinYeti Posted September 10, 2004 Author Report Share Posted September 10, 2004 (edited) Unfortunately, my PC is not strong enough for all-in-one appls like freevo or mythtv (not even for watching... I tried). As for cat'ing the device, my TV card is a cheap PCTV, so it only provides raw video I guess, not mpeg. It is not a 250 or 350 model. So I have to compress the data, or the disk won't be fast enough. Example I tried this, contributed by [i don't remember who]: v4lctl -c /dev/video3 setstation 3 ffmpeg -vd /dev/video3 -ad /dev/dsp -dct_algo 3 -me zero -s 320x256 -ab 64 -qscale 3 -hq fftest.mpg (yes, video3 is the good device) With this, I suddenly hear the TV channel I selected, until I press Q to stop recording. But the resulting file is always less than 100KB, and unreadable by either xine or aviplay. I also try adding the ffmpeg option to say that TV format is SECAM. No change... Another idea? Yves. Edited September 10, 2004 by theYinYeti Quote Link to comment Share on other sites More sharing options...
devries Posted September 10, 2004 Report Share Posted September 10, 2004 Mencoder? http://www.splitbrain.org/dokuwiki/ding:tvrecording Quote Link to comment Share on other sites More sharing options...
theYinYeti Posted September 10, 2004 Author Report Share Posted September 10, 2004 Thanks for your efforts in helping, devries! I'll have to try this method. As a matter of fact, it is a kind of "ding" I try to achieve :) I'll report how this works! Yves. Quote Link to comment Share on other sites More sharing options...
theYinYeti Posted September 13, 2004 Author Report Share Posted September 13, 2004 Oh No! My mencoder (from Mandrake CDs) has no support for MP3/lame. I'll have to investigate further (maybe use raw audio). Any other idea, meanwhile? Yves. Quote Link to comment Share on other sites More sharing options...
theYinYeti Posted September 14, 2004 Author Report Share Posted September 14, 2004 No luck, again... I used (-oac) the pcm codec (no compression). But then mencoder said that tv:// url could not be opened (not recognized), even though it is in the man page! It seems something is expected after //. I also tried gv4l: up to 11 frames recorded, and then nothing. And no sound. I also tried dvr: I managed to record!!! I can play many minutes of recorded video!! But this video is only a distorted picture mixed with "snow", because I can't get dvr to tune to a given channel :( And no sound. If I activate sound recording, then there's an error message saying that the codec is not in the good format. Any other idea? How do you record TV? Yves. Quote Link to comment Share on other sites More sharing options...
devries Posted September 14, 2004 Report Share Posted September 14, 2004 With Freevo and a PVR250 :) How about transcode: http://zebra.fh-weingarten.de/~maxi/html/t...1/msg00135.html > transcode -y ffmpeg -F mpeg4 -k -g 320x240 --import_v4l 0,R9 -p> /dev/dsp -i /dev/video0 -o testmovie.avi -f 30 /dev/video3 for you I think :) Quote Link to comment Share on other sites More sharing options...
theYinYeti Posted September 14, 2004 Author Report Share Posted September 14, 2004 Thanks, I'll try transcode. Note, though, that gv4l is a frontend to transcode. But then, I did get some frames (with a real picture inside) with gv4l, so playing with transcode most-hidden options may be the solution... When I set out on this I hadn't expected to be on a degree path in video and audio processing. :-)Oh how true !!! Yves. Quote Link to comment Share on other sites More sharing options...
GodFlesh Posted September 14, 2004 Report Share Posted September 14, 2004 With PLF sources, you should find the codec you want for mecoder. Quote Link to comment Share on other sites More sharing options...
devries Posted September 14, 2004 Report Share Posted September 14, 2004 Who doesn't want to have a degree in video and audio processing? Sometimes I'm astonished at how little people value knowledge. Quote Link to comment Share on other sites More sharing options...
aRTee Posted September 14, 2004 Report Share Posted September 14, 2004 You will find on my website the line of code I use with mencoder. And indeed you need plf packages for more codecs.. Quote Link to comment Share on other sites More sharing options...
theYinYeti Posted September 15, 2004 Author Report Share Posted September 15, 2004 Thanks aRTee, I'll try your command. I notice there's no tv:// in it. It might very well work! Yves. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.