[MEncoder-users] cat /dev/video0 | mencoder - ...

Bob Tennent rdtennent at gmail.com
Tue Jul 27 23:36:21 CEST 2010


 >|>   cat /dev/video0 > file.mpg
 >|>   mencoder file.mpg ... -o file.avi
 >|> 
 >|> works fine but
 >|> 
 >|>   cat /dev/video0 | mencoder - ... -o file.avi
 >|> 
 >|> does not.
 >|
 >|What's the difference?

That was given in my first post: in the latter the image breaks up at
every scene change.

 >|Why didn't you try
 >|mencoder /dev/video0
 >|?
 >|or
 >|mencoder - ... < /dev/video0
 >|?

Because I couldn't be sure that mencoder would treat a /dev/... like an
mpeg file and I was trying to avoid doing anything "new". I've now tried
them and they work but equally badly.

BTW, -cache 1000 doesn't seem to help either.



More information about the MEncoder-users mailing list