> On 2 Jul 2016, at 10:43, Mick <michaelkintz...@gmail.com> wrote:
> 
> Since the youtube-dl can only download the audio stream as suggested above, 
> you don't need to transcode with ffmpeg - although it is not difficult to do 
> so 
> for streams you have already downloaded:
> 
> ffmpeg -i input.mp4 -q:a 0 -map a output.mp3

Yeah, but I'd obviously prefer not to transcode, because that's lossy.

> or output.m4a if you prefer.

Well, I tried that.

   youtube-dl -x --audio-format best http://www.bbc.co.uk/programmes/b07fl5bh

This gives an .m4a file which also does not play on the device.

The question may boil down to the Google Drive audio / video player, and its 
(in)ability to play AAC audio. But that would be surprising, don't you think?

> As an alternative for BBC you could also use get_iplayer:
> 
> get_iplayer --get XXXX --radiomode=flashaachigh --
> flvstreamer="/usr/bin/flvstreamer"

I'm reluctant to do that at present, because I have a "perfectly good" audio 
stream already.

The .mp4 or .m4a files I have play just fine in VLC or Quicktime Player.

I assumed that it should only be necessary to repack the audio into a different 
container to get it to play.

In my experience most players conform to Postel's Principle, being liberal in 
the input they'll accept. When I've had media playback problems before, I think 
it's usually been a container issue.

Stroller.


Reply via email to