Re: Subtitles Unusually Not Available.

2022-09-30 Thread Mark Carroll
On 30 Sep 2022, Ralph Corderoy wrote:
(snip)
>> > As I said, I've made the effort to tell the BBC of the problem.
>> > They have already emailed me a ‘case number’ from their ticketing
>> > system.
>
> Just an update... the BBC say this is now fixed and it appears so.

Great! Thank you for putting in the more effort than it should have
been. (-:

-- Mark

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


Re: Subtitles Unusually Not Available.

2022-09-30 Thread Ralph Corderoy
Hi,

> > As I said, I've made the effort to tell the BBC of the problem.
> > They have already emailed me a ‘case number’ from their ticketing
> > system.

Just an update... the BBC say this is now fixed and it appears so.

-- 
Cheers, Ralph.

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


Re: Subtitles Unusually Not Available.

2022-09-26 Thread David Taylor

On 26/09/2022 12:07, Ralph Corderoy wrote:

I'm unclear how what I wrote can be misinterpreted, but I'm happy to
be told.  😄

As I said, I've made the effort to tell the BBC of the problem.  They have
already emailed me a ‘case number’ from their ticketing system.


My apologies, Ralph.  I read it that you'd lied about the e-mail address as
well!  I may have done the same!

Cheers,
David
--
SatSignal Software - Quality software for you
Web: https://www.satsignal.eu
Email: david-tay...@blueyonder.co.uk
Twitter: @gm8arv


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


Re: Subtitles Unusually Not Available.

2022-09-26 Thread Ralph Corderoy
Hi David,

> > I've now finished spending fifteen minutes finding a means of
> > filling in a ‘Contact Us [if you're a masochist]’ form, lying about
> > the mandatory phone number, verifying the email address, etc.
>
> So you won't get an e-mail reply, and you will need to keep polling
> the Web site.

I'm unclear how what I wrote can be misinterpreted, but I'm happy to
be told.  :-)

As I said, I've made the effort to tell the BBC of the problem.  They have
already emailed me a ‘case number’ from their ticketing system.

-- 
Cheers, Ralph.

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


Re: Subtitles Unusually Not Available.

2022-09-26 Thread fred.d

Ralph

As a Grumpy old man one of my pet hates are these contact forms, 
especially when you are trying to help or if its technical you've 
already tried most things before you "write in".


That said, working in IT service I've seen the garbage that can come in 
on an internal service desk. So on a public facing one trying to qualify 
the issue and get people to self help really does focus the resource 
where it is actually needed. Hopefully that doesn't mean they then 
reduce the resource, but it's the real world we live in.



On 26/09/2022 09:28, Ralph Corderoy wrote:

Hi Mark,


It's probably a ‘Beeb problem’, as you say.

In some of these cases of technical iPlayer slips/omissions,
e-mailing the BBC gets them fixed fairly promptly.

I did try emailing an old address I had for them but it auto-replied
with a ‘We don't listen here any more’.

I've now finished spending fifteen minutes finding a means of filling in
a ‘Contact Us [if you're a masochist]’ form, lying about the mandatory
phone number, verifying the email address, etc.



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


Re: Subtitles Unusually Not Available.

2022-09-26 Thread David Taylor

On 26/09/2022 09:28, Ralph Corderoy wrote:

I've now finished spending fifteen minutes finding a means of filling in
a ‘Contact Us [if you're a masochist]’ form, lying about the mandatory
phone number, verifying the email address, etc.


So you won't get an e-mail reply, and you will need to keep polling the Web 
site.

Your choice, not mine, though.  I've found them quite helpful.

David
--
SatSignal Software - Quality software for you
Web: https://www.satsignal.eu
Email: david-tay...@blueyonder.co.uk
Twitter: @gm8arv


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


Re: Subtitles Unusually Not Available.

2022-09-26 Thread Ralph Corderoy
Hi Mark,

> > It's probably a ‘Beeb problem’, as you say.
>
> In some of these cases of technical iPlayer slips/omissions,
> e-mailing the BBC gets them fixed fairly promptly.

I did try emailing an old address I had for them but it auto-replied
with a ‘We don't listen here any more’.

I've now finished spending fifteen minutes finding a means of filling in
a ‘Contact Us [if you're a masochist]’ form, lying about the mandatory
phone number, verifying the email address, etc.

-- 
Cheers, Ralph.

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


Re: Subtitles Unusually Not Available.

2022-09-25 Thread Mark Carroll
On 25 Sep 2022, Ralph Corderoy wrote:

> It's probably a ‘Beeb problem’, as you say.

In some of these cases of technical iPlayer slips/omissions,
e-mailing the BBC gets them fixed fairly promptly.

-- Mark

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


Re: Subtitles Unusually Not Available.

2022-09-25 Thread Ralph Corderoy
Hi Chris,

> INFO: Skipping 'iplayer' version
>
> It would seem to be a Beeb problem and not something you're doing, or
> not doing ;-)

Thanks.  I notice that
https://www.bbc.co.uk/iplayer/episode/m001b8js/beechgrove-2022-episode-20
says

   ‘We have removed the feature on the spindle bush which can be harmful
to dogs if consumed in quantity.  We do not advise planting in an
area that is accessed by dogs who are unsupervised.’

Perhaps the editing of the programme means the normal ‘iplayer’ version
of the subtitles, which is the only remaining version in the default
list for which a check is done, isn't available but some other version
is, one which isn't in get_iplayer's list of versions.

Though if I play the programme on the iPlayer site, no subtitles appear
and I don't see a way to turn them on but then playing in the browser is
not normally something I do.

It's probably a ‘Beeb problem’, as you say.

-- 
Cheers, Ralph.

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


Re: Subtitles Unusually Not Available.

2022-09-25 Thread Chris Walker
On Sun, 2022-09-25 at 10:42 +0100, Ralph Corderoy wrote:
> Hi,
> 
> Can anyone successfully obtain the subtitles for PID m001b8js?
> They're normally available for that series but this one episode lacks
> them AFAICS and I want to check it's not something I'm doing wrong.
> 

>     INFO: Subtitles not available for version(s): iplayer

get_iplayer -g --pid=m001b8js --subtitles-required

Episodes:
Beechgrove - 2022, Episode 20, BBC Scotland, m001b8js
INFO: 1 total programmes

WARNING: A UK TV licence is required to access BBC iPlayer TV content
legally
INFO: Downloading tv: 'Beechgrove: 2022 - 20. Episode 20 (m001b8js)
[iplayer]'
WARNING: Subtitles not available and --subtitles-required specified.
INFO: Skipping 'iplayer' version

It would seem to be a Beeb problem and not something you're doing, or
not doing ;-)

-- 
 __ __| |_ __ __  ..
/ _/ _` \ V  V /  |  mailto:cdw_pcm...@the-walker-household.co.uk  |
\__\__,_|\_/\_/   ||

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


Subtitles Unusually Not Available.

2022-09-25 Thread Ralph Corderoy
Hi,

Can anyone successfully obtain the subtitles for PID m001b8js?
They're normally available for that series but this one episode lacks
them AFAICS and I want to check it's not something I'm doing wrong.

...
INFO: No streams available for 'signed' version (m001bgtm) - skipping
INFO: No media streams found for 'original' version (m001b8jr) - deleting
INFO: No media streams found for 'signed' version (m001bgtm) - deleting
INFO: Processing tv: 'Beechgrove: 2022 - 20. Episode 20 (m001b8js)'
INFO: Searching for versions: iplayer
INFO: Subtitles not available for version(s): iplayer

-- 
Cheers, Ralph.

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


Re: Mock the Week subtitles

2020-12-13 Thread Chris Walker
On Sun, 13 Dec 2020 09:45:58 +
Chris Walker  wrote:

> All I have to do now is decide whether it's worthwhile trying to fix
> the problem with a program suggested to me by Fred F called Subtitle
> Edit - https://www.nikse.dk/SubtitleEdit/ - or simply not use
> subtitles on that programme.

Or of course, I could just read the docs and add an offset as provided
by the GiP software. It always pays to RTFM!

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


Re: Mock the Week subtitles

2020-12-13 Thread Chris Walker
On Fri, 11 Dec 2020 10:41:28 +
Chris Walker  wrote:

> I've set the GiP preferences to always download subtitles. They all
> work quite well apart from Mock the Week. The subtitles are
> consistently 12 seconds out.
> 
> I can't think how GiP could get this wrong so is it the Beeb, GiP or
> Kodi on a Pi which is what I use to playback the mp4 file?

I've had a couple of private replies to this and it doesn't seem to be
GiP related or Kodi as it happens on different hardware and different
programmes as well so I'm happy to close this one.

All I have to do now is decide whether it's worthwhile trying to fix
the problem with a program suggested to me by Fred F called Subtitle
Edit - https://www.nikse.dk/SubtitleEdit/ - or simply not use subtitles
on that programme.

Thanks to Fred F and Peter Scott for replying to me.

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


Mock the Week subtitles

2020-12-11 Thread Chris Walker
I've set the GiP preferences to always download subtitles. They all work
quite well apart from Mock the Week. The subtitles are consistently 12
seconds out.

I can't think how GiP could get this wrong so is it the Beeb, GiP or
Kodi on a Pi which is what I use to playback the mp4 file?

-- 
 __ __| |_ __ __  ..
/ _/ _` \ V  V /  |  mailto:cdw_pcm...@the-walker-household.co.uk  |
\__\__,_|\_/\_/   ||


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


Re: Subtitles only, not the whole file

2020-07-28 Thread Chris Walker
On Tue, 2020-07-28 at 13:35 +0200, Dave Widgery wrote:
> If you are using the --force to override because you have already
> downloaded the program once, you could try editing the
> download_history file and remove the entry, then you wouldn't need to
> use the --force when you run the command.
> 
> Dave

I downloaded the file when it was first broadcast, some months ago and
have in the past edited the history file but it seems sledgehammer and
nut though when there ought to be a better way i.e. for GiP to respect
the subtitles-only request. IMHO of course ;-)

> On Tue, 28 Jul 2020 at 11:31, Chris Walker
>  wrote:
> > 
> > This morning I wanted the subtitles only for Thailand: Earth's
> > Tropical
> > Paradise and so set up a pvr-queue request. This is it :-
> > get_iplayer --pvr-queue --pid=b087vgd6 --subtitles-only --force
> > 
> > It seems that the --force instruction overrides the --subtitles-only
> > command. Is there any way this can be avoided?
> > 
> > --
> >  __ __| |_ __ __  ..
> > / _/ _` \ V  V /  |  mailto:cdw_pcm...@the-walker-household.co.uk  |
> > \__\__,_|\_/\_/   ||
> > 
> > 
> > ___
> > 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
-- 
 __ __| |_ __ __  ..
/ _/ _` \ V  V /  |  mailto:cdw_pcm...@the-walker-household.co.uk  |
\__\__,_|\_/\_/   ||


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


Re: Subtitles only, not the whole file

2020-07-28 Thread Dave Widgery
If you are using the --force to override because you have already
downloaded the program once, you could try editing the
download_history file and remove the entry, then you wouldn't need to
use the --force when you run the command.

Dave

On Tue, 28 Jul 2020 at 11:31, Chris Walker
 wrote:
>
> This morning I wanted the subtitles only for Thailand: Earth's Tropical
> Paradise and so set up a pvr-queue request. This is it :-
> get_iplayer --pvr-queue --pid=b087vgd6 --subtitles-only --force
>
> It seems that the --force instruction overrides the --subtitles-only
> command. Is there any way this can be avoided?
>
> --
>  __ __| |_ __ __  ..
> / _/ _` \ V  V /  |  mailto:cdw_pcm...@the-walker-household.co.uk  |
> \__\__,_|\_/\_/   ||
>
>
> ___
> 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


Subtitles only, not the whole file

2020-07-28 Thread Chris Walker
This morning I wanted the subtitles only for Thailand: Earth's Tropical
Paradise and so set up a pvr-queue request. This is it :-
get_iplayer --pvr-queue --pid=b087vgd6 --subtitles-only --force

It seems that the --force instruction overrides the --subtitles-only
command. Is there any way this can be avoided?

-- 
 __ __| |_ __ __  ..
/ _/ _` \ V  V /  |  mailto:cdw_pcm...@the-walker-household.co.uk  |
\__\__,_|\_/\_/   ||


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


Re: Subtitles

2019-07-18 Thread Paul Thornett
Reinstalling has made no difference.

Are you creating .ts video files with GIP, or are they in some other format?

I get messages like
   ERROR: Failed to download URL (3/3):
https://vod-dash-uk-live.akamaized.net/usp/auth/vod/piff_abr_full_hd/d89780-m0006phw/vf_m0006phw_73d7ce8d-4ebe-44a7-bb45-b2d36bce1623.ism/pc_hd_abr_v2_dash_master.mpd?__gda__=1563537207_dec196387f680c092028f90e5c89f677
ERROR: Response: 403 Forbidden
ERROR: Access to this resource was blocked by the BBC

and
   ERROR: Failed to download URL (3/3):
https://vod-sub-uk-live.akamaized.net/iplayer/subtitles/ng/modav/bUnknown-baf219cc-273c-42bc-bcbf-70539b2609d8_m0006phw_pips-pid-m0006phw_15624
30100569.xml?__gda__=1563537201_989c81efe06ae48817ec7f9a9dc46364
ERROR: Response: 500 Can't connect to
vod-sub-uk-live.akamaized.net:443 (A connection attempt failed because
the connected party did not properly respond after a period of time,
or
 established connection failed because connected host has failed to respond.)

Regards,

Paul Thornett

On Fri, 19 Jul 2019 at 15:32, Paul Thornett  wrote:
>
> Many thanks for your response. I am using the latest version (3.21).
>
> I wonder why I'm having problems. I'll try an uninstall followed by a 
> reinstall.
>
> Regards,
>
> Paul Thornett
>
> On Fri, 19 Jul 2019 at 15:21, artisticforge Niemand
>  wrote:
> >
> > Hello
> >
> > You did not mention which version of gip that you are using.
> >
> > I am using gip-3.18, debian linux distribution..
> >
> > I have downloaded the Chasing The Moon series without any issues.
> > all subtitles downloaded without an issue.
> >
> > .get_iplayer/options file containsatomicparsley /usr/bin/AtomicParsley
> > ffmpeg /usr/local/bin/ffmpeg
> > fileprefix  -   
> > future 1
> > modes best
> > nopurge 1
> > radiomode best
> > refreshfuture 1
> > subdir 1
> > subtitles 1
> > tag_formattitle : 
> > tag_isodate 1
> > thumb 1
> > thumbsize 640
> > tvmode best
> > verbose 1
> > versionlist 
> > default,original,editorial,iplayer,pre-watershed,pre-watershed2,opensubtitles
> >
> > commndline options --tag-isodate --verbose --mode=best --type=tv --pid=
> >
> > Output files
> > -rw-r--r-- 1 uid gid  33659 Jul 18 07:43
> > Chasing_the_Moon_Series_1_-_01._A_Place_Beyond_the_Sky_Part_One_m0006vrs_original.jpg
> > -rw-r--r-- 1 uid gid 1802752681 Jul 18 07:43
> > Chasing_the_Moon_Series_1_-_01._A_Place_Beyond_the_Sky_Part_One_m0006vrs_original.mp4
> > -rw-r--r-- 1 uid gid  83843 Jul 18 07:43
> > Chasing_the_Moon_Series_1_-_01._A_Place_Beyond_the_Sky_Part_One_m0006vrs_original.srt
> > -rw-r--r-- 1 uid gid  34295 Jul 18 10:35
> > Chasing_the_Moon_Series_1_-_02._A_Place_Beyond_the_Sky_Part_Two_m0006vrv_original.jpg
> > -rw-r--r-- 1 uid gid 1787912777 Jul 18 10:35
> > Chasing_the_Moon_Series_1_-_02._A_Place_Beyond_the_Sky_Part_Two_m0006vrv_original.mp4
> > -rw-r--r-- 1 uid gid  91504 Jul 18 10:35
> > Chasing_the_Moon_Series_1_-_02._A_Place_Beyond_the_Sky_Part_Two_m0006vrv_original.srt
> >
> > On Fri, Jul 19, 2019 at 12:05 AM Paul Thornett  wrote:
> > >
> > > I posted a description of a problem I'm experiencing with all
> > > subtitles using GIP at the moment. I'd appreciate it if someone could
> > > download a recent programme using all the options I listed, thern let
> > > me know if you got the subtitle correctly.
> > >
> > > Many thanks.
> > >
> > > Regards,
> > >
> > > Paul Thornett
> > >
> > > ___
> > > get_iplayer mailing list
> > > get_iplayer@lists.infradead.org
> > > http://lists.infradead.org/mailman/listinfo/get_iplayer
> >
> >
> >
> > --
> > terry l. ridder ><>

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


Re: Subtitles

2019-07-18 Thread Paul Thornett
Many thanks for your response. I am using the latest version (3.21).

I wonder why I'm having problems. I'll try an uninstall followed by a reinstall.

Regards,

Paul Thornett

On Fri, 19 Jul 2019 at 15:21, artisticforge Niemand
 wrote:
>
> Hello
>
> You did not mention which version of gip that you are using.
>
> I am using gip-3.18, debian linux distribution..
>
> I have downloaded the Chasing The Moon series without any issues.
> all subtitles downloaded without an issue.
>
> .get_iplayer/options file containsatomicparsley /usr/bin/AtomicParsley
> ffmpeg /usr/local/bin/ffmpeg
> fileprefix  -   
> future 1
> modes best
> nopurge 1
> radiomode best
> refreshfuture 1
> subdir 1
> subtitles 1
> tag_formattitle : 
> tag_isodate 1
> thumb 1
> thumbsize 640
> tvmode best
> verbose 1
> versionlist 
> default,original,editorial,iplayer,pre-watershed,pre-watershed2,opensubtitles
>
> commndline options --tag-isodate --verbose --mode=best --type=tv --pid=
>
> Output files
> -rw-r--r-- 1 uid gid  33659 Jul 18 07:43
> Chasing_the_Moon_Series_1_-_01._A_Place_Beyond_the_Sky_Part_One_m0006vrs_original.jpg
> -rw-r--r-- 1 uid gid 1802752681 Jul 18 07:43
> Chasing_the_Moon_Series_1_-_01._A_Place_Beyond_the_Sky_Part_One_m0006vrs_original.mp4
> -rw-r--r-- 1 uid gid  83843 Jul 18 07:43
> Chasing_the_Moon_Series_1_-_01._A_Place_Beyond_the_Sky_Part_One_m0006vrs_original.srt
> -rw-r--r-- 1 uid gid  34295 Jul 18 10:35
> Chasing_the_Moon_Series_1_-_02._A_Place_Beyond_the_Sky_Part_Two_m0006vrv_original.jpg
> -rw-r--r-- 1 uid gid 1787912777 Jul 18 10:35
> Chasing_the_Moon_Series_1_-_02._A_Place_Beyond_the_Sky_Part_Two_m0006vrv_original.mp4
> -rw-r--r-- 1 uid gid  91504 Jul 18 10:35
> Chasing_the_Moon_Series_1_-_02._A_Place_Beyond_the_Sky_Part_Two_m0006vrv_original.srt
>
> On Fri, Jul 19, 2019 at 12:05 AM Paul Thornett  wrote:
> >
> > I posted a description of a problem I'm experiencing with all
> > subtitles using GIP at the moment. I'd appreciate it if someone could
> > download a recent programme using all the options I listed, thern let
> > me know if you got the subtitle correctly.
> >
> > Many thanks.
> >
> > Regards,
> >
> > Paul Thornett
> >
> > ___
> > get_iplayer mailing list
> > get_iplayer@lists.infradead.org
> > http://lists.infradead.org/mailman/listinfo/get_iplayer
>
>
>
> --
> terry l. ridder ><>

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


Re: Subtitles

2019-07-18 Thread artisticforge Niemand
Hello

You did not mention which version of gip that you are using.

I am using gip-3.18, debian linux distribution..

I have downloaded the Chasing The Moon series without any issues.
all subtitles downloaded without an issue.

.get_iplayer/options file containsatomicparsley /usr/bin/AtomicParsley
ffmpeg /usr/local/bin/ffmpeg
fileprefix  -   
future 1
modes best
nopurge 1
radiomode best
refreshfuture 1
subdir 1
subtitles 1
tag_formattitle : 
tag_isodate 1
thumb 1
thumbsize 640
tvmode best
verbose 1
versionlist 
default,original,editorial,iplayer,pre-watershed,pre-watershed2,opensubtitles

commndline options --tag-isodate --verbose --mode=best --type=tv --pid=

Output files
-rw-r--r-- 1 uid gid  33659 Jul 18 07:43
Chasing_the_Moon_Series_1_-_01._A_Place_Beyond_the_Sky_Part_One_m0006vrs_original.jpg
-rw-r--r-- 1 uid gid 1802752681 Jul 18 07:43
Chasing_the_Moon_Series_1_-_01._A_Place_Beyond_the_Sky_Part_One_m0006vrs_original.mp4
-rw-r--r-- 1 uid gid  83843 Jul 18 07:43
Chasing_the_Moon_Series_1_-_01._A_Place_Beyond_the_Sky_Part_One_m0006vrs_original.srt
-rw-r--r-- 1 uid gid  34295 Jul 18 10:35
Chasing_the_Moon_Series_1_-_02._A_Place_Beyond_the_Sky_Part_Two_m0006vrv_original.jpg
-rw-r--r-- 1 uid gid 1787912777 Jul 18 10:35
Chasing_the_Moon_Series_1_-_02._A_Place_Beyond_the_Sky_Part_Two_m0006vrv_original.mp4
-rw-r--r-- 1 uid gid  91504 Jul 18 10:35
Chasing_the_Moon_Series_1_-_02._A_Place_Beyond_the_Sky_Part_Two_m0006vrv_original.srt

On Fri, Jul 19, 2019 at 12:05 AM Paul Thornett  wrote:
>
> I posted a description of a problem I'm experiencing with all
> subtitles using GIP at the moment. I'd appreciate it if someone could
> download a recent programme using all the options I listed, thern let
> me know if you got the subtitle correctly.
>
> Many thanks.
>
> Regards,
>
> Paul Thornett
>
> ___
> get_iplayer mailing list
> get_iplayer@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/get_iplayer



-- 
terry l. ridder ><>

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


Subtitles

2019-07-18 Thread Paul Thornett
I posted a description of a problem I'm experiencing with all
subtitles using GIP at the moment. I'd appreciate it if someone could
download a recent programme using all the options I listed, thern let
me know if you got the subtitle correctly.

Many thanks.

Regards,

Paul Thornett

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


Subtitles

2019-07-17 Thread Paul Thornett
My gip options are as follows:
   Options from Files
  radiomode = best
  subsmono = 1
  subtitles = 1
  tvmode = dvfsd,dvfxsd

   Options Used
  encodingconsolein = cp850
  encodingconsoleout = cp850
  encodinglocale = cp1252
  encodinglocalefs = cp1252

As of around 2 weeks or so, I no longer get any subtitles.

Today I selected a recently braodcast programme and downloaded it:
   Chasing the Moon: Series 1 - A Place Beyond the Sky (Part Two), BBC
Four, m0006vrv

During the download, two 0-length files appeared in my target folder:
   
Chasing_the_Moon_Series_1_-_02._A_Place_Beyond_the_Sky_Part_Two_m0006vrv_original.audio.m4a
   
Chasing_the_Moon_Series_1_-_02._A_Place_Beyond_the_Sky_Part_Two_m0006vrv_original.audio

After the audio component download:
   the .m4a file was 44.3MB
   the .audio file disappeared
   2 new files of zero length appeared:
  
Chasing_the_Moon_Series_1_-_02._A_Place_Beyond_the_Sky_Part_Two_m0006vrv_original.video.m4v
  
Chasing_the_Moon_Series_1_-_02._A_Place_Beyond_the_Sky_Part_Two_m0006vrv_original.video.txt

After the video component download:
   All files previously named have disappeared
   
Chasing_the_Moon_Series_1_-_02._A_Place_Beyond_the_Sky_Part_Two_m0006vrv_original.mp4
now exists (970MB), comprising video and audio

In my GIP terminal window the following lines appear:
   INFO: Downloading tv: 
   INFO: Downloaded: 46.49MB  [audio]
   INFO: Downloaded: 969.23MB ... [video]
   INFO: Converting to MPEG-TS
   INFO: Converting to MP4
   INFO: Tagging MP4
   INFO: Downloading subtitles [original]
   Terminating on signal SIGINT(2)

It looks to me as if the attempt to download subtitles has failed.

Any ideas please?

Regards,

Paul Thornett

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


Re: Downloading Subtitles

2018-10-08 Thread RS

On 08/10/18 10:22, I wrote:



That is not quite the whole story.  There were a few programmes whose 
subtitle XML files (TTML?) were corrupt.  They included some NUL 
characters and, I am told, NUL is not a valid character in XML.


The code was changed to ignore NUL characters.  As an additional measure 
downloading of subtitles was delayed until the end to reduce the risk 
that errors in subtitles could cause the whole download to fail.




I haven't got it quite right either.  The 3.07 release notes say,

"Fixed a bug that caused get_iplayer to exit (and skip metadata tagging) 
when corrupt subtitles were provided by the BBC. Corrupt subtitles will 
now generate an error message, but get_iplayer will not exit. As an 
extra precaution, subtitles download now occurs after tagging is complete."


They also say,

"Subtitles are now trimmed according to --start and --stop, if 
specified. The actual subtitles start and/or stop times are calculated 
to the nearest chunk boundary in the HLS or DASH stream. The value of 
--suboffset is still applied. This trimming is not supported for 
--subtitles-only. You can use --subtitles-only to re-download the full 
subtitles for a programme if desired. (@notnac)"


I am guessing, but it is possible that a change in download order was 
needed to implement that.


The 3.09 release notes say,

"Null characters are now removed from subtitles before processing. This 
should prevent at least some problems caused by corrupt subtitle files. 
(@notnac)"


Best wishes
Richard



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


Re: Downloading Subtitles

2018-10-08 Thread CJB
Thank Alan and everyone else.

This did it

get_iplayer --subtitles-only --pid b0bkvw2l

Huh - never could get used to the Ozzie accent!!!

Cheers - Chris B.

On 08/10/2018, Alan Milewczyk  wrote:
> On 08/10/2018 00:32, Alan Milewczyk wrote:
>> On 08/10/2018 00:05, CJB wrote:
>>> Please - is there a way of downloading subtitles after the respective
>>> video file has been downloaded? The latter file is a large one and I
>>> don't wont to download it again. But trying to watch the video the
>>> sound is not clear. The pid is b0bkvw2l BTW. Many thanks. Chris B.
>>>
>>> ___
>>> get_iplayer mailing list
>>> get_iplayer@lists.infradead.org
>>> http://lists.infradead.org/mailman/listinfo/get_iplayer
>>>
>> |The following will do the job: get_iplayer --subtitles-only |pid
>> b0bkvw2l
>>
>
> Don't know what happened there. it should have read:
> get_iplayer --subtitles-only --pid b0bkvw2l
>
> A
>
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
>
>
> ___
> 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: Downloading Subtitles

2018-10-08 Thread RS

On 08/10/18 03:02, Vangelis forthnet wrote:

On Mon Oct 8 00:18:40 BST 2018, Peter S Kirk wrote:


Until recently, subtitles were downloaded first
thus get_i pvr could be stopped once done.

Now they are downloaded after video. Why?


... Because the powers that be (i.e. the one and only
person still maintaining the code of GiP) decreed so:

https://github.com/get-iplayer/get_iplayer/commit/35d8e7b4d23815b85937727868bd9364ae829f0a 



The logic behind that change appears to be

# Get subtitles if they exist and are required and media download 
succeeded


i.e. the author ASSUMES you wouldn't want the subs
(only) if the actual media download failed...

The status quo ante was:


# Get subtitles if they exist and are required
# best to do this before streaming file so that the subtitles can be 
enjoyed while recording progresses




Hi Vangelis

That is not quite the whole story.  There were a few programmes whose 
subtitle XML files (TTML?) were corrupt.  They included some NUL 
characters and, I am told, NUL is not a valid character in XML.


The code was changed to ignore NUL characters.  As an additional measure 
downloading of subtitles was delayed until the end to reduce the risk 
that errors in subtitles could cause the whole download to fail.


Best wishes
Richard


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


Re: Downloading Subtitles

2018-10-08 Thread RS

From: chrisjbr...@gmail.com
Sent: 8 October 2018 00:05
To: get_iplayer@lists.infradead.org
Subject: Downloading Subtitles

Please - is there a way of downloading subtitles after the respective
video file has been downloaded? The latter file is a large one and I
don't wont to download it again. But trying to watch the video the
sound is not clear. The pid is b0bkvw2l BTW. Many thanks. Chris B.


Try
--subtitles-only

See
https://github.com/get-iplayer/get_iplayer/wiki/subtitles



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


Re: Downloading Subtitles

2018-10-07 Thread Mark Carroll
On 08 Oct 2018, Alan Milewczyk wrote:

> Don't know what happened there. it should have read:
> get_iplayer --subtitles-only --pid b0bkvw2l

That's how I do it -- just yesterday afternoon in fact. Took me a while
because I forgot to check --long-help which is off where the option is
hiding.

-- Mark

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


Re: Downloading Subtitles

2018-10-07 Thread Alan Milewczyk

On 08/10/2018 00:32, Alan Milewczyk wrote:

On 08/10/2018 00:05, CJB wrote:

Please - is there a way of downloading subtitles after the respective
video file has been downloaded? The latter file is a large one and I
don't wont to download it again. But trying to watch the video the
sound is not clear. The pid is b0bkvw2l BTW. Many thanks. Chris B.

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

|The following will do the job: get_iplayer --subtitles-only |pid 
b0bkvw2l




Don't know what happened there. it should have read:
get_iplayer --subtitles-only --pid b0bkvw2l

A

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


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


Re: Downloading Subtitles

2018-10-07 Thread Vangelis forthnet

On Mon, 8 Oct 2018 00:24:29 BST, Ray Penn wrote:


I always used to make use of the
--subsonly
option.
Does that still work?


On Mon, Oct 8 00:41:00 BST 2018, J K.Eason wrote:


but there's no mention of --subsonly
on the page I linked to. I assume
it's been superseded by
--subtitles-only.


According to

https://github.com/get-iplayer/get_iplayer/blob/57ac0a5b92c926277d53d591e0d46659321583e2/get_iplayer#L144

--subsonly should still be valid!

(As should be

--subtitlesonly
--subs-only )

Best regards,
V. 



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


Re: Downloading Subtitles

2018-10-07 Thread Vangelis forthnet

On Mon Oct 8 00:18:40 BST 2018, Peter S Kirk wrote:


Until recently, subtitles were downloaded first
thus get_i pvr could be stopped once done.

Now they are downloaded after video. Why?


... Because the powers that be (i.e. the one and only
person still maintaining the code of GiP) decreed so:

https://github.com/get-iplayer/get_iplayer/commit/35d8e7b4d23815b85937727868bd9364ae829f0a

The logic behind that change appears to be

# Get subtitles if they exist and are required and media download 
succeeded


i.e. the author ASSUMES you wouldn't want the subs
(only) if the actual media download failed...

The status quo ante was:


# Get subtitles if they exist and are required
# best to do this before streaming file so that the subtitles can be 
enjoyed while recording progresses


In any case, even back when the subs were fetched
before media download completion, they still had
the ".partial.srt" suffix and that was only removed
when the video itself was fully dumped to file...

And it wasn't a "recent"change, 't was more than a year ago...
(... I couldn't help noticing the comment
to the aforelinked commit:

https://github.com/get-iplayer/get_iplayer/commit/35d8e7b4d23815b85937727868bd9364ae829f0a#commitcomment-25039704

which, of course, remains unanswered to this day...)

Best regards,
Vangelis. 



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


Re: Downloading Subtitles

2018-10-07 Thread J K.Eason
I've never actually used subtitles, but there's no mention of --subsonly
on the page I linked to. I assume it's been superseded by
--subtitles-only.
Actually the link at
https://github.com/get-iplayer/get_iplayer/wiki/subtitles#examples
takes you straight to the Example section of that page. I posted the
wrong link in my first message although it does go to the correct page.

In case anyone wants to know how to actually use a separate subtitle
(.srt) file, the instructions for using one (in VLC) are here:
http://www.tomsguide.com/faq/id-1892893/srt-file-vlc-player.html

> *From:* Ray Penn 
> *To:* m...@john-eason.co.uk
> *Date:* Mon, 8 Oct 2018 00:24:29 +0100
> 
> I always used to make use of the
> 
> --subsonly
> 
> option.
> 
> Does that still work?

-- 
Regards
   John

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


Re: Downloading Subtitles

2018-10-07 Thread Alan Milewczyk

On 08/10/2018 00:05, CJB wrote:

Please - is there a way of downloading subtitles after the respective
video file has been downloaded? The latter file is a large one and I
don't wont to download it again. But trying to watch the video the
sound is not clear. The pid is b0bkvw2l BTW. Many thanks. Chris B.

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


|The following will do the job: get_iplayer --subtitles-only |pid b0bkvw2l

Regards


A


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


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


Re: Downloading Subtitles

2018-10-07 Thread J K.Eason
 
> Please - is there a way of downloading subtitles after the 
> respective
> video file has been downloaded? The latter file is a large one and I
> don't wont to download it again. But trying to watch the video the
> sound is not clear. The pid is b0bkvw2l BTW. Many thanks. Chris B.

https://github.com/get-iplayer/get_iplayer/wiki/subtitles#raw

 Look under the Examples section.
-- 
Regards
   John

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


Re: Downloading Subtitles

2018-10-07 Thread Peter S Kirk
Until recently subtitles were downloaded first thus get_i pvr could be 
stopped once done.

Now they are downloaded after video. Why?

On 8 Oct 2018 at 0:08, Graham Temple Graham Temple 
 wrote:

> I've often wondered that
> 
> Graham Temple
> +44 (0)1502 533433
> +44 (0)7508 578446
> 
> 
>   Original Message  
> From: chrisjbr...@gmail.com
> Sent: 8 October 2018 00:05
> To: get_iplayer@lists.infradead.org
> Subject: Downloading Subtitles
> 
> Please - is there a way of downloading subtitles after the respective
> video file has been downloaded? The latter file is a large one and I
> don't wont to download it again. But trying to watch the video the
> sound is not clear. The pid is b0bkvw2l BTW. Many thanks. Chris B.
> 
> ___
> 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



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


Re: Downloading Subtitles

2018-10-07 Thread Graham Temple
I've often wondered that

Graham Temple
+44 (0)1502 533433
+44 (0)7508 578446


  Original Message  
From: chrisjbr...@gmail.com
Sent: 8 October 2018 00:05
To: get_iplayer@lists.infradead.org
Subject: Downloading Subtitles

Please - is there a way of downloading subtitles after the respective
video file has been downloaded? The latter file is a large one and I
don't wont to download it again. But trying to watch the video the
sound is not clear. The pid is b0bkvw2l BTW. Many thanks. Chris B.

___
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


Downloading Subtitles

2018-10-07 Thread CJB
Please - is there a way of downloading subtitles after the respective
video file has been downloaded? The latter file is a large one and I
don't wont to download it again. But trying to watch the video the
sound is not clear. The pid is b0bkvw2l BTW. Many thanks. Chris B.

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


Re: Problems downloading subtitles

2017-05-02 Thread artisticforge .
the problem with subtitles has been sorted out.
subtitles are downloading as normal.


On Tue, May 2, 2017 at 10:31 AM, David Cantrell  wrote:
> On Sat, Apr 29, 2017 at 09:14:04PM -0500, artisticforge . wrote:
>
>> It would appear that when the BBC killed XML files, subtitles were also 
>> killed.
>
> They're still available on the iPlayer website, so hopefully someone
> will be able to work out where they're coming from and update get_iplayer.
>
> --
> David Cantrell | Pope | First Church of the Symmetrical Internet
>
> Guns aren't the problem.  People who deserve to die are the problem.
>
> ___
> get_iplayer mailing list
> get_iplayer@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/get_iplayer



-- 
terry l. ridder ><>

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


Re: Problems downloading subtitles

2017-05-02 Thread David Cantrell
On Sat, Apr 29, 2017 at 09:14:04PM -0500, artisticforge . wrote:

> It would appear that when the BBC killed XML files, subtitles were also 
> killed.

They're still available on the iPlayer website, so hopefully someone
will be able to work out where they're coming from and update get_iplayer.

-- 
David Cantrell | Pope | First Church of the Symmetrical Internet

Guns aren't the problem.  People who deserve to die are the problem.

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


Re: Fw: no Problem downloading subtitles with gip windows( and vpn to boot)

2017-04-30 Thread artisticforge .
hello

nevermind. too many medications and not enough sleep.
i was looking at the wrong computer. I just tried the latest
doctor who episode and the subtitles file did download.

i am going to refrain from posting until i get out of here.



On Sun, Apr 30, 2017 at 6:56 AM, artisticforge .
 wrote:
> hello
>
> i am confused at this point.
> It appears that get_iplayer is ignoring the subtitles set in the
> options but does not ignore the cmdline option --subtitles.
>
> is there anyone who is able to enlighten us?
>
>
>
> On Sun, Apr 30, 2017 at 6:26 AM, artisticforge .
>  wrote:
>> hello
>>
>> i have subtitles set in the options file.
>> It clear shows as being set in the logs. no subtitle files are being 
>> downloaded.
>>
>> I just managed to down two of my sunday morning programs.
>> they are both radio.
>>
>> I did try doctor who series 10 episode yesterday and did not get it to work.
>> perhaps later today i will try again. i had a rough night and need more 
>> sleep.
>>
>>
>> On Sun, Apr 30, 2017 at 4:12 AM, cc  wrote:
>>>
>>> - Original Message - From: "cc" 
>>> To: "Allan Preston" 
>>> Cc: ">" 
>>> Sent: Sunday, April 30, 2017 11:07 AM
>>> Subject: no Problem downloading subtitles with gip windows( and vpn to boot)
>>>
>>>
>>>> hi alan
>>>> with windows  and pid no prob with subtitles last night and again
>>>> justnow
>>>> exampleof command line
>>>> get_iplayer
>>>> http://www.bbc.co.uk/iplayer/episode/b08nxdpn/have-i-got-news-for-you-series-53-episode-2
>>>> --subtitles  --tvmode=hlshd  --type=tv  --force
>>>> good luck
>>>> - Original Message - From: "Allan Preston"
>>>> 
>>>> To: 
>>>> Sent: Sunday, April 30, 2017 1:34 AM
>>>> Subject: Problems downloading subtitles
>>>>
>>>>
>>>>> I am aware that the BBC have broken get_iplayer with the removal of
>>>>> the XML files.
>>>>>
>>>>> I am able to download files via the --pid= argument, however that only
>>>>> downloads the actual program. I have not yet found any way to get it
>>>>> to download the associated subtitles file, and I'm deaf and rely
>>>>> heavily on subtitles.
>>>>>
>>>>> Does anyone have any suggestions?
>>>>>
>>>>> ___
>>>>> get_iplayer mailing list
>>>>> get_iplayer@lists.infradead.org
>>>>> http://lists.infradead.org/mailman/listinfo/get_iplayer
>>>>
>>>>
>>>
>>>
>>> ---
>>> L'absence de virus dans ce courrier électronique a été vérifiée par le
>>> logiciel antivirus Avast.
>>> https://www.avast.com/antivirus
>>>
>>>
>>> ___
>>> get_iplayer mailing list
>>> get_iplayer@lists.infradead.org
>>> http://lists.infradead.org/mailman/listinfo/get_iplayer
>>
>>
>>
>> --
>> terry l. ridder ><>
>
>
>
> --
> terry l. ridder ><>



-- 
terry l. ridder ><>

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


Re: Fw: no Problem downloading subtitles with gip windows( and vpn to boot)

2017-04-30 Thread artisticforge .
hello

i am confused at this point.
It appears that get_iplayer is ignoring the subtitles set in the
options but does not ignore the cmdline option --subtitles.

is there anyone who is able to enlighten us?



On Sun, Apr 30, 2017 at 6:26 AM, artisticforge .
 wrote:
> hello
>
> i have subtitles set in the options file.
> It clear shows as being set in the logs. no subtitle files are being 
> downloaded.
>
> I just managed to down two of my sunday morning programs.
> they are both radio.
>
> I did try doctor who series 10 episode yesterday and did not get it to work.
> perhaps later today i will try again. i had a rough night and need more sleep.
>
>
> On Sun, Apr 30, 2017 at 4:12 AM, cc  wrote:
>>
>> - Original Message - From: "cc" 
>> To: "Allan Preston" 
>> Cc: ">" 
>> Sent: Sunday, April 30, 2017 11:07 AM
>> Subject: no Problem downloading subtitles with gip windows( and vpn to boot)
>>
>>
>>> hi alan
>>> with windows  and pid no prob with subtitles last night and again
>>> justnow
>>> exampleof command line
>>> get_iplayer
>>> http://www.bbc.co.uk/iplayer/episode/b08nxdpn/have-i-got-news-for-you-series-53-episode-2
>>> --subtitles  --tvmode=hlshd  --type=tv  --force
>>> good luck
>>> - Original Message - From: "Allan Preston"
>>> 
>>> To: 
>>> Sent: Sunday, April 30, 2017 1:34 AM
>>> Subject: Problems downloading subtitles
>>>
>>>
>>>> I am aware that the BBC have broken get_iplayer with the removal of
>>>> the XML files.
>>>>
>>>> I am able to download files via the --pid= argument, however that only
>>>> downloads the actual program. I have not yet found any way to get it
>>>> to download the associated subtitles file, and I'm deaf and rely
>>>> heavily on subtitles.
>>>>
>>>> Does anyone have any suggestions?
>>>>
>>>> ___
>>>> get_iplayer mailing list
>>>> get_iplayer@lists.infradead.org
>>>> http://lists.infradead.org/mailman/listinfo/get_iplayer
>>>
>>>
>>
>>
>> ---
>> L'absence de virus dans ce courrier électronique a été vérifiée par le
>> logiciel antivirus Avast.
>> https://www.avast.com/antivirus
>>
>>
>> ___
>> get_iplayer mailing list
>> get_iplayer@lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/get_iplayer
>
>
>
> --
> terry l. ridder ><>



-- 
terry l. ridder ><>

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


Re: Fw: no Problem downloading subtitles with gip windows( and vpn to boot)

2017-04-30 Thread artisticforge .
hello

i have subtitles set in the options file.
It clear shows as being set in the logs. no subtitle files are being downloaded.

I just managed to down two of my sunday morning programs.
they are both radio.

I did try doctor who series 10 episode yesterday and did not get it to work.
perhaps later today i will try again. i had a rough night and need more sleep.


On Sun, Apr 30, 2017 at 4:12 AM, cc  wrote:
>
> - Original Message - From: "cc" 
> To: "Allan Preston" 
> Cc: ">" 
> Sent: Sunday, April 30, 2017 11:07 AM
> Subject: no Problem downloading subtitles with gip windows( and vpn to boot)
>
>
>> hi alan
>> with windows  and pid no prob with subtitles last night and again
>> justnow
>> exampleof command line
>> get_iplayer
>> http://www.bbc.co.uk/iplayer/episode/b08nxdpn/have-i-got-news-for-you-series-53-episode-2
>> --subtitles  --tvmode=hlshd  --type=tv  --force
>> good luck
>> - Original Message ----- From: "Allan Preston"
>> 
>> To: 
>> Sent: Sunday, April 30, 2017 1:34 AM
>> Subject: Problems downloading subtitles
>>
>>
>>> I am aware that the BBC have broken get_iplayer with the removal of
>>> the XML files.
>>>
>>> I am able to download files via the --pid= argument, however that only
>>> downloads the actual program. I have not yet found any way to get it
>>> to download the associated subtitles file, and I'm deaf and rely
>>> heavily on subtitles.
>>>
>>> Does anyone have any suggestions?
>>>
>>> ___
>>> get_iplayer mailing list
>>> get_iplayer@lists.infradead.org
>>> http://lists.infradead.org/mailman/listinfo/get_iplayer
>>
>>
>
>
> ---
> L'absence de virus dans ce courrier électronique a été vérifiée par le
> logiciel antivirus Avast.
> https://www.avast.com/antivirus
>
>
> ___
> get_iplayer mailing list
> get_iplayer@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/get_iplayer



-- 
terry l. ridder ><>

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


Fw: no Problem downloading subtitles with gip windows( and vpn to boot)

2017-04-30 Thread cc


- Original Message - 
From: "cc" 

To: "Allan Preston" 
Cc: ">" 
Sent: Sunday, April 30, 2017 11:07 AM
Subject: no Problem downloading subtitles with gip windows( and vpn to boot)



hi alan
with windows  and pid no prob with subtitles last night and again 
justnow

exampleof command line
get_iplayer 
http://www.bbc.co.uk/iplayer/episode/b08nxdpn/have-i-got-news-for-you-series-53-episode-2   
 --subtitles  --tvmode=hlshd  --type=tv  --force

good luck
- Original Message - 
From: "Allan Preston" 

To: 
Sent: Sunday, April 30, 2017 1:34 AM
Subject: Problems downloading subtitles



I am aware that the BBC have broken get_iplayer with the removal of
the XML files.

I am able to download files via the --pid= argument, however that only
downloads the actual program. I have not yet found any way to get it
to download the associated subtitles file, and I'm deaf and rely
heavily on subtitles.

Does anyone have any suggestions?

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





---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel 
antivirus Avast.
https://www.avast.com/antivirus


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


Re: Problems downloading subtitles

2017-04-29 Thread artisticforge .
hello

I have been looking at past logs trying to figure that out.
i am not deaf just like to use subtitles so my program viewing is private.

It would appear that when the BBC killed XML files, subtitles were also killed.

example from 25 april 2017
INFO: Getting Subtitles from
http://www.bbc.co.uk/iplayer/subtitles/ng/modav/bUnknown-a9b5c619-426b-4510-af23-78e695f460d0_b04wsf8d_1492381368102.xml
INFO: Getting page
http://www.bbc.co.uk/iplayer/subtitles/ng/modav/bUnknown-a9b5c619-426b-4510-af23-78e695f460d0_b04wsf8d_1492381368102.xml
INFO: Downloading Subtitles to
'~/get_iplayer.dir/Natural_World_2010-2011/Natural_World_2010-2011_-_9._Miracle_in_the_Marshes_of_Iraq_b00xxf9f_editorial



I did find a file type "opensubtitled" which seems to be used for
Foreign Language programs subtitled in English by default.

On Sat, Apr 29, 2017 at 6:34 PM, Allan Preston  wrote:
> I am aware that the BBC have broken get_iplayer with the removal of
> the XML files.
>
> I am able to download files via the --pid= argument, however that only
> downloads the actual program. I have not yet found any way to get it
> to download the associated subtitles file, and I'm deaf and rely
> heavily on subtitles.
>
> Does anyone have any suggestions?
>
> ___
> get_iplayer mailing list
> get_iplayer@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/get_iplayer



-- 
terry l. ridder ><>

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


Problems downloading subtitles

2017-04-29 Thread Allan Preston
I am aware that the BBC have broken get_iplayer with the removal of
the XML files.

I am able to download files via the --pid= argument, however that only
downloads the actual program. I have not yet found any way to get it
to download the associated subtitles file, and I'm deaf and rely
heavily on subtitles.

Does anyone have any suggestions?

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


subtitles

2016-02-29 Thread Anthony Fletcher
I download the subtitles when available. I end up with 2 files

programme.mp4
programme.srt

which works with mplayer, etc.. I then use ffmpeg to combine the two
into one MP4 file. Something like:

 ffmpeg -n -i programme.mp4 -f srt -i programme.srt \
-c:s mov_text -metadata:s:s:0 \
language=eng -c:v copy -c:a copy new.mp4

However is there an get_iplayer option to do this automatically?

Anthony.

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


PVR and Subtitles

2015-02-26 Thread Fintan Gaughan
I am extremely happy with get I player .. well done to those who
created and maintain it :-)


Is there a way for delaying a specific  programme  for say like 3 days
after it aired?


For example Graham Norton  uses live subtitles and the BBC corrects
typos and stuff few hours/days later and uploads to BBC iplayer site.



 I wait  for 3 days and  type in get-iplayer --pvr  subtitles
synchronises beautifully

How ever I forget to wait and have to search for pid and then down
load subs only.


Regards


Fintan

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


Re: --info and --{metadata,subtitles,thumbnail}-only now work with --pid

2014-10-21 Thread dinkypumpkin

On 21/10/2014 05:59, Vangelis forthnet wrote:

My locally patched copy of the script is well pre-2.87, but when I run,
e.g.:

get_iplayer --pid=b04m0l3g --force --subtitles-only
get_iplayer --pid=b04m0l3g --force --thumbnail-only

the switches DO PERFORM their usual functions, i.e.
only the subs/thumbnail get fetched.


Release notes updated


If I also try another programme that was initially in the
tv cache but now is not (> 7d old), e.g. pid=b04lckj1,
that also fails:

get_iplayer --pid=b04lckj1 --force --subtitles-only
(but get_iplayer --pid=b04lckj1 --force --subtitles
WORKS with the patched 2.86 - former GIT HEAD -
version of GiP).
Is this the expected behaviour and if yes, could it be fixed/
is it fixed in 2.87+ ?


You need 2.87 for that


The --pid option previously invoked an immediate download
regardless of the other options specified.


This was (pre-2.87) indeed true for --info; in fact, I am used to
typing together "-i --pid=[pid]" so that my command prompt
window first displays the available metadata and then moves on
to the downloading part...
I understand that with 2.87 only the metadata will be shown:

get_iplayer --type=radio -i --pid=b04ksl4f

Is there anything I could add in 2.87 (perhaps -g) to
revert to the previous behaviour?


You can remove the "|| $opt->{info}" conditions in the commit you 
referenced if you want that. --info should short-circuit --get as well, 
but it wasn't worth the bother.  If you want to keep metadata from a 
download, use --metadata.


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


--info and --{metadata,subtitles,thumbnail}-only now work with --pid

2014-10-20 Thread Vangelis forthnet

Hi dinkypumpkin :-)

https://github.com/dinkypumpkin/get_iplayer/wiki/release287#--info-and---metadatasubtitlesthumbnail-only-now-work-with---pid

(FYI: The above wiki entry reflects the changes made by commit git-5efd13b:

http://git.infradead.org/get_iplayer.git/commit/5efd13bde66efc597ad9360629e98ac292df1ad4
 )

You state:


The --pid option previously invoked an immediate download
regardless of the other options specified.
Now ...  --metadata-only, --subtitles-only or --thumbnail-only
will short-circuit that behaviour and perform their usual functions.


My locally patched copy of the script is well pre-2.87, but when I run, 
e.g.:


get_iplayer --pid=b04m0l3g --force --subtitles-only
get_iplayer --pid=b04m0l3g --force --thumbnail-only

the switches DO PERFORM their usual functions, i.e.
only the subs/thumbnail get fetched.

In fact, if you open the commitdiff
http://git.infradead.org/get_iplayer.git/commitdiff/5efd13bde66efc597ad9360629e98ac292df1ad4
you'll see that the commented-out line reads:

# Don't do a pid recording if metadataonly or thumbonly were specified

so what you state in the wiki for "--*-only" was already happening...
By looking at the code you added, the "# ..." line should now read:

# Don't do a pid recording if metadataonly or thumbonly or subsonly or info 
were specified


But the above is true ONLY FOR PIDs IN THE CACHE.

If I try a non-indexed programme, e.g.

http://www.bbc.co.uk/programmes/p028s8f9
(this was never in the tv cache to begin with)

get_iplayer --pid=p028s8f9 --force --thumbnail-only

FAILS with "INFO: pid not found in tv cache"
(whereas get_iplayer --pid=p028s8f9 --force works!).

If I also try another programme that was initially in the
tv cache but now is not (> 7d old), e.g. pid=b04lckj1,
that also fails:

get_iplayer --pid=b04lckj1 --force --subtitles-only
(but get_iplayer --pid=b04lckj1 --force --subtitles
WORKS with the patched 2.86 - former GIT HEAD -
version of GiP).
Is this the expected behaviour and if yes, could it be fixed/
is it fixed in 2.87+ ?


The --pid option previously invoked an immediate download
regardless of the other options specified.


This was (pre-2.87) indeed true for --info; in fact, I am used to
typing together "-i --pid=[pid]" so that my command prompt
window first displays the available metadata and then moves on
to the downloading part...
I understand that with 2.87 only the metadata will be shown:

get_iplayer --type=radio -i --pid=b04ksl4f

Is there anything I could add in 2.87 (perhaps -g) to
revert to the previous behaviour?

Apologies for the lengthy(-ish) mail and, as ever,
much kudos for your coding...

Best regards,
Vangelis. 



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


Re: How to download subtitles when episode is not in cache

2014-06-20 Thread Peter S Kirk
On 20 Jun 2014 at 0:14, dinkypumpkin dinkypumpkin  
wrote:

> For now, a quick and dirty suggestion: Try using --subtitles and start a 
> download of the programme, something like:
> 
> get_iplayer --subtitles --pid b046w2n8
> 
> When rtmpdump kicks off, kill it (Ctrl-C or use Task Manager in Windows 
> to kill perl.exe and rtmpdump.exe, in that order).  You'll be left with 
> a .partial.srt file in your output directory that contains the 
> subtitles, along with the partially-downloaded FLV file, which you can 
> delete.

Exactly what I do if initial download of show missed subtitles or they were 
not available when download started.

btw: every download I do is "pid not found in tv cache" as I prefer not 
having a screen-full of programmes when I run the PVR.

Cheers,

Peter

15GB + 5GB bonus Free cloud storage, no credit card details required: 
https://copy.com?r=VnqHxA   5GB bonus for both for using referal link

Cloud storage space and app provided by https://www.barracuda.com
Files are stored on Barracuda's own servers, not amazon/aws or other third 
party as most including dropbox use


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


Re: How to download subtitles when episode is not in cache

2014-06-19 Thread dinkypumpkin

On 20/06/2014 00:14, dinkypumpkin wrote:

But I have to ask: Can you show any real-life example of this, i.e., one
not contrived my editing your cache?  Is there a programme that: a) can
be downloaded with --pid; 2) has subtitles available; 3) is not in the
listing feeds used to populate the get_iplayer cache?


Never mind.  It looks like some of the BBC Four Collections programmes 
qualify.



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


Re: How to download subtitles when episode is not in cache

2014-06-19 Thread dinkypumpkin

On 19/06/2014 22:30, Timothy wrote:

dinkypumpkin: You're going to have to find another example to test, though.

Okay, here's one about dolphins (one output is with program in cache, one
without):


OK, my mistake.  I guess the first test you sent wasn't valid, i.e., it 
must have been in my cache after all.  I just took it at face value, but 
I should have double-checked it.


Looking at the code, it is apparent that --subtitles-only (and 
--metadata-only and --thumbnail-only) were never intended to work with 
--pid if the corresponding programme isn't in the cache.  It looks like 
that functionality could be added, but it needs some more investigation. 
 I'll look into it for next release.


But I have to ask: Can you show any real-life example of this, i.e., one 
not contrived my editing your cache?  Is there a programme that: a) can 
be downloaded with --pid; 2) has subtitles available; 3) is not in the 
listing feeds used to populate the get_iplayer cache?


For now, a quick and dirty suggestion: Try using --subtitles and start a 
download of the programme, something like:


get_iplayer --subtitles --pid b046w2n8

When rtmpdump kicks off, kill it (Ctrl-C or use Task Manager in Windows 
to kill perl.exe and rtmpdump.exe, in that order).  You'll be left with 
a .partial.srt file in your output directory that contains the 
subtitles, along with the partially-downloaded FLV file, which you can 
delete.


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


Re: How to download subtitles when episode is not in cache

2014-06-19 Thread Timothy
dinkypumpkin: You're going to have to find another example to test, though.

Okay, here's one about dolphins (one output is with program in cache, one 
without):
get_iplayer --subtitles-only --pid b046w2n8 --verbose
INFO: User prefs dir: C:\.../.get_iplayer
INFO: System options dir: C:\.../get_iplayer/options
Current options:
 atomicparsley = .\AtomicParsley\AtomicParsley\AtomicParsley.exe
 attempts = 1
 fatfilename = 1
 ffmpeg = .\FFmpeg\ffmpeg-1.2-win32-static\bin\ffmpeg.exe
 force = 1
 lame = .\lame\x86\lame.exe
 mmsnothread = 1
 mplayer = .\mplayer\MPlayer-1.0rc2\mplayer.exe
 nocopyright = 1
 nopurge = 1
 nowrite = 1
 output = D:\BBC iPlayer\Convert
 pid = b046w2n8
 rtmpdump = .\RTMPDump\rtmpdump.exe
 subsfmt = compact
 subsonly = 1
 subtitles = 1
 thumbsize = 150
 verbose = 1
 vlc = .\vlc\vlc.exe
 whitespace = 1

INFO: Search args: ''
INFO: Will try prog types: tv
INFO: Got 1370 file cache entries for tv
INFO Trying to stream pid using type tv
INFO: pid found in cache
Matches:
1147:   The Girl Who Talked to Dolphins - -, BBC Four, Audio 
Described,Factual,Guidance,Highlights,Nature & Environment,Popular,Science & 
Nature,TV, default,audiodescribed,
INFO: Getting page http://feeds.bbc.co.uk/iplayer/episode/b046w2n8
INFO: Getting page http://www.bbc.co.uk/programmes/b046w2n8.rdf
INFO: iPlayer metadata URL = http://www.bbc.co.uk/iplayer/playlist/b046w2n8
INFO: Getting page http://www.bbc.co.uk/iplayer/playlist/b046w2n8
INFO: Using Not Live standard TV and Radio: b046w28j
INFO: Version: default, VersionPid: b046w28j, Duration: 3600
INFO: Getting page 
http://www.bbc.co.uk/mediaselector/4/mtis/stream/b046w28j?cb=61694
---snip---
INFO: Found mode subtitles1: (captions) http stream (CDN: http/10)
INFO: Getting page http://www.bbc.co.uk/programmes/b046w28j.rdf
INFO: Will search for versions: default
INFO: File name prefix = The Girl Who Talked to Dolphins - The Girl Who Talked 
to Dolphins b046w2n8 default
INFO: Getting Subtitles from 
http://www.bbc.co.uk/iplayer/subtitles/ng/modav/bUnknown-973a5fea-5294-4e13-8024-0d98d2d3be32_b046w28j_1403117592874.xml
INFO: Getting page 
http://www.bbc.co.uk/iplayer/subtitles/ng/modav/bUnknown-973a5fea-5294-4e13-8024-0d98d2d3be32_b046w28j_1403117592874.xml
INFO: Downloading Subtitles to 'D:\BBC iPlayer\Convert/The Girl Who Talked to 
Dolphins - The Girl Who Talked to Dolphins b046w2n8 default.srt'

INFO: 1 Matching Programmes

Deleting the entry from the cache:
---snip---
INFO: Search args: ''
INFO: Will try prog types: tv
INFO: Got 1369 file cache entries for tv
INFO: Getting page http://www.bbc.co.uk/programmes/b046w2n8.rdf
INFO: Episode-only pid detected
INFO: Trying pid: b046w2n8 using type: tv
INFO: Trying to stream pid using type tv
INFO: pid not found in tv cache
INFO: Cleaning pid Old: 'b046w2n8',  New: 'b046w2n8'

As you can see, it's the same issue. It doesn't even attempt to look at the 
URLs 
to get the subtitles.

Timothy 


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


Re: How to download subtitles when episode is not in cache

2014-06-19 Thread dinkypumpkin

On 19/06/2014 17:40, Timothy wrote:

Here's my log, though I'm assuming one of my options in the options file is
interfering?


There is nothing wrong with your options, except perhaps that they 
indicate you could update get_iplayer.  You're going to have to find 
another example to test, though.  All your log output shows is that the 
programme is no longer available, which you already know.





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


Re: How to download subtitles when episode is not in cache

2014-06-19 Thread Timothy
dinkypumpkin: Reply to the list, not to me.

I apologize. I didn't catch the mistake until quite a bit later.

dinkypumpkin: This command works fine here:

get_iplayer --subtitles-only --pid b0467gsn

Here's my log, though I'm assuming one of my options in the options file is 
interfering?

get_iplayer --subtitles-only --pid b0467gsn --verbose
INFO: User prefs dir: C:\.../.get_iplayer
INFO: System options dir: C:\.../get_iplayer/options
Current options:
  atomicparsley = .\AtomicParsley\AtomicParsley\AtomicParsley.exe
  fatfilename = 1
  ffmpeg = .\FFmpeg\ffmpeg-1.2-win32-static\bin\ffmpeg.exe
  force = 1
  lame = .\lame\x86\lame.exe
  mmsnothread = 1
  mplayer = .\mplayer\MPlayer-1.0rc2\mplayer.exe
  nocopyright = 1
  nopurge = 1
  nowrite = 1
  output = D:\BBC iPlayer\Convert
  pid = b0467gsn
  rtmpdump = .\RTMPDump\rtmpdump.exe
  subsfmt = compact
  subsonly = 1
  subtitles = 1
  verbose = 1
  vlc = .\vlc\vlc.exe
  whitespace = 1

INFO: Search args: ''
INFO: Will try prog types: tv
INFO: Got 1408 file cache entries for tv
INFO: Getting page http://www.bbc.co.uk/programmes/b0467gsn.rdf
INFO: Episode-only pid detected
INFO: Trying pid: b0467gsn using type: tv
INFO Trying to stream pid using type tv
INFO: pid not found in tv cache
INFO: Cleaning pid Old: 'b0467gsn',  New: 'b0467gsn'

Timothy 


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


Re: How to download subtitles when episode is not in cache

2014-06-19 Thread dinkypumpkin

On 19/06/2014 11:13, Timothy wrote:

dinkypumpkin: It would help if you gave an example to test.
This has only six hours left, but PID b0467gsn.


Reply to the list, not to me.

Downloading subtitles has nothing to do with whether or not associated 
programme is in the cache.  This command works fine here:


get_iplayer --subtitles-only --pid b0467gsn

You don't need --modes=subtitles, which is ignored with --subtitles-only.

Post your log output, or at least some error messages.  Otherwise, it's 
impossible even to guess what went wrong on your machine.



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


Re: How to download subtitles when episode is not in cache

2014-06-19 Thread dinkypumpkin

On 19/06/2014 05:02, Timothy wrote:

I noticed that if a program is not in the TV cache, the subtitles won't
download. My usual command for getting subtitles is:


It would help if you gave an example to test.




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


How to download subtitles when episode is not in cache

2014-06-18 Thread Timothy
Hello,
I noticed that if a program is not in the TV cache, the subtitles won't 
download. My usual command for getting subtitles is:
get_iplayer --modes=subtitles --subtitles-only --pid 

Using the --verbose switch however, I see that subs are actually available.

Is there a workaround for this? Getting the video is fine whether or not a 
program is in the cache.

Have a great week,
Timothy 


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


Re: Subtitles ahead not offset

2014-05-07 Thread dinkypumpkin

On 07/05/2014 00:11, Fintan Gaughan wrote:

I know how to delay subtitles  by -suboffset 3500
But how do you make it go ahead by a minute?


Just use a negative value for suboffset.



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


Re: Subtitles ahead not offset

2014-05-06 Thread Peter S Kirk
On 7 May 2014 at 0:11, Fintan Gaughan Fintan Gaughan  
wrote:
> 
> I know how to delay subtitles  by -suboffset 3500
> But how do you make it go ahead by a minute?
> 
> I downloaded "in the flesh" and the subtitles are horribly slow
> 
> 
> Fintan
> 

In VLC: Tools, Track Synchronisation

Cheers,

Peter

15GB + 5GB bonus Free cloud storage, no credit card details required: 
https://copy.com?r=VnqHxA   5GB bonus for both for using referal link

Cloud storage space and app provided by https://www.barracuda.com
Files are stored on Barracuda's own servers, not amazon/aws or other third 
party as most including dropbox use


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


Subtitles ahead not offset

2014-05-06 Thread Fintan Gaughan


I know how to delay subtitles  by -suboffset 3500
But how do you make it go ahead by a minute?

I downloaded "in the flesh" and the subtitles are horribly slow


Fintan


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


Re: Subtitles Round 3

2013-10-01 Thread dinkypumpkin

On 01/10/2013 01:44, Peter S Kirk wrote:

FYI Running Question Time through Handbrake did sync the subs


Do you need to run the video through Handbrake for some other reason? 
It seems like it would be faster to figure out the correct delay with 
VLC then re-download the subtitles with --subtitles-only and --suboffset 
to apply the correction.



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


Re: Subtitles Round 3

2013-09-30 Thread Peter S Kirk
FYI Running Question Time through Handbrake did sync the subs

On 29 Sep 2013 at 20:31, dinkypumpkin dinkypumpkin  
wrote:

> > QT needed a 3.5sec subtitle advance in VLC to sync - is that get_i, vlc or
> > bbc problem? I'm running it through handbrake to see if it syncs subs
> 
> That's the BBC.  The subtitles are off on the iPlayer site as well.  It 
> looks like they were generated from a cut of the show that had a 
> slightly longer intro.



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


Re: Subtitles Round 3

2013-09-30 Thread dinkypumpkin

On 30/09/2013 23:16, dinkypumpkin wrote:

Patch against v2.84:

https://github.com/dinkypumpkin/get_iplayer/compare/feature;subtitles.patch


Sorry, that should have been:

https://github.com/dinkypumpkin/get_iplayer/compare/v2.84...feature/subtitles.patch


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


Re: Subtitles Round 3

2013-09-30 Thread dinkypumpkin
For those who won't read the 2.84 release notes: I've scrapped the 
additional subtitle formats except for "compact", which I'm keeping as 
an option for anyone with hardware players that don't wrap subtitles. 
The "break" and "basic" formats were arguably worse than the default 
format, so not worth keeping.  Everyone to whom I showed the changes 
preferred the current format, which no one had ever complained about 
anyway, afaik.  It seemed pointless to have so many variations that no 
one was clamouring for.  If the BBC should somehow see sense and revert 
to the old format, the door is open to bring back colours.  As it is, 
the new format precludes even marking changes of speaker within 
subtitles, so best to keep things simple for and get out a release to 
restore subtitle capability for new programmes.  What can I say?  I got 
carried away.


Bottom line:  If your player won't wrap subtitles or the default display 
is too wide for your taste, use --subsfmt=compact.


I've rebased my subtitles branch against 2.84 release. I'll leave it on 
GitHub for a couple of weeks if anyone wants to grab the code for their 
own use.


Full script:

https://raw.github.com/dinkypumpkin/get_iplayer/feature/subtitles/get_iplayer 



Patch against v2.84:

https://github.com/dinkypumpkin/get_iplayer/compare/feature;subtitles.patch



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


Re: Subtitles Round 3

2013-09-29 Thread dinkypumpkin

XP Chrome gui

Tried patched .pl with:


Thanks for testing.


QT needed a 3.5sec subtitle advance in VLC to sync - is that get_i, vlc or
bbc problem? I'm running it through handbrake to see if it syncs subs


That's the BBC.  The subtitles are off on the iPlayer site as well.  It 
looks like they were generated from a cut of the show that had a 
slightly longer intro.


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


Re: Subtitles Round 3

2013-09-28 Thread Peter S Kirk
XP Chrome gui

Tried patched .pl with:

Beechgrove Garden E23 gave a 0kb .srt with both old and new

Gardeners_World_-_2013_Episode_24
Old gave 11kb .srt which missed when speaker changed
New gave complete 43kb .srt

Question Time 26 Sep - Tried new only and all perfect. That was a good test 
as many changes of speaker and very fast changeovers.

QT needed a 3.5sec subtitle advance in VLC to sync - is that get_i, vlc or 
bbc problem? I'm running it through handbrake to see if it syncs subs

Great work Dinky, much appreciated

Cheers

On 28 Sep 2013 at 18:47, dinkypumpkin dinkypumpkin  
wrote:

> I've refined things slightly to combine all those new boolean options 
> (dunno what I was smoking when I did that) into a single --subsfmt 
> option.  I've included below the relevant section from the draft release 
> notes to describe the values of --subsfmt.  This is what I'm going to go 
> with, barring any bugs discovered in the next few days.
> 
> As before, I've posted a patched version of get_iplayer here:
> 
> https://raw.github.com/dinkypumpkin/get_iplayer/feature/subtitles/get_iplayer
> 
> The patch against master branch is here:
> 
> https://github.com/dinkypumpkin/get_iplayer/compare/feature;subtitles.patch
> 
> Draft release notes section for subtitle changes:
> 
> ### Subtitle Fixes and New Formats
> 
> Around mid-September 2013, the BBC began producing subtitles in a new 
> file format that broke get_iplayer's translation from TTML to SRT. 
> get_iplayer has been updated to accommodate the new file format.
> 
> A new `--subsfmt` option has been added to offer alternative formats for 
> subtitles.  This option accepts one of the following values:
> 
> **default** (or unspecified):  Line break followed by leading hyphen 
> demarcates change in speaker.  All other line breaks removed, so lines 
> must be wrapped by media player.  Text rendered in default subtitle 
> colour for media player.  This is the same format used in get_iplayer 
> 2.83 and below.  If your media player cannot wrap text, use one of the 
> other formats below.
> 
> **break**: Like **default** except that line breaks in subtitles file 
> are retained.  This may lead to some awkward formatting due to the extra 
> line breaks inserted for changes in speaker. Only use this format if 
> your media player cannot wrap text but you still prefer the **default** 
> format speaker change demarcation.
> 
> **basic**: No demarcation of change in speaker.  All line breaks 
> retained.  Text rendered in default subtitle colour for media player. 
> The is the format used in the Flash player on the iPlayer site.
> 
> **compact**: Leading hyphen (without line break) demarcates change in 
> speaker.  All line breaks retained.  Text rendered in default subtitle 
> colour for media player.
> 
> **colour** (or **color**): Change in text colour demarcates change in 
> speaker.  All line breaks retained.  Text rendered in colours defined in 
> subtitles file.  Any text for which a colour cannot be ascertained is 
> rendered in default subtitle colour for media player.  If your media 
> player does not support subtitle colours, all text is rendered in 
> default subtitle colour for media player.  This format is roughly the 
> same as that used for subtitles on broadcast television.
> 
> **Reminder**: If you wish to change the format of subtitles for a 
> particular programme, you can re-download only the subtitles for the 
> programme with:
> 
> get_iplayer --subtitles-only --overwrite --subsfmt= --get 
> 
> OR
> 
> get_iplayer --subtitles-only --overwrite --subsfmt= --pid
> 
> 
> 
> # Caveats
> 
> The **compact** format has no effect for subtitles in the new file 
> format referenced above.  The subtitles do not have any structure that 
> can be used to ascertain changes in speaker, so the output is same as 
> with the **basic** format.
> 
> The **colour** format has (almost) no effect for subtitles in the new 
> file format referenced above.  Although the subtitles have colours 
> defined, the same colour (white) is used for all of them. The subtitles 
> do not have any structure that can be used to ascertain changes in 
> speaker, so the output is the same as with the **basic** format, with 
> the exception that all text is rendered in white.
> 
> You may still set `subfmt` to **compact** or **colour** in your 
> preferences in order to use those formats with programmes subtitled 
> before mid-September 2013.  They will just be effectively ignored for 
> programmes subtitled after that date.
> 
> 
> ___
> 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: Subtitles Round 3

2013-09-28 Thread Rob Dixon

On 28/09/2013 00:27, dinkypumpkin wrote:


I wasn't satisfied by my earlier attempt at subtitles, so I've had
another go.  This time I decided to attack the problem the get_iplayer
way: Add more options!


Although that's not the choice I would have made, your decisions so far
have created a superb utility so I am behind you.

But it will be very difficult to choose between subtitle options before
you can see the results, and it strikes me that this would be much
better if it was somehow available as a post-processing option that
could be applied to existing TTML files from a previous download (as if
from a --subsraw option).

At present my options file has both `raw` and `subsraw` anyway, so I can
modify the video/audio/subtitle content as I wish after the download.
But while choosing a video mode (and corresponding implicit audio mode)
is simple, a subtitle transformation depends more on what is available
that what is desired.

As a relevant aside, and in the spirit of Perl, it would be nice to be
able to request a --thumbsize index of -1, i.e. the largest. The biggest
thumbnail file I have is 150KB, which is tiny compared to the very
smallest fifteen-minute audio-only radio file at just over 1MB. My
options file currently has a `thumbsize` of 640, but it is highly
unlikely that the maximum-available thumbnail size will remain at 640
pixels wide.

Thanks for the impressive work that is being done.

Rob



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


Re: Subtitles Round 3

2013-09-28 Thread dinkypumpkin
I've refined things slightly to combine all those new boolean options 
(dunno what I was smoking when I did that) into a single --subsfmt 
option.  I've included below the relevant section from the draft release 
notes to describe the values of --subsfmt.  This is what I'm going to go 
with, barring any bugs discovered in the next few days.


As before, I've posted a patched version of get_iplayer here:

https://raw.github.com/dinkypumpkin/get_iplayer/feature/subtitles/get_iplayer

The patch against master branch is here:

https://github.com/dinkypumpkin/get_iplayer/compare/feature;subtitles.patch

Draft release notes section for subtitle changes:

### Subtitle Fixes and New Formats

Around mid-September 2013, the BBC began producing subtitles in a new 
file format that broke get_iplayer's translation from TTML to SRT. 
get_iplayer has been updated to accommodate the new file format.


A new `--subsfmt` option has been added to offer alternative formats for 
subtitles.  This option accepts one of the following values:


**default** (or unspecified):  Line break followed by leading hyphen 
demarcates change in speaker.  All other line breaks removed, so lines 
must be wrapped by media player.  Text rendered in default subtitle 
colour for media player.  This is the same format used in get_iplayer 
2.83 and below.  If your media player cannot wrap text, use one of the 
other formats below.


**break**: Like **default** except that line breaks in subtitles file 
are retained.  This may lead to some awkward formatting due to the extra 
line breaks inserted for changes in speaker. Only use this format if 
your media player cannot wrap text but you still prefer the **default** 
format speaker change demarcation.


**basic**: No demarcation of change in speaker.  All line breaks 
retained.  Text rendered in default subtitle colour for media player. 
The is the format used in the Flash player on the iPlayer site.


**compact**: Leading hyphen (without line break) demarcates change in 
speaker.  All line breaks retained.  Text rendered in default subtitle 
colour for media player.


**colour** (or **color**): Change in text colour demarcates change in 
speaker.  All line breaks retained.  Text rendered in colours defined in 
subtitles file.  Any text for which a colour cannot be ascertained is 
rendered in default subtitle colour for media player.  If your media 
player does not support subtitle colours, all text is rendered in 
default subtitle colour for media player.  This format is roughly the 
same as that used for subtitles on broadcast television.


**Reminder**: If you wish to change the format of subtitles for a 
particular programme, you can re-download only the subtitles for the 
programme with:


get_iplayer --subtitles-only --overwrite --subsfmt= --get 

OR

get_iplayer --subtitles-only --overwrite --subsfmt= --pid  



# Caveats

The **compact** format has no effect for subtitles in the new file 
format referenced above.  The subtitles do not have any structure that 
can be used to ascertain changes in speaker, so the output is same as 
with the **basic** format.


The **colour** format has (almost) no effect for subtitles in the new 
file format referenced above.  Although the subtitles have colours 
defined, the same colour (white) is used for all of them. The subtitles 
do not have any structure that can be used to ascertain changes in 
speaker, so the output is the same as with the **basic** format, with 
the exception that all text is rendered in white.


You may still set `subfmt` to **compact** or **colour** in your 
preferences in order to use those formats with programmes subtitled 
before mid-September 2013.  They will just be effectively ignored for 
programmes subtitled after that date.



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


Re: Subtitles Round 3

2013-09-28 Thread Peter S Kirk
I always download subs, not had any problems yet. Will try patched version 
for next download.

Win XP and gui in chrome

On 28 Sep 2013 at 0:27, dinkypumpkin dinkypumpkin  
wrote:

> I wasn't satisfied by my earlier attempt at subtitles, so I've had 
> another go.  This time I decided to attack the problem the get_iplayer 
> way: Add more options!  My current effort works like this:
> 
> The default subtitle format reverts to the same it has always had: line 
> breaks and leading hyphens denote speaker changes with no other embedded 
> line breaks, so lines must be wrapped by your media player.
> 
> If your media player can't wrap lines, use the new --subbreak option to 
> embed the line breaks defined in the subtitles file.  The formatting may 
> occasionally go awry because of the extra line breaks inserted for 
> speaker changes.
> 
> The new --subbasic option will produce subtitles like the subtitles on 
> the iPlayer site, with embedded line breaks but no indications of 
> speaker changes.
> 
> If --subbasic is *too* basic, use the new --subcompact option to have 
> hyphens (but not line breaks) inserted to denote speaker changes.  This 
> is the same as the default format I used in my last attempt.
> 
> The new --subcolour (or --subcolor) option will produce subtitles with 
> embedded line breaks and colours (if any defined in the subtitles file) 
> used to denote speaker changes.  This is really only useful with 
> subtitles in the old format.  The examples of the new format that I have 
> seen use only one colour, and speaker changes are not demarcated, so 
> --subcolour is not worth using.  I'm also not sure the subtitle colours 
> look as good without the black background like they have on a TV.  If 
> you want a short programme to evaluate subtitle colours, try an episode 
> from Series 1 of Bob the Builder.
> 
> As before, I've posted a patched version of get_iplayer here:
> 
> https://raw.github.com/dinkypumpkin/get_iplayer/feature/subtitles/get_iplayer
> 
> The patch against master branch is here:
> 
> https://github.com/dinkypumpkin/get_iplayer/compare/feature;subtitles.patch
> 
> Again, I would appreciate feedback from any regular subtitle users, 
> particularly about subtitle colours.  I'd like to push out a release as 
> soon as possible, and if any one finds problems with new subtitles code 
> I'd like fix them before then.



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


Subtitles Round 3

2013-09-27 Thread dinkypumpkin
I wasn't satisfied by my earlier attempt at subtitles, so I've had 
another go.  This time I decided to attack the problem the get_iplayer 
way: Add more options!  My current effort works like this:


The default subtitle format reverts to the same it has always had: line 
breaks and leading hyphens denote speaker changes with no other embedded 
line breaks, so lines must be wrapped by your media player.


If your media player can't wrap lines, use the new --subbreak option to 
embed the line breaks defined in the subtitles file.  The formatting may 
occasionally go awry because of the extra line breaks inserted for 
speaker changes.


The new --subbasic option will produce subtitles like the subtitles on 
the iPlayer site, with embedded line breaks but no indications of 
speaker changes.


If --subbasic is *too* basic, use the new --subcompact option to have 
hyphens (but not line breaks) inserted to denote speaker changes.  This 
is the same as the default format I used in my last attempt.


The new --subcolour (or --subcolor) option will produce subtitles with 
embedded line breaks and colours (if any defined in the subtitles file) 
used to denote speaker changes.  This is really only useful with 
subtitles in the old format.  The examples of the new format that I have 
seen use only one colour, and speaker changes are not demarcated, so 
--subcolour is not worth using.  I'm also not sure the subtitle colours 
look as good without the black background like they have on a TV.  If 
you want a short programme to evaluate subtitle colours, try an episode 
from Series 1 of Bob the Builder.


As before, I've posted a patched version of get_iplayer here:

https://raw.github.com/dinkypumpkin/get_iplayer/feature/subtitles/get_iplayer

The patch against master branch is here:

https://github.com/dinkypumpkin/get_iplayer/compare/feature;subtitles.patch

Again, I would appreciate feedback from any regular subtitle users, 
particularly about subtitle colours.  I'd like to push out a release as 
soon as possible, and if any one finds problems with new subtitles code 
I'd like fix them before then.


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


Re: Subtitles, Round 2

2013-09-25 Thread dinkypumpkin

On 25/09/2013 02:26, Jonathan Larmour wrote:

The hyphenated line should surely be on a new line, however with pid b00w5mlg


Adding a line break for each speaker change led to some crummy 
formatting due to the line breaks already embedded in the subtitles. 
But, I can go back the previous scheme that used a line break for 
speaker change and wrapping everywhere else.  Assuming that the new 
format is here to stay and not the tragic accident it appears to be, 
fewer and fewer programmes will have detectable speaker changes in 
subtitles, so either way is OK by me.  That's why I wanted people who 
have an interest in subtitles to sound off.



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


fetching subtitles via gigi gui?

2013-09-25 Thread EntropyReduction
I hadn't got to subtitles yet in gigi.  Would an option that would
insert --subtitles switch in get_iplayer call be useful?  If so:

If you use subtitles, do you _always_ want subtitles is available,
or only occasionally.

If the former, I simple checkbox option on a menu or option somewhere in
preferences will do the trick.  Otherwise I'd something like a right
click menu on the download button (or one of those arrow buttons next to
download button) to offer stuff like

 'download subtitles'
 'download raw subtitles'
 'download only subtitles'

If I'm going there, do I need to think about --suboffset?


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


Re: Subtitles, Round 2

2013-09-25 Thread Vangelis forthnet

On Tue Sep 24 20:50:08 BST 2013, dinkypumpkin wrote:


...I decided to... iron out some subtitles-related issues
raised in the last couple of days.

The patch against Git HEAD is here:
https://github.com/dinkypumpkin/get_iplayer/compare/feature;subtitles.patch
With this patch, subtitles should be formatted as they would be in the
Flash player on the iPlayer site (incl. explicit line breaks)...

It would be helpful if anyone interested in getting subtitles sorted
would have a go at testing this.
Please do it soon -
I want to resolve this so I can get another release out.


Well, first of all I am only a very sparse TV downloader,
for reasons errr probably known to other list members;
I'd say 2-3 shows a month is descriptive of my habits - and
these are niche content I can't find elsewhere. So I am not
your ideal tester for this patch...
Having said that, I do sometimes use GiP to fetch subtitles
for BBC content acquired through other means (if I were in
the US, I'd say "I plead the Fifth"...).
I have applied your linked patch to my local copy of the
get_iplayer.pl script, then used the patched version to
re-download the subs to programme with pid=b03bjpcy
(see my previous mail here:
http://lists.infradead.org/pipermail/get_iplayer/2013-September/005055.html 
)


get_iplayer --pid=b03bjpcy --subtitles-only --force

The above yielded an .srt file sized 60.9 KB and was tested
together with its corresponding video file by using
MPC-BE v1.2.0.3.2938.
I have to declare that it is a VAST improvement over the status
quo ante, indeed in this test file the subs are identical to how
they are presented on-line on iPlayer - this also means that
I "got hit" by a very rare "three-liner" in subtitle no. 663:

663
00:52:54,360 --> 00:52:58,800
on macaques
that had been deliberately given
Parkinson's Disease.

but this is how the Beeb made it; not a fault of GiP's.
I fixed it manually to:

663
00:52:54,360 --> 00:52:58,800
on macaques that had been deliberately
given Parkinson's Disease.

It would be heaven-perfect if GiP made sure that every
subtitle does not exceed two lines, but I do realise this is
too much to ask...
So, a sterling patch it is then!


The(re) may be other format variations lurking
in iPlayer that I would never come across.

If you check subtitles during playback and find big chunks of dialogue
missing, first check the raw subtitles files before blaming get_iplayer.
I have found several programmes with missing dialogue.


In my limited experience with subtitles over the past 2 years,
I would put the Beeb's subs under 2 categories:
1. The ones that at the early days of iPlayer were labeled as "prepared";
these are made by a third party dedicated service, are usually very
accurate and in-sync with audio and always end with
"Subtitles By Red Bee Media Ltd"
2. The ones that at the early days of iPlayer were labeled as "live";
these are machine-generated transcripts of the live (audio) TV feed.
More often than not, they are of low quality, usually off-sync with
the spoken audio and with missing dialogue - or may contain repeated
subtitle lines - in general are beyond an easy repair and I avoid them
altogether.
Contrary to their "live" label, they are not limited to live shows - 
typical

examples are Friday's pre-recorded Jools Holland's show (when subs do
come with it) and most content on the BBC News Channel (namely "Click"
and other shows there that I am exposed to via BBC World News Channel).

Again, cheers dinkypumpkin for this latest fix!
V. 



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


Re: Subtitles, Round 2

2013-09-24 Thread Jonathan Larmour
On 24/09/13 20:50, dinkypumpkin wrote:
> With this patch, subtitles should be formatted as they would be in the
> Flash player on the iPlayer site (incl. explicit line breaks), with one
> exception.  When there is a change of speaker in a subtitle, a leading
> hyphen is prepended to that speaker's dialogue. 

The hyphenated line should surely be on a new line, however with pid b00w5mlg
for example, we have the raw subtitle (all on one line):
I have stopped wallowing.I've told you, I've moved on. Good.

However the .srt file has:
34
00:02:18,840 --> 00:02:22,680
I have stopped wallowing.
I've told you, I've moved on. - Good.

This in other programmes as well, not just that one. Of course you could also
consider using a colour.

Other than that, I haven't seen any problems so far.

> The first (or only)
> speaker in a subtitle does not get a leading hyphen.  The old subtitle
> format is geared to broadcast use and employs colour changes to indicate
> speaker changes.  The diabolical new format doesn't do that as far as I
> can tell, and the iPlayer site's Flash player has always ignored speaker
> changes.  Given that, there is no point in attempting to add colour
> support to get_iplayer subtitles.  The leading hyphen seems like an
> acceptable compromise.

I notice some raw subs have different use of styles on certain lines (e.g. http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: Subtitles, Round 2

2013-09-24 Thread dinkypumpkin

On 24/09/2013 20:50, dinkypumpkin wrote:

With this patch, subtitles should be formatted as they would be in the
Flash player on the iPlayer site (incl. explicit line breaks), with one
exception.  When there is a change of speaker in a subtitle, a leading
hyphen is prepended to that speaker's dialogue.  The first (or only)
speaker in a subtitle does not get a leading hyphen.  The old subtitle


To follow up from an off-list query: Demarcation of speaker changes 
won't be perfect, and I don't think it will work at all with the new 
subtitle format, meaning it won't work for any new programmes.  I'm 
assuming that programmes already subtitled in the old format won't be 
re-subtitled in the new format, so I've kept the speaker change 
detection in get_iplayer, to use where possible.  At the very least it's 
no worse than subtitles on the iPlayer site.


Also: I found a few cases where extra blank lines were being written to 
the SRT file.  Code as been updated, links remain the same as original post.



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


Re: Subtitles, Round 2

2013-09-24 Thread Jon Davies
On 24 September 2013 20:50, dinkypumpkin  wrote:
>
> Now this this can of worms has been opened, I decided to mix metaphors and 
> take the bull by horns and iron out some subtitles-related issues raised in 
> the last couple of days.
[...]
>
>   It would be helpful if anyone interested in getting subtitles sorted would 
> have a go at testing this.

We use subtitles all the time here - I give this version a big thumbs
up.  Works well with all the things I've tried it with.

Jon

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


Subtitles, Round 2

2013-09-24 Thread dinkypumpkin
Now this this can of worms has been opened, I decided to mix metaphors 
and take the bull by horns and iron out some subtitles-related issues 
raised in the last couple of days.  I've posted a patched version of 
get_iplayer here:


https://raw.github.com/dinkypumpkin/get_iplayer/feature/subtitles/get_iplayer

The patch against Git HEAD is here:

https://github.com/dinkypumpkin/get_iplayer/compare/feature;subtitles.patch

With this patch, subtitles should be formatted as they would be in the 
Flash player on the iPlayer site (incl. explicit line breaks), with one 
exception.  When there is a change of speaker in a subtitle, a leading 
hyphen is prepended to that speaker's dialogue.  The first (or only) 
speaker in a subtitle does not get a leading hyphen.  The old subtitle 
format is geared to broadcast use and employs colour changes to indicate 
speaker changes.  The diabolical new format doesn't do that as far as I 
can tell, and the iPlayer site's Flash player has always ignored speaker 
changes.  Given that, there is no point in attempting to add colour 
support to get_iplayer subtitles.  The leading hyphen seems like an 
acceptable compromise.


It would be helpful if anyone interested in getting subtitles sorted 
would have a go at testing this.  The may be other format variations 
lurking in iPlayer that I would never come across.  Please do it soon - 
I want to resolve this so I can get another release out.  You don't need 
to download a programme to check subtitles.  These are repeatable test 
commands that will download only the "raw" subtitles file and convert it 
to SRT:


get_iplayer --subtitles-only --subsraw  --force --overwrite --pid=

get_iplayer --subtitles-only --subsraw  --force --overwrite --get 

If you check subtitles during playback and find big chunks of dialogue 
missing, first check the raw subtitles files before blaming get_iplayer. 
 I have found several programmes with missing dialogue.


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


Re: Subtitles with AudioDescribed

2013-02-12 Thread dinkypumpkin

On 12/02/2013 13:26, Kapitano wrote:

1) Can GiP be made to interpret instructions so that when it finds a
--subtitles tag *and* a --version=audiodescribed tag, it gets the
subtitles from any *other* version which has them?


Good idea.  I've pushed this change to the Git repo.


2) Can the --subtitles-only tag be made available as a PVR setting?


I've left the PVR function as-is, focused on downloading programmes. 
Downloading just subtitles only takes a few seconds, and with the above 
change you shouldn't miss any available subtitles during PVR runs.




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


Subtitles with AudioDescribed

2013-02-12 Thread Kapitano

I'm trying to download audiodescribed versions, plus the subtitle files.

This is the command line entry to create the PVR setting:

get_iplayer --pvr-add="demo1" --search="merlin" --version=audiodescribed 
--subtitles --get


When I run the PVR, the subtitles setting is ignored. I get the video, 
but no SRT file. Presumably the BBC only associates the subtitles with 
the default version?


A workaround would to have *two* download sessions, one for the 
audiodescribed video files and one for the SRT files of the default 
video version. But when I try to create a PVR setting file there's no 
entry in the PVR file.


This GiP command...

get_iplayer --pvr-add="demo2" --search="merlin" --subtitles-only --get

...produces this PVR file:

search0 merlin

A workaround of the workaround is to have a DOS BAT file for the 
subtitles like this:


--get_iplayer --search="merlin" --subtitles-only --get

... and it works, but it seems a rather clunky method. Plus it also gets 
the subtitles for any searched-for programmes which exist as 
non-audiodescribed as well as described ones.


So,

1) Can GiP be made to interpret instructions so that when it finds a 
--subtitles tag *and* a --version=audiodescribed tag, it gets the 
subtitles from any *other* version which has them?


2) Can the --subtitles-only tag be made available as a PVR setting?



K

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


Re: Downloading Subtitles-Only

2013-01-11 Thread dinkypumpkin

On 11/01/2013 10:52, Kapitano wrote:

I'm actually trying to use BBC subtitles as a text corpus for linguisic
analysis, and was hoping to avoid downloading duplicates. But if the
metadata doesn't indicate subtitle presence, there's no (easy) way for
GiP to keep track of which srt files have already been downloaded. I'll
just use duplicate file removal software.


Do you need the download date in the file name?  If you only use 
invariant substitution parameters (, , etc.) in your file 
name format, get_iplayer won't create duplicates or overwrite previous 
downloads, as long as you're writing to the same directory.  You can 
always get the download date from the file attributes, so you could 
concoct a simple script to archive your subtitle files and append the 
download date to the filename in the process.



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


Re: Downloading Subtitles-Only

2013-01-11 Thread Kapitano

>get_iplayer is working as intended.

>The programme metadata used for searching
>does not include any indicator of whether or
>not a particular programme has subtitles.

I see, fair enough.

I'm actually trying to use BBC subtitles as a text corpus for linguisic 
analysis, and was hoping to avoid downloading duplicates. But if the 
metadata doesn't indicate subtitle presence, there's no (easy) way for 
GiP to keep track of which srt files have already been downloaded. I'll 
just use duplicate file removal software.


On a different note, can I ask why I don't get this list in my email - 
only on the infradead site? Or am I again missing that things are 
working as intended :-)?



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


Re: Downloading Subtitles-Only

2013-01-10 Thread dinkypumpkin

On 10/01/2013 15:29, dinkypumpkin wrote:

On 10/01/2013 15:05, Kapitano wrote:

When I run this:

get_iplayer --type tv --subtitles-only --terse --search .*
--file-prefix=" -  - "

...GiP doesn't just list what subtitles are available, it downloads the
srt files. And if I run it again, it downloads them again.

If I run it on different days, I get identical srt files with different
datestamps in the filenames. If I do that with only
--file-prefix=" - ", it overwrites the previous downloads
without asking.

Is there a way to prevent all of these happening? Or am I missing
something incredibly obvious?


The only thing you're missing is that get_iplayer is working as
intended.  From the man page:

--subtitles-only
   Only download the subtitles, not the programme

The --subtitles-only option means "download only the subtitles for the
programmes which match the search condition or programme ID".  You can't
search for only those programmes which have subtitles.  The programme
metadata used for searching does not include any indicator of whether or
not a particular programme has subtitles.  To get that information
requires retrieving the stream information for each programme, which
would mean another ~1000 web requests for BBC TV, 3000+ for BBC radio -
not practical or efficient.  Instead, you just add the --subtitles
option to --get or --pid and get_iplayer will grab the subtitles if they
exist.  The --subtitles-only option effectively works the same way.


I should add that you can use the --info option to check if particular 
programmes have subtitles. The "modes" value will contain "subtitles1" 
if they are available.




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


Re: Downloading Subtitles-Only

2013-01-10 Thread dinkypumpkin

On 10/01/2013 15:05, Kapitano wrote:

When I run this:

get_iplayer --type tv --subtitles-only --terse --search .*
--file-prefix=" -  - "

...GiP doesn't just list what subtitles are available, it downloads the
srt files. And if I run it again, it downloads them again.

If I run it on different days, I get identical srt files with different
datestamps in the filenames. If I do that with only
--file-prefix=" - ", it overwrites the previous downloads
without asking.

Is there a way to prevent all of these happening? Or am I missing
something incredibly obvious?


The only thing you're missing is that get_iplayer is working as 
intended.  From the man page:


--subtitles-only
      Only download the subtitles, not the programme

The --subtitles-only option means "download only the subtitles for the 
programmes which match the search condition or programme ID".  You can't 
search for only those programmes which have subtitles.  The programme 
metadata used for searching does not include any indicator of whether or 
not a particular programme has subtitles.  To get that information 
requires retrieving the stream information for each programme, which 
would mean another ~1000 web requests for BBC TV, 3000+ for BBC radio - 
not practical or efficient.  Instead, you just add the --subtitles 
option to --get or --pid and get_iplayer will grab the subtitles if they 
exist.  The --subtitles-only option effectively works the same way.





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


Downloading Subtitles-Only

2013-01-10 Thread Kapitano

When I run this:

get_iplayer --type tv --subtitles-only --terse --search .* 
--file-prefix=" -  - "


...GiP doesn't just list what subtitles are available, it downloads the 
srt files. And if I run it again, it downloads them again.


If I run it on different days, I get identical srt files with different 
datestamps in the filenames. If I do that with only 
--file-prefix=" - ", it overwrites the previous downloads 
without asking.


Is there a way to prevent all of these happening? Or am I missing 
something incredibly obvious?



K

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


Re: Subtitles

2012-01-19 Thread Fintan Gaughan
On 19 January 2012 14:55, dinkypumpkin  wrote:
> On 19/01/2012 14:44, Fintan Gaughan wrote:
>>
>> Am I correct thinking that get-iplayer will always use underscore?
>
>
> It will by default, but you can retain white space in the file prefix by
> using --whitespace

Ah brilliant!

Everything working as I want it to be...

I can now concentrate my   tv card to record non BBC channels :-)

Fintan

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


Re: Subtitles

2012-01-19 Thread dinkypumpkin

On 19/01/2012 14:44, Fintan Gaughan wrote:

Am I correct thinking that get-iplayer will always use underscore?


It will by default, but you can retain white space in the file prefix by 
using --whitespace



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


Re: Subtitles

2012-01-19 Thread Fintan Gaughan
On 18 January 2012 22:27, Jon Davies  wrote:
> On 18 January 2012 12:26, Fintan Gaughan  wrote:
>> ... rely on subtitles , take a look on BBC iplayer
>> website and watch BBC Click when playing click on small S next to
>> volume and wait a few minutes . You normally find previous programme
>> subtitle usually the weather before BBC Click and at one point it
>> there  was a delay of 5 minutes. Go on try it and see how frustrating
>> it is!
>
> My wife depends on subtitles, and yes it's pretty frustrating!  I
> don't need the subtitles, but inevitably find myself reading them when
> they're there, and the delay of several seconds is really distracting.
>
>> I am well aware  of  --suboffset   only problem is not knowing how
>> much of a delay until I play it and then re download  subtitles with a
>> different delay time.
>
> That's an option I'd missed.  I always use the player application to
> adjust the subtitle timing - most support this.

>From documentation
* Record programme number 123 with subtitles (if available) and
optionally insert a
subtitle delay of 5 seconds:
get_iplayer --subtitles --suboffset 5000 --get 123



>
>> I have a xbmc and mythtv set up at home...
> I use xbmc, but not mythtv.
>
>> For example  Top Gear I’d be happy watching it every week  and say
>> from 4th   episode onwards it start to use live subtitles  even though
>> it’s not a live show  so there is a subtitle delay .
>> I then watch a repeat  it could be a 2nd 3rd or 4th showing  and
>> subtitles usually be perfect timing with correct spelling
>
> I had never noticed that - I'd always assumed that once the subs were
> done, they were left alone.

I assume the same with iplayer , but on tv and repeated its corrected .
So you have me thinking now so I will redownload the subtitles after a
repeat to see if that will work.



It might be worth planning to re-download
> just the subtitles for things you've already recorded (which being
> relatively small is quick compared to downloading the original file.
> Sorry, I can't remember the runes for downloading just the subtitles,
> either someone else will jump in with an answer, or I can check when
> I'm home again at the weekend,


I know the answer  :-)

get_iplayer  --subsonly

It only work if you delete that subtitle file.


>
>> If live subtitles still being used despite number rerecording  then

>
>> Only problem I have is that XBMC does not play mp4 is there a way of
>> get iplayer to record to avi?
> eh?  what do you mean XBMC doesn't play mp4?  I've been using xbmc for
> probably nearly three years now, and it's always played mp4s.  Rather
> than make get_iplayer produce avi's, I'd suggest that you explore why
> xbmc doesn't play mp4s for you first, given that it does elsewhere.
> This is probably a question best asked on the xbmc mailing lists, but
> ...
>
> if you can provide some details of the system and software that you're
> running then I expect one of us will be able to help you in the right
> direction.
>


Thanks Jon  for your help as you can see in earlier email I have
solved that problem.

Fintan

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


Re: Subtitles

2012-01-19 Thread Fintan Gaughan
On 18 January 2012 16:35, Andy Bircumshaw  wrote:
>
> On 18 January 2012, at 11:26, Fintan Gaughan wrote:
>> ...
>> Only problem I have is that XBMC does not play mp4 is there a way of
>> get iplayer to record to avi?
>
> Not to address any of your other points, but I'm pretty sure it does.
>
> The highest quality encoding is h264 which is a patent-encumbered codec. You 
> probably just need to enable some of your distro's non-free repos and Bob 
> will marry your auntie.
>


Thanks Andy ,

I had a feeling it should work as I have done the repos ages ago..
turned out that xbmc did not like the file naming in particular folder
that gets info from imd/tv database.
I created another folder and called it get_iplayer recordings and had
no problem playing mp4 files.

So now that problem is solved  which created another... well not quite
as I find the names of files horrible.

So I am looking through Substitution Parameters and working it out how
to get files looking like this example recording of QI episode illness
  which is on BBC 1“QI 1x09 Illness”

So far I have done --


Am I correct thinking that get-iplayer will always use underscore?

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


Re: Subtitles

2012-01-18 Thread Jon Davies
On 18 January 2012 12:26, Fintan Gaughan  wrote:
> ... rely on subtitles , take a look on BBC iplayer
> website and watch BBC Click when playing click on small S next to
> volume and wait a few minutes . You normally find previous programme
> subtitle usually the weather before BBC Click and at one point it
> there  was a delay of 5 minutes. Go on try it and see how frustrating
> it is!

My wife depends on subtitles, and yes it's pretty frustrating!  I
don't need the subtitles, but inevitably find myself reading them when
they're there, and the delay of several seconds is really distracting.

> I am well aware  of  --suboffset   only problem is not knowing how
> much of a delay until I play it and then re download  subtitles with a
> different delay time.

That's an option I'd missed.  I always use the player application to
adjust the subtitle timing - most support this.

> I have a xbmc and mythtv set up at home...
I use xbmc, but not mythtv.

> For example  Top Gear I’d be happy watching it every week  and say
> from 4th   episode onwards it start to use live subtitles  even though
> it’s not a live show  so there is a subtitle delay .
> I then watch a repeat  it could be a 2nd 3rd or 4th showing  and
> subtitles usually be perfect timing with correct spelling

I had never noticed that - I'd always assumed that once the subs were
done, they were left alone.  It might be worth planning to re-download
just the subtitles for things you've already recorded (which being
relatively small is quick compared to downloading the original file.
Sorry, I can't remember the runes for downloading just the subtitles,
either someone else will jump in with an answer, or I can check when
I'm home again at the weekend,

> If live subtitles still being used despite number rerecording  then
> this is where get_iplayer subtitles comes to play and I adjust the
> timing myself.
> I map my keys to remote control and once I start xbmc and Top Gear
> starts I adjust the timing while its playing , i can speed up or slow
> it down at the touch of a button on remote control rather than having
> to re-download subtitles and guessing the sub offset time.
I do the same, though for most of what we watch the subs have been
done properly.

> Only problem I have is that XBMC does not play mp4 is there a way of
> get iplayer to record to avi?
eh?  what do you mean XBMC doesn't play mp4?  I've been using xbmc for
probably nearly three years now, and it's always played mp4s.  Rather
than make get_iplayer produce avi's, I'd suggest that you explore why
xbmc doesn't play mp4s for you first, given that it does elsewhere.
This is probably a question best asked on the xbmc mailing lists, but
...

if you can provide some details of the system and software that you're
running then I expect one of us will be able to help you in the right
direction.

Cheers
Jon

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


Re: Subtitles

2012-01-18 Thread Andy Bircumshaw

On 18 January 2012, at 11:26, Fintan Gaughan wrote:
> ...
> Only problem I have is that XBMC does not play mp4 is there a way of
> get iplayer to record to avi?

Not to address any of your other points, but I'm pretty sure it does.

The highest quality encoding is h264 which is a patent-encumbered codec. You 
probably just need to enable some of your distro's non-free repos and Bob will 
marry your auntie. 

aB.


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


Subtitles

2012-01-18 Thread Fintan Gaughan
I have been happy with get-iplayer for ages now and only use it to
download when I have stupid subtitle delay.
As I am deaf and rely on subtitles , take a look on BBC iplayer
website and watch BBC Click when playing click on small S next to
volume and wait a few minutes . You normally find previous programme
subtitle usually the weather before BBC Click and at one point it
there  was a delay of 5 minutes. Go on try it and see how frustrating
it is!


As you know being a license payer its unacceptable and yes I have
complained a number of times only to get a response “we will look into
it” etc.

I am well aware  of  --suboffset   only problem is not knowing how
much of a delay until I play it and then re download  subtitles with a
different delay time.

So let me tell you what my set up at home and then hopefully you give
me an idea/solution to a problem that I have.

I have a xbmc and mythtv set up at home majority of my recordings is
done via mythtv, I do up to 4 recording of a same program.
For example  Top Gear I’d be happy watching it every week  and say
from 4th   episode onwards it start to use live subtitles  even though
it’s not a live show  so there is a subtitle delay .
I then watch a repeat  it could be a 2nd 3rd or 4th showing  and
subtitles usually be perfect timing with correct spelling

BBC tells us due time constraints not all programmes make it in time
for subtitlers  so they use live subtitles.
As you may aware that live subtitles they use automatic computer
speech recognition and they are not perfect.
So my guess is subtitlers  use automatic computer speech recognition
and they correct it with timing and spellings before it gets 2nd  3rd
or 4th  showing.
So as you can see why I have mythtv to re-record if 1st showing uses
live subtitles ,BBC click always uses live subtitles even its repeated
so many so i never record it.

If live subtitles still being used despite number rerecording  then
this is where get_iplayer subtitles comes to play and I adjust the
timing myself.
I map my keys to remote control and once I start xbmc and Top Gear
starts I adjust the timing while its playing , i can speed up or slow
it down at the touch of a button on remote control rather than having
to re-download subtitles and guessing the sub offset time.

Only problem I have is that XBMC does not play mp4 is there a way of
get iplayer to record to avi?


-- 
My Blog http://www.gaughan.co.uk/

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


Re: Does get_iplayer still support subtitles?

2011-05-29 Thread M2
I have just found this feature very usefull, "get_iplayer --pid b011ddzy 
--force --subtitles-only --subsraw --output=c:\BBC_iPlayer\"
as sometimes when the program is broadcast, subtitles are not available 
until later on.

Thank you.



Andy Bircumshaw wrote:

  --subsrawAdditionally save the raw subtitles file
  --subtitles  Download subtitles into srt/SubRip format if 
available and supported
  --subtitles-only Only download the subtitles, not the 
programme
   



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


Re: Does get_iplayer still support subtitles?

2010-12-22 Thread Andy Bircumshaw

On 21/12/2010, at 3:32pm, Richard Mace wrote:

> If so, I'd like to know what I'm doing wrong. The program I am streaming
> has subtitles1 (from --info)
> I am using the --subtitles override, using mplayer. Cursor over mplayer
> output,'v' toggles visibility on and off but no subtitles. 

Need more info.

What is the PID of the show?

What does get_iplayer say when you run `get_iplayer -g --pid b00fvcq0 
--subtitles`?

Why didn't you attach the output from get_iplayer?

Consider using the "--debug" flag, but do not post its output indiscriminately.


$ get_iplayer --longhelp | grep -ie subtitles
 --info, -i   Show full programme metadata and availability 
of modes and subtitles (max 50 matches)
 --subsraw        Additionally save the raw subtitles file
 --subtitles  Download subtitles into srt/SubRip format if 
available and supported
 --subtitles-only Only download the subtitles, not the programme
$

So do you have .srt files in your download directory?

Have you tried using "--subsraw" option? What happens?

Have you tried using "--subtitles-only" option? What happens?

I'm not saying this is the case, but it could be that your version of mplayer 
is compiled without subtitle support, or it can't find the font. mplayer's 
console output is as verbose as get_iplayer's.

aB.


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


Does get_iplayer still support subtitles?

2010-12-21 Thread Richard Mace
If so, I'd like to know what I'm doing wrong. The program I am streaming
has subtitles1 (from --info)
I am using the --subtitles override, using mplayer. Cursor over mplayer
output,'v' toggles visibility on and off but no subtitles. 
Help appreciated.


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