[MEncoder-users] FIFO to MEncoder: Cannot seek backward in linear streams

Javier Martin xaverbrennt at yahoo.es
Mon Nov 26 14:14:43 CET 2007


Hello,

I'm using MPlayer and MEncoder to provide images to computer vision systems. The idea is simple and can be summarized in this command line:

$ mplayer /tmp/fifo2 -demuxer rawvideo -rawvideo w=514:h=304:format=bgr24 < /dev/null  & \
  mencoder /tmp/fifo -nosound -o /tmp/fifo2 -ovc raw -of rawvideo -vf format=bgr24  & \
  mplayer /tmp/video.avi -vo yuv4mpeg:file=/tmp/fifo -vf scale=514:304 -ao null -slave

But, instead of the first mplayer, I run my program in order to read bgr24 frames, which are easy to work with, from fifo2.

I have no problem with versions of MPlayer and MEncoder bellow 1.0rc1.  Using the latest releases, MPlayer works as usual, however, MEncoder displays this message:

MEncoder 2:1.0~rc2-0ubuntu1~gutsy1 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz (Family: 6, Model: 
15, Stepping: 11)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
success: format: 0  data: 0x0 - 0x0
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed

(and so on...)

So I get anything.

I'll thank any help.




More information about the MEncoder-users mailing list