[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-newbie
Subject: Re: WebVCR - The coolest thing ever?
From: Ray Olszewski <ray () comarre ! com>
Date: 2003-05-26 14:56:21
[Download RAW message or body]
Peter - I use vcr here routinely, but I do so on a Debian-Sid system. These
comments, while not direct answers to your question, may help you
understand what is going on.
First and most important, vcr itself is an orphaned project. Its original
developer abandoned it over a year ago. Within Debian, a few people (me,
its maintainer, and 2 others I know of) do a little work to keep it (the
Sid version, anyway) operating, but none to improve it. I've seen reports
that others are doing the same thing for Gentoo's source package.
Second, vcr is a front end for the avifile capture libraries. They change
over time in ways that make them incompatible with vcr's source code
(updating vcr to fix this is the main thing we Debs do). If you check the
archives of the avifile mailing list, you'll find a long discussion between
Zdanek and me about this maintenance problem.
Third, as someone else already mentioned, the recent version change in g++
caused some source code incompatibilities. We had to do a set of vcr
patches coincident with that change, though I don't recall right now if the
actual reason was vcr's own incompatability with the new g++ or the changes
made to avifile to deal with its incompatibilities.
Skimming through the compiler output you quoted, I think you have a mix of
the problems I described above, pluf failing to make with the flag that
tells vcr to use a newer version of libavifile than it defaults to (that's
this message --
>vcr.h:17:4: #error "Read the README, section 2 & 3 about avifile-0.6 and
>follow the instructions."
-- you deal with it by doing what it says to do).
So ... what are your real options?
1. Get up-to-date source and work from it. To get the Debian source, start
at www.debian.org and use the package-manager links (looking in Debian
Sid/Upstable ... vcr is not updated in Woody/Stable, and its version
probably does not work).
2. Use a different capture frontend. Options are either avirec or avicap
(part of the avifile package itself), mencoder (part of mPlayer), and maybe
ffmpeg.
3. Use one of the TiVo-like systems that are under development. MythTV
seems to be the furtherst along; there is also FreeVo.
I'm not supplying URLs for any of this stuff because they are all trivially
easy to find via Google.
Oh, one detail ... vcr doesn't have an elegant frontend; it's just a
command-line program. I use it with a simple Perl program that gets called
through crond to handle captures. While I can, in your words, "program said
recording from a remote location", I do it using an ssh connection to the
vidcap host, not a browser. OTOH, MythTV has MythWeb, a Web interface,
though I have not tried it so cannot speak to its quality.
At 08:15 AM 5/26/2003 -0400, Peter Howell wrote:
>At least I think it would be the coolest thing ever. Imagine being able
>to digitally record video (ala TiVo) with your linux box, and even being
>able to program said recording from a remote location.
>
> Now the catch. Has anyone managed to install vcr-1.09 on
>redhat8? ( http://www.stack.nl/~brama/vcr/ ) When I attempt to make the
>program, I get the following errors.
>
>It looks like my compiler is missing something, but I'm not sure what.
>
>Thanks
>
>Peter
>
>
>make all-recursive
>make[1]: Entering directory `/home/nupgup/Stuff/TV/vcr-1.09'
>Making all in src
>make[2]: Entering directory `/home/nupgup/Stuff/TV/vcr-1.09/src'
>c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/avifile -O2 -c
>main.cc
>In file included from /usr/include/c++/3.2/backward/iostream.h:31,
> from main.cc:19:
>/usr/include/c++/3.2/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.
>In file included from main.cc:22:
>vcr.h:17:4: #error "Read the README, section 2 & 3 about avifile-0.6 and
>follow the instructions."
>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/c++/3.2/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:560: no match for `__gnu_cxx::__normal_iterator<const
>AttributeInfo*,
> std::vector<AttributeInfo, std::allocator<AttributeInfo> > >& =
> avm::AttributeInfo*' operator
>/usr/include/c++/3.2/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:560: no match for `__gnu_cxx::__normal_iterator<const
>AttributeInfo*,
> std::vector<AttributeInfo, std::allocator<AttributeInfo> > >& !=
> avm::AttributeInfo*' operator
>main.cc:594: no match for `__gnu_cxx::__normal_iterator<const
>avm::string*,
> std::vector<avm::string, std::allocator<avm::string> > >& = const
> avm::string*' operator
>/usr/include/c++/3.2/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:594: no match for `__gnu_cxx::__normal_iterator<const
>avm::string*,
> std::vector<avm::string, std::allocator<avm::string> > >& != const
> avm::string*' operator
>main.cc:604: no matching function for call to
>`GetCodecAttr(avm::CodecInfo&,
> const char*, char[256], int)'
>/usr/local/include/avifile/creators.h:124: candidates are: int
> Creators::GetCodecAttr(const CodecInfo&, const char*, int&)
>/usr/local/include/avifile/creators.h:132: int
> Creators::GetCodecAttr(const CodecInfo&, const char*, const char**)
>main.cc: In function `int is_valid_codec(const char*)':
>main.cc:810: no match for `__gnu_cxx::__normal_iterator<CodecInfo*,
> std::vector<CodecInfo, std::allocator<CodecInfo> > >& =
>avm::CodecInfo*'
> operator
>/usr/include/c++/3.2/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:810: 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:1009: no match for `__gnu_cxx::__normal_iterator<CodecInfo*,
> std::vector<CodecInfo, std::allocator<CodecInfo> > >& =
>avm::CodecInfo*'
> operator
>/usr/include/c++/3.2/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:1009: 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:1037: no match for `__gnu_cxx::__normal_iterator<const
>AttributeInfo*,
> std::vector<AttributeInfo, std::allocator<AttributeInfo> > >& =
> avm::AttributeInfo*' operator
>/usr/include/c++/3.2/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:1037: 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]: Leaving directory `/home/nupgup/Stuff/TV/vcr-1.09/src'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/home/nupgup/Stuff/TV/vcr-1.09'
>make: *** [all-recursive-am] Error 2
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic