commandlines

Alan Milewczyk alan at soulman1949.com
Mon Feb 13 15:47:45 PST 2017


Bonjour Chris (assuming you read this in the morning)

If you want to see what modes are available for a particular programme 
then the best thing to do is the following:
get_iplayer <number>  --info
for example get_iplayer 832 --info

In this case my enquiry resulted in:
==================================
get_iplayer 2.99-windows.0, Copyright (C) 2008-2010 Phil Lewis
   This program comes with ABSOLUTELY NO WARRANTY; for details use 
--warranty.
   This is free software, and you are welcome to redistribute it under 
certain
   conditions; use --conditions for details.

   NOTE: A UK TV licence is required to legally access BBC iPlayer TV 
content

Matches:
6736:    Taboo - Episode 6, BBC One, b08fqs8v
INFO: File name prefix = Taboo_-_6._Episode_6_b08fqs8v_original

available:      2017-02-11T22:15:00Z
brand:          Taboo
categories:     Drama,Classic & Period
category:       Drama
channel:        BBC One
desc:           The Company declares war on James, whilst a revelation 
drives him to dark, haunted places.
desclong:       As James Delaney's trading plans start to unravel, a 
family revelation drives him into dark and haunted places, both real and 
emotional. Those around him, his household and family included, seem to 
be spiralling out of control, with terrible prices being paid. 
Meanwhile, at the East India Company, a frustrated Sir Stuart Strange 
calls for all-out war against James, threatening to destroy all he has 
built. As James reacts to this upsurge of chaos, things take a dire turn.
descmedium:     Period drama series. The East India Company declares war 
on James Delaney, whilst a family revelation drives him into dark and 
haunted places.
descshort:      The Company declares war on James, whilst a revelation 
drives him to dark, haunted places.
dir:            D:\iplayer\TV
dldate:         2017-02-14
dltime:         06:55:56
duration:       3300
durations:      audiodescribed: 3300
durations:      original: 3300
episode:        6. Episode 6
episodenum:     6
episodeshort:   Episode 6
expires:        in 27 days 23 hours (2017-03-13T22:15:00+00:00)
ext:            EXT
filename: D:\iplayer\TV\Taboo_-_6._Episode_6_b08fqs8v_original.EXT
filepart: D:\iplayer\TV\Taboo_-_6._Episode_6_b08fqs8v_original.partial.EXT
fileprefix:     Taboo_-_6._Episode_6_b08fqs8v_original
firstbcast:     audiodescribed: 2017-02-11T22:15:00Z
firstbcast:     original: 2017-02-11T21:15:00Z
firstbcastdate: audiodescribed: 2017-02-11
firstbcastdate: original: 2017-02-11
firstbcastrel:  audiodescribed: 2 days 0 hours ago
firstbcastrel:  original: 2 days 1 hours ago
index:          6736
lastbcast:      audiodescribed: 2017-02-11T22:15:00Z
lastbcast:      original: 2017-02-11T21:15:00Z
lastbcastdate:  audiodescribed: 2017-02-11
lastbcastdate:  original: 2017-02-11
lastbcastrel:   audiodescribed: 2 days 0 hours ago
lastbcastrel:   original: 2 days 1 hours ago
longname:       Taboo
modes:          audiodescribed: 
dvfxsd1,dvfxsd2,dvfxhigh1,dvfxhigh2,dvflow1,dvflow2,flashstd1,flashstd2,hvfxsd1,hvfhigh1,hvfxhigh1,hvflow1
modes:          original: 
dvfhd1,dvfhd2,dvfsd1,dvfsd2,dvfxsd1,dvfxsd2,dvfhigh1,dvfxhigh1,dvfxhigh2,dvflow1,dvflow2,flashhd1,flashvhigh1,flashvhigh2,flashstd1,flashstd2,flashxstd1,flashxstd2,hvfhd1,hvfsd1,hvfxsd1,hvfhigh1,hvfxhigh1,hvflow1,subtitles1,subtitles2
modesizes:      audiodescribed: 
dvfxsd1=666MiB,dvfxsd2=666MiB,dvfxhigh1=343MiB,dvfxhigh2=343MiB,dvflow1=181MiB,dvflow2=181MiB,flashstd1=334MiB,flashstd2=334MiB,hvfxsd1=709MiB,hvfhigh1=708MiB,hvfxhigh1=385MiB,hvflow1=222MiB
modesizes:      original: 
dvfhd1=2106MiB,dvfhd2=2106MiB,dvfsd1=1168MiB,dvfsd2=1168MiB,dvfxsd1=666MiB,dvfxsd2=666MiB,dvfhigh1=652MiB,dvfxhigh1=344MiB,dvfxhigh2=344MiB,dvflow1=182MiB,dvflow2=182MiB,flashhd1=991MiB,flashvhigh1=624MiB,flashvhigh2=624MiB,flashstd1=334MiB,flashstd2=334MiB,flashxstd1=214MiB,flashxstd2=214MiB,hvfhd1=2168MiB,hvfsd1=1226MiB,hvfxsd1=709MiB,hvfhigh1=708MiB,hvfxhigh1=385MiB,hvflow1=222MiB,subtitles1=51KiB,subtitles2=51KiB
name:           Taboo
nameshort:      Taboo
pid:            b08fqs8v
player:         http://www.bbc.co.uk/iplayer/episode/b08fqs8v
runtime:        55
senum:          s01e06
series:         Taboo
seriesnum:      1
thumbfile: D:\iplayer\TV\Taboo_-_6._Episode_6_b08fqs8v_original.jpg
thumbnail: http://ichef.bbci.co.uk/images/ic/150x84/p04m9ybh.jpg
timeadded:      1 days 12 hours ago (2017-02-12T10:21:28+00:00)
title:          Taboo: Episode 6
type:           tv
verpids:        audiodescribed: p04smswg
verpids:        original: b08fqs7l
version:        original
versions:       audiodescribed,original
web:            http://www.bbc.co.uk/programmes/b088s45m


INFO: 1 Matching Programmes
==================================

The part to examine is modes and modesizes. Ignore the line with 
audiodescribed, that has a running commentary for sight-impaired 
viewers. The next line (usually "original" but it could be "editorial" 
or another title depending on the programme) is the one you want. You 
will see the various modes with a number after them, that's the CDN 
(content delivery network ). So for dvfhd there are two CDNs and 
get_iplayer will access one of them. The same for the other modes.

When you look at the modesizes lines they show the expected length of 
each file. Usually for 1280x720 at 25fps you expect a file size of 
around 1GB for a one hour programme.

I find the various mode renames and default modes in the recent versions 
of get_iplayer confusing due to the various changes from one version to 
another.

If you refer to the documentation for v2.99, the section 
https://github.com/get-iplayer/get_iplayer/wiki/modes shows the various 
modes and the relevant sizes. The other section to refer to, which is 
more helpful is at 
https://github.com/get-iplayer/get_iplayer/wiki/modesref - scroll down 
to "Recording Mode Details" and you will see a table of the various TV 
modes and the video sizes.

For 1280x720 at 25fps the modes are hvfhd and hlshd and if you examine 
the --info enquiry above you will see that they are not listed, meaning 
that 1280x720 at 25fps is not available. I would mention that sometimes 
all modes are not immediately available after transmission of the 
programme and at times it can take a day or two for the relevant mode to 
appear.

We know that 1280x720 is the default, so if you just use:
get_iplayer --get <number>
this will try the default and if not available the next available mode 
down in the list as shown in the --info enquiry. (I'm presuming you 
don't want the 50fps mode)

I rarely specify the mode and just let get_iplayer get the best 
available unless I'm downloading a series and want all the programmes to 
have the same mode.

On 14/02/2017 05:22, cc wrote:
>
>
>
> taboo ep 6
>
> Get_iplayer  --subtitles  --get 3265  --tvmode=best  --type=tv --force

I presume this also had the --fps50 in the command line! :-)

> works fine==>1280x720   50fps(2344mb)
> but
> Get_iplayer  --subtitles  --get 3265  --tvmode=hlshd  --type=tv --force
>
> get_iplayer 2.99-windows.0, Copyright (C) 2008-2010 Phil Lewis
>  This program comes with ABSOLUTELY NO WARRANTY; for details
> use --warranty.
>  This is free software, and you are welcome to redistribute it under
> certain
>  conditions; use --conditions for details.
>  NOTE: A UK TV licence is required to legally access BBC iPlayer TV 
> content
> Matches:
> 3265:   Taboo - Episode 6, BBC One, b08fqs8v
> INFO: 1 Matching Programmes
> INFO: Checking existence of original version
> INFO: No specified modes (hlshd) available for this programme with 
> version original
> INFO: Try using modes=hvfhd,hvfsd,hvfxsd,hvfhigh,hvfxhigh,hvflow
> ERROR: Failed to record 'Taboo - 6. Episode 6 (b08fqs8v)'
> C:\Documents and Settings\chris>
>
>
> other modes work but none gives 1280x720 25  fps
> does that mean the file is not available 1n1280x720 25fps??
> regards
>
>
> ---
> 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 at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/get_iplayer
>
Best wishes from sunny Philippines! :-)


Alan




More information about the get_iplayer mailing list