View previous topic :: View next topic |
Author |
Message |
dcstimm Guru
Joined: 19 Jun 2002 Posts: 321
|
Posted: Mon Aug 19, 2002 3:20 am Post subject: Wanna turn your computer into a tivo? |
|
|
first grab a Wintv go Hauppauge bt8*8 tv card ($35) or any other.
then configure it to watch tv.
emerge vcr
then
Here is a example:
vcr -g /dev/video0 -c 'divx ;-) low-motion' -v -p 38 -F 30 -q 100 -m mono -b 64 -t 32m tv-show.avi
-g is to set the device (my wintv card is /dev/video0)
-c 'divx ;-) low-motion' is the video setting
-v is for verbose
-p 38 is the channel to record
-F 30 is the frame rate
-q 100 is quality and its set to 100 which is best
-m is to set mono or stereo
-b 64 is the bitrate for the mp3 audio (64 is perfect for mono audio and 128 and higher is good for stereo)
-t 32 is the timmer, I have it set for 32min
and last is the file I am saving it to, which is tv-show.avi
Hope this shows you how easy it is.
Plus you can stick vcr in your cron tab to record tv while you are away.
Enjoy |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Mon Aug 19, 2002 3:22 am Post subject: |
|
|
An excellent candidate for the new Multimedia forum. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
dcstimm Guru
Joined: 19 Jun 2002 Posts: 321
|
Posted: Mon Aug 19, 2002 8:21 pm Post subject: |
|
|
ugg i hate when stuff gets moved..
This got burryed behind a whole bunch of old threads that people responded to.. ugg. |
|
Back to top |
|
|
mglauche Retired Dev
Joined: 25 Apr 2002 Posts: 564 Location: Germany
|
Posted: Mon Aug 19, 2002 8:38 pm Post subject: |
|
|
vcr does not like my gcc-3.1.1 system:
Code: |
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/avifile -O2 -c capproc.cc
In file included from /usr/include/g++-v31/backward/strstream:51,
from capproc.h:3,
from capproc.cc:1:
/usr/include/g++-v31/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
main.cc: In function `void list_codecs()':
main.cc:508: no match for `__gnu_cxx::__normal_iterator<CodecInfo*, std::vector<CodecInfo, std::allocator<CodecInfo> > >& = avm::CodecInfo*' operator
/usr/include/g++-v31/bits/stl_iterator.h:571: candidates are: __gnu_cxx::__normal_iterator<CodecInfo*, std::vector<CodecInfo, std::allocator<CodecInfo> > >& __gnu_cxx::__normal_iterator<CodecInfo*, std::vector<CodecInfo, std::allocator<CodecInfo> > >::operator=(const __gnu_cxx::__normal_iterator<CodecInfo*, std::vector<CodecInfo, std::allocator<CodecInfo> > >&)
make[2]: *** [main.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/vcr-1.09/work/vcr-1.09/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/vcr-1.09/work/vcr-1.09'
make: *** [all-recursive-am] Error 2
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line -211, Exitcode 2
!!! emake died
|
any hints ? |
|
Back to top |
|
|
voidzero Bodhisattva
Joined: 21 Jul 2002 Posts: 265 Location: Grnn
|
Posted: Mon Aug 26, 2002 4:12 pm Post subject: |
|
|
Upgrade to gcc 3.2 |
|
Back to top |
|
|
Coogee Apprentice
Joined: 23 Apr 2002 Posts: 184 Location: E.U.
|
Posted: Tue Aug 27, 2002 10:56 am Post subject: |
|
|
I tried it, but the resulting picture is upside down and looks like a mirror image?!?
Also there is no sound during playback. But I could hear the TV sound during recording.
Any idea what's wrong?
Btw: XawTV works perfectly and it is also an Hauppauge (pronunciation?) WinTV card with an BT8?? chip. |
|
Back to top |
|
|
Craigo Apprentice
Joined: 09 Aug 2002 Posts: 249 Location: /dev/life
|
Posted: Tue Aug 27, 2002 11:27 am Post subject: |
|
|
I'm seriously considering doing this since I have got a wintv card (8T848AKPF) when bought with a second hand machine. However, I'm not too sure about the subtitles (since I'm hard of hearing).
However, I should give this a go in the near future.
-/Craigo/- |
|
Back to top |
|
|
JHuizingh Tux's lil' helper
Joined: 05 Jul 2002 Posts: 100
|
Posted: Fri Aug 30, 2002 1:57 am Post subject: |
|
|
How processor intensive is this task. I have an old P166 that I might be interested in doing this with. Could it handle it?
If it's too slow, could I buy a hardware encoder or something that could make it work? |
|
Back to top |
|
|
mindows n00b
Joined: 01 Aug 2002 Posts: 33
|
Posted: Fri Aug 30, 2002 3:53 am Post subject: |
|
|
wouldn't my harddrive fill up by the time i come back? how does it know when to stop? i tried out ati wonder tv pci card for a few days on my linux machine, but it kept hard freezing my machine. i don't think it was kwintv or xawtv that was freezing.. i had to move it to a w2k machine |
|
Back to top |
|
|
JHuizingh Tux's lil' helper
Joined: 05 Jul 2002 Posts: 100
|
Posted: Fri Aug 30, 2002 4:34 am Post subject: |
|
|
the "-t 32m" argument tells it to record for 32 minutes |
|
Back to top |
|
|
Xafloc n00b
Joined: 19 Apr 2002 Posts: 48 Location: Wisconsin
|
Posted: Tue Sep 03, 2002 1:24 am Post subject: Recording is upside down? |
|
|
Hey, I can get the vcr program to record, but the audio is not so godo (although it works well in xawtv), and the picture is upside down and inverted.
Any thoughts as to why that is? Hauppage bt878 chipset.
Thanks,
Darren _________________ Darren Greer
http://www.nod.to
http://www.alinuxbox.com |
|
Back to top |
|
|
line72 Apprentice
Joined: 13 Jun 2002 Posts: 212
|
Posted: Tue Sep 03, 2002 1:47 pm Post subject: |
|
|
I'm having the exact same problem as Xafloc. I couldn't find anything on vcr's website
/Line72 |
|
Back to top |
|
|
Chickpea l33t
Joined: 03 Jun 2002 Posts: 846 Location: Vancouver WA
|
|
Back to top |
|
|
Xafloc n00b
Joined: 19 Apr 2002 Posts: 48 Location: Wisconsin
|
Posted: Tue Sep 03, 2002 7:18 pm Post subject: Fun with vcr |
|
|
So I installed webvcr, and modified the program to print out the actual vcr command they use to generate, and I used that to test vcr. I still get an upside down picture
Here is the line I ran:
vcr -g /dev/video0 --codec 'divx low-motion' --audiomode stereo --framerate 29.97 --quality 100 --source Television --quality 100 --audiobitrate 128 -p '2' --rectime 30s test2.avi _________________ Darren Greer
http://www.nod.to
http://www.alinuxbox.com |
|
Back to top |
|
|
MaHejn n00b
Joined: 04 Jul 2002 Posts: 70
|
Posted: Tue Sep 03, 2002 7:27 pm Post subject: |
|
|
i am using a hauppauge winTV and VCR is recording upside-down. any ideas how to fix this problem?
greetings, Mahejn |
|
Back to top |
|
|
Xafloc n00b
Joined: 19 Apr 2002 Posts: 48 Location: Wisconsin
|
Posted: Tue Sep 03, 2002 7:54 pm Post subject: More to add.. |
|
|
I can solve the upside problem when playing with mplayer by using the flip option as mentioned earlier (this thread maybe). However, I get a high pitched squeal in the recording, but not when audio is playing back.
I was thinking it was the input line from teh card to the sound card, but I cannot be sure, as I have moved the input gain down to 30% with no luck. Any thoughts as to what might be causing this. Again, when it is recording, it sounds fine to my ears.
Darren _________________ Darren Greer
http://www.nod.to
http://www.alinuxbox.com |
|
Back to top |
|
|
Xafloc n00b
Joined: 19 Apr 2002 Posts: 48 Location: Wisconsin
|
Posted: Tue Sep 03, 2002 9:24 pm Post subject: Another question :) |
|
|
OK, how many posts can I put up in one day
What audiobitrate, audiomode, attributes, are people setting when recording. This may determine what kind of quality I get on the audio, that may be giving me that high squeal.
Just a thought.... _________________ Darren Greer
http://www.nod.to
http://www.alinuxbox.com |
|
Back to top |
|
|
Xafloc n00b
Joined: 19 Apr 2002 Posts: 48 Location: Wisconsin
|
|
Back to top |
|
|
simcop2387 Apprentice
Joined: 14 Aug 2002 Posts: 200 Location: Galactic Sector ZZ9 Plural Z Alpha
|
Posted: Sat Sep 07, 2002 12:03 am Post subject: |
|
|
is there anyway to have it do an endless loop record? e.g. just keep the last 10 hours of tv (assuming you play back through a tv out and use that as the channel flipper) |
|
Back to top |
|
|
dazol n00b
Joined: 22 Jul 2002 Posts: 11
|
Posted: Sat Sep 07, 2002 2:25 pm Post subject: |
|
|
or to make it easier, you could just get mythtv
www.mythtv.org
Daz |
|
Back to top |
|
|
keef n00b
Joined: 02 Jul 2002 Posts: 45 Location: Third Stone from the Sun
|
Posted: Mon Sep 30, 2002 6:50 am Post subject: |
|
|
vcr emerge fails badly here....Gentoo 1.4rc1:
Code: | c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/avifile -O2 -c capproc.cc
In file included from /usr/include/g++-v32/backward/strstream:51,
from capproc.h:3,
from capproc.cc:1:
/usr/include/g++-v32/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
main.cc: In function `void list_codecs()':
main.cc:508: no match for `__gnu_cxx::__normal_iterator<CodecInfo*,
std::vector<CodecInfo, std::allocator<CodecInfo> > >& = avm::CodecInfo*'
operator
/usr/include/g++-v32/bits/stl_iterator.h:571: candidates are:
__gnu_cxx::__normal_iterator<CodecInfo*, std::vector<CodecInfo,
std::allocator<CodecInfo> > >& __gnu_cxx::__normal_iterator<CodecInfo*,
std::vector<CodecInfo, std::allocator<CodecInfo> > >::operator=(const [
__gnu_cxx::__normal_iterator<CodecInfo*, std::vector<CodecInfo,
std::allocator<CodecInfo> > >&)
<snip>
many of the same errors
</snip>
make[2]: *** [main.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/vcr-1.09-r1/work/vcr-1.09/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/vcr-1.09-r1/work/vcr-1.09'
make: *** [all-recursive-am] Error 2
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line -153, Exitcode 2
!!! emake died
|
Any ideas? Has anyone else gotten this version to compile with gcc-3.2? |
|
Back to top |
|
|
Miker n00b
Joined: 20 Jun 2002 Posts: 65 Location: Belgium
|
Posted: Mon Sep 30, 2002 7:09 am Post subject: another vcr application |
|
|
Another vcr application I've come accros is freevo on sourceforge. It's mostly written in python so it should appeal to gentoo-folks
Mike |
|
Back to top |
|
|
jbeley n00b
Joined: 02 Oct 2002 Posts: 2
|
Posted: Wed Oct 02, 2002 6:16 pm Post subject: vcr |
|
|
the only system i've been able to compile vcr on has been debian/sid using gcc/g++ 2.95...i've tried mandrake cooker...i even tried bring over my binary from debian with no luck ... i wonder if icc can do any better...
keef wrote: | vcr emerge fails badly here....Gentoo 1.4rc1:
Code: | c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/avifile -O2 -c capproc.cc
In file included from /usr/include/g++-v32/backward/strstream:51,
from capproc.h:3,
from capproc.cc:1:
/usr/include/g++-v32/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
main.cc: In function `void list_codecs()':
main.cc:508: no match for `__gnu_cxx::__normal_iterator<CodecInfo*,
std::vector<CodecInfo, std::allocator<CodecInfo> > >& = avm::CodecInfo*'
operator
/usr/include/g++-v32/bits/stl_iterator.h:571: candidates are:
__gnu_cxx::__normal_iterator<CodecInfo*, std::vector<CodecInfo,
std::allocator<CodecInfo> > >& __gnu_cxx::__normal_iterator<CodecInfo*,
std::vector<CodecInfo, std::allocator<CodecInfo> > >::operator=(const [
__gnu_cxx::__normal_iterator<CodecInfo*, std::vector<CodecInfo,
std::allocator<CodecInfo> > >&)
<snip>
many of the same errors
</snip>
make[2]: *** [main.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/vcr-1.09-r1/work/vcr-1.09/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/vcr-1.09-r1/work/vcr-1.09'
make: *** [all-recursive-am] Error 2
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line -153, Exitcode 2
!!! emake died
|
Any ideas? Has anyone else gotten this version to compile with gcc-3.2? |
|
|
Back to top |
|
|
Analyser n00b
Joined: 12 Oct 2002 Posts: 5 Location: Netherlands, The
|
Posted: Sat Oct 12, 2002 11:38 pm Post subject: |
|
|
I too have trouble getting vcr to work. main.cc seems to cause lots of trouble:
Code: |
make[1]: Entering directory `/var/tmp/portage/vcr-1.09-r1/work/vcr-1.09'
Making all in src
make[2]: Entering directory `/var/tmp/portage/vcr-1.09-r1/work/vcr-1.09/src'
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/avifile -O2 -c main.cc
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/avifile -O2 -c v4lxif.cc
In file included from /usr/include/g++-v32/backward/iostream.h:31,
from main.cc:19:
/usr/include/g++-v32/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/avifile -O2 -c dsp.cc
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/avifile -O2 -c capproc.cc
In file included from /usr/include/g++-v32/backward/strstream:51,
from capproc.h:3,
from capproc.cc:1:
/usr/include/g++-v32/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
main.cc: In function `void list_codecs()':
main.cc:508: no match for `__gnu_cxx::__normal_iterator<CodecInfo*,
std::vector<CodecInfo, std::allocator<CodecInfo> > >& = avm::CodecInfo*'
operator
/usr/include/g++-v32/bits/stl_iterator.h:571: candidates are:
__gnu_cxx::__normal_iterator<CodecInfo*, std::vector<CodecInfo,
std::allocator<CodecInfo> > >& __gnu_cxx::__normal_iterator<CodecInfo*,
std::vector<CodecInfo, std::allocator<CodecInfo> > >::operator=(const
__gnu_cxx::__normal_iterator<CodecInfo*, std::vector<CodecInfo,
std::allocator<CodecInfo> > >&)
main.cc:508: no match for `__gnu_cxx::__normal_iterator<CodecInfo*,
std::vector<CodecInfo, std::allocator<CodecInfo> > >& != avm::CodecInfo*'
operator
main.cc: In function `void list_attributes(int)':
main.cc:556: no match for `__gnu_cxx::__normal_iterator<const AttributeInfo*,
std::vector<AttributeInfo, std::allocator<AttributeInfo> > >& =
avm::AttributeInfo*' operator
/usr/include/g++-v32/bits/stl_iterator.h:571: candidates are:
__gnu_cxx::__normal_iterator<const AttributeInfo*,
std::vector<AttributeInfo, std::allocator<AttributeInfo> > >&
__gnu_cxx::__normal_iterator<const AttributeInfo*,
std::vector<AttributeInfo, std::allocator<AttributeInfo> >
>::operator=(const __gnu_cxx::__normal_iterator<const AttributeInfo*,
std::vector<AttributeInfo, std::allocator<AttributeInfo> > >&)
main.cc:556: no match for `__gnu_cxx::__normal_iterator<const AttributeInfo*,
std::vector<AttributeInfo, std::allocator<AttributeInfo> > >& !=
avm::AttributeInfo*' operator
main.cc:590: no match for `__gnu_cxx::__normal_iterator<const avm::string*,
std::vector<avm::string, std::allocator<avm::string> > >& = const
avm::string*' operator
/usr/include/g++-v32/bits/stl_iterator.h:571: candidates are:
__gnu_cxx::__normal_iterator<const avm::string*, std::vector<avm::string,
std::allocator<avm::string> > >& __gnu_cxx::__normal_iterator<const
avm::string*, std::vector<avm::string, std::allocator<avm::string> >
>::operator=(const __gnu_cxx::__normal_iterator<const avm::string*,
std::vector<avm::string, std::allocator<avm::string> > >&)
main.cc:590: no match for `__gnu_cxx::__normal_iterator<const avm::string*,
std::vector<avm::string, std::allocator<avm::string> > >& != const
avm::string*' operator
main.cc: In function `int is_valid_codec(const char*)':
main.cc:806: no match for `__gnu_cxx::__normal_iterator<CodecInfo*,
std::vector<CodecInfo, std::allocator<CodecInfo> > >& = avm::CodecInfo*'
operator
/usr/include/g++-v32/bits/stl_iterator.h:571: candidates are:
__gnu_cxx::__normal_iterator<CodecInfo*, std::vector<CodecInfo,
std::allocator<CodecInfo> > >& __gnu_cxx::__normal_iterator<CodecInfo*,
std::vector<CodecInfo, std::allocator<CodecInfo> > >::operator=(const
__gnu_cxx::__normal_iterator<CodecInfo*, std::vector<CodecInfo,
std::allocator<CodecInfo> > >&)
main.cc:806: no match for `__gnu_cxx::__normal_iterator<CodecInfo*,
std::vector<CodecInfo, std::allocator<CodecInfo> > >& != avm::CodecInfo*'
operator
main.cc: In function `int get_codec_index(int)':
main.cc:1010: no match for `__gnu_cxx::__normal_iterator<CodecInfo*,
std::vector<CodecInfo, std::allocator<CodecInfo> > >& = avm::CodecInfo*'
operator
/usr/include/g++-v32/bits/stl_iterator.h:571: candidates are:
__gnu_cxx::__normal_iterator<CodecInfo*, std::vector<CodecInfo,
std::allocator<CodecInfo> > >& __gnu_cxx::__normal_iterator<CodecInfo*,
std::vector<CodecInfo, std::allocator<CodecInfo> > >::operator=(const
__gnu_cxx::__normal_iterator<CodecInfo*, std::vector<CodecInfo,
std::allocator<CodecInfo> > >&)
main.cc:1010: no match for `__gnu_cxx::__normal_iterator<CodecInfo*,
std::vector<CodecInfo, std::allocator<CodecInfo> > >& != avm::CodecInfo*'
operator
main.cc: In function `short int set_attribute(int, const char*, const char*)':
main.cc:1035: no match for `__gnu_cxx::__normal_iterator<const AttributeInfo*,
std::vector<AttributeInfo, std::allocator<AttributeInfo> > >& =
avm::AttributeInfo*' operator
/usr/include/g++-v32/bits/stl_iterator.h:571: candidates are:
__gnu_cxx::__normal_iterator<const AttributeInfo*,
std::vector<AttributeInfo, std::allocator<AttributeInfo> > >&
__gnu_cxx::__normal_iterator<const AttributeInfo*,
std::vector<AttributeInfo, std::allocator<AttributeInfo> >
>::operator=(const __gnu_cxx::__normal_iterator<const AttributeInfo*,
std::vector<AttributeInfo, std::allocator<AttributeInfo> > >&)
main.cc:1035: no match for `__gnu_cxx::__normal_iterator<const AttributeInfo*,
std::vector<AttributeInfo, std::allocator<AttributeInfo> > >& !=
avm::AttributeInfo*' operator
make[2]: *** [main.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/vcr-1.09-r1/work/vcr-1.09/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/vcr-1.09-r1/work/vcr-1.09'
make: *** [all-recursive-am] Error 2
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line -153, Exitcode 2
!!! emake died
|
Turning off any and all optimisation flags in /etc/make.conf didn't help at all, so I'm a bit lost, to say the least. Is there anyone who has a clue? _________________ "A poor programmer is he who blames his tools." |
|
Back to top |
|
|
garciaae n00b
Joined: 08 Oct 2002 Posts: 6
|
Posted: Sun Oct 13, 2002 9:04 pm Post subject: Got the same problem |
|
|
It seems that it doesn't compile properly with gcc 3.22 headers. Is there any easy solution to fix this?
Thanks in advance. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|