Solved

error in ppm

Posted on 2004-08-23
1
441 Views
Last Modified: 2008-02-01
Dear experts

i  tried for the scaling of the image using y4mscaler
            ls -1 dimas* | sort | xargs -n1 ppmtoy4m -F 25:1 | /y4mscaler-0.6.2-bin/y4mscaler -I sar=1:1 -O sar=PAL -O size=704*576 | mpeg2enc -f 8 -o video1.m1v

but i have some errors
            ERROR: Could not read YUV4MPEG header: system error (failed read/write)!
           xargs: ppmtoy4m: terminated by signal 13

what is this xargs terminated by signal 13  means and how should i solve it  

 i have installed the y4mscaler ...but it also says
           /y4mscaler-0.6.2-bin/y4mscaler: No match.

could you please tell me what is this problem all about and how to tackle it.
thanks for your patience
0
Comment
Question by:ldbkutty
1 Comment
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 500 total points
ID: 11876007
The xargs command collects as many file names as will fit on a command line, and then executes the command you specified. You do however specify that you only want 1 argument (-n 1) on the command line. This means that ppmtoy4m is called with one item.

You should concatenate your PPM files first, and then pipe this concatenated file into ppmtoy4m:

cat dimas* | ppmtoy4m -F 25:1 | ...

You may have to do this in several steps if your command line gets too long. You probably don't have to sort the output of ls: It's already sorted, and so is the "dimas*" when you cat it into ppmtoy4m.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now