-h 21 | grep 420mpeg2 | wc -l' )
thanks Martin
Re: [Mjpeg-users] how can i figure out if ppmtoy4m has a option
420mpeg2
Hi Martin,
The output from the help of ppmtoy4m is appearing on stderr not =20
stdout. You will need to redirect stderr through your pipe.
Depending on what shell
hi,
i tried to figure out, if ppmtoy4m have the option 420mpeg2, but this
fails with newer mjpegtools version.
with mjpegtools-1.8.0:
# ppmtoy4m -h|grep 420mpeg2|wc -l
the result is 1, thats ok, but with mjpegtools-1.9.0rc2 and
mjpegtools-1.9.0rc3
it's no longer possible to get an integer
Hi Martin,
The output from the help of ppmtoy4m is appearing on stderr not
stdout. You will need to redirect stderr through your pipe.
Depending on what shell you are using this is done in different ways.
tcsh:
ppmtoy4m -h | grep 420mpeg2 | wc -l
bash:
ppmtoy4m -h | grep 420mpeg2 21 | wc -l