?
Solved

error in ppm

Posted on 2004-08-23
1
Medium Priority
?
455 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
[X]
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
1 Comment
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses
Course of the Month10 days, 14 hours left to enroll

770 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