[mythtv] Redone FFmpeg 4.4.1

Peter Bennett pb.mythtv at gmail.com
Thu Dec 2 15:39:52 UTC 2021


On 12/2/21 6:24 AM, Piotr Oniszczuk wrote:
>
>> Wiadomość napisana przez Peter Bennett <pb.mythtv at gmail.com> w dniu 30.11.2021, o godz. 17:13:
>>
>> That is the ffmpeg-resync-0 before the rebase. The latest ffmpeg-resync-0 is rebased and there is a database schema upgrade in line with master.
>>
> @Peter,
>
> I give try of c257bacbfe7b5edf0f111d8b9b03c5cfd0602b4a on my hw
>
> video decode api tested:
>
> vaapi (h264, hevc, vp8, vp9): ok
> vdpau (h264): ok
> v4l2_m2m (h264, hevc): ok
> v4l2_request (mpeg2, h264, hevc, vp8, vp9): ok
>
> seeking is ok on all: except v4l2_request
> seeking on v4l2_m2m is not optimal (known problem)
>
> So - with this results - i think you may try include v4l2_request into ffmpeg-resync-0
> Code I have should be invisible when not explicitly enabled by configure.
> I think we may test for any interference/regressions on platforms/testbeds not using v4l2_request.
>
> v4l2_request code for myth ffmpeg4.4.1:
>
> https://github.com/warpme/minimyth2/blob/d1020f2445e982e8a39c0d5df423e806bd7993e3/script/myth-master/mythtv/files/0151-ffmpeg4.4-add-V4l2_request-support-5.14kernel.patch
>
> configure patch for mythtv configure:
>
> https://github.com/warpme/minimyth2/blob/d1020f2445e982e8a39c0d5df423e806bd7993e3/script/myth-master/mythtv/files/0152-configure-add-v4l2request-support.patch
>
>
> btw:
> @paul-h:
> this code is well standrized with current FOSS ecosystem  - so .i.e you can launch mythtv on LibrELEC without any mods required on LE.
> (btw. it covers RPI4 hevc - so no dedicated per SoC i.e. mega rpi-speciffic ffmpeg patch is required :-)
>
>
> all@
>
> I have plan to provide ArchLinux Arm 5.15 kernel supporting above api & hw i'm supporting in minimyth2
>
> So you will be able i.e. to run https://arm.endeavouros.com with MythTV on 10+ different SoC...
>
>    

I am concerned because we have now 6000 lines of customization in 
ffmpeg, and you want to add another 4500. I wish we could avoid all the 
customization or get it to as little as possible.

Peter



More information about the mythtv-dev mailing list