Mailinglist Archive: opensuse (3442 mails)

< Previous Next >
Re: [SLE] xawtv and frequencies
On Sunday 02 December 2001 19:06, you wrote:
> On Sun, 2 Dec 2001 15:45:23 +0700
>
> Constant Brouerius van Nidek <constant@xxxxxxxxxxx> wrote:
> > Dear Geoff,
> > As I did not download the sources I am a little bit lost.
>
> Sure ...
>
> Here are the steps :

Dear Geoff,
I had already a Download directory, so that was easy. Configure worked
without problems, so it seems that I had all devels.


> (6) If all that happens then we know that xawtv will compile on your
> system.
> If it does work,
> then normally we would just go ahead and compile as the next step, but that
> is no good for you, because you are going to alter the source code. So next
> you enter: rm config.h and then : make distclean. A lot of messages will
> fly past and the result will be that you have a clean set of source files
> to work on.
>
> (7) Change directories to the /xawtv-3.65/src sub-directory. One of the
> file you will see there is frequencies.h. You need to load that into a
> *text editor* - such as kedit or pico or joe - *not* a wordprocessor. The
> opening lines are the one's you have seen me post here :
>
> /*
> * Worldwide channel/frequency list
> *
> * Nathan Laredo (laredo@xxxxxxxxxx)
> *
> * Frequencies are given in kHz
> */
> #define NTSC_AUDIO_CARRIER 4500
> #define PAL_AUDIO_CARRIER_I 6000
> #define PAL_AUDIO_CARRIER_BGHN 5500
> #define PAL_AUDIO_CARRIER_MN 4500
> #define PAL_AUDIO_CARRIER_D 6500
> #define SEACAM_AUDIO_DKK1L 6500
> #define SEACAM_AUDIO_BG 5500
>
> (8) You can now edit the #defines to any value you want in accordance with
> Doug's advice. When you have finished, save the file.

What I do not yet understand, a # was for me always a remming out, a comment
line. Is that here different? I thought it was a good idea to remove the # in
front of the BGHN carrier but tha gave an error 2 and the compilation stopped.
So I just changed the kHz figuresand I could not find any difference. The
sound is still at the same place as before, even as I changed them to
extremes.

> (9) Change back into the /xawtv-3.65 sub-directory. Repeat step (5) - ie
> enter: configure.
>
> (10) If you do not see any errors, and the last line of the output is
> "creating config.h" you can next enter : make
>
> (11) The program will now compile. You will see some error messages fly
> by. They are probably irrelevant. The final lines you see will be :
>
> make[2]: Leaving directory `/home/your_usrename/Downloads/xawtv-3.65/cc'
> (cd man; make build)
> make[2]: Entering directory `/home/your_usrename/Downloads/xawtv-3.65/man'
> make[2]: Nothing to be done for `build'.
> make[2]: Leaving directory `/home/your_usrename/Downloads/xawtv-3.65/man'
> make[1]: Leaving directory `/home/your_usrename/Downloads/xawtv-3.65'
>
> (12) The next stage is *usually* to change to root and enter: make
> install. That will install the program into /usr/local/bin. Before doing
> so you should remove the existing xawtv rpm that you have installed.
> However I do not recommend that you do that yet, because it is likely that
> you will need to experiment with different values for the #defines. So you
> can just enter: /home/your_username/Downloads/xawtv-3.65/src/xawtv - This
> should run the new copy of xawtv you just compiled, without disturbing the
> old one that is in /usr/local/bin.
>
> (13) If you are not happy with the results, go back and repeat steps (6) to
> (12) until you are happy. Then you can remove the existin rpm and finally
> make install the copy you are happy with.

Is it perhaps necesarry to remove the former compiled results or are they
every time overwritten. I saw that the second and following "make" was very
fast ready. Or is that normal.

A further question, shoulld I have inserted anything in the following part of
the file frequencies? Somewhere in the final result several choices can be
made. Fourteen if I remeber right. Could I get Indonesia as one of the
choices?

Thanks for your help. A first is always scarry ;-)
Regards

Constant

< Previous Next >
List Navigation
Follow Ups
References