Please see below ...
On 09/12/2018 08:54, Dave Widgery wrote:
I then relised that get_iplayer does some video conversion and
wondered if I already have the means of doing what I want, I am not
worried about doing any conversion on frame size or rate, just basic
.ts to mp4 conversion, if there is the option to crop that is a bonus.
GetIPlayer uses FFMPEG, type ...
<path if necessary>ffmpeg --help
... to display its online help. There is also online documentation here:
https://www.ffmpeg.org/documentation.html
As it happens, I am currently doing something similar, going through all
the programmes recorded by my Dreambox satellite receiver to convert
those that are worth saving to *.mp4 or *.m4a There are probably other
ways of doing this, some of which may be better than the following, for
example you could use ffmpeg directly to chop up the file into pieces
and put them back together, but you seem to get better granular control
over the edit points doing it this way:
1) I use the demux option in ProjectX* to remove the recording
padding and, for non-BBC recordings, the advertisements, and to demux
the content. This leaves you with a *.m2v file and one or two *.mp2
files, which may be identical or one of which may be the
Audio-Description version, so ...
2) ... If I remember, I listen to the first *.mp2 file to check
it's not the Audio-Description version because far too often it is, and
the next step takes sufficiently long that you don't want to have to
repeat it unnecessarily for lack of checking this.
3) I use ffmpeg to reencode the video into *.mp4 which, even on
a fairly modern PC, may take an hour or more ...
ffmpeg -i <input m2v file> -i <input mp2 file>
<output mp4 file>
* ProjectX is a Java-based video processing programme, so you have to
have Java installed to use it - people get scared by this, because
it's widely touted as a security liability, but to avoid that you simply
don't enable use of it in your browser; Java as such is simply an
interpreted language system like Perl, which GiP uses, or Python, and is
not in itself any more secure or insecure than either:
ProjectX https://sourceforge.net/projects/project-x/
Java https://www.java.com/en/download/
_______________________________________________
get_iplayer mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/get_iplayer