What steps will reproduce the problem?
1. I install javacv and ffmpeg to my computer(eclipse java)
2. I can use ffplay.exe from builded ffmpeg to receive H264 video
stream by tcp
ex: ffplay tcp://192.168.1.1:555
3. But It just receive and play, I can't get the image data from
middle
4. so I want to FFmpegGragger fuction to reach some result
But I don't realize How to use FFmpegGRabber though TCP connection
I can use a easy example to read static file
File f = new File("img/input.avi");
FFmpegFrameGrabber grabber = new FFmpegFrameGrabber(f);
grabber.start();
IplImage frame = grabber.grab();
CanvasFrame canvasFrame = new CanvasFrame("Camera");
canvasFrame.setCanvasSize(frame.width(), frame.height());
while (canvasFrame.isVisible() && (frame = grabber.grab()) != null) {
canvasFrame.showImage(frame);
}
grabber.stop();
canvasFrame.dispose();
Pleade Help me
Original issue reported on code.google.com by t910...@gmail.com on 13 Oct 2012 at 4:43
Original issue reported on code.google.com by
t910...@gmail.com
on 13 Oct 2012 at 4:43