gyandeep8693 / javacv

Automatically exported from code.google.com/p/javacv
GNU General Public License v2.0
0 stars 0 forks source link

Add a new API to FFmpegFrameGrabber/Recorder to take a stream as input parameter #363

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Please provide any additional information below.
Would like FFmpegFrameGrabber provide a new constructor as
FFmpegFrameGrabber(InputStream in)
which will make FFmpegFrameGrabber more convenient to use.

Original issue reported on code.google.com by mohzh...@gmail.com on 16 Sep 2013 at 3:08

GoogleCodeExporter commented 9 years ago
Ah! I understand better what you are after now.

We'd have to implement things like read_packet and write_packet callbacks:
http://stackoverflow.com/questions/13583217/read-write-to-stream-with-javacv

This can be quite tricky, and there may be bugs left in JavaCPP that prevent it 
from working properly. You may want to start with some working sample in C and 
work your way up to Java from there.

Original comment by samuel.a...@gmail.com on 17 Sep 2013 at 1:32

GoogleCodeExporter commented 9 years ago
We would need to create a custom AVIOContext, something like this:
http://stackoverflow.com/questions/19785254/play-a-video-from-memorystream-using
-ffmpeg

Original comment by samuel.a...@gmail.com on 2 Feb 2014 at 1:03

GoogleCodeExporter commented 9 years ago
Issue 422 has been merged into this issue.

Original comment by samuel.a...@gmail.com on 11 Feb 2014 at 1:58

GoogleCodeExporter commented 9 years ago
FYI, some more info here:
http://www.codeproject.com/Tips/489450/Creating-Custom-FFmpeg-IO-Context

Original comment by samuel.a...@gmail.com on 11 Feb 2014 at 1:58

GoogleCodeExporter commented 9 years ago
I second on this enchancement, would be great to feed a stream into ffmpeg 
directly!

Original comment by positro...@gmail.com on 5 Apr 2014 at 6:07

GoogleCodeExporter commented 9 years ago
Xuggler seems to manage to do it somehow, but I could not figure out how)
 http://www.xuggle.com/xuggler

Original comment by positro...@gmail.com on 5 Apr 2014 at 6:49

GoogleCodeExporter commented 9 years ago
Last I checked, Xuggler did not run on Android

Original comment by eug...@wearableintelligence.com on 5 Apr 2014 at 6:58

GoogleCodeExporter commented 9 years ago
huh, sorry, I never thought about android functionality since I am a J2SE 
developer)

Original comment by positro...@gmail.com on 6 Apr 2014 at 1:43