Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

error in ppm

Posted on 2004-08-23
1
450 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Shell script awk command 2 110
Linux , how can I inspect a tar GZ file 3 149
Error while installing rpm 1 85
Help with Ubuntu 14.04 LTS 10 137
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 demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

840 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