On Sat, Jun 01, 2019 at 10:40:08AM -0700, Thomas Frohwein wrote:
> Hi,
> 
> I have a use case for Theora encoding with ffmpeg and would like to
> bring this back to the port.
> 
> A brief history:
> 
> * ffmpeg's Theora support was removed in 2015, arguing that VP8/VP9 are
>   replacements. [1]
> * ffmpeg2theora was removed in January 2019 because of breakage with
>   ffmpeg 4.x; claiming that "ffmpeg does the job nowadays" which in all
>   my trying has not been the case, with ffmpeg compiled without Theora
>   support. [2]

Well, ffmpeg does the job when it has the theora codec enabled :P

> 
> While this may be true for decoding, encoding Theora is now impossible
> with the ffmpeg family. The FNA framework only uses Theora for video
> playback because of the very compact implementation in 
> multimedia/libtheorafile:
> 
> $ du -hs /usr/local/lib/lib{theorafile,vpx}.so*
> 28.0K   /usr/local/lib/libtheorafile.so.1.0
> 2.1M    /usr/local/lib/libvpx.so.12.0
> 
> libvpx only contains support for VP8/9, but not VP3 (Theora).
> 
> I'm not sure what exactly the reasoning was for removing Theora support,
> in the absence of a full replacement of this still-used codec. Below is
> a diff to consider that would add a theora FLAVOR to ffmpeg. There is
> no relevant difference in package size, so I'm not sure if this should
> really be branched off into a flavor if it is considered:
> 
> 23.2M   ffmpeg-4.1.3p2v0-theora.tgz
> 23.2M   ffmpeg-4.1.3p2v0.tgz
> 
> So, my question is if this diff could be considered, or clarification
> if not.
> 
> [1] https://marc.info/?l=openbsd-ports-cvs&m=143020279411648&w=2
> [2] https://marc.info/?l=openbsd-ports-cvs&m=154834827813518&w=2

Can you remove the flavor and just enable the codec?


-- 
Juan Francisco Cantero Hurtado http://juanfra.info

Reply via email to