Read single pixel value

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Read single pixel value

Joshua Grauman
Hi all,

I'm still working on my setup and haven't gotten anywhere. Maybe
simplifying my question will help.

Is there any way to read a single pixel value from a video on the
commandline that can be used as a variable in other filters (ie to
position overlays)?

If not, would there be generic template code for a function or filter in
ffmpeg so that I could write one? I know c/c++ but have very little
experience with ffmpeg. Would someone be able to steer me in the right
direction to add this functionality?

Also, to write a function/filter do you have to compile all of ffmpeg, or
is there a plugin system?

Thanks so much!!

Josh
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Read single pixel value

Carl Eugen Hoyos-2
2017-10-05 17:52 GMT+02:00 Joshua Grauman <[hidden email]>:

> Also, to write a function/filter do you have to compile all of
> ffmpeg, or is there a plugin system?

There is no plugin system, you have to add new filters
to the source code.

Did you already see the lookup table and equation filters?

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Read single pixel value

Joshua Grauman
Thanks for the suggestion. Those look pretty close, but from what I can
see in the docs, they can't read a single pixel. Am I missing something or
are you suggesting I can modify the code of that filter for my needs?

Josh

> 2017-10-05 17:52 GMT+02:00 Joshua Grauman <[hidden email]>:
>
>> Also, to write a function/filter do you have to compile all of
>> ffmpeg, or is there a plugin system?
>
> There is no plugin system, you have to add new filters
> to the source code.
>
> Did you already see the lookup table and equation filters?
>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".