[mythtv] ffmpeg and mythtranscode
Craig Treleaven
ctreleaven at cogeco.ca
Tue Dec 5 17:22:35 UTC 2017
> On Dec 5, 2017, at 12:13 PM, Stuart Auchterlonie <stuarta at squashedfrog.net> wrote:
>
> On 04/12/17 21:06, Peter Bennett wrote:
>> In my project of updating the deprecated ffmpeg calls, I got to
>> "avcodec_encode_video2", which is the function that passes frames to
>> ffmpeg for encoding. It is replaced by avcodec_send_frame and
>> avcodec_receive_packet.
>>
>> It seems the main use of video encoding is for mythtranscode. It is also
>> used for nuppelvideo recording.
>
> That used to be true many years ago.
>
> These days I would say that the primary use for transcoding is
> "lossless" transcoding to remove commercials.
>
> That way the actual encoding of the file isn't changed, just the
> extra junk is removed.
>
> Having said that, however, it currently only works for mpeg2
> content, as nobody has ever got around to implementing it for
> h264 or other newer container formats.
>
[…]
What about transcoding to wireless-friendly formats? I think that if Myth is to have a future, it needs to work with whatever device the user wants. Phone, tablet, laptop, or something else (watch?).
Right now, HLS transcoding is pretty rough but sort of works.
Craig
(My 2 cents but I’m not the one to develop the code.)
More information about the mythtv-dev
mailing list