Re: Mixing different video and audio modes

2019-12-06 Thread RS




On 06/12/2019 20:05, I wrote:



To make the last command a bit clearer I can write it as

ffmpeg -i infilev.mp4 -i infilea.m4a -map 0:v:0 -map 1:a:0 -c copy \
outfile



That should be outfile.mp4



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


Re: Mixing different video and audio modes

2019-12-06 Thread RS

On 04/12/2019 21:33, I wrote:
There used to be an option for some of the HLS modes to replace the 
128kbit/s audio with 320kbit/s audio.  There is no longer any 320kbit/s 
audio for tv, so the option is being withdrawn.


I would imagine that a similar technique could be used to replace the 
96kbit/s audio in dvfxsd with 128kbit/s audio from one of the 50fps 
modes such as dvfhd.  As well as the higher bit rate, that would get rid 
of the HE-AAC SBR extension.


I have quickly skimmed the v3.23 code.  sub get_stream_data at line 6269 
which formats calls to sub get_stream_data_cdn at line 6155 appears to 
be relevant.  I have not managed to find where it decides to download 
video and audio separately for DASH.


Has anyone else looked at it?


What I wanted to do was to replace the 96kbit/s HE-AAC audio of the DASH 
dvfxsd mode with 128kbit/s AAC-LC audio.  I did not manage to find where 
in the code get_iplayer selected the stream to be downloaded.


Instead I used ffmpeg to select the streams I wanted after I had 
downloaded them.  This is what I did.


get_iplayer --pid m000bq36 --tvmode dvfhd --audio-only

get_iplayer --pid m000bq36 --tvmode dvfxsd --force

ffmpeg -i Murder_Mystery_and_My_Family_Series_3__04.\
_Episode_4_m000bq36_original.mp4 \
-i Murder_Mystery_and_My_Family_Series_3_-\
_04._Episode_4_m000bq36_original.m4a \
-map 0:v:0 -map 1:a:0 -c copy \
Murder_Mystery_and_My_Family_Series_3__\
04._Episode_4_m000bq36_originalx.mp4

Note that I have added x to the output file name to make it different 
from the input file names.  If either of the input files is overwritten 
the resultant file will not play.


To make the last command a bit clearer I can write it as

ffmpeg -i infilev.mp4 -i infilea.m4a -map 0:v:0 -map 1:a:0 -c copy \
outfile

I did experiment with --raw and --overwrite to avoid superfluous 
invocations of ffmpeg.  I got some unexpected results.  In one case I 
got a .mp4 file instead of .m4a and in another the .m4a file was 
deleted.  I decided it was safer to let get_iplayer do the 
post-processing it normally does.







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


Radio / Sounds - Extra Formating??

2019-12-06 Thread CJB
Noticed that radio (sounds) downloads have an additional formating
step, why so please:

INFO: Downloading radio: 'Change at Oglethorpe - 01. Off the Rails
(b00mvs9q) [original]'
INFO: Downloaded: 74.34 MB (00:30:49) @ 6.68 Mb/s (dafhigh1/ll) [audio]
INFO: Converting to MPEG-TS <===
INFO: Converting to M4A
INFO: Tagging M4A

CJB

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


RE: problems with converting to mp3

2019-12-06 Thread Roger Jones
Thanks for that George

Unfortunately my car stereo can't handle M4A, but as you will see from a
later post, I manged to solve my problem.

--
Roger


-Original Message-
From: George Eycott [mailto:geo...@eycott.co.uk] 
Sent: 06 December 2019 13:26
To: 'Roger Jones' ; get_iplayer@lists.infradead.org
Subject: RE: problems with converting to mp3

I know this isn't a direct answer to your question, but I no longer convert
to MP3. I discovered that everything I was using for playback was actually
able to cope with the M4A files that get_iplayer generates by default for
radio programmes (even kit that didn't actually list it in the specs) so the
extra conversion was not necessary. May be worth trying..

Cheers

George


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


RE: problems with converting to mp3

2019-12-06 Thread George Eycott
I know this isn't a direct answer to your question, but I no longer convert
to MP3. I discovered that everything I was using for playback was actually
able to cope with the M4A files that get_iplayer generates by default for
radio programmes (even kit that didn't actually list it in the specs) so the
extra conversion was not necessary. May be worth trying..

Cheers

George

> -Original Message-
> From: get_iplayer  On Behalf Of
> Roger Jones
> Sent: 06 December 2019 07:48
> To: get_iplayer@lists.infradead.org
> Subject: problems with converting to mp3
> 
> I have in my options:
> 
> commandradio ffmpeg -i "" -c:v copy -c:a libmp3lame -b:a 192k -
> id3v2_version 3 -write_id3v1 1 -y "\.mp3" && del
> ""
> 
> 
> All this worked until recently, but now when running get_iplayer I get the
> message:
> open3: IO::Pipe: Can't spawn-NOWAIT: No such file or directory at
> C:\Program Files (x86)\get_iplayer\get_iplayer.pl line 2131
> 
> Any ideas?
> 
> 
> regards
> roga
> 
> 
> ___
> 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: problems with converting to mp3

2019-12-06 Thread Roger Jones
> Any ideas?

Turns out it was due to me deleting windows environment variables (what is
on the "path" statement)

I had a look at another system, and copied some of the default environment
variables, and now all is working fine.

R


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