bytedeco/javacv

Using FFmpegFrameFilter with zscale and tonemapping

Open

#1,389 opened on Mar 21, 2020

View on GitHub
 (11 comments) (0 reactions) (0 assignees)Java (1,583 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (6,985 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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?

Contributor guide