I have a problem while convertimg ppm image files to YUV format.i have these commands:
for file in `find $dir -name "out1*" |sort`
)|ppmtoy4m -F 25:1|mpeg2enc -f 8 -o exp.m1v
I am giving ppm images as INPUT and after some calculation(in C Language) i am making OUTPUT images to "out1" folder. With the above commands, i am getting "bad raw ppm magic number" error when piped to ppmto4ym command.
I have p6 format for ppm images. Size of the image is: 776*602
I am a newbie for Linux Shell Commands. Is this the Right section for this Question ? Please tell me if i am not clear in my explanation. Thanks for any reply.