OT Question on audio downloads from youtube

Dave Lambley dave at lambley.me.uk
Thu Sep 24 05:49:11 EDT 2020


> On 09/24/2020 10:25 AM Budge <ajebay at errichel.co.uk> wrote:
> 
>  
> On 23/09/2020 09:55, Roger Bell_West wrote:
> > On Wed, Sep 23, 2020 at 12:16:10AM +0100, budge wrote:
> >> I have now found that minimserver, which runs in the NAS and serves the music
> >> data to my LAN and thence to my renderers, is not supported by .opus.  I can
> >> use AAC files so will download them to .aac or  should that be .m4a.  No
> >> hardship and glad I found out now.
> > 
> > It can be both. aac is an encoding format; m4a is a container format.
> > For example if I ffprobe the latest Brain of Britain (obtained via
> > GIP) I get:
> > 
> > Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz,
> > stereo, fltp, 320 kb/s (default)
> > 
> > This is an AAC-encoded stream in an m4a container.
> > 
> 
> Hi Roger,
> Life in never simple!  My choice of .opus was frustrated by lack of
> support for my media server and author advises he will not likely be
> adding .opus.
> 
> I therefore went with .aac as the next best option.
> 
> I now find that if I wish to include thumbnails I can only use .m4a (or
> .mp4).
> 
> I appreciate thumbnails do nothing for sound but they do make searching
> easier so looks like .m4a is the way to go.  Pity I just downloaded 18
> files to .aac.
> 
> My only other comment for now is that the metadata that comes with the
> download is very poor and very short on the info I have been used to.  I
> think the problem is that whilst CD tagging is fairly well supported,
> the YouTube videos are often prepared for a different audience but I had
> hoped that at least the artists would be named.
> If there are ways of improving this I would appreciate advice.

If you have ffmpeg and AtomicParsley installed, youtube-dl can repack the audio in to an .m4a for you, and give you some very rudimentary tagging.

Try,

./youtube-dl -x --embed-thumbnail --add-metadata -f m4a https://www.youtube.com/watch?v=1L993HNAa8M

Dave



More information about the get_iplayer mailing list