Comments (4)
I don't see it as part of the deprecated functions, reference:
http://code.google.com/p/javacv/source/browse/trunk/javacv/src/com/googlecode/ja
vacv/jna/avcodec.java?r=70#1498 ?
I don't know how to use this function, but you may use it in any appropriate
manner within FFmpegFrameGrabber yes.. Please let me know the modifications you
make so I may incorporate them in a future version of JavaCV, thank you
Original comment by [email protected]
on 12 Dec 2010 at 11:16
- Changed state: Invalid
from javacv.
Thanks for your Answer. I found my mistake.
Your Class "DeprecatedFunctions" extends avcodec... so I was calling:
DeprecatedFunctions.avpicture_deinterlace(......);
I did not know that I can call the "Opt"-class...
I think the right way is to call:
Opt.avpicture_deinterlace(...);
Because it`s a static call it doesn`t matter....my mistake sorry.
Here is my code for the FFMPEGFramegrabber class attached:
I modified it for my needs. When calling the grab()-method I call the native
deinterlace funktion. And use the grabbed Frame(pFrame) as src and destionation.
See Line 382 in the attached File.
if(dointerlace){
Opt.avpicture_deinterlace(pFrame, pFrame, pCodecCtx.pix_fmt, pCodecCtx.width,
pCodecCtx.height);
}
It works. :-)
What I also did:
Set a start time when playing a video file. See line 215-227. I didn`t check
the functionality of this. So don`t use this part of code.
Original comment by [email protected]
on 13 Dec 2010 at 8:42
Attachments:
from javacv.
Thanks! Will incorporate this in the next release...
Original comment by [email protected]
on 14 Dec 2010 at 7:00
- Changed title: Deinterlace Picture in FFmpegFrameGrabber
- Changed state: Started
- Added labels: Type-Enhancement
- Removed labels: Type-Defect
from javacv.
Added deinterlace setting to latest version. If it does not work correctly,
please reopen. Otherwise, please change status to "Verified", thank you.
Original comment by [email protected]
on 19 Feb 2011 at 3:53
- Changed state: Fixed
from javacv.
Related Issues (20)
- JavaCv on android doesen't work HOT 5
- Access violation and like that HOT 2
- Face Recognition using Eigen and Fisher Face. HOT 8
- problems to acces data from all the detected patterns with singleTracker HOT 4
- Encoded H264 video using FFmpegFrameRecorder missing last few frames HOT 8
- sample RecordActivity broken version 0.5 HOT 3
- Dependent Libraries opencv_legacy HOT 18
- Can't compile JavaCV from source code HOT 2
- cvCalcOpticalFlowPyrLK method will cause fatal error HOT 2
- no jnivideoInputLib in java.library.path HOT 1
- Javacv 0.5 linux-x64 requires new glibc HOT 5
- Using Javacv And Opencv in same project HOT 1
- Null pointer error(native method ) HOT 2
- JavaFX Media Player can not play output video created by Javacv 0.5 HOT 1
- How to grab keyframe from a video with javacv? HOT 23
- [Android + FFMpeg] Encoding error while using FFMpegRecorder in RecordActivity.java HOT 6
- canvas.showimage opens empty window on Mac OS Lion HOT 9
- FFmpegFrameGrabber won't grab till the end of video. HOT 12
- Conversion of audio in FFMpegFrameGrabber HOT 6
- Cached value of CvMat.fullSize and *Buffer fields might get incorrect HOT 34
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from javacv.