[FFmpeg-devel] [PATCH 2/2] libavfilter: Removes stored DNN models. Adds support for native backend model file format in tf backend.

Gyan Doshi gyandoshi at gmail.com
Tue Aug 21 22:40:15 EEST 2018


On 21-08-2018 10:27 PM, Pedro Arthur wrote:

>>
>>
>> Something like,
>>
>>      ffmpeg -i in.bmp -filter_complex
>>             'format=yuvj444p,extractplanes=y+u+v[y][u][v];
>>              [y]sr=dnn_backend=tensorflow:model=espcn.model[y-sr];
>>              [u]scale=iw*2:-1[u2x];[v]scale=iw*2:-1[v2x];
>>              [y-sr][u2x][v2x]mergeplanes=0x001020:yuvj444p'
>>              out.bmp
>>
> I personally think the average user, just wanting to upscale and
> image, shouldn't have to type that much.

Agreed. Can't the filter upscale the chroma planes internally?

Gyan


More information about the ffmpeg-devel mailing list