bytedeco/javacv

Using FFmpegFrameFilter with zscale and tonemapping

Open

#1389 aperta il 21 mar 2020

Vedi su GitHub
 (11 commenti) (0 reazioni) (0 assegnatari)Java (1583 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (6985 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

When I attempt to create the following filter:

"zscale=t=linear:npl=100,format=gbrpf32le,zscale=p=bt709,tonemap=tonemap=mobius:desat=0,zscale=t=bt709:m=bt709:r=tv,format=yuv420p,scale=1920:1080"

the filter throws an exception when attempting to start:

org.bytedeco.javacv.FrameFilter$Exception: avfilter_graph_parse_ptr() error -22

The filter in question works fine from ffmpeg command line, but I'm using this filter with frame grabber. Any suggestions?

Guida contributor