Steven M. Schultz schrieb:
On Thu, 5 Feb 2004, [ISO-8859-1] Bernhard Fr?hmesser wrote:


>> ++:    INFO: [lavplay] Using mmap(2) system call for capture
>> ++:    INFO: [lavplay] Output norm: PAL
>> ++:    INFO: [lavplay] Output dimensions: 768x576
>> ++: Fatal signal: Segmentation Fault (SDL Parachute Deployed)

>    Hmmm, I wonder if 'mmap(2)' is part of the problem.  Is there a
>    method you can use that does not involve mmap?

Hmm, I have no idea...


        Oh, ok.  I seem to remember  a "software"/"hardware" choice - ah,
        if you do a "lavplay -h" you'll see:

-p/--playback [SHC] playback: (S)oftware, (H)ardware (screen) or (C)ard

what happens if you use "-p S" in the lavplay command?

The same error than without the "-p S" option (for both programms, glav and lavplay):


 [EMAIL PROTECTED]:/video/video> glav -p S test.avi
++: Fatal signal: Segmentation Fault (SDL Parachute Deployed)
[EMAIL PROTECTED]:/video/video> lavplay -p S test.avi
lavplay1.6.2
lavtools version 1.6.2
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
Speicherzugriffsfehler
[EMAIL PROTECTED]:/video/video>

OK, i have been trying version 1.2.6 and the CVS one, with both versions i still the the SegFault for both (glav and lavplay) programs...


One good thing is that now you have the latest SDL :)

I think "-p S" will work for you though.

Unfortunately it doesn't :-(
Is there a way that version 1.6.0 of the mjpegtools will work with libquicktime? Maybe i should try this version ?


Yes, "lav2yuv test.avi | yuvplay" works, here is the output (a few lines...)

[EMAIL PROTECTED]:/video/video> lav2yuv test.avi | yuvplay
++ WARN: [lav2yuv] unspecified sample-aspect-ratio --- taking a guess...
   INFO: [yuvplay] Playing frame 0000 - 0:00:00.00



Hurrah! That is good, and says SDL is working.

So when lav2yuv test.avi | yuvplay works but neither "glav -p S test.avi" nor the same with lavplay then it must be a problem with this two programms - no?


>       lav2wav test.mov > foo.wav
>       mp2enc -o test.wav < foo.wav

I made a mistake - that should, of course, have been "-o test.mp2". The output of mp2enc is a MPEG-1/Layer-2 file not a WAV file.

Oh right, i haven't recognized that too :-)


[EMAIL PROTECTED]:/video/video> playwave test.wav
Opened audio at 22050 Hz 16 bit stereo
Couldn't load test.wav: Unrecognized file type (not VOC)


Try

mpg123 test.wav

or if you use "-o test.mp2" (as I should have written)

mpg123 test.mp2

that will work I believe.

Yes, that one works :-)


There is another thing that confuses me, the audio has actually 44100 Hz but the wav only has got 22050 Hz...


mp2enc -h

-r num Force output sampling rate to be num Hz (default: 44100)


22050 is not a valid rate for VCD/DVD/SVCD - mp2enc is upsamping the audio to 44100. You can specify a different rate with "-r".

Yeah, but the audio already comes at 44100 Hz from the source (camcorder), so it should actually have 44100 Hz in the recorded video - no?


Cheers,

Frühmesser B.

        Cheers,
        Steven Schultz



------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to