[Cin] magicyuv encoding/screen capture in cinGG

Andrew Randrianasulu randrianasulu at gmail.com
Sun Oct 20 12:15:36 CEST 2019


В сообщении от Sunday 20 October 2019 12:57:00 Andrea paz написал(а):
> > "The Turing codec is an H.265/HEVC software video encoder and decoder for efficient video compression"
> > If they have ffmpeg patch you can try it :}
> 
> No, ffmpeg does not support Turing. So should one create a patch to
> include it? It's beyond my capabilities.

They had patch, but against ffmpeg from 2016!

http://turingcodec.org/index.php/documentation/


======

Integration with FFmpeg

Warning: the following instructions are for Linux only.
Prerequisites:

    You need to rebuild the code to install the Turing codec’s libraries on the FFmpeg source directories. To do this, type the following:

    cmake -DCMAKE_INSTALL_PREFIX="$HOME/ffmpeg_build" ..
    make install

    Get the required ffmpeg dependencies at https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu#GettheDependencies.

Build:

    Create the directory where the FFmpeg sources will be downloaded.

    mkdir ~/ffmpeg_sources

    Follow the instructions in https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu#ffmpeg but:
        Instead of using wget and tar, clone ffmpeg from this branch https://github.com/kupix/FFmpeg-1/tree/libturing.
        Add --enable-libturing and remove --enable-xxx for libraries you don’t have (e.g. libx264).

Test:

    To test the encoder, type the following:

    ffmpeg -i in.mp4 -c:v libturing -turing-params speed=fast out.mp4

======

https://github.com/kupix/FFmpeg-1/commits/libturing
last two commits


> Lagarith is included in ffmpeg instead. Just create the .opts file to
> have it in CinGG?

Not sure if there is encoder or decoder only? Looking ....
probably decoder  only ....
I can see https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/HEAD:/libavcodec/lagarith.c but no lagarithenc or anything like this ...
Also git search shows a lot of work since 2011, but no 'encoder' word




More information about the Cin mailing list