io
September 28, 2016, 12:01am
1
Hallo, yes, that, how do you deinterlace a 1080i stream from a Canon camera using Datapath Vision E1S, OpenCV VideoIn, DX11.
tx
Simone
Isn’t there a deinterlace shader somewhere?
motzi
September 30, 2016, 8:40am
4
@desaxismundi just recently shouted out this page which has an example for a deinterlace shader. it looks rather simple though…
maybe this is of interest too.
hey io, post raw image of what is capturing, if you need more help
io
October 2, 2016, 6:45pm
6
@antokhio @lasal this is a frame should be enough (?).
bjoern
October 3, 2016, 3:42pm
9
here you go.
Code found here:
/*
* (C) 2003-2006 Gabest
* (C) 2006-2013 see Authors.txt
*
* This file is part of MPC-HC.
*
* MPC-HC is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* MPC-HC is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
This file has been truncated. show original
edit: too late :) didn’t refresh the page.
DeInterlace.7z (8.8 MB)
io
October 6, 2016, 10:19pm
10
OK!! Thank you guys, Bjoern solution seems to be a bit more performant but it lacks automatic height detection.
tx again
Simone
(should go to the addons or contrib.)
bjoern
October 7, 2016, 12:32am
11
with “automatic height detection”
DeInterlace.7z (8.8 MB)
1 Like