You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.
Expected behavior
Expected behavior is that the command should execute and apply the drawtext filter on the input video which in this case draws a "hello world" in a random location that changes every 30 seconds. The filter is an example taken from the documentation here
Current behavior
Receiving the following error:
[AVFilterGraph @ 0x780d69de00] No option name near 'if(eq(mod(t'
[AVFilterGraph @ 0x780d69de00] Error parsing a filter description around: ,30),0),rand(0,(h-text_h)),y)
[AVFilterGraph @ 0x780d69de00] Error parsing filterchain 'drawtext=fontsize=30:fontfile=FreeSerif.ttf:text='X':x=if(eq(mod(t,30),0),rand(0,(w-text_w)),x):y=if(eq(mod(t,30),0),rand(0,(h-text_h)),y)' around: ,30),0),rand(0,(h-text_h)),y)
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:0
Conversion failed!
Error: RetCode 1
Description
Executing an ffmpeg command that contains expressions fails. I tried to run the following command on ubuntu and it worked:
ffmpeg -i in.mp4 -c:a copy -qscale 0 -vf drawtext="fontsize=30:fontfile=FreeSerif.ttf:text='hello world':x=if(eq(mod(t\,30)\,0)\,rand(0\,(w-text_w))\,x):y=if(eq(mod(t\,30)\,0)\,rand(0\,(h-text_h))\,y)" out.mp4
Expected behavior
Expected behavior is that the command should execute and apply the drawtext filter on the input video which in this case draws a "hello world" in a random location that changes every 30 seconds. The filter is an example taken from the documentation here
Current behavior
Receiving the following error:
To Reproduce
Screenshots
If applicable, add screenshots to help explain your problem.
Logs
Error message:
React Native on Android configuration:
React Native on IOS configuration:
Environment
Android
/iOS
/ReactNative
arm64-v8a
,arm64-v8a
v6.0.2.LTS
main
v0.74.5
The text was updated successfully, but these errors were encountered: