Solved

error in ppm

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
linux rpm install 5 202
script 11 138
getting permission denied error on stopping a service 1 37
monitor and log every file access on redhat/linux 4 117
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…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

861 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

23 Experts available now in Live!

Get 1:1 Help Now