[MEncoder-users] Can you feed a named pipe into mencoder?

David Liontooth lionteeth at cogweb.net
Thu Nov 11 08:33:57 CET 2010


A plain pipe seems to work -- the - is stin:

  cat /dev/dvb/adapter0/dvr0 | mencoder - -cache 2048 -ovc copy -oac 
copy -o out.avi

However, I need to pipe the same stream to zvbi-atsc-cc; it will accept 
a named pipe like this:

  cat /dev/dvb/adapter0/dvr0 | tee p1 > p2 | paste p1 > $FIL.mpeg | \
zvbi-atsc-cc --atsc -T -C $FIL.txt CBS-HD < p2

Instead of piping the stream through the named pipe p1 to a file, can I 
pipe it to mencoder?

Dave


More information about the MEncoder-users mailing list