Re: New distro.

2019-07-02 Thread David Cantrell
On Tue, Jul 02, 2019 at 02:47:35PM +0200, Peter Corlett wrote:

> It's debatable whether a single ffmpeg instance could take advantage of that
> many cores since Amdahl's Law will kick in as it tries to co-ordinate
> everything. Split it into multiple four- or eight-thread encodes and run them
> in parallel on that monster server, or even better, run them in parallel on a
> fleet of much-cheaper desktop machines.

>From my understanding of how yer typical video codec works (which could
of course be wrong!) I would think it's one of the few common tasks that
can take advantage of that many CPUs, as the parallelisable proportion
is very large.

A video file consists of a list of chunks, each of which consists of one
complete frame followed by a bunch of diffs from one frame to the next.
If you're decoding, hand one chunk to each CPU and process them in
parallel, and hand each CPU a new task when it finishes. There's some
small overhead in figuring out where each chunk begins, and in wrangling
pointers so that you end up with the results in a sequence of decoded
frames. Encoding is of course similar.

-- 
David Cantrell | top google result for "internet beard fetish club"

 I'm in retox

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: New distro.

2019-07-02 Thread Peter Corlett
On Tue, Jul 02, 2019 at 11:38:12AM +0100, RS wrote:
> [...] Does ffmpeg require more than 64 logical processors?

Obviously not, since it works fine on machines with as few as one. Indeed,
ffmpeg defaults to using just one unless you pass the "-threads" option.

It's debatable whether a single ffmpeg instance could take advantage of that
many cores since Amdahl's Law will kick in as it tries to co-ordinate
everything. Split it into multiple four- or eight-thread encodes and run them
in parallel on that monster server, or even better, run them in parallel on a
fleet of much-cheaper desktop machines.


___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: New distro.

2019-07-02 Thread RS

On 01/07/2019 20:19, Peter S Kirk wrote:
> On 30 Jun 2019 at 19:50, I wrote:
>> On 24/06/2019 18:12, Vangelis forthnet wrote:
>>> mainly because third party library libx265 (video encoder)
>>> has been configured with NUMA (Non-Uniform Memory Access) support,
>>> a feature absent under Vista+XP:
>>>
>>> 
https://docs.microsoft.com/en-us/windows/desktop/procthread/numa-support

>>>
 Windows Server 2008, Windows Vista, Windows Server 2003
 and Windows XP: Processor groups are not supported.

>> Why do you need libx265?

> We don't as BBC not using it "yer"

Quite.  I was also puzzled by the reference to lack of support for 
processor groups in XP and Vista.  Earlier in the document linked to by 
Vangelis it says, "On systems with more than 64 logical processors, 
nodes are assigned to processor groups according to the capacity of the 
nodes."  Does ffmpeg require more than 64 logical processors?





___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: New distro.

2019-07-01 Thread Peter S Kirk



On 30 Jun 2019 at 19:50, RS RS  wrote:

> > mainly because third party library libx265 (video encoder)
> > has been configured with NUMA (Non-Uniform Memory Access) support,
> > a feature absent under Vista+XP:
> >
> > https://docs.microsoft.com/en-us/windows/desktop/procthread/numa-support
> >
> >> Windows Server 2008, Windows Vista, Windows Server 2003
> >> and Windows XP: Processor groups are not supported.
> 
> Hi Vangelis
> 
> Why do you need libx265?
> 
> Best wishes
> Richard

We don't as BBC not using it "yer"

Have a look at thepiratebay, lots of x265 encoded eg 1080p Formula 1



___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: New distro.

2019-06-30 Thread RS

On 24/06/2019 18:12, Vangelis forthnet wrote:
...
Latest installer bundles a 32-bit binary of FFmpeg 4.1.1, compiled by 
Zeranoe...
That executable won't run in either XP or Vista and has to be replaced 
with a compatible compile...

FFmpeg vanilla code has dropped XP support in branch 4.x.x,
but remains Vista compatible; the reason 4.1.1 won't launch under 
Vista is

mainly because third party library libx265 (video encoder)
has been configured with NUMA (Non-Uniform Memory Access) support,
a feature absent under Vista+XP:

https://docs.microsoft.com/en-us/windows/desktop/procthread/numa-support


Windows Server 2008, Windows Vista, Windows Server 2003
and Windows XP: Processor groups are not supported.


Hi Vangelis

Why do you need libx265?

Best wishes
Richard



___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: New distro.

2019-06-24 Thread Vangelis forthnet

On Mon Jun 24 16:19:00 BST 2019, MacFH - C E Macfarlane wrote:


with someone on XP being unable
to run newer versions of  GiP.


I haven't myself tried to run the latest Windows installer on either XP or 
Vista;
my guess is it would run to completion, successfully installing the 
application

under those OSes...

See Wiki notes:

https://github.com/get-iplayer/get_iplayer/wiki/windows#before-you-begin

Latest installer bundles a 32-bit binary of FFmpeg 4.1.1, compiled by 
Zeranoe...
That executable won't run in either XP or Vista and has to be replaced with 
a compatible compile...

FFmpeg vanilla code has dropped XP support in branch 4.x.x,
but remains Vista compatible; the reason 4.1.1 won't launch under Vista is
mainly because third party library libx265 (video encoder)
has been configured with NUMA (Non-Uniform Memory Access) support,
a feature absent under Vista+XP:

https://docs.microsoft.com/en-us/windows/desktop/procthread/numa-support


Windows Server 2008, Windows Vista, Windows Server 2003
and Windows XP: Processor groups are not supported.


Finding a recent XP and/or Vista compatible FFmpeg binary is not easy;
XP die-hards do offer some builds, one has to know where to look for them; 
e.g.


http://blog.k-tai-douga.com/category/359294-1.html

https://sourceforge.net/projects/mplayer-win32/files/FFmpeg/

https://rwijnsma.home.xs4all.nl/files/ffmpeg/

Vista (but not XP) compatible, automated, daily builds:

https://jenkins.maeyanie.com/job/ffmpeg/

However, in the context of GiP one doesn't need the
most up-to-date code, because, as already told by others,
the ffmpeg binary inside GiP doesn't access the web but
is normally solely used for (off-line) remuxing purposes;
that part of the code is mature enough in the last XP (v3.0)
and Vista (v3.0.1) compatible binaries available in the VideoHelp archive:

https://www.videohelp.com/software/ffmpeg/old-versions#downloadold

Greetings


___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: New distro.

2019-06-24 Thread MacFH - C E Macfarlane

Please see below ...

On 24/06/2019 16:04, Vangelis forthnet wrote:

On Mon Jun 24 11:25:50 BST 2019, MacFH - C E Macfarlane wrote:
I'm surprised it worked for you, because AFAICR I'd understood that 
the version of Strawberry Perl used was supposed not to support XP.


... The latest GiP installer (v3.20.0) bundles a self-contained 
(portable) mini-package of Strawberry Perl 5.26.2.1-win32, back from 
mid-April 2018:

https://imgur.com/AZZC0PF

http://strawberryperl.com/release-notes/5.26.2.1-32bit.html

As you might see, the Release Notes do NOT specify a minimum winOS 
version as "system requirements"; I was able to launch perl 5.26.2.1 
successfully under Vista SP2 x86, but, sadly, am nowhere near an XP 
box to test; my gut feeling is it should properly launch there, too 
(I'd expect one to have kept the XP sytem as updated as possible - 
MSVC++ redistributables installed, etc.).


The GiP installer has been compiled in the InnoSetup format, one can 
decompile it - for testing purposes - without actually running it via 
the latest version of Inno Setup Unpacker:

http://innounp.sourceforge.net/
Simply, I must be wrong, yet I do seem to remember some discussion about 
this somewhere before, with someone on XP being unable to run newer 
versions of  GiP.



___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: New distro.

2019-06-24 Thread Vangelis forthnet
On Mon Jun 24 11:25:50 BST 2019, MacFH - C E Macfarlane wrote: 

I'm surprised it worked for you, 
because AFAICR I'd understood 
that the version of Strawberry Perl used 
was supposed not to support XP.


... The latest GiP installer (v3.20.0) bundles a self-contained (portable) 
mini-package of Strawberry Perl 5.26.2.1-win32, back from mid-April 2018: 


https://imgur.com/AZZC0PF

http://strawberryperl.com/release-notes/5.26.2.1-32bit.html

As you might see, the Release Notes do NOT specify 
a minimum winOS version as "system requirements"; I was able 
to launch perl 5.26.2.1 successfully under Vista SP2 x86, but, 
sadly, am nowhere near an XP box to test; my gut feeling is 
it should properly launch there, too (I'd expect one to have kept 
the XP sytem as updated as possible - MSVC++ redistributables 
installed, etc.).


The GiP installer has been compiled in the InnoSetup format, 
one can decompile it - for testing purposes - without actually 
running it via the latest version of Inno Setup Unpacker: 


http://innounp.sourceforge.net/

Best regards

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: New distro.

2019-06-24 Thread MacFH - C E Macfarlane

Please see below ...

On 23/06/2019 02:29, Peter S Kirk wrote:

On 22 Jun 2019 at 22:37, MacFH - C E Macfarlane MacFH - C E Macfarlane
 wrote:


On 22/06/2019 18:52, Peter S Kirk wrote:

XP SP3 32bit
GiP 3.14.0
FFMPEG N-76331-gf8d429e

When upgrading from 2.x to 3.x, did you run a Windows installer or just
copy in new files by hand or by using git or equivalent?


Ran GiP windows installer then replaced ffmpeg with XP version

fyi I use pvr not cli, if ffmpeg not XP compat file remains as untagged .ts
I use only the CLI.  I'm surprised it worked for you, because AFAICR I'd 
understood that the version of Strawberry Perl used was supposed not to 
support XP.



___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: New distro.

2019-06-22 Thread Peter S Kirk
On 22 Jun 2019 at 22:37, MacFH - C E Macfarlane MacFH - C E Macfarlane 
 wrote:

> Please see below ...
> 
> On 22/06/2019 18:52, Peter S Kirk wrote:
> > XP SP3 32bit
> > GiP 3.14.0
> > FFMPEG N-76331-gf8d429e
> 
> When upgrading from 2.x to 3.x, did you run a Windows installer or just 
> copy in new files by hand or by using git or equivalent?
> 

Ran GiP windows installer then replaced ffmpeg with XP version

fyi I use pvr not cli, if ffmpeg not XP compat file remains as untagged .ts


___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: New distro.

2019-06-22 Thread MacFH - C E Macfarlane

Please see below ...

On 22/06/2019 18:52, Peter S Kirk wrote:

XP SP3 32bit
GiP 3.14.0
FFMPEG N-76331-gf8d429e


When upgrading from 2.x to 3.x, did you run a Windows installer or just 
copy in new files by hand or by using git or equivalent?



___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: New distro.

2019-06-22 Thread Peter S Kirk
On 21 Jun 2019 at 21:42, MacFH - C E Macfarlane MacFH - C E Macfarlane 
 wrote:

> On 21/06/2019 18:51, Peter S Kirk wrote:
> > I run GiP under XP 32 with no problem. iirc all that is needed is to
> > replace ffmpeg with last XP compat version#
> 
> Which version?   My recollection is that GiP support for XP died around 
> the end of v2.x, whereas we're now on 3.2x.

XP SP3 32bit
GiP 3.14.0
FFMPEG N-76331-gf8d429e



___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: New distro.

2019-06-22 Thread RS



On 21/06/2019 21:42, MacFH - C E Macfarlane wrote:



On 21/06/2019 18:51, Peter S Kirk wrote:

I run GiP under XP 32 with no problem. iirc all that is needed is to
replace ffmpeg with last XP compat version#


Which version?   My recollection is that GiP support for XP died 
around the end of v2.x, whereas we're now on 3.2x.



I would need to check the archive and release notes to be sure, but I 
have a feeling that the functionality  lost by using an older XP 
compatible version of ffmpeg is the ability to stitch together the 
separately downloaded video and audio from dvf modes.




___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: New distro.

2019-06-21 Thread MacFH - C E Macfarlane



On 21/06/2019 18:51, Peter S Kirk wrote:

I run GiP under XP 32 with no problem. iirc all that is needed is to
replace ffmpeg with last XP compat version#


Which version?   My recollection is that GiP support for XP died around 
the end of v2.x, whereas we're now on 3.2x.




___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: New distro.

2019-06-21 Thread Peter S Kirk
On 20 Jun 2019 at 13:39, MacFH - C E Macfarlane MacFH - C E Macfarlane 
 wrote:
> 
> I think we all have our methods, and I'm not convinced that mine or 
> anyone else's is better than other possible methods, but in the 
> confusion of suggestions, there is the possibility of important 
> information being lost or obscured, which is that both under Linux & 
> Windows, the LibXML libraries are a potential deadfall.  In Windows, 
> especially under 32-bit, you have to do quite a lot of pissing about to 
> get LibXML to work with Perl at all  -  about a year or so ago I posted 
> here detailed instructions for installing and running GiP on Win XP, 
> previously assumed to be no longer possible, which covered that ground 
> and more  -  and even under Linux, if you try to configure and compile 
> the libraries manually, you may fail.  As many have suggested, in Linux 
> the easiest way is to install the relevant packages using apt-get or 
> whatever.
> 

I run GiP under XP 32 with no problem. iirc all that is needed is to 
replace ffmpeg with last XP compat version


___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: New distro.

2019-06-20 Thread David Cantrell
On Thu, Jun 20, 2019 at 12:49:10PM +0100, Jeremy Nicoll - ml gip wrote:

> When I used to run get_iplayer under Windows, I used to install the
> perl of my choice, then ran
> 
>  cpan cpanminus
> 
> to install 'cpanminus', then used that to install the perl modules
> that the g_ip documentation said I'd need.
> 
> A quick google suggests that under linux one might use one's distro's
> package manager (apt or whatever) to install perl, and cpan, but then
> just use cpan to install perl modules (apparently outwith the control
> of apt or whatever).
> 
> How is a perl user supposed to know whether to go to cpan/cpanminus
> route or expect their distro's package manager to deal with this?

Unless you know better, you should use the distribution's package
manager. This applies no matter what you're installing, whether it be
something written in perl, or in python, or it be a video game, or
anything else.

-- 
David Cantrell | A machine for turning tea into grumpiness

I caught myself pulling grey hairs out of my beard.
I'm definitely not going grey, but I am going vain.

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: New distro.

2019-06-20 Thread Charles Johnson

On 20/06/2019 12:22, Nick Payne wrote:

sudo add-apt-repository ppa:jon-hedgerows/get-iplayer


Best solution if you don't want to be solving dependency problems. 
Personally i find it better to use git to fetch the latest version and 
then solve them.


But ... why (someone must know) has gip disappeared from the main distro 
repositories?




___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: New distro.

2019-06-20 Thread Roger Bell_West
On Thu, Jun 20, 2019 at 12:49:10PM +0100, Jeremy Nicoll - ml gip wrote:
>How is a perl user supposed to know whether to go to cpan/cpanminus route or
>expect their distro's package manager to deal with this?

The standard approach is to use the system-packaged modules if they're
available, and build them oneself from CPAN if not.

If you're on a Debian-based system you should have access to
dh-make-perl, which is a short-cut for building Debian packages out of
CPAN modules. It's not pretty but it usually gets the job done.

R

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: New distro.

2019-06-20 Thread Jim web
In article <9e149f35-ac18-8321-525a-5fb0a4bec...@gmail.com>, Nick Payne
 wrote:

> But I still think the command line is easier:

FWIW for some items - gip and ffmpeg being the main examples - I prefer to
fetch and make/put them in my 'user' space, not as system installs. Makes
it easier for me to have multiple versions available for when behaviour
changes between versions.

Jim

-- 
Electronics  https://www.st-andrews.ac.uk/~www_pa/Scots_Guide/intro/electron.htm
Armstrong Audio  http://www.audiomisc.co.uk/Armstrong/armstrong.html
biog http://jcgl.orpheusweb.co.uk/history/ups_and_downs.html
Audio Misc  http://www.audiomisc.co.uk/index.html


___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: New distro.

2019-06-20 Thread MacFH - C E Macfarlane

Please see below ...

On 20/06/2019 12:49, Jeremy Nicoll - ml gip wrote:

On 2019-06-19 09:34, Jim Lesurf wrote:

I've just installed the current xfce mint long-term-support distro on my
main 'work' machine. Having transferred my own programs, data, etc, I 
find

that gip now doesn't work. This seems to be because at least some of the
relevant perl modules aren't installed by default.


When I used to run get_iplayer under Windows, I used to install the 
perl of

my choice, then ran

 cpan cpanminus

to install 'cpanminus', then used that to install the perl modules 
that the

g_ip documentation said I'd need.


A quick google suggests that under linux one might use one's distro's 
package
manager (apt or whatever) to install perl, and cpan, but then just use 
cpan
to install perl modules (apparently outwith the control of apt or 
whatever).


How is a perl user supposed to know whether to go to cpan/cpanminus 
route or

expect their distro's package manager to deal with this


I think we all have our methods, and I'm not convinced that mine or 
anyone else's is better than other possible methods, but in the 
confusion of suggestions, there is the possibility of important 
information being lost or obscured, which is that both under Linux & 
Windows, the LibXML libraries are a potential deadfall.  In Windows, 
especially under 32-bit, you have to do quite a lot of pissing about to 
get LibXML to work with Perl at all  -  about a year or so ago I posted 
here detailed instructions for installing and running GiP on Win XP, 
previously assumed to be no longer possible, which covered that ground 
and more  -  and even under Linux, if you try to configure and compile 
the libraries manually, you may fail.  As many have suggested, in Linux 
the easiest way is to install the relevant packages using apt-get or 
whatever.



___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: New distro.

2019-06-20 Thread Jeremy Nicoll - ml gip

On 2019-06-19 09:34, Jim Lesurf wrote:
I've just installed the current xfce mint long-term-support distro on 
my
main 'work' machine. Having transferred my own programs, data, etc, I 
find
that gip now doesn't work. This seems to be because at least some of 
the

relevant perl modules aren't installed by default.


When I used to run get_iplayer under Windows, I used to install the perl 
of

my choice, then ran

 cpan cpanminus

to install 'cpanminus', then used that to install the perl modules that 
the

g_ip documentation said I'd need.


A quick google suggests that under linux one might use one's distro's 
package
manager (apt or whatever) to install perl, and cpan, but then just use 
cpan
to install perl modules (apparently outwith the control of apt or 
whatever).


How is a perl user supposed to know whether to go to cpan/cpanminus 
route or

expect their distro's package manager to deal with this?


--
Jeremy Nicoll - my opinions are my own

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: New distro.

2019-06-20 Thread Nick Payne
On 20/06/2019 6:19 pm, Jim web wrote:
> In article , Nick Payne
>  wrote:
>> Using the PPA and apt will only install the needed dependencies. You're
>> far more likely to be "spraying things you don't actually need into your
>> install" by trying to do it manually. And apt will give you an exact
>> list of the additional packages that need to be installed to satisfy
>> dependencies.
> As I think I've said, I tend to use synaptic. I've assumed this *does*
> handle dependencies, etc. It certainly seems to from its interface reports.
>
> Is this wrong?

If you install get-iplayer via Synaptic and the PPA, you'll get the
current version and all the dependencies will be pulled in without you
having to figure which are required. Add the PPA in Synaptic (Settings /
Repositories / PPAs / Add / jon-hedgerows/get-iplayer), update, then
search for and install get-iplayer.

But I still think the command line is easier:

sudo add-apt-repository ppa:jon-hedgerows/get-iplayer
sudo apt-get update
sudo apt-get install get-iplayer




___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: New distro.

2019-06-20 Thread Jim web
In article , Nick Payne
 wrote:
> Using the PPA and apt will only install the needed dependencies. You're
> far more likely to be "spraying things you don't actually need into your
> install" by trying to do it manually. And apt will give you an exact
> list of the additional packages that need to be installed to satisfy
> dependencies.

As I think I've said, I tend to use synaptic. I've assumed this *does*
handle dependencies, etc. It certainly seems to from its interface reports.

Is this wrong?

Jim

-- 
Electronics  https://www.st-andrews.ac.uk/~www_pa/Scots_Guide/intro/electron.htm
Armstrong Audio  http://www.audiomisc.co.uk/Armstrong/armstrong.html
biog http://jcgl.orpheusweb.co.uk/history/ups_and_downs.html
Audio Misc  http://www.audiomisc.co.uk/index.html


___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: New distro.

2019-06-19 Thread Nick Payne
On 19/06/2019 10:38 pm, Jim web wrote:
> In article , Alan C.
> Foster  wrote:
>>> Install the PPA from here
>>>
>>>
>>> https://launchpad.net/~jon-hedgerows/+archive/ubuntu/get-iplayer
>>>
>>> I've been doing that in Linux Mint for years.  It gets updated
>>> automatically by the Mint update manager when appropriate.
>
>> Jim,
>> Why don't you follow this, it seems sensible?
> Well, simply following the first advice and adding the libxml2-dev package
> (the non -dev already being present) didn't work. So I'm trying to
> establish which packages I *do* need (or not). Partly so I understand,
> partly to avoid spraying things I don't actually need into my install in
> the hope they'll work.

Using the PPA and apt will only install the needed dependencies. You're
far more likely to be "spraying things you don't actually need into your
install" by trying to do it manually. And apt will give you an exact
list of the additional packages that need to be installed to satisfy
dependencies.

Nick


___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: New distro.

2019-06-19 Thread Jim web
In article <57c692e511...@audiomisc.co.uk>, Jim web

wrote:
> Well, simply following the first advice and adding the libxml2-dev
> package (the non -dev already being present) didn't work. So I'm trying
> to establish which packages I *do* need (or not). Partly so I
> understand, partly to avoid spraying things I don't actually need into
> my install in the hope they'll work.

Having experimented with getting gip working on another machine running the
new distro I can say that the only package I need in addition to those
installed by default by the distro is the libxml-libxml-perl. This is for
me to use gip via 'command line'. (Actually a simple 'ROX' program I wrote
that will launch a set of gip fetches given a text file list of their pids,
called by command.)

Thanks for the advice, etc. :-)

Jim

-- 
Electronics  https://www.st-andrews.ac.uk/~www_pa/Scots_Guide/intro/electron.htm
Armstrong Audio  http://www.audiomisc.co.uk/Armstrong/armstrong.html
biog http://jcgl.orpheusweb.co.uk/history/ups_and_downs.html
Audio Misc  http://www.audiomisc.co.uk/index.html


___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: New distro.

2019-06-19 Thread Jim web
In article , Alan C.
Foster  wrote:
> > Install the PPA from here
> >
> >
> > https://launchpad.net/~jon-hedgerows/+archive/ubuntu/get-iplayer
> >
> > I've been doing that in Linux Mint for years.  It gets updated
> > automatically by the Mint update manager when appropriate.


> Jim,

> Why don't you follow this, it seems sensible?

Well, simply following the first advice and adding the libxml2-dev package
(the non -dev already being present) didn't work. So I'm trying to
establish which packages I *do* need (or not). Partly so I understand,
partly to avoid spraying things I don't actually need into my install in
the hope they'll work.

However the list from the github... /unix page seems a good runner, so I'll
try that unless someone tells me it'll not work, and why.  :-)

(That said, I use gip by command line: Does that means I don't need *all*
the items the apt install listed? If so, which ones don't I need?)

It also means I can look to see if the same packages can be got via
synaptic as that's my usual way to install distro packs. I can note this
down for when I update my othe machines. (I'm migrating four from the old
distro to the new one.)

Thanks,

Jim

-- 
Electronics  https://www.st-andrews.ac.uk/~www_pa/Scots_Guide/intro/electron.htm
Armstrong Audio  http://www.audiomisc.co.uk/Armstrong/armstrong.html
biog http://jcgl.orpheusweb.co.uk/history/ups_and_downs.html
Audio Misc  http://www.audiomisc.co.uk/index.html


___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: New distro.

2019-06-19 Thread David Cantrell
On Wed, Jun 19, 2019 at 12:38:48PM +0100, Jim web wrote:

> Following up one of my own emails. I've looked at
> 
> https://github.com/get-iplayer/get_iplayer/wiki/unix
> 
> and that says:
> 
> "For example, to install the packages for get_iplayer in Debian 9+/Ubuntu
> 18.04+/Mint 19+:
> 
> apt install libwww-perl liblwp-protocol-https-perl libmojolicious-perl
> libxml-libxml-perl libcgi-pm-perl"
> 
> Before I try it, and to avoid needless addition of items I might not
> actually need yet get gip working again: Is the above apt install correct
> and should solve the problem? i.e. That's the list of packages I need?

It looks plausible. apt handles dependencies, so when you tell it to
install libxml-libxml-perl it will figure out that it needs libxml2-dev
etc

-- 
David Cantrell | Reality Engineer, Ministry of Information

Anyone willing to give up a little fun for tolerance deserves neither

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: New distro.

2019-06-19 Thread Alan C. Foster


On 19/06/2019 11:06, michael norman wrote:

On 19/06/2019 09:34, Jim Lesurf wrote:

I've just installed the current xfce mint long-term-support distro on my
main 'work' machine. Having transferred my own programs, data, etc, I 
find

that gip now doesn't work. This seems to be because at least some of the
relevant perl modules aren't installed by default. However I can't 
work out

which one(s) I need because the package names listed by synaptic I can't
relate to the specific items/locations gip lists as being awol.

The problem seems to be with "XML/libXML.pm"  - although it may well be
more than that. I can't tell as I know zip about perl.

Can someone please explain which packages I should install for gip to 
work

as usual?

Thanks,

Jim


Install the PPA from here


https://launchpad.net/~jon-hedgerows/+archive/ubuntu/get-iplayer

I've been doing that in Linux Mint for years.  It gets updated 
automatically by the Mint update manager when appropriate.



M



___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer



Jim,

Why don't you follow this, it seems sensible?


Alan


___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: New distro.

2019-06-19 Thread Jim web
Following up one of my own emails. I've looked at

https://github.com/get-iplayer/get_iplayer/wiki/unix

and that says:


"For example, to install the packages for get_iplayer in Debian 9+/Ubuntu
18.04+/Mint 19+:

apt install libwww-perl liblwp-protocol-https-perl libmojolicious-perl
libxml-libxml-perl libcgi-pm-perl"

Before I try it, and to avoid needless addition of items I might not
actually need yet get gip working again: Is the above apt install correct
and should solve the problem? i.e. That's the list of packages I need?

Jim

-- 
Electronics  https://www.st-andrews.ac.uk/~www_pa/Scots_Guide/intro/electron.htm
Armstrong Audio  http://www.audiomisc.co.uk/Armstrong/armstrong.html
biog http://jcgl.orpheusweb.co.uk/history/ups_and_downs.html
Audio Misc  http://www.audiomisc.co.uk/index.html


___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: New distro.

2019-06-19 Thread Jim web
In article <20190619103730.gb28...@bytemark.barnyard.co.uk>, David
Cantrell  wrote:

> libxml2 is a C library that the perl code wants to use. libxml2-dev is
> the headers for that C library so that the perl code knows how to link
> it.

> You'll need both of those in addition to the perl code.

OK. However I'm puzzled because so far as I recall I was able to install a
working version of gip in the past simply by doing something like a git,
etc, of gip, with no need to also fetch/add perl items. Has something
changed which means that can't now work? Were the 'missing' perl items
present by default in the earlier distros, but are now absent?

I have simply copied across my gip from the older install. So I can
understand I may have 'left behind' various other things it needs. But in
the past I can't recall having to add/install other things for it to work.

Is it no longer possible to simply git a version of gip and have that work
without quite seperately finding the perl items? Or is my memory simply
faulty? (No surprise if so! :-/ )

Jim

-- 
Electronics  https://www.st-andrews.ac.uk/~www_pa/Scots_Guide/intro/electron.htm
Armstrong Audio  http://www.audiomisc.co.uk/Armstrong/armstrong.html
biog http://jcgl.orpheusweb.co.uk/history/ups_and_downs.html
Audio Misc  http://www.audiomisc.co.uk/index.html


___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: New distro.

2019-06-19 Thread David Cantrell
On Wed, Jun 19, 2019 at 10:52:58AM +0100, Jim web wrote:
> In article , MacFH - C
> E
> Macfarlane  wrote:
> > AFAICR, LibXML is a dependency of XML::Simple, and, as you suggest, on
> > Ubuntu systems you install a module using apt-get.  I setup and
> > configure Ubuntu using a bash script, and its module list contains
> > libxml2 and libxml2-dev, so most probably they're the ones you need.
> 
> limxml2 was installed. 
> 
> I installed libxml2-dev as well, but, alas, it still doesn't work. :-/

libxml2 is a C library that the perl code wants to use.
libxml2-dev is the headers for that C library so that the perl code
knows how to link it.

You'll need both of those in addition to the perl code.

-- 
David Cantrell | Godless Liberal Elitist

EINE KIRCHE! EIN KREDO! EIN PAPST!

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: New distro.

2019-06-19 Thread michael norman

On 19/06/2019 09:34, Jim Lesurf wrote:

I've just installed the current xfce mint long-term-support distro on my
main 'work' machine. Having transferred my own programs, data, etc, I find
that gip now doesn't work. This seems to be because at least some of the
relevant perl modules aren't installed by default. However I can't work out
which one(s) I need because the package names listed by synaptic I can't
relate to the specific items/locations gip lists as being awol.

The problem seems to be with "XML/libXML.pm"  - although it may well be
more than that. I can't tell as I know zip about perl.

Can someone please explain which packages I should install for gip to work
as usual?

Thanks,

Jim


Install the PPA from here


https://launchpad.net/~jon-hedgerows/+archive/ubuntu/get-iplayer

I've been doing that in Linux Mint for years.  It gets updated 
automatically by the Mint update manager when appropriate.



M



___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: New distro.

2019-06-19 Thread Roger Bell_West
On Wed, Jun 19, 2019 at 10:52:58AM +0100, Jim web wrote:
>I installed libxml2-dev as well, but, alas, it still doesn't work. :-/

In my Debian system, LibXML.pm (note the capitalisation) is provided by
libxml-libxml-perl.

This is a dependency of libxml-simple-perl so should have been installed
automatically. How did you install XML::Simple?

Roger

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: New distro.

2019-06-19 Thread Geoff Smith
It's a while since I installed get_iPlayer on Mint 18, but I found this useful :
https://github.com/get-iplayer/get_iplayer/wiki/unix#perl-packaged

Geoff Smith

On 19/06/2019, Jim Lesurf  wrote:
> I've just installed the current xfce mint long-term-support distro on my
> main 'work' machine. Having transferred my own programs, data, etc, I find
> that gip now doesn't work. This seems to be because at least some of the
> relevant perl modules aren't installed by default. However I can't work out
> which one(s) I need because the package names listed by synaptic I can't
> relate to the specific items/locations gip lists as being awol.
>
> The problem seems to be with "XML/libXML.pm"  - although it may well be
> more than that. I can't tell as I know zip about perl.
>
> Can someone please explain which packages I should install for gip to work
> as usual?
>
> Thanks,
>
> Jim
>
> --
> Electronics
> https://www.st-andrews.ac.uk/~www_pa/Scots_Guide/intro/electron.htm
> Armstrong Audio  http://www.audiomisc.co.uk/Armstrong/armstrong.html
> biog http://jcgl.orpheusweb.co.uk/history/ups_and_downs.html
> Audio Misc  http://www.audiomisc.co.uk/index.html
>
>
> ___
> get_iplayer mailing list
> get_iplayer@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/get_iplayer
>

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: New distro.

2019-06-19 Thread Jim web
In article , MacFH - C
E
Macfarlane  wrote:
> AFAICR, LibXML is a dependency of XML::Simple, and, as you suggest, on
> Ubuntu systems you install a module using apt-get.  I setup and
> configure Ubuntu using a bash script, and its module list contains
> libxml2 and libxml2-dev, so most probably they're the ones you need.

limxml2 was installed. 

I installed libxml2-dev as well, but, alas, it still doesn't work. :-/

Jim

-- 
Electronics  https://www.st-andrews.ac.uk/~www_pa/Scots_Guide/intro/electron.htm
Armstrong Audio  http://www.audiomisc.co.uk/Armstrong/armstrong.html
biog http://jcgl.orpheusweb.co.uk/history/ups_and_downs.html
Audio Misc  http://www.audiomisc.co.uk/index.html


___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: New distro.

2019-06-19 Thread MacFH - C E Macfarlane

Hi Jim ...

On 19/06/2019 09:34, Jim Lesurf wrote:

I've just installed the current xfce mint long-term-support distro on my
main 'work' machine. Having transferred my own programs, data, etc, I find
that gip now doesn't work. This seems to be because at least some of the
relevant perl modules aren't installed by default. However I can't work out
which one(s) I need because the package names listed by synaptic I can't
relate to the specific items/locations gip lists as being awol.

The problem seems to be with "XML/libXML.pm"  - although it may well be
more than that. I can't tell as I know zip about perl.

Can someone please explain which packages I should install for gip to work
as usual?


I need various modules for Perl to run GiP, GetFlashVideos (doesn't work 
any more, use YouTube-Dl instead), and the W3c web page checking 
script.  The complete list I have been using is as follows, but it's 
been a long time since I used it last, so I don't know how up-to-date it 
is, and I've forgotten which modules relate to which requirement:


Authen::SASL
Compress::Zlib
Crypt::Rijndael
LWP
Module::Find
MP3::Info
MP3::Tag
Net::SMTP::SSL
Net::SMTP::TLS
Net::SMTP::TLS::ButMaintained
Term::ProgressBar
WWW::Mechanize
XML::Simple
Data::AMF

AFAICR, LibXML is a dependency of XML::Simple, and, as you suggest, on 
Ubuntu systems you install a module using apt-get.  I setup and 
configure Ubuntu using a bash script, and its module list contains 
libxml2 and libxml2-dev, so most probably they're the ones you need.


HTHs

Charles.


___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


New distro.

2019-06-19 Thread Jim Lesurf
I've just installed the current xfce mint long-term-support distro on my
main 'work' machine. Having transferred my own programs, data, etc, I find
that gip now doesn't work. This seems to be because at least some of the
relevant perl modules aren't installed by default. However I can't work out
which one(s) I need because the package names listed by synaptic I can't
relate to the specific items/locations gip lists as being awol.

The problem seems to be with "XML/libXML.pm"  - although it may well be
more than that. I can't tell as I know zip about perl.

Can someone please explain which packages I should install for gip to work
as usual?

Thanks,

Jim

-- 
Electronics  https://www.st-andrews.ac.uk/~www_pa/Scots_Guide/intro/electron.htm
Armstrong Audio  http://www.audiomisc.co.uk/Armstrong/armstrong.html
biog http://jcgl.orpheusweb.co.uk/history/ups_and_downs.html
Audio Misc  http://www.audiomisc.co.uk/index.html


___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer