ffmpeg conversion

RS richard22j at zoho.com
Sun Sep 3 03:55:06 PDT 2017


>From: Jeremy Nicoll - ml gip Sent: Sunday, September 3, 2017 10:59

>>On 2017-09-03 10:36, I wrote:

>> I regard get_iplayer as an educational tool as well as performing the
>> function it was written for.  I have often felt it would be useful if
>> the commands passed to ffmpeg were displayed so we could learn to do
>> it for ourselves.

>Does that not happen if you code  --verbose  ?

Yes you are right.  I have never spotted that.

INFO: Command: "ffmpeg" "-loglevel" "fatal" "-stats" "-y" "-i" 
"H:\Dvid178\The_Film_Reviews01e01The_Limehouse_Golem_Patti_Cake_Terminator_2_Judgement_Day.hls.ts" 
"-c:v" "copy" "-c:a" "copy" "-bsf:a" "aac_adtstoasc" 
"H:\Dvid178\The_Film_Reviews01e01The_Limehouse_Golem_Patti_Cake_Terminator_2_Judgement_Day.partial.mp4"

If you use –verbose you will see the command it passes to AtomicParsley 
which is something you would not want to generate manually.  The easiest 
option is to use get_iplayer’s resume facility otherwise you will lose the 
tags.

If you want to find the ffmpeg command in the code for v3.02 it is at line 
7045
@cmd = (
        $bin->{ffmpeg},
        @{ $binopts->{ffmpeg} },
        @global_opts,
        @input_opts,
        @codec_opts,
        @filter_opts,
        $prog->{filepart},
    );

7025 push @input_opts, ( '-i', $video_file ) if $video_ok;

7028 push @codec_opts, ( '-c:v', 'copy', '-c:a', 'copy' );

7039 push @filter_opts, ( '-bsf:a', 'aac_adtstoasc' );








More information about the get_iplayer mailing list