holzschu / a-Shell-commands

shell commands, pre-compiled to webAssembly, ready to use in a-Shell
554 stars 21 forks source link

No such filter: 'zscale' when using ffmpeg #13

Open fr0der1c opened 2 years ago

fr0der1c commented 2 years ago

Hi. I encountered the following error when using the ffmpeg downloaded in this repository.

IMG_0140

I guess this is somehow related to the ffmpeg build and zlib but I already downloaded the version with zlib. Is there any way to solve the problem? I run this command on Mac and it worked fine.

holzschu commented 2 years ago

I think the zscale filter is related to libzimg (https://github.com/buaazp/zimg), rather than zlib. So I would have to download and compile zimg, and then enable it in ffmpeg, to support zscale. It can be done.

holzschu commented 2 years ago

Hi, the latest TestFlight version of a-Shell ( https://testflight.apple.com/join/WUdKe3f4 ) has native ffmpeg, with the zscale filter enabled. You will need to remove the webAssembly ffmpeg so that the native version is called.

paulcx commented 1 month ago

no subtitles filter?

AVFilterGraph @ 0x3003cdc70] No option name near 's
ub.srt'
[AVFilterGraph @ 0x3003cdc70] Error parsing a filter
 description around: 
[AVFilterGraph @ 0x3003cdc70] Error parsing filterch
ain 'subtitles=sub.srt' around: 
[vost#0:0/mpeg4 @ 0x155e2ba20] Error initializing a 
ub.srt'
[AVFilterGraph @ 0x3003cdc70] Error parsing a filter description around: 
[AVFilterGraph @ 0x3003cdc70] Error parsing filterchain 'subtitles=sub.srt' around: 
[vost#0:0/mpeg4 @ 0x155e2ba20] Error initializing a 
simple filtergraph