Re: [Mjpeg-users] Problems running lavrec
On Saturday 22 December 2007, Bernhard Praschinger wrote: > From my guess you use a bttv based card ? > If you use a bttv based card, you need to use a command like that: > lavrec -f a -i p -g 352x288 -q 80 -R l --software-encoding test.avi > Worked a treat. Tried it with 720x576 as well - worked fine except audio lost sync. Will try running it as root - as it complained about not being able to set a negative nice level. > The important things for a bttv card are the -g and --software-encoding > options. You might encounter problems with the audio, for testing > purposes you can disable it with -a 0. > The -i option works different on a bttv based card. -i p means the 1st > Bt8x8 input. Take a look at the lavrec for more info. > > streamer can also create mjpeg encoded AVI's. > Yes, it had problems keeping up though. I used v4lctl to set the input, I had trouble with the -i options. > auf hoffentlich bald, > > Berni the Chaos of Woodquarter > > Email: [EMAIL PROTECTED] > www: http://www.lysator.liu.se/~gz/bernhard > > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > ___ > Mjpeg-users mailing list > Mjpeg-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mjpeg-users -- Peter Chant http://www.petezilla.co.uk - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] ppmtoy4m from mjpegtools-1.9 produces bad preview quality
Hallo Sorry for the late answer. > sorry, but i repeated the test with a 2h video and > mjpegtools-1.9.0-0.5.rc3.fc8, but this time mplex breaks again > with 'mpeg2enc -q 5 -a 2 -n p -f 8 -v 2 -o' > please have a look to the logfile: > http://www.uploadyourfiles.de/8c246551326f8180740f832dbba81f13/p7xu4/Download.html From what I can read from the log file. You did first decode the video with ProjectX. An than mpeg2enc did encode 174 Frames twice. And 2nd mplex ends with: MUX STATUS: Frame data under-runs detected! That means that you have a to high bitrate (and the stream it to short to get usefull statistices. So try to lower the birtrate and/or quality. auf hoffentlich bald, Berni the Chaos of Woodquarter Email: [EMAIL PROTECTED] www: http://www.lysator.liu.se/~gz/bernhard - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] Problems running lavrec
Hallo > I'm having trouble running lavrec, copy of the script I am using is below: > lavrec --format=a --input=p --quality=80 --decimation=2 raw.avi > > Unfortunately it does not work - the output I get is: > > ++ WARN: [lavrec] Unable to set negative priority for audio thread. > ++ WARN: [lavrec] Pthread Real-time scheduling for audio thread could not be > enabled. > **ERROR: [lavrec] Error getting video parameters: Invalid argument > **ERROR: [lavrec] Something went wrong while setting up the card > > Any ideas? Just to note for reference, streamer from xawtv seems to work, so > I would not think it was a v4l issue. Albeit I'm having issues that it uses > far too much disk space when saving to raw video and I'm having issues when > it saves to a compressed format with it maxing the CPU and eventually > failing. From my guess you use a bttv based card ? If you use a bttv based card, you need to use a command like that: lavrec -f a -i p -g 352x288 -q 80 -R l --software-encoding test.avi The important things for a bttv card are the -g and --software-encoding options. You might encounter problems with the audio, for testing purposes you can disable it with -a 0. The -i option works different on a bttv based card. -i p means the 1st Bt8x8 input. Take a look at the lavrec for more info. streamer can also create mjpeg encoded AVI's. auf hoffentlich bald, Berni the Chaos of Woodquarter Email: [EMAIL PROTECTED] www: http://www.lysator.liu.se/~gz/bernhard - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users
[Mjpeg-users] Problems running lavrec
Dear All, I'm having trouble running lavrec, copy of the script I am using is below: #!/bin/sh v4lctl setinput Composite2 v4lctl contrast 50 v4lctl bright 100 # export LAV_VIDEO_DEV="/dev/v4l/video0" export LAV_AUDIO_DEV="/dev/sound/dsp" export LAV_MIXER_DEV="/dev/sound/mixer" #lavrec -f a -g 720x576 --stereo -R m raw.avi lavrec --format=a --input=p --quality=80 --decimation=2 raw.avi Unfortunately it does not work - the output I get is: ++ WARN: [lavrec] Unable to set negative priority for audio thread. ++ WARN: [lavrec] Pthread Real-time scheduling for audio thread could not be enabled. **ERROR: [lavrec] Error getting video parameters: Invalid argument **ERROR: [lavrec] Something went wrong while setting up the card Any ideas? Just to note for reference, streamer from xawtv seems to work, so I would not think it was a v4l issue. Albeit I'm having issues that it uses far too much disk space when saving to raw video and I'm having issues when it saves to a compressed format with it maxing the CPU and eventually failing. Suggestions appreciated. Pete -- Peter Chant http://www.petezilla.co.uk - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users