Hi there,
I'm trying to record video clips, and then encode them as mpeg but am having difficulty with sound...I use SuSE 9.2 Pro x86_64 and installed the mjpegtools pacakge from RPM (not a SuSE rpm, from FC2, to match my glibc version)...
Firstly I record an AVI with streamer. That plays fine in xine, so I assume it can be used...
I then try this, as suggested in 'streamer -h'...
lav2wav +p file.avi | mp2enc -o audtrack.mp2
This gives the following error...
[EMAIL PROTECTED]:~> lav2wav +p file.avi | mp2enc -o audtrack.mp2 INFO: [lav2wav] Norm set to PAL **ERROR: [lav2wav] Error opening file.avi **ERROR: [mp2enc] EOF in WAV header **ERROR: [mp2enc] failure reading WAV file
I have also tried using streamer to output the audio and video to separate files but when I run mp2enc to try and encode the WAV I get this...
[EMAIL PROTECTED]:~> mp2enc -o audtrack.mp2 < audtrack.wav **ERROR: [mp2enc] Input not a WAV file - has no "WAVE" tag **ERROR: [mp2enc] failure reading WAV file
So the WAV file created by streamer actually isn't. Loading that file into Audacity shows digital noise on the R channel and nothing on the L. Is there something I can specify on the command line to get WAV files done correctly?
I have tested an existing WAV with mp2enc and it works fine.
Video encoding is working fine and quite fast (I'm using an Athlon64 3000+, so it should!), but I need something other than static or silence to mplex video with! :-)
Kind regards,
Chris Wilkinson, Brisbane, Australia. Software patents are killing our freedom, STOP THEM NOW! http://swpat.ffii.org/ http://nosoftwarepatents.com/
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users