Re: BBC radio program, saving the audio

2020-08-17 Thread Craig Sanders via luv-main
On Mon, Aug 17, 2020 at 04:13:30PM +1000, Craig Sanders wrote:
> The file size is nearly a gigabyte.  You can use ffmpeg or handbrake
> or something to re-encode with x265 to get it smaller (i'd guess that
> transcoding the video to x265 would probably shrink the file by a third to
> a half. maybe more).  If you're only going to watch it once and delete it,
> don't bother...but might be worthwhile if you want to archive it for repeat
> viewing.

I transcoded it with handbrake, using the Matroska H.265 720p30 pre-set, but
it only shrunk to 807 MB.

It took nearly an hour to transcode...and that's on my 16-core threadripper
1950x. a lot of CPU time and electricity used (and the fans ramped up to
deal with the excess heat generated) for not much benefit.

This would be significantly faster if my version of handbrake (the debian
handbrake 1.3.1+ds1-2 package) supported NVENC for GPU hardware encoding,
but it doesn't. It's probably a licensing conflict with GPL vs proprietary
nvidia-licensed code that prevents debian from distributing it. I'd have
to re-compile the package on my own machine to enable GPU-encoding.
Apparently the Ubuntu PPA 1.3.3 version of handbrake has it enabled.

Transcoding using the Matroska H.265 576p25 pre-set (i.e. not only transcoding
to a better/newer encoder, but also reducing the resolution from 1280x720 to
720x576 - same aspect ratio of 16:9) in handrake reduced the file from 998 MB
to 548 MB.  There's some reduction in quality, but not much.

This took about 40 minutes to transcode.

not worth the bother unless you want to archive and are really short on disk
space.

and even then it would better to use youtube-dl's format and quality options
to download a smaller, lower-qualty video in the first placethey've
been transcoded from much higher quality master videos.

e.g.

$ youtube-dl -F 
https://iview.abc.net.au/show/fight-for-planet-a-our-climate-challenge/series/1/video/DO1904H001S00
[abc.net.au:iview] DO1904H001S00: Downloading JSON metadata
[abc.net.au:iview] DO1904H001S00: Downloading webpage
[abc.net.au:iview] DO1904H001S00: Downloading m3u8 information
[info] Available formats for DO1904H001S00:
format code  extension  resolution note
hls-287  mp4320x180 287k , avc1.77.30, mp4a.40.2
hls-491  mp4512x288 491k , avc1.77.30, mp4a.40.2
hls-619  mp4640x360 619k , avc1.77.30, mp4a.40.2
hls-917  mp4800x450 917k , avc1.640028, mp4a.40.2
hls-1307 mp41024x576   1307k , avc1.640028, mp4a.40.2
hls-1969 mp41280x720   1969k , avc1.640028, mp4a.40.2
hls-2099 mp41280x720   2099k , avc1.640028, mp4a.40.2 (best)

I'm far from sure, but i'm guessing that the 287k, ... 2099k etc mentioned in
the notes field (and also in the hls-* format codes) are the bandwith rates
for streaming, from 287 Kilobytes per second to 2.1 Mbps.


Anyway, you could download the 576p (1024x576) version with:

$ youtube-dl -f hls-1307 --write-sub --all-subs --embed-subs 
https://iview.abc.net.au/show/fight-for-planet-a-our-climate-challenge/series/1/video/DO1904H001S00
[abc.net.au:iview] DO1904H001S00: Downloading JSON metadata
[abc.net.au:iview] DO1904H001S00: Downloading webpage
[abc.net.au:iview] DO1904H001S00: Downloading m3u8 information
[info] Writing video subtitles to: Series 1 Ep 1-DO1904H001S00.en.vtt
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 397
[download] Destination: Series 1 Ep 1-DO1904H001S00.mp4
[download] 100% of 653.70MiB in 01:09
[ffmpeg] Fixing malformed AAC bitstream in "Series 1 Ep 1-DO1904H001S00.mp4"
[ffmpeg] Embedding subtitles in 'Series 1 Ep 1-DO1904H001S00.mp4'
Deleting original file Series 1 Ep 1-DO1904H001S00.en.vtt (pass -k to keep)


It's larger than my transcoded version because it's h.264 rather than the
newer/better h.265but it only took a minute to download with my 100 Mbps
NBN connection, much better than 40+ minutes to transcode.


The hls-917 (800x450) version is even smaller (438 MB), and still looks OK to
watch even when upscaled to fullscreen on my 2560x1440 27" monitor, or my 42"
1920x1080 TV.



$ ls -lh Series\ 1\ Ep\ 1-DO1904H001S00*.mp4
-rw-r--r-- 1 cas cas 998M Aug 17 15:16 Series 1 Ep 1-DO1904H001S00-best.mp4
-rw-r--r-- 1 cas cas 623M Aug 18 14:05 Series 1 Ep 1-DO1904H001S00-hls-1307.mp4
-rw-r--r-- 1 cas cas 438M Aug 18 14:10 Series 1 Ep 1-DO1904H001S00-hls-917.mp4

craig

--
craig sanders 
___
luv-main mailing list
luv-main@luv.asn.au
https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main


Re: Jitsi

2020-08-17 Thread Keith Bainbridge via luv-main



On 17/8/20 8:22 pm, Rick Moen via luv-main wrote:
Nobody has otherwise set any password. 


So I don't need a password.


 (In Jitsi Meet, it's possible to

set / unset / change an entry password for an in-use room, e.g., if it
suddenly becomes necessary to deter disruptive people from entering.)


I had seen this somewhere, but not explored it. Guess I hadn't thought 
of shutting out disruptive people.


Thanks Rick


I am just trying to figure why I have problems with private jitsi 
servers but not with the public server - well when I am host.   So I'll 
test that further by getting a local colleague to set up a different 
meet for our regular meet Friday night.



--
Keith Bainbridge

keithrbaugro...@gmail.com
or ke1thozgro...@gmx.com
___
luv-main mailing list
luv-main@luv.asn.au
https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main


Re: Jitsi

2020-08-17 Thread Rick Moen via luv-main
Quoting Keith Bainbridge (keithrbaugro...@gmail.com):

> Russell, Rick mentioned earlier today that you are restricting
> access to meets. Should I need a password?  that I haven't noticed.

I can't remember what I might have said except perhaps that, on 
Russell's server, a room isn't available to ordinary, anonymous users
until someone with prearranged username/password credentials enters it
to 'open' the room.  Thus, the 'a' room in use on Russell's server
became available this evening around 6pm when Russell authenticated
himself to Jitsi Meet, and opened it.

Nobody has otherwise set any password.  (In Jitsi Meet, it's possible to
set / unset / change an entry password for an in-use room, e.g., if it
suddenly becomes necessary to deter disruptive people from entering.)


___
luv-main mailing list
luv-main@luv.asn.au
https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main


Re: Jitsi

2020-08-17 Thread Keith Bainbridge via luv-main



On 17/8/20 6:35 pm, Rick Moen via luv-main wrote:

Quoting Keith Bainbridge (keithrbaugro...@gmail.com):


I see that my mic is registering some back-ground noise at times.
Can anybody hear that?


Speaking for myself, I'm not hearing background noise in the room,
only conversation among Russell, Andrew, Wen, and occasionally me.
(Nick just now joined us, too.)

We see a user panel representing you appear and seem to be connected
(with video and audio muted), and then some 10 seconds later
disconnecting -- and then the cycle repeats.

___
luv-main mailing list
luv-main@luv.asn.au
https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main




Thanks Rick



I'm surprised everybody is still here - I just dived out to have dinner

I went to turn my firewall off just in case, but I had already done that.

Russell, Rick mentioned earlier today that you are restricting access to 
meets. Should I need a password?  that I haven't noticed.


--
Keith Bainbridge

keithrbaugro...@gmail.com
or ke1thozgro...@gmx.com
___
luv-main mailing list
luv-main@luv.asn.au
https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main


Re: Jitsi

2020-08-17 Thread Rick Moen via luv-main
Quoting Keith Bainbridge (keithrbaugro...@gmail.com):

> I see that my mic is registering some back-ground noise at times.
> Can anybody hear that?

Speaking for myself, I'm not hearing background noise in the room, 
only conversation among Russell, Andrew, Wen, and occasionally me.
(Nick just now joined us, too.)

We see a user panel representing you appear and seem to be connected
(with video and audio muted), and then some 10 seconds later
disconnecting -- and then the cycle repeats.

___
luv-main mailing list
luv-main@luv.asn.au
https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main


Re: Jitsi

2020-08-17 Thread Rick Moen via luv-main
Quoting Keith Bainbridge (keithrbaugro...@gmail.com):

> Evening all, particularly those chatting in the meet. I saw Russell,
> Rick and 3 others in the brief time I get between dumps-out.
> 
> You can probably see how long I Russell and a couple of others have
> their mic's muted, and a couple have camera muted as well.

Yes, we've been seeing you drop in and out repeatedly.

> I do hear a noise like somebody is blowing into a mic when I rejoin
> the meet automatically.   I figure it's the link opening

That indeed sounds like the low-key 'whoosh' sound when any new member 
joins a room.

-- 
Cheers, "It's still magic even if you know how it's done."
Rick Moen   -- Terry Pratchett, _A Hat Full of Sky_
r...@linuxmafia.com 
McQ! (4x80)
___
luv-main mailing list
luv-main@luv.asn.au
https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main


Re: Jitsi

2020-08-17 Thread Keith Bainbridge via luv-main

On 17/8/20 6:12 pm, Keith Bainbridge wrote:

On 17/8/20 6:09 pm, Keith Bainbridge wrote:

On 16/8/20 11:04 am, Keith Bainbridge wrote:



I have just entered the meet with

https://j.luv.asn.au/a



Evening all, particularly those chatting in the meet. I saw Russell, 
Rick and 3 others in the brief time I get between dumps-out.


You can probably see how long I Russell and a couple of others have 
their mic's muted, and a couple have camera muted as well.


I do hear a noise like somebody is blowing into a mic when I rejoin 
the meet automatically.   I figure it's the link opening





Actually, one of the other 3 is Russell as a normal member, when I get a 
closer look.




I see that my mic is registering some back-ground noise at times. Can 
anybody hear that?


--
Keith Bainbridge

keithrbaugro...@gmail.com
or ke1thozgro...@gmx.com
___
luv-main mailing list
luv-main@luv.asn.au
https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main


Re: Jitsi

2020-08-17 Thread Keith Bainbridge via luv-main

On 17/8/20 6:09 pm, Keith Bainbridge wrote:

On 16/8/20 11:04 am, Keith Bainbridge wrote:



I have just entered the meet with

https://j.luv.asn.au/a



Evening all, particularly those chatting in the meet. I saw Russell, 
Rick and 3 others in the brief time I get between dumps-out.


You can probably see how long I Russell and a couple of others have 
their mic's muted, and a couple have camera muted as well.


I do hear a noise like somebody is blowing into a mic when I rejoin the 
meet automatically.   I figure it's the link opening





Actually, one of the other 3 is Russell as a normal member, when I get a 
closer look.


--
Keith Bainbridge

keithrbaugro...@gmail.com
or ke1thozgro...@gmx.com
___
luv-main mailing list
luv-main@luv.asn.au
https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main


Re: Jitsi

2020-08-17 Thread Keith Bainbridge via luv-main

On 16/8/20 11:04 am, Keith Bainbridge wrote:



I have just entered the meet with

https://j.luv.asn.au/a



Evening all, particularly those chatting in the meet. I saw Russell, 
Rick and 3 others in the brief time I get between dumps-out.


You can probably see how long I Russell and a couple of others have 
their mic's muted, and a couple have camera muted as well.


I do hear a noise like somebody is blowing into a mic when I rejoin the 
meet automatically.   I figure it's the link opening


--
Keith Bainbridge

keithrbaugro...@gmail.com
or ke1thozgro...@gmx.com
___
luv-main mailing list
luv-main@luv.asn.au
https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main


Re: Jitsi

2020-08-17 Thread Wen Lin via luv-main
Hi LUVers,

Would certainly try to join the Jitsi session today, to learn something,
and share some thoughts.

Thanks Russell for setting up and hosting this Jitsi server so interested
people can join in the chat.  Appreciate your efforts in keeping the flame
of LUV alive during this difficult period.

Regards,
Wen


On Mon, Aug 17, 2020 at 5:27 PM Russell Coker via luv-main <
luv-main@luv.asn.au> wrote:

> On Monday, 17 August 2020 3:08:59 PM AEST Rick Moen via luv-main wrote:
> > Quoting Russell Coker (russ...@coker.com.au):
> > > LUV members are welcome to inspect LUV services and try to find
> > > configuration errors.  If you suspect that I may have made a mistake in
> > > access control then test it out and let me know of any problems that
> > > occur.
> >
> > I doubt there are configuration errors,
>
> The first time you do something generally won't get the best result, so
> some
> errors are likely.
>
> > but have a few modest
> > suggestions that I'll post to your blog entry on the subject.
> > (You may well have already considered them, but I figure the
> > discussion is benificial.)
>
> Sure, having a permanent and public discussion is good.
>
> > Thank you again for the good work, and
> > I look forward to chatting again, this evening.
>
> Yes, 6PM tonight, same address.
>
> --
> My Main Blog http://etbe.coker.com.au/
> My Documents Bloghttp://doc.coker.com.au/
>
>
>
> ___
> luv-main mailing list
> luv-main@luv.asn.au
> https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main
>
___
luv-main mailing list
luv-main@luv.asn.au
https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main


Re: Jitsi

2020-08-17 Thread Russell Coker via luv-main
On Monday, 17 August 2020 3:08:59 PM AEST Rick Moen via luv-main wrote:
> Quoting Russell Coker (russ...@coker.com.au):
> > LUV members are welcome to inspect LUV services and try to find
> > configuration errors.  If you suspect that I may have made a mistake in
> > access control then test it out and let me know of any problems that
> > occur.
> 
> I doubt there are configuration errors,

The first time you do something generally won't get the best result, so some 
errors are likely.

> but have a few modest
> suggestions that I'll post to your blog entry on the subject.
> (You may well have already considered them, but I figure the
> discussion is benificial.)

Sure, having a permanent and public discussion is good.

> Thank you again for the good work, and
> I look forward to chatting again, this evening.

Yes, 6PM tonight, same address.

-- 
My Main Blog http://etbe.coker.com.au/
My Documents Bloghttp://doc.coker.com.au/



___
luv-main mailing list
luv-main@luv.asn.au
https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main


Re: BBC radio program, saving the audio

2020-08-17 Thread Craig Sanders via luv-main
On Sun, Aug 16, 2020 at 07:48:57AM +1000, Mark Trickett wrote:
> I heard a BBC documentary on ABC Radio National, in the World Docos
> segment. I want the audio to pass on to others, and I would strongly
> recommend it to all here. I can get it to play, but not to save, yet.
>
> https://www.bbc.co.uk/programmes/m000jtmv

while there are lots of options with youtube-dl for selecting download format
and quality, a basic download using that URL works well here. e.g.

(btw, you can ignore the "HTTP Error 403: Forbidden" warnings - some BBC formats
are geo-locked to the UK - for BBC Subscribers only, i guess)


$ youtube-dl 'https://www.bbc.co.uk/programmes/m000jtmv'
[bbc.co.uk] m000jtmv: Downloading video page
[bbc.co.uk] m000jtmv: Downloading playlist JSON
[bbc.co.uk] m000jtmt: Downloading media selection XML
[bbc.co.uk] m000jtmt: Downloading MPD manifest
[bbc.co.uk] m000jtmt: Downloading m3u8 information
[bbc.co.uk] m000jtmt: Downloading m3u8 information
WARNING: Failed to download m3u8 information: HTTP Error 403: Forbidden
[bbc.co.uk] m000jtmt: Downloading MPD manifest
WARNING: Failed to download MPD manifest: HTTP Error 403: Forbidden
[bbc.co.uk] m000jtmt: Downloading m3u8 information
WARNING: Failed to download m3u8 information: HTTP Error 403: Forbidden
[bbc.co.uk] m000jtmt: Downloading m3u8 information
WARNING: Failed to download m3u8 information: HTTP Error 403: Forbidden
[bbc.co.uk] m000jtmt: Downloading MPD manifest
[bbc.co.uk] m000jtmt: Downloading m3u8 information
[bbc.co.uk] m000jtmt: Downloading m3u8 information
WARNING: Failed to download m3u8 information: HTTP Error 403: Forbidden
[bbc.co.uk] m000jtmt: Downloading MPD manifest
WARNING: Failed to download MPD manifest: 
[bbc.co.uk] m000jtmt: Downloading m3u8 information
WARNING: Failed to download m3u8 information: 
[bbc.co.uk] m000jtmt: Downloading m3u8 information
WARNING: Failed to download m3u8 information: 
[dashsegments] Total fragments: 131
[download] Destination: Watching Us, Week 1-m000jtmt.m4a
[download] 100% of 9.60MiB in 01:58
[ffmpeg] Correcting container in "Watching Us, Week 1-m000jtmt.m4a"

$ mediainfo /tmp/Watching\ Us\,\ Week\ 1-m000jtmt.m4a
General
Complete name: /tmp/Watching Us, Week 1-m000jtmt.m4a
Format   : MPEG-4
Format profile   : Base Media
Codec ID : isom (isom/iso2/mp41)
File size: 9.59 MiB
Duration : 13 min 51 s
Overall bit rate mode: Constant
Overall bit rate : 96.8 kb/s
Writing application  : Lavf58.45.100

Audio
ID   : 1
Format   : AAC LC SBR
Format/Info  : Advanced Audio Codec Low Complexity 
with Spectral Band Replication
Commercial name  : HE-AAC
Format settings  : Explicit
Codec ID : mp4a-40-2
Duration : 13 min 51 s
Bit rate mode: Constant
Bit rate : 96.0 kb/s
Channel(s)   : 2 channels
Channel layout   : L R
Sampling rate: 48.0 kHz
Frame rate   : 23.438 FPS (2048 SPF)
Compression mode : Lossy
Stream size  : 9.52 MiB (99%)
Language : English
Default  : Yes
Alternate group  : 1


I tested the download with smplayer, sounds pretty good.



> I do have youtube-dl installed,and command runner firefox extension,

i've never used youtube-dl with a firefox extension, only from the command
line.

> but not yet sure how to go about. I would also appreciate examples to
> be able to use them to download from ABC iView, I want "saving Planet
> A".

i'm going to assume you mean "Fight For Planet A: Our Climate Challenge" with
Craig Reucassel from The Chaser, because that's the closest thing that that
came up when I searched the iview site.

ABC iview is a bit trickier.  Finding the exact URL for a recording
can be difficult.

First, start with the main URL for the show: 
https://iview.abc.net.au/show/fight-for-planet-a-our-climate-challenge

Use that with `lynx -dump -listonly -nonumbers` and `grep` to find the actual 
download URL.

$ lynx -dump -listonly -nonumbers 
'https://iview.abc.net.au/show/fight-for-planet-a-our-climate-challenge' | grep 
-i ^http.*/video/
https://www.facebook.com/sharer.php?u=https://iview.abc.net.au/show/fight-for-planet-a-our-climate-challenge/series/1/video/DO1904H001S00
https://twitter.com/share?url=https://iview.abc.net.au/show/fight-for-planet-a-our-climate-challenge/series/1/video/DO1904H001S00=Fight
 For Planet A: Our Climate Challenge Series