[MEncoder-users] View mencoder actions

James jam at tigger.ws
Sat Oct 23 14:35:18 CEST 2010


On Saturday 23 October 2010 18:00:01 mencoder-users-request at mplayerhq.hu 
wrote:
> > Sorry :-) User unacceptable, not technically unacceptable.
> > The user is communicating live and this means a 1 sec audio/video
> > disjoint.They want to hear and see in sync and without delay
> 
> Ah, Ok. I see.  Then this will definitely work (provided you machine
> can handle simultaneous encoding and playback):
> 
> First make two fifo's for piping video around:
> $ mkfifo rawvideo
> $ mkfifo encodeme
> 
> Then use mencoder to grab the video and audio from the devices and
> combine it into one stream.
> $ mencoder tv:// -oac pcm -ovc copy -o rawvideo &
> 
> Pipe the stream through tee(1) to get one for encoding and one for viewing
> $ cat rawvideo | tee encodeme | mplayer - &
> $ mencoder encodeme [options] -o archive.avi
> 
> You might need to add some options when reading from the fifos to get
> mplayer (mencoder) to recognize the stream but the concept will
> certainly work.

That is so clear and simple that I'm embarresed to have not thought it out. 
Thanks lots
James


More information about the MEncoder-users mailing list