[FFmpeg-user] communicate between ffserver and ffmpeg without socket, is it possible?
soho123.2012 at gmail.com
Wed Aug 6 11:12:39 CEST 2014
as my understanding,
ffserver and ffmpeg use tcp socket to communicate with each other.
is it possible to use global buffer for communication?
because both ffserver and ffmpeg are user space process, if use tcp socket
to do communication,
then all data have to go through a normal network path , such that ffserver
can get the video data or audio data .
it seems take a redundant effort to transfer data from ffmpeg to ffserver.
in video case,
ffmpeg read video data from usb webcam (that is the device in kernel
space), then send the data via tcp socket to ffserver, then ffmpeg put the
data into kernel space,
in advance, ffserver receive the data from tcp socket (the buffer is in
the data has been transfered for a long path!!!!!
Does anyone have ideas?
More information about the ffmpeg-user