ffmpeg camera

Put problems with the Android NDK in this forum.

ffmpeg camera

Postby timoshenko_av » Tue Feb 01, 2011 11:57 am

Hello!
I ported ffmpeg library to android and wrote simple app with read *.mp4 file from sdcard and write each frame to separate files also to sdcard. How can i read video not from file but from camera? can i use MediaRecorder and somehow transfer video from camera to jni code? I want to do video streaming from camera to PC videoplayer etc.
Some suggestions?
Thanks!
timoshenko_av
Freshman
Freshman
 
Posts: 8
Joined: Tue Oct 05, 2010 10:02 am

Top

Re: ffmpeg camera

Postby jeck_landin » Mon Mar 07, 2011 9:40 pm

Hi
You can try to stream video from camera to a unix pipe and make ffmpeg read from this pipe. I am not sure whether it is the solution, but at least you can try this way.
jeck_landin
Freshman
Freshman
 
Posts: 4
Joined: Mon Jan 25, 2010 8:55 pm

Top

Return to NDK Problems

Who is online

Users browsing this forum: No registered users and 2 guests