Feature #4588
closedallow building ffmpeg-static with "foreign" ffmpeg
0%
Description
Cross compiling Tvheadend with FFmpeg-static basically doesn't work.
Hopefully I didn't overlooked something fundamental here.
We tried a lot but didn't get it working due multiple problems at every part/step (opus, x265, ffmpeg ...).
They easiest solution I can think of: allow ffmpeg-static builds without the need to build ffmpeg inside of the Tvheadend build and instead use the normal packages that are already working at crosscompile toolchains (obviously these packages need to include everything Tvh needs). So basically allow Tvheadend to behave like every other program out there that has extern dependencies.
For different platforms (ARM, aarch64 ....) and even for different devices you need different quirks and optimisations - basically too much to handle it at Tvheadend. The crosscompile toolchains handle this already today.
For 4.2 we need to carry a rather hacky patch but this does not even work for arm.
Normal ffmpeg with x265 etc (made at the crosscompile toolchain) compiles without any problem for all archs.
So any improvement at this side would be very helpful especially with the new vaapi and omx support.