Help - Search - Members - Calendar
Full Version: Need Help Regarding Video Conversion On Linux
Linuxhelp > In The Community > General Discussion
seifer512
when i'm running the script "videoconversion.sh",
i keep getting the same error

videoconversion.sh script:
#!/bin/sh
#Usage videoconversion.sh /usr/src/naruto.avi
lav2wav $1 | mp2enc -V -o sound.mp2
lav2yuv $1 2>/dev/null | yuvscaler -O VCD 2>/dev/null | mpeg2enc -s -r 16 -o video.m1v 2>/dev/null
mplex -f1 sound.mp2 video.m1v -o $1.mpg
rm -f /home/itsox01/sound.wav
rm -f /home/itsox01/video.m1v
rm -f /home/itsox01/sound.mp2

error:
[itsox01@x01 itsox01]$ ./videoconversion.sh /usr/src/naruto.avi
++ WARN: [lav2wav] Input file /usr/src/naruto.avi is not in JPEG 4:2:2 or 4:2:0 format
**ERROR: [lav2wav] File /usr/src/naruto.avi has 23.976000 frames/sec, choose norm with +[np] param
**ERROR: [mp2enc] EOF in WAV header
**ERROR: [mp2enc] failure reading WAV file
INFO: [mplex] mplex version 1.6.2 (2.2.3 $Date: 2004/01/13 20:45:26 $)
**ERROR: [mplex] Unable to open file sound.mp2 for reading.

any idea wat cos the problem and wat is the solution?
thanks in advance
Corey
I'm not sure what the problem could be there. You can try a project that i've been helping out with, konverter that uses a KDE frontend to mencoder for video conversions, and see if that works for you.
seifer512
nice converter u got there, maybe i will keep tat for my personal use.
But the problem i'm trying to solve is for my sch project,
i will be using the converter on linux and then on grid enviroment. (grid computing)

does anyone face the same problem i having?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.