Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#8497 closed enhancement (invalid)

drawbox should support time

Reported by: Puneet Agarwal Owned by:
Priority: normal Component: avfilter
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Its a feature request.

I request to take this project in GSOC 2020, as I can mentor this project very well. I am using ffmpeg for my own website from very long. FFmpeg has helped me in lot of ways, and I think its time to give back something to the community.

Change History (10)

comment:1 by Elon Musk, 4 years ago

Component: ffmpegundetermined
Priority: importantnormal
Resolution: invalid
Status: newclosed
Version: git-masterunspecified

drawbox already supports time.

comment:2 by Gyan, 4 years ago

Component: undeterminedavfilter
Resolution: invalidneeds_more_info
Version: unspecifiedgit-master

OP isn't clear - do you mean timeline support (enable) or animation? It has the former, not the latter. If the latter, I've a semi-finished patch for it which I can finish next month. It's not ambitious enough for a GSoC project.

comment:3 by Elon Musk, 4 years ago

drawbox supports commands so adding AVExpr mess is not welcomed.

comment:4 by Gyan, 4 years ago

Commands only allow reinit to a new static size, not animation.

comment:5 by Elon Musk, 4 years ago

Nonsense, commands can do animation just fine. While AVExpr is stupid limited nonsense.

comment:6 by Puneet Agarwal, 4 years ago

I will tell you what I want to do, and let me know if it possible using simple commands.

Sample Video:- https://automated-videos.s3.ap-south-1.amazonaws.com/v8J5QCcs.mp4

In this video white box is coming up from bottom, with increase in time. Now in order to that, I have added multiple drawbox in loop with enable condition.

What is the best way to do this??

I can see that drawtext supports t, then why does drawbox does not support that.

I don't know about the internals of ffmpeg that how it works, but by looking it into a simpler way as abstraction, it should work.

comment:7 by Puneet Agarwal, 4 years ago

Resolution: needs_more_info
Status: closedreopened

comment:8 by Elon Musk, 4 years ago

Resolution: invalid
Status: reopenedclosed

drawbox supports commands use sendcmd filters.

in reply to:  8 comment:9 by Puneet Agarwal, 4 years ago

Replying to richardpl:

drawbox supports commands use sendcmd filters.

If you don't mind, can you elaborate a bit.

comment:10 by Elon Musk, 4 years ago

Please consult documentation, see sendcmd filter documentation, and how it is used with other filters. You can even use zmq filters to alter options via commands at runtime.

Note: See TracTickets for help on using tickets.