ffmpegwasm / ffmpegwasm/ffmpeg.wasm
No such filter: 'zscale' - Add zscale filter to binary ?
- 主要言語
- C
- スター
- 17.8k
- フォーク
- 1.1k
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I'm trying to port the following ffmpeg command, which allow to map a HDR video stream to an equivalent SDR stream.
```
ffmpeg -i my_video.mp4 -vf zscale=t=linear:npl=100,format=gbrpf32le,zscale=p=bt709,tonemap=tonemap=hable:desat=0,zscale=t=bt709:m=bt709:r=tv,format=yuv420p -c:v libx264 -crf 17 -preset slower my_video-tonemapped.mp4
```
I'd like to be able to use zscale filter.
The ffmpeg command I tried to execute was :
```
await ffmpeg.exec([
'-i',
videoFilename,
'-vf',
'zscale=t=linear:npl=100,format=gbrpf32le,zscale=p=bt709,tonemap=tonemap=hable:desat=0,zscale=t=bt709:m=bt709:r=tv,format=yuv420p',
'-c:v',
'libx264',
'-crf',
'17',
'-preset',
'slower',
'my_video-tonemapped.mp4'
])
```
Which result in the following error :
```
[AVFilterGraph @ 0x106cdf0] No such filter: 'zscale'
App.vue:70 Error reinitializing filters!
App.vue:70 Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:0
App.vue:70 [aac @ 0xe96330] Qavg: 228.297
App.vue:70 [aac @ 0xe96330] 2 frames left in the queue on closing
App.vue:70 Conversion failed!
App.vue:70 Aborted()
```
Thanks a lot for this amazing project.
コントリビューションガイド
評価
この issue はまだ評価されていません。