Page 1 of 1

Video de-blocking filter Help

Posted: 16 Aug 2010 09:17
by nataraajc
Hi,

We have come up with our own video de-blocking filter for VLC. We have no clue to integrate the same in the VLC player. Pls help us or throw some light on which module we can focus on to integrate our video de-blocking filter?

Thx
Natz

Re: Video de-blocking filter Help

Posted: 16 Aug 2010 10:49
by Jean-Baptiste Kempf
Do you have a separate module or is this included in another one?

Re: Video de-blocking filter Help

Posted: 16 Aug 2010 11:17
by nataraajc
Thanks for the quick response. I have it as separate module. I just want to integrate with VLC. What I exactly want to do is, I need to have the decoded buffer to do de-blocking. Then give that buffer for rendering.

Pls throw some lights on it.

Re: Video de-blocking filter Help

Posted: 16 Aug 2010 11:29
by Jean-Baptiste Kempf
Can you do that as a video filter or do you need to be at the decoding stage?

Re: Video de-blocking filter Help

Posted: 16 Aug 2010 12:01
by nataraajc
We are trying to make it work as Video Filter. But we are unclear about from where the video filter is getting called. And what are the modules we need to add/change to make it work. :(

Pls help. Thx.

Re: Video de-blocking filter Help

Posted: 16 Aug 2010 12:50
by Jean-Baptiste Kempf
Add a new video_filter like gradfun.c in modules/video_filters/ and compile it.
When done, activate it in the advanced preferences.

Re: Video de-blocking filter Help

Posted: 16 Aug 2010 13:08
by nataraajc
We are using the VLC v1.1.2, but I couldn't find the "gradfun.c in modules/video_filters/". Hope "mirror.c" also using the same filter concept. So after compiling the filter in the video_filters path, so the filter will automatically list in advanced preferences?

Where I can refer for find the flow of the filter below APIs?
1. Create
2. Destroy
3. Filter
4. FilterCallback

What is the use of "FilterCallback" API here?

Thx for the help. I am new to VLC development, pardon me for the basic queries. I tried enough to find, but couldn't :(

Re: Video de-blocking filter Help

Posted: 16 Aug 2010 13:49
by Jean-Baptiste Kempf
gradun is in 1.2.0 (master)

Yes for preferences.

Re: Video de-blocking filter Help

Posted: 16 Aug 2010 15:01
by nataraajc
Can I go with mirror.c in VLC v1.1.2? Or gradfun.c is different implementation?

Re: Video de-blocking filter Help

Posted: 16 Aug 2010 15:44
by Jean-Baptiste Kempf
yes, you can.

Re: Video de-blocking filter Help

Posted: 16 Aug 2010 15:51
by nataraajc
Thanks a lot, let me try and come back. Between I am unable to find the release VLC v1.2.0 in the "http://download.videolan.org/pub/vlc/". We are using VLC for Windows. Pls let me know the link to download it. Thx again :)

Re: Video de-blocking filter Help

Posted: 16 Aug 2010 18:33
by Jean-Baptiste Kempf

Re: Video de-blocking filter Help

Posted: 17 Aug 2010 15:15
by nataraajc
Thx for the great help :)
Will check and let you know.

Re: Video de-blocking filter Help

Posted: 24 Aug 2010 18:29
by nataraajc
Itw working fine. Thanks for the help JB.

Re: Video de-blocking filter Help

Posted: 24 Aug 2010 18:52
by Jean-Baptiste Kempf
Great.