Re: [Mjpeg-users] glav error opening .avi file

2022-11-18 Thread Bernhard Praschinger

cd dowHallo,

Janos G. Komaromi wrote:

Sorry, I'm back again. I still would like to do my video editing with
glav and sound. Consequently I did a lot of research and Gentoo Forum
message exchanges about alsa and OSS. I tried to resolve the issue
without turning to this mailing list community. Here is the latest
situation, and now I'm asking for comments, suggestions.

After enabling /dev/dsp and making sure that alsa oss emulation is
configured correctly - quote:

janos@andraslinux ~/save/tmp/videoDigitizing $ glav xcoded.avi
++: **ERROR: [lavplay] Error initializing Audio: Audio task died.
Reason: Error: Soundcard fragment size unexpected
++: lavtools version 2.2.1

I get that error too.


janos@andraslinux ~/save/tmp/videoDigitizing $ aoss glav xcoded.avi
++: **ERROR: [lavplay] Error initializing Audio: Audio task died.
Reason: Error: Invalid argument - mapping audio buffer (consider using
read/write instead of mmap)
++: lavtools version 2.2.1
Unquote.
With the same options the same error message. It get's more descriptive 
if you add -v 2
Did you add -U so it uses the the Read/write mode instead of the mmap 
mode ? This helps me here to lavplay/glav does not crash.


Does your distribution use still ALSA ? My opensuse uses PulseAudio, 
using the padsp - PulseAudio OSS Wrapper instead of aoss, made lavplay 
play back the videos audio and sound. The command looked like this:

padsp lavplay file.avi -U


Apparently something is wrong either with "fragment size". I could
probably configure fragment size if I knew what lavplay expects; the
loaded modules are:

snd_pcm_oss
snd_mixer_oss
or something is wrong with in the code of lavplay.

Could be, but I just enjoy a old Music Video from Marusha :-)

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: bernh...@griesbach.at
www: http://www.lysator.liu.se/~gz/bernhard


___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] glav error opening .avi file

2022-10-22 Thread Bernhard Praschinger

Hallo,

I digged it up from a older mail:
Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID /
0x44495658),
yuv420p, 800x592 [SAR 1:1 DAR 50:37], 896 kb/s, 30 fps, 30 tbr, 30 tbn,

I'm not sure what kind source you have: because the size is with 800x592 
a little bit strange. That is neither PAL not NTSC or SECAM


If you want to encode the result for video please try a command like 
that assuming you have a 4:3 source:

> cat stream.yuv │ yuvscaler -O DVD | yuv2lav -I 0 -q 90 -f q -o
video_without_sound.qt &

Depending on the source video you might need to add the -n p/s/n 
p=pal,s=secam,n=ntsc switch to yuvscaler.


If it lookes strange please add the output from the commands to the 
mail. Add to yuvscaler and yuv2lav: -v 2 so the output is more verbose.




Janos G Komaromi wrote:

Sorry to bother this community again with a follow up question:

Now that glav works I have visually noticed a difference between the
original (compressed) file and the glav-compatible (huge) file. In
order to confirm my suspicion I issued the command:
ffprobe -v error -show_format -show_streams 
and compared the outputs - see attached diff.txt file.

It is obvious that
(a) width and height ratio is changed (lines 12-13 vs 19-20);
(b) yuv420p vs yuvj422p (lines 26 vs 33) - maybe not relevant for visual
appearance;
(c) time base (lines 42 vs 44) - this explains the bloated size, do we
need this, and if not, how to leave it as original?

Obviously, only item (a) is important, the rest is mainly for my
curiosity and better understanding of the digital video concepts.

Janos


On Wed, 19 Oct 2022 14:36:58 -0400
"Janos G. Komaromi"  wrote:


Thanks. Yes, glav works with -a 0.

As far as /dev/dsp is concerned I may have to recompile kernel to
include oss drivers. I'll keep on working the sound part, but for my
most immediate editing tasks sound output is not that important.

Thanks again for all you support and also for Stephen's idea of ffmpeg
method of simmply cutting out a section of the original (compressed)
.avi file.

Best to all,

Janos
PS - please add my other email address
ja...@andraslinux.jgklinux.jankom.net
to members of your mailing list.



--
auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: bernh...@griesbach.at
www: http://www.lysator.liu.se/~gz/bernhard


___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] glav error opening .avi file

2022-10-22 Thread Bernhard Praschinger

Hallo,

Janos G. Komaromi wrote:

Thanks. Yes, glav works with -a 0.

As far as /dev/dsp is concerned I may have to recompile kernel to
include oss drivers. I'll keep on working the sound part, but for my
most immediate editing tasks sound output is not that important.


You should not need to include it directly into the kernel, you might 
just need to compile it as module and every thing should be fine.



Thanks again for all you support and also for Stephen's idea of ffmpeg
method of simmply cutting out a section of the original (compressed)
.avi file.

Best to all,

Janos
PS - please add my other email address
ja...@andraslinux.jgklinux.jankom.net
to members of your mailing list.

On Wed, 2022-10-19 at 19:33 +0200, Bernhard Praschinger wrote:

Hallo,

the workaround I did use was playing back the file without sound. So
a
command like that should work: glav -a 0 output.avi
If that works you can go.

If the /dev/dsp does not exist try loading the kernel module snd-pcm-
oss
using a command like that: modprobe snd-pcm-oss
You should find than the /dev/dsp
You can give glav than another try like the way before, please also
add
-v 2 for a more verbose output:
glav -v 2 output.avi

Janos G Komaromi wrote:

Update:

I've installed alsa-oss and now glav does not die. But it is still
not
working properly. Here is the command and terminal output:

Quote:

janos@andraslinux ~/tmp $ aoss glav output.avi
++: ++ WARN: [lavplay] Unable to set negative priority for audio
thread.
++: ++ WARN: [lavplay] Pthread Real-time scheduling for audio
thread
could not be enabled. ++: lavtools version 2.2.1
++: **ERROR: [lavplay] Error playing audio: Buffer overflow writing
audio ++:

Unquote

The initial screen appears, and after about 4 second some noise
comes
out of the speakers, and soon after the whole thing dies. Same with
lavplay. However, mplayer can play the almost 7 Gig output,avi
correctly with sound.

Is the file too big? Any other methods?

Thanks for your attention,

Janos





--
auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: bernh...@griesbach.at
www: http://www.lysator.liu.se/~gz/bernhard


___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] glav error opening .avi file

2022-10-19 Thread Bernhard Praschinger

Hallo,

the workaround I did use was playing back the file without sound. So a 
command like that should work: glav -a 0 output.avi

If that works you can go.

If the /dev/dsp does not exist try loading the kernel module snd-pcm-oss 
using a command like that: modprobe snd-pcm-oss

You should find than the /dev/dsp
You can give glav than another try like the way before, please also add 
-v 2 for a more verbose output:

glav -v 2 output.avi

Janos G Komaromi wrote:

Update:

I've installed alsa-oss and now glav does not die. But it is still not
working properly. Here is the command and terminal output:

Quote:

janos@andraslinux ~/tmp $ aoss glav output.avi
++: ++ WARN: [lavplay] Unable to set negative priority for audio thread.
++: ++ WARN: [lavplay] Pthread Real-time scheduling for audio thread
could not be enabled. ++: lavtools version 2.2.1
++: **ERROR: [lavplay] Error playing audio: Buffer overflow writing
audio ++:

Unquote

The initial screen appears, and after about 4 second some noise comes
out of the speakers, and soon after the whole thing dies. Same with
lavplay. However, mplayer can play the almost 7 Gig output,avi
correctly with sound.

Is the file too big? Any other methods?

Thanks for your attention,

Janos



--
auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: bernh...@griesbach.at
www: http://www.lysator.liu.se/~gz/bernhard


___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] glav error opening .avi file

2022-10-18 Thread Bernhard Praschinger

Hallo,

my fault. You have a .wav file an need to add that to the video file.
So you can skip this command: cat audio.wav | mp2enc -v 2 -V -o sound.mp2

And just use that command:
lavaddwav video_without_sound.avi audio.wav output.avi

I hope that works.

Regards, Bernhard

Janos G Komaromi wrote:

Hi Bernie,

I had to recompile (re-emerge in Gentoo) mjpegtools with quicktime and
dv included (with -f a the file size was over 2 Gig). Looks like I had
the right idea but not the precise way to get there. Followed your
instructions, but still not finshed. Note, I had to add -n n parameters
to the yuvscaler because it did not recognize the format. Here is the
problem:

Quote

janos@andraslinux ~/tmp $ cat audio.wav | mp2enc -v 2 -V -o sound.mp2
...
--DEBUG: [mp2enc] 6533 seconds done
INFO: [mp2enc] Num frames 250036 Avg slots/frame = 731.429; b/smp =
5.08; br = 224.000 kbps INFO: [mp2enc] Encoding to layer 2 with
psychoacoustic model 2 is finished INFO: [mp2enc] The MPEG encoded
output file name is "sound.mp2"

janos@andraslinux ~/tmp $ lavaddwav video_without_sound.avi sound.mp2
output.avi --DEBUG: [lavaddwav] File: video_without_sound.avi
--DEBUG: [lavaddwav]format: q
--DEBUG: [lavaddwav]frames:195950
--DEBUG: [lavaddwav]width:480
--DEBUG: [lavaddwav]height:   480
--DEBUG: [lavaddwav]interlacing:0
--DEBUG: [lavaddwav]frames/sec:30.000
--DEBUG: [lavaddwav]duration:6531.667 sec
--DEBUG: [lavaddwav]
**ERROR: [lavaddwav] Error in WAV header of sound.mp2
**ERROR: [lavaddwav] Unable to fill audio file structure

Unquote

The original video excap0001.avi is 753 MiB
The video_without_sound.avi is 5.7 GiB (same as with -a a)
The  sound.mp2 is 174 MiB

Why is the "Error in WAV header"?
My audio.wav file is 1.1 GiB


On Sun, 16 Oct 2022 10:38:41 +0200
Bernhard Praschinger  wrote:


Hallo,

Sorry for the delay.
When you want to convert the file so you can edit it with glav, you
need to change the commands a little bit so glav understand the AVI.
You need to create a intermediate AVI file:

mkfifo stream.yuv
cat stream.yuv │ yuvscaler -O SVCD │ yuv2lav -q 90 -f a -o
video_without_sound.avi &
mplayer -nosound -noframedrop -vo yuv4mpeg ezcap0001.avi

mplayer -vo null -ao pcm:file=audio.wav ezcap0001.avi
cat audio.wav │ mp2enc -v 2 -V -o sound.mp2

You need than to add the sound/audio to the video:
lavaddwav video_without_sound.avi sound.mp2 output.avi

If the avi file reaches the 2GB Filesizelimit you should change to
the Quicktime. You need to replace the yuv2lav option -f a with: -f q

output.avi contains video and sound, you can edit it with glav.
After editing you get the edilist file, you can process as you are
used. to.

Janos G Komaromi wrote:

Progress report after reading the FM.

Executed the followig commands:
mplayer -ao pcm:fast:file=audio.wav -v null ezcap0001.avi
cat audio.wav | mp2enc -o audio.mp2
mplex audio.mp2 video_svcd.m2v -o test.mpg
mplex -V -r 1740 audio.mp2 video_svcd.m2v -o test.mpg
mplayer test.mpg
glav test.mpg

Results:
(1) mplex in either forms complains about too many frames dropped
and then quits.
(2) mplayer plays the file, but it is a long video, so I stopped B4
completion.
(3) glav has the same error as in my initial post.

So I'm still asking for help. There is no video editor available for
Gentoo. I like glav and would like to use it for my video files
transferred from old video recorder tapes.

Thx - Janos


On Mon, 10 Oct 2022 14:51:11 -0400
Janos G Komaromi  wrote:


--
auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: bernh...@griesbach.at
www: http://www.lysator.liu.se/~gz/bernhard


___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] glav error opening .avi file

2022-10-16 Thread Bernhard Praschinger

Hallo,

Sorry for the delay.
When you want to convert the file so you can edit it with glav, you need 
to change the commands a little bit so glav understand the AVI. You need 
to create a intermediate AVI file:


mkfifo stream.yuv
cat stream.yuv │ yuvscaler -O SVCD │ yuv2lav -q 90 -f a -o 
video_without_sound.avi &

mplayer -nosound -noframedrop -vo yuv4mpeg ezcap0001.avi

mplayer -vo null -ao pcm:file=audio.wav ezcap0001.avi
cat audio.wav │ mp2enc -v 2 -V -o sound.mp2

You need than to add the sound/audio to the video:
lavaddwav video_without_sound.avi sound.mp2 output.avi

If the avi file reaches the 2GB Filesizelimit you should change to the 
Quicktime. You need to replace the yuv2lav option -f a with: -f q


output.avi contains video and sound, you can edit it with glav.
After editing you get the edilist file, you can process as you are used. 
to.


Janos G Komaromi wrote:

Progress report after reading the FM.

Executed the followig commands:
mplayer -ao pcm:fast:file=audio.wav -v null ezcap0001.avi
cat audio.wav | mp2enc -o audio.mp2
mplex audio.mp2 video_svcd.m2v -o test.mpg
mplex -V -r 1740 audio.mp2 video_svcd.m2v -o test.mpg
mplayer test.mpg
glav test.mpg

Results:
(1) mplex in either forms complains about too many frames dropped and
then quits.
(2) mplayer plays the file, but it is a long video, so I stopped B4
completion.
(3) glav has the same error as in my initial post.

So I'm still asking for help. There is no video editor available for
Gentoo. I like glav and would like to use it for my video files
transferred from old video recorder tapes.

Thx - Janos


On Mon, 10 Oct 2022 14:51:11 -0400
Janos G Komaromi  wrote:


Hi,

Thanks, Bernie. One step closer.
I recompiled mplayer, and now the command works. I now have a
"video_svcd.m2v" file. It plays with mplayer but there is no sound.
So the next step: how do I make a complete file, video and sound, that
glav will be able to process for editing?

Regards,

Janos


auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: bernh...@griesbach.at
www: http://www.lysator.liu.se/~gz/bernhard


___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] glav error opening .avi file

2022-10-08 Thread Bernhard Praschinger

Hallo

Janos G Komaromi wrote:

Yes Bernie, that's it. My distro is Gentoo, which means it i compiled
from a Gentoo source. I believe I can recompile it with the yuv4mpeg use
flag. I'll post another message once I succeed with the original command
set just to close this thread. Thank you for your help - Janos
One thing comes into my mind, it might be that the configure script 
checks if the mjpegtools libraries are available and only activates it 
automatic if it finds them the Option that force yuv4mpeg is: 
--enable-yuv4mpeg.




On Sat, 8 Oct 2022 06:29:22 +0200
Bernhard Praschinger  wrote:


Hallo,

It seems that your version of mplayer was not complied with the
That is the important line: Error opening/initializing the selected
video_out (-vo) device.

Please do a test: > mplayer -vo help
You should find a line like:
yuv4mpegyuv4mpeg output for mjpegtools

If not, it would mean to me that mplayer was compiled without
yuv4mpeg support. My version of mplayer: MPlayer 1.4-7

If you did compile it on you own please check when running t
configure that you find in the enabled driver yuv4mpeg.
   Enabled optional drivers:
  Input: ftp pvr tv-v4l2 tv cddb cdda dvdread vcd dvb networking
  Codecs: libvpx xvid ffmpeg(internal) real xanim faac libmpeg2
mpg123 speex
  Audio output: alsa pulse oss v4l2 sdl mpegpes(dvb)
  Video output: v4l2 matrixview opengl sdl pnm jpeg mpegpes(dvb)
fbdev xvidix cvidix x11 xover yuv4mpeg md5sum tga
---END---

If you use the precompiled version from your distribution I would
recommend that you download the source and compile it on your own.



auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: bernh...@griesbach.at
www: http://www.lysator.liu.se/~gz/bernhard


___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] glav error opening .avi file

2022-10-07 Thread Bernhard Praschinger

Hallo,

It seems that your version of mplayer was not complied with the
That is the important line: Error opening/initializing the selected 
video_out (-vo) device.


Please do a test: > mplayer -vo help
You should find a line like:
yuv4mpegyuv4mpeg output for mjpegtools

If not, it would mean to me that mplayer was compiled without yuv4mpeg 
support. My version of mplayer: MPlayer 1.4-7


If you did compile it on you own please check when running t configure 
that you find in the enabled driver yuv4mpeg.

 Enabled optional drivers:
Input: ftp pvr tv-v4l2 tv cddb cdda dvdread vcd dvb networking
Codecs: libvpx xvid ffmpeg(internal) real xanim faac libmpeg2 
mpg123 speex

Audio output: alsa pulse oss v4l2 sdl mpegpes(dvb)
Video output: v4l2 matrixview opengl sdl pnm jpeg mpegpes(dvb) 
fbdev xvidix cvidix x11 xover yuv4mpeg md5sum tga

---END---

If you use the precompiled version from your distribution I would 
recommend that you download the source and compile it on your own.



Janos G Komaromi wrote:

Hello Bernie, thanks. Here is what happened:

janos@andraslinux ~/tmp $ cat stream.yuv | yuvscaler -O SVCD | mpeg2enc
-f 4 -o video_svcd.m2v & mplayer -nosound -noframedrop -vo yuv4mpeg
ezcap0001.avi

[1] 21535 INFO: [yuvscaler] yuvscaler 2.2.1 11-Dec-2007
INFO: [yuvscaler] (C) 2001-2004 Xavier Biquard ,
yuvscaler -h for help, or man yuvscaler INFO: [mpeg2enc] SETTING
EXTENDED MMX for MOTION! INFO: [mpeg2enc] SETTING SSE and MMX for
TRANSFORM! INFO: [mpeg2enc] SETTING EXTENDED MMX for PREDICTION!
MPlayer 1.4-11.3.0 (C) 2000-2019 MPlayer Team

Playing ezcap0001.avi.
libavformat version 58.76.100 (external)
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO:  [XVID]  800x592  24bpp  30.000 fps  896.5 kbps (109.4 kbyte/s)
Error opening/initializing the selected video_out (-vo) device.
No stream found.


Exiting... (End of file)
janos@andraslinux ~/tmp $ ls
ezcap0001.avi  stream.yuv

I don't understand. if I issue command

janos@andraslinux ~/tmp $ mplayer ezcap0001.avi

MPlayer 1.4-11.3.0 (C) 2000-2019 MPlayer Team

Playing ezcap0001.avi.
libavformat version 58.76.100 (external)
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO:  [XVID]  800x592  24bpp  30.000 fps  896.5 kbps (109.4 kbyte/s)
==
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 58.134.100 (external)
[mpeg4 @ 0x7ff6ba3a8f60]Requested frame threading with a custom
get_buffer2() implementation which is not marked as thread safe. This
is not supported anymore, make your callback thread-safe. Selected
video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==
Load subtitles in ./
==
Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8000->176400)
Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I,
II, III)
==
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 800x592 => 800x592 Planar YV12
Movie-Aspect is 1.35:1 - prescaling to correct movie aspect.
VO: [xv] 800x592 => 800x592 Planar YV12
A:  16.2 V:  16.2 A-V: -0.001 ct:  0.012 486/486 27%  0%  0.9% 17 0

Exiting... (Quit)
janos@andraslinux ~/tmp $

the file starts to play almost imediately in a new window, perfectly
with sound and picture. So the video-out (-vo) device works
automatically with mplayer.

Janos
P.S. I'm sending this message from my other email address, a mailserver
on my fitlet machine where I try glav, etc.

On Thu, 06 Oct 2022 08:06:19 -0400
"Janos G. Komaromi"  wrote:


 Forwarded Message 
From: Bernhard Praschinger 
To: Janos G. Komaromi , MJPEG-tools user list

Subject: Re: [Mjpeg-users] glav error opening .avi file
Date: Thu, 6 Oct 2022 06:27:00 +0200
Mailer: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Firefox/68.0 SeaMonkey/2.53.13

Hallo,

mkfifo creates a file where one file/process reads it's content, and
another process puts data into. You need is when program data can't
pipe
direct to each other. So you create the named pipe. You start
afterwards
the process that reads the data and as last step you put the data into
it.

The commands for the video would than be in one terminal window:
  > mkfifo stream.yuv
  > cat stream.yuv │ yuvscaler -O SVCD │ mpeg2enc -f 4 -o
video_svcd.m2v &
  > mplayer -nosound -noframedrop -vo yuv4mpeg ezcap0001.avi

Don't forget to add the & in the 2nd line to start the process in the
background. You don't need to start mplayer in the backg

Re: [Mjpeg-users] glav error opening .avi file

2022-10-05 Thread Bernhard Praschinger

Hallo,

mkfifo creates a file where one file/process reads it's content, and 
another process puts data into. You need is when program data can't pipe 
direct to each other. So you create the named pipe. You start afterwards 
the process that reads the data and as last step you put the data into it.


The commands for the video would than be in one terminal window:
> mkfifo stream.yuv
> cat stream.yuv │ yuvscaler -O SVCD │ mpeg2enc -f 4 -o video_svcd.m2v &
> mplayer -nosound -noframedrop -vo yuv4mpeg ezcap0001.avi

Don't forget to add the & in the 2nd line to start the process in the 
background. You don't need to start mplayer in the background.


For audio:
> mplayer -vo null -ao pcm:file=audio.wav ezcap0001.avi
> cat audio.wav │ mp2enc -v 2 -V -o sound.mp2

Afterwards mutiplex the files together with:
mplex -f 4 sound.mp2 video_svcd.m2v -o SVCD.mpg

You have then a encoded MPEG file with ist suitable for SVCD. You need 
to change the commands for you need.

What do you want with the AVI file ?

If you encounter errors please add the output to the mail.

Janos G. Komaromi wrote:

Hi Bernie, thanks for your answer. Sorry, I have not been doing video
edits lately, so I need a little more help. Lat time I used Cinelerra
for video edit on my old FC-3 desktop.

I tried
Quote

mkfifo stream.yuv
  >cat stream.yuv │ yuvdenoise │ yuvscaler -O SVCD │ mpeg2enc -f 4 -o
video_svcd.m2v
  >mplayer -nosound -noframedrop -vo yuv4mpeg anyfile.mpg

For Audio:
  >mplayer -vo null -ao pcm:file=anyfile.wav anyfile.mpg
  > cat anyfile.wav │ mp2enc -v 2 -V -o sound.mp2


Unquote

but did not get far.

My video clip is "ezcap0001.avi" as shown in DETAILS below. What are
the exact commands I need to issue? How do I make the "stream.yuv"? If
I just issue the command "mkfifo stream.yuv" it creates a zero byte
pipe file that the next command uses: "cat stream.yuv | yuvdenoise
etc", but it does not do anything. And what is the "anyfile.mpg"
output? Is it the file that can be edited with glav? If it is only the
picture content of my video how the edited version will be synchronized
with the unedited sound part of the original clip?

Sorry, these may be stupid questions but I'd like to understand the
whole thing better. OK, there is the RTFM principle, and I read MJPEG
HOWTO document 4.1 through 4.3 but still don't know how to edit my
"ezcap0001.avi" video file with glav.

PLease, explain - Janos
P.S. tried other opensource linux video editors on my Gentoo machine,
but openshot does not run, and could not compile flowblade yet. I like
the simplicity of your glav.

On Thu, 2022-09-29 at 19:20 +0200, Bernhard Praschinger wrote:
...


DETAILS:
janos@andraslinux ~/tmp $ lavplay -p S -v 2 ezcap0001.avi
lavplay2.2.1
lavtools version 2.2.1
--DEBUG: [lavplay] Opening video file ezcap0001.avi ...
**ERROR: [lavplay] Error opening ezcap0001.avi

janos@andraslinux ~/tmp $ file ezcap0001.avi
ezcap0001.avi: RIFF (little-endian) data, AVI, 800 x 592, 30.00
fps,
video: XviD, audio: MPEG-1 Layer 3 (stereo, 44100 Hz)

janos@andraslinux ~/tmp $ ffprobe ezcap0001.avi
ffprobe version 4.4.2 Copyright (c) 2007-2021 the FFmpeg developers
    built with gcc 11.3.0 (Gentoo 11.3.0 p4)
...
Input #0, avi, from 'ezcap0001.avi':
    Duration: 01:48:51.67, start: 0.00, bitrate: 967 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID /
0x44495658), yuv420p, 800x592 [SAR 1:1 DAR 50:37], 896 kb/s, 30
fps, 30
tbr, 30 tbn, 30 tbc Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055),
44100 Hz, stereo, fltp, 64 kb/sThe mjpegtools can only handle a few
AVI Codecs. For example: dvvideo

and mjpeg it can't decode the encoded MPEG4

I don't know if ffmpeg can decode it in a format the mjpegtools
understand. But mplayer can (should) do it, here is are example
commands
for video:
  >mkfifo stream.yuv
  >cat stream.yuv │ yuvdenoise │ yuvscaler -O SVCD │ mpeg2enc -f 4 -o
video_svcd.m2v
  >mplayer -nosound -noframedrop -vo yuv4mpeg anyfile.mpg

For Audio:
  >mplayer -vo null -ao pcm:file=anyfile.wav anyfile.mpg
  > cat anyfile.wav │ mp2enc -v 2 -V -o sound.mp2

You find a section in the: mjpegtools manpage called: Decoding
streams
with mplayer that should explain it in more detail. I hope the
program

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: bernh...@griesbach.at
www: http://www.lysator.liu.se/~gz/bernhard


___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] glav error opening .avi file + mailing list addition

2022-09-29 Thread Bernhard Praschinger

Hallo,


I have not been doing video stuff for a few years, but now as a retiree
I wanted to digitize my old videos from magnetic tapes. I have a neat
gizmo that creates an .avi file from VHS video and stereo inputs on a
micro sd card. The created .avi file plays well with vlc.

That kind of device is what I would use this day's too.


Here is my issue and request for help.

I try to make some very basic editing of the digitized .avi file, but
ran into a problem. I studied my older posts, notes, but am still
stuck. It looks like the.avi file created with the digitizing gizmo is
too sophisticated for lavplay or glav - see below. Do I need to trans-
code the .avi file, and how? Thank you for your attention - Janos

As a side note: could you please add another email address to this
mailing list. It is the address on the mail server running on my Fitlet
machine - ja...@andraslinux.jgklinux.jankom.net

DETAILS:
janos@andraslinux ~/tmp $ lavplay -p S -v 2 ezcap0001.avi
lavplay2.2.1
lavtools version 2.2.1
--DEBUG: [lavplay] Opening video file ezcap0001.avi ...
**ERROR: [lavplay] Error opening ezcap0001.avi

janos@andraslinux ~/tmp $ file ezcap0001.avi
ezcap0001.avi: RIFF (little-endian) data, AVI, 800 x 592, 30.00 fps,
video: XviD, audio: MPEG-1 Layer 3 (stereo, 44100 Hz)

janos@andraslinux ~/tmp $ ffprobe ezcap0001.avi
ffprobe version 4.4.2 Copyright (c) 2007-2021 the FFmpeg developers
   built with gcc 11.3.0 (Gentoo 11.3.0 p4)
...
Input #0, avi, from 'ezcap0001.avi':
   Duration: 01:48:51.67, start: 0.00, bitrate: 967 kb/s
   Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID /
0x44495658), yuv420p, 800x592 [SAR 1:1 DAR 50:37], 896 kb/s, 30 fps, 30
tbr, 30 tbn, 30 tbc Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055),
44100 Hz, stereo, fltp, 64 kb/sThe mjpegtools can only handle a few AVI Codecs. For example: dvvideo 

and mjpeg it can't decode the encoded MPEG4

I don't know if ffmpeg can decode it in a format the mjpegtools 
understand. But mplayer can (should) do it, here is are example commands 
for video:

>mkfifo stream.yuv
>cat stream.yuv │ yuvdenoise │ yuvscaler -O SVCD │ mpeg2enc -f 4 -o 
video_svcd.m2v

>mplayer -nosound -noframedrop -vo yuv4mpeg anyfile.mpg

For Audio:
>mplayer -vo null -ao pcm:file=anyfile.wav anyfile.mpg
> cat anyfile.wav │ mp2enc -v 2 -V -o sound.mp2

You find a section in the: mjpegtools manpage called: Decoding streams 
with mplayer that should explain it in more detail. I hope the program


I did a quick check it should work. Please test it and let us know if it 
worked.


auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: bernh...@griesbach.at
www: http://www.lysator.liu.se/~gz/bernhard


___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


[Mjpeg-users] BUILD REGRESSION

2022-07-05 Thread Bernhard Praschinger

Hallo,

I don't know who did change the the setting, but the last 2 weeks a few 
mails with the subject BUILD REGRESSION were sent from the l...@intel.com 
to the mjpeg-users mailinglist.


There is currently another with the subject: [linux-next:master] BUILD 
REGRESSION, waiting for a decision.


It is Ok for me that some robot sends a mail to the list. But the proper 
list would be the mjpeg-developer list.


I did check if it is possible to change the E-Mail destination. But I 
did not find the proper hint. So does anybody know where I can request 
that they change the destination ?


Regards, Bernhard


___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


[Mjpeg-users] mjpegtools new Release 2.2.1

2021-09-09 Thread Bernhard Praschinger

Hallo,

You probably remember the last release of the mjpegtools back in 2013.
Over the years since the release a lot of patches came in. CVS was 
replaced by SVN.


Feel free to download either the source tar.gz and compile the 
mjpegtools yourself from here:

https://sourceforge.net/projects/mjpeg/files/mjpegtools/2.2.1/

I did prepare the RPM files on my OpenSuse 15.3 they should install 
without problems.


You can checkout the current SVN version with a command like that:
svn checkout https://svn.code.sf.net/p/mjpeg/Code/ mjpeg-Code

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard


___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Lubuntu doesn't seem to recognize IOmega Buz capture card

2021-06-07 Thread Bernhard Praschinger

Hallo,

William Lum wrote:

Hi,

Thank you so much for continuing to try to help me.  I tried what you
suggested... some modules didn't load.

ubuntu@ubuntu:~$ modprobe i2c-core
ubuntu@ubuntu:~$ modprobe i2c-algo-bit
ubuntu@ubuntu:~$ modprobe saa7111
modprobe: FATAL: Module saa7111 not found.

Means that this module is not included in the kernel.


ubuntu@ubuntu:~$ modprobe saa7185
modprobe: ERROR: could not insert 'saa7185': Operation not permitted
When you see "operation not permitted" it could mean that you do not 
have sufficient rights. Reading your commandline I would guess that you 
are not root. Try adding sudo infrot the command that did not work:

sudo modprobe saa7185
and:
sudo modprobe zr36060

My (and googles) other ideas about the problem sound strange and more 
work like disabling secure boot.



ubuntu@ubuntu:~$ modprobe zr36060
modprobe: ERROR: could not insert 'zr36060': Operation not permitted
ubuntu@ubuntu:~$ insmod saa7111.ko
insmod: ERROR: could not load module saa7111.ko: No such file or directory
ubuntu@ubuntu:~$ insmod saa7185
insmod: ERROR: could not load module saa7185: No such file or directory
ubuntu@ubuntu:~$ insmod saa7185.ko
insmod: ERROR: could not load module saa7185.ko: No such file or directory
ubuntu@ubuntu:~$ insmod zr36060.ko
insmod: ERROR: could not load module zr36060.ko: No such file or directory

Thoughts?

On 4/22/21, Bernhard Praschinger  wrote:

Hallo,

William Lum wrote:

Hi,

I looked in /proc/scsi/advansys and there is a file 13:

AdvanSys SCSI 3.4: PCI Ultra: IO 0xAE00-0xAE0F, IRQ 0x15

Device Information for AdvanSys SCSI Host 13:
Target IDs Detected: 2, (2=Host Adapter)

[...]

Does this mean it's loaded?

It looks at least good. It means that the PCI Switch on the card works.


auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard


___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Lubuntu doesn't seem to recognize IOmega Buz capture card

2021-04-22 Thread Bernhard Praschinger

Hallo,

William Lum wrote:

Hi,

I looked in /proc/scsi/advansys and there is a file 13:

AdvanSys SCSI 3.4: PCI Ultra: IO 0xAE00-0xAE0F, IRQ 0x15

Device Information for AdvanSys SCSI Host 13:
Target IDs Detected: 2, (2=Host Adapter)

[...]

Does this mean it's loaded?

It looks at least good. It means that the PCI Switch on the card works.


In the SCSI file shows:
Attached devices:
Host: scsi1 Channel: 00 Id: 00 Lun: 00
   Vendor: ATA  Model: SAMSUNG SSD PM83 Rev: 3D1Q
   Type:   Direct-AccessANSI  SCSI revision: 05



Tried to load the module and didn't see an error... Looked at boot.log:
Generating locales...
   en_US.UTF-8... done
Generation complete.
Found label 'Ubuntu 15.04 _Vivid Vervet_ - Release amd64 (20150422)'
This disc is called:
'Ubuntu 15.04 _Vivid Vervet_ - Release amd64 (20150422)'
  Starting Wait for Plymouth Boot Screen to Quit...

[...]

Don't know if this helps?
Did you also try to load the modules for the buz as I did describe, and 
look at the output of the kernel ? That would be more interesting.

Some commands like:
modprobe i2c-core
modprobe i2c-algo-bit
modprobe saa7111
modprobe saa7185
modprobe zr36060

You might need to replace the modprobe with insmod, and add .ko to the 
module name.



On 3/27/21, Bernhard Praschinger  wrote:

Hallo,

William Lum wrote:

Yes my card does have the SCSI connector for the external drive which I
don't use and the 15 pin for the breakout box.

Is the SCSI Adapter recognized in the system ?
The PCI Bridge ist the National  Pico|Power IC. The Advansys should be
the SCSI controller.

Is the driver already loaded ?
Take a look in /proc/scsi there should be  scsi file you can view.

Or you try loading the driver for the SCSI controller:
insmod or modprobe advansys

When you load the module it would be good to check if the kernel writes
something to /var/log/messages


When you say switch is it physical?  Do I need to set it to a certain
config?

I don't know if there is a possibility to set anything.

When you search the /var/log/boot.log  and /var/log/boot.msg
do you find any hints about the buz, advansys or zoran ?

dmesg lets you view the boot messages (probably a file in /var/log) any
hint about the zoran and the driver would be very helpful.


auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard


___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


[Mjpeg-users] mjpegtools Beta 2.2.0 online

2021-03-27 Thread Bernhard Praschinger

Hallo,

since the last release of the mjpegtools a lot of patches were were sent 
to the mjpeg-users list. Steven did fix a lot of things.


So if you are interested take a look at the Beta you can find here:
https://sourceforge.net/p/mjpeg/Code/HEAD/tree/tags/BETA_2_2_0/mjpeg_play/
You need to check out from SVN. Or you take a look at the tar.gz ball 
you can download from here:

https://sourceforge.net/projects/mjpeg/files/mjpegtools/2.2.0/

We will keep it online for some time, if you send in patches we will 
integrate them. We will wait some time and release the mjpegtool's in 
the near future as next release.


auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard


___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Lubuntu doesn't seem to recognize IOmega Buz capture card

2021-03-27 Thread Bernhard Praschinger

Hallo,

William Lum wrote:
Yes my card does have the SCSI connector for the external drive which I 
don't use and the 15 pin for the breakout box.

Is the SCSI Adapter recognized in the system ?
The PCI Bridge ist the National  Pico|Power IC. The Advansys should be 
the SCSI controller.


Is the driver already loaded ?
Take a look in /proc/scsi there should be  scsi file you can view.

Or you try loading the driver for the SCSI controller:
insmod or modprobe advansys

When you load the module it would be good to check if the kernel writes 
something to /var/log/messages


When you say switch is it physical?  Do I need to set it to a certain 
config?

I don't know if there is a possibility to set anything.

When you search the /var/log/boot.log  and /var/log/boot.msg
do you find any hints about the buz, advansys or zoran ?

dmesg lets you view the boot messages (probably a file in /var/log) any 
hint about the zoran and the driver would be very helpful.


On Sun., Mar. 21, 2021, 11:33 a.m. Bernhard Praschinger, 
mailto:shadowl...@utanet.at>> wrote:


Hallo,

sorry I was offline for quite a while.

You write in the subject that you have a Iomega Buz card, but the lspci
output say's ZR36057. Which was used in the DC10/DC30. Does your card
have a SCSI interface connector and a 15 pin connector on the
backplane ?
The buz was the most problematic card, because it had a PCI Switch on
the card for the ZR36067 and the SCSI controller.

William Lum wrote:
 > Hello,
 >
 > Following your instructions here is what I found.
 >
 > I should also note that I am testing on a live USB stick vs
installed on
 > ssd.  This was mainly because I had installed 3-5 different
versions and
 > flavours of linux trying to get this to work and wanted to avoid
 > installing more until I find a solution.  Please let me know if
this is
 > an issue.
 >
 > On Ubuntu 15.04 (Linux ubuntu 3.19.0-15-generic)
 > The hardware is the IOmega Buz (0.6:09.0 Multimedia video controller
 > [0400]: Zoran Corporation *ZR36057*PQC Video cutting chipset
[11de:6057]
 > (rev 01)
 >
 > I looked for drivers in /lib/modules/  that took me to
 > /lib/modules/3.19.0-15-generic/kernel/driver/media/pci/zoran
where I found:
 > - videocodec.ko
 > - zr36016.ko
 > - zr36050.ko
 > - zr36060.ko
 > - zr36067.ko
 > none seem to be a direct match for the zr36057
That should be no problem just use the zr36067 instead.

 > Tried to load the driver  "modprobe -n -v --show-depends zoran" this
 > resulted "FATAL: Module zoran not found."
 >
 > Then tried "modprobe -n -v --show-depends zr36067" this seemed to
 > install modules
 > insmod /lib/modeules/3.19.0-15-generic/kernel/driver/...ko
(ic2/alogo,
 > media, V4l2, videocodec, zr36067)
It should also load the driver for the TV decoder and encoder.

When you do a lsmod | grep zr you should see the loaded modules. Are
some v4l (video4linux) modules loaded too ?

 > but when I "lspci -nnk" it still does not show any subsystem or
driver
 > in use so not sure if it worked... also wanted to try testing it
with
 > VLC but couldn't install as the Ubuntu software center is too old
and
 > the links no longer seem to work.  This worries me, if I do get this
 > working will I be able to install any software (i.e. Kdenlive etc).
 > Don;t know how to do this if the ubuntu software center isn't
working.
 > apt get also had errors as the folders for this version of ubuntu
seem
 > to no longer exist.
I don't know if it is a problem if the lspci does not show you the
card.
Does the lspci command (or some boot log) show you a hint that the scsi
controller ist recognized.

When you start in a 2nd terminal a command like that:
tail -f /var/log/messages

You should see the messages when the kernel loads the driver. That
output would be very helpful.

 > Thoughts on how I should proceed?
The output from the kernel when you load the drivers should be very
helpful. To see if that kernel recognizes the card.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard


___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Lubuntu doesn't seem to recognize IOmega Buz capture card

2021-03-21 Thread Bernhard Praschinger

Hallo,

sorry I was offline for quite a while.

You write in the subject that you have a Iomega Buz card, but the lspci 
output say's ZR36057. Which was used in the DC10/DC30. Does your card 
have a SCSI interface connector and a 15 pin connector on the backplane ?
The buz was the most problematic card, because it had a PCI Switch on 
the card for the ZR36067 and the SCSI controller.


William Lum wrote:

Hello,

Following your instructions here is what I found.

I should also note that I am testing on a live USB stick vs installed on 
ssd.  This was mainly because I had installed 3-5 different versions and 
flavours of linux trying to get this to work and wanted to avoid 
installing more until I find a solution.  Please let me know if this is 
an issue.


On Ubuntu 15.04 (Linux ubuntu 3.19.0-15-generic)
The hardware is the IOmega Buz (0.6:09.0 Multimedia video controller 
[0400]: Zoran Corporation *ZR36057*PQC Video cutting chipset [11de:6057] 
(rev 01)


I looked for drivers in /lib/modules/  that took me to 
/lib/modules/3.19.0-15-generic/kernel/driver/media/pci/zoran where I found:

- videocodec.ko
- zr36016.ko
- zr36050.ko
- zr36060.ko
- zr36067.ko
none seem to be a direct match for the zr36057

That should be no problem just use the zr36067 instead.

Tried to load the driver  "modprobe -n -v --show-depends zoran" this 
resulted "FATAL: Module zoran not found."


Then tried "modprobe -n -v --show-depends zr36067" this seemed to 
install modules
insmod /lib/modeules/3.19.0-15-generic/kernel/driver/...ko (ic2/alogo, 
media, V4l2, videocodec, zr36067)

It should also load the driver for the TV decoder and encoder.

When you do a lsmod | grep zr you should see the loaded modules. Are 
some v4l (video4linux) modules loaded too ?


but when I "lspci -nnk" it still does not show any subsystem or driver 
in use so not sure if it worked... also wanted to try testing it with 
VLC but couldn't install as the Ubuntu software center is too old and 
the links no longer seem to work.  This worries me, if I do get this 
working will I be able to install any software (i.e. Kdenlive etc).  
Don;t know how to do this if the ubuntu software center isn't working.  
apt get also had errors as the folders for this version of ubuntu seem 
to no longer exist.
I don't know if it is a problem if the lspci does not show you the card. 
Does the lspci command (or some boot log) show you a hint that the scsi 
controller ist recognized.


When you start in a 2nd terminal a command like that:
tail -f /var/log/messages

You should see the messages when the kernel loads the driver. That 
output would be very helpful.



Thoughts on how I should proceed?
The output from the kernel when you load the drivers should be very 
helpful. To see if that kernel recognizes the card.



auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard


___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Lubuntu doesn't seem to recognize IOmega Buz capture card

2021-02-22 Thread Bernhard Praschinger

Hallo


William Lum wrote:

Responses inline in Red. Thanks for your help.

The color vanishes when I do a text only reply.


>Some thought's about what you try to accomplish. Sorry for the longer
>delay.

> > I have a Zoran based capture card that Lubuntu doesn't seem to
> > recognize.  Here is what I have done so far.  I'm new to linux so
> > please take that into consideration with you instructions.
> >
> >  1. lspci | grep Zoran
>Which card do you actually want to use ? I don't know the type by the
>output of lspci.
0.6:09.0 Multimedia video controller [0400]: Zoran Corporation 
ZR36057PQC Video cutting chipset [11de:6057] (rev 01)


That Chip was used in the Pinnacle/Miro DC10(new and old), and in the 
Pinnacle/Miro DC30. The Cards use differen IC's for TV encoding a 
decoding and for the mjpeg encoder:

https://mjpeg.sourceforge.io/driver-zoran/cards.php



> >  2. sudo dmidecode -t 2
> >
> > Is there support for AMD 790FX chipset?
>Which kernel does the distribution use ? (uname -a)
Linux ubuntu 3.19.0-15-generic

That is a older kernel (~8years old) which is a good thing.


> > 4. Tried steps
> >
> 
>https://www.kernel.org/doc/html/v4.14/media/v4l-drivers/zoran.html#how-do-i-get-this-damn-thing-to-work
> > Looking for the Zoran Conf file but it's not there
>If I understand the text correct you should try to load the driver
>manually, and if that works you create the file so you don't need to do
>everything manually.
Can you point me to instructions on where to download the right
driver and then how to load a driver manually? 

The correct driver should be shipped with the linux kernel.
Usually the kernel modules are located in /lib/modules/ go to that 
directory and search for zoran, zr36, saa711, adv717


It should find some files.


> > 5. Load zr36067.o.
> > How do I do that?
>Depending on the kernel your distribution uses it can be that the
>driver
>is in the staging area. And not available by default.
>Newer Kernel like 4.x might have that problem. So if possible use a
>older distribution using a kernel 3.x or 2.6.x Also the mjpegtools and
>lavrec need oss, and have no native support for alsa means that
>recording sound can be tricky.
    tried older kernel (see above) still not working
If there search did find a zoran module try to load the modules as root 
with a command like this for a first test:

modprobe -n -v --show-depends zoran

And once without the --show-depends, and if the output looks prosing 
without the -n


If there s no zoran.o, replace the zoran with zr36067, so the command 
looked like that: modprobe -n -v --show-depends zr36067


auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard


___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Lubuntu doesn't seem to recognize IOmega Buz capture card

2021-02-06 Thread Bernhard Praschinger

Hallo,

Some thought's about what you try to accomplish. Sorry for the longer 
delay.


I have a Zoran based capture card that Lubuntu doesn't seem to 
recognize.  Here is what I have done so far.  I'm new to linux so please 
take that into consideration with you instructions.


 1. lspci | grep Zoran
Which card do you actually want to use ? I don't know the type by the 
output of lspci.



 2. sudo dmidecode -t 2

Is there support for AMD 790FX chipset?

Which kernel does the distribution use ? (uname -a)

3. Kernel.org 
https://www.kernel.org/doc/html/v4.14/media/v4l-drivers/zoran.html 



"unified zoran driver (zr360x7, zoran, buz, dc10(+), dc30(+), lml33)"

I think this covers my card right?

That is the correct part of the documentation.


4. Tried steps
https://www.kernel.org/doc/html/v4.14/media/v4l-drivers/zoran.html#how-do-i-get-this-damn-thing-to-work
Looking for the Zoran Conf file but it's not there
If I understand the text correct you should try to load the driver 
manually, and if that works you create the file so you don't need to do 
everything manually.



5. Load zr36067.o.
How do I do that?
Depending on the kernel your distribution uses it can be that the driver 
is in the staging area. And not available by default.
Newer Kernel like 4.x might have that problem. So if possible use a 
older distribution using a kernel 3.x or 2.6.x Also the mjpegtools and 
lavrec need oss, and have no native support for alsa means that 
recording sound can be tricky.



 6. run ‘v4l-conf -c ’
what do I use for the device?  Is it some part of what I found in
lspci?  The numeric portion (is that an ID?)



auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard


___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] capture card not working with nvidia driver

2019-10-23 Thread Bernhard Praschinger

Hallo

The name of the missing so: nouveau makes me think that libgl tries to 
load something mesa related. I have the file on my opensuse in the RPM 
Package: Mesa-dri-nouveau

(Mesa DRI plug-in for 3D acceleration via Nouveau)

Maybe CentOS has also a package that provides the library.

When I remember correct you wanted to used the original nvidia driver. 
And for some strange reason the system want's now to load the mesa 
driver and not the nvidia driver.


Janos G Komaromi wrote:

Update:

Found rpm package for the CentOS-6 and installed it after resolving 
libaa and libzvbi dependencies from the same package site. xawtv program 
started OK with blue screen window and complete settings window. 
However, I could not select the shown "overlay" capture option. The 
terminal output after entering xawtv command complains about:


libGL error: could not load nouveau_vieux_dri.so.



On 10/6/19 10:01 PM, Janos G Komaromi wrote:


Other, related: I installed CentOS-6 (latest available RedHat distro 
for a 32-bit machine).


Sorry that I can't provide more help,
und auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard


___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] capture card not working with nvidia driver

2019-10-04 Thread Bernhard Praschinger

Hallo

My older machine with a cheap bttv capture card works well with nv 
module driving GFORCE 2 MX card. Framebuffer and tiny penguin at boot up 
shows, xawtv, glav, etc. works well for video capture and editing. 
Recently I installed the proprietary nvidia driver (92.43.23). I had to 
recompile the kernel (2.6.32.71) because the nvidia driver conflicted 
with the kernel's drm and framebuffer modules. OK, now I have the full 
capability of my 24" LCD display with the nvidia driver; AGP is fully 
functional and glxgears runs fast. However, video capture is not 
possible anymore: xawt screen is blue, but the setup screen lacks 
sections starting with video source. I can play existing video files, 
just capture capability is dead. So now I made my machine to dual boot 
with nv driver or nvidia; I also switch xorg.conf at boot via rc.local 
by sensing kernel version loaded.


I'm writing to this forum with a hope that somebody has some idea how to 
make nvidia proprietary driver to work with video capture card. Maybe I 
should go to some nvidia forum, but I trust the expertise of those who 
follow mjpeg-users bulletin board.


I'm just guessing but could it be that the nvidia driver expects a 
different format or calls so it displays the video ? When you write that 
you had problems with the drm and framebuffer modules, I guess that they 
expect different API/Header/calls. Did you try a different xawtv version ?


Did you try the different options xawtv offers ? (-fb, -xv/-noxv, 
-dga/-nodga and others )


One more info: the sysrcd-5.0.0 with 4.9.24 kernel works on my machine; 
it loads the nouveau driver, screen resolution is identical with nvidia 
driver. I tried to compile 2.6.33.1 kernel from source (the first kernel 
that has the nouveau driver), but could not configure to include the 
nouveau module. I thought that with the nouveau module, instead of 
nvidia driver, capture would work again.


Thanks for your attention - Janos



auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard


___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] bringing back media/zoran driver

2019-09-26 Thread Bernhard Praschinger

Hallo

Corentin Labbe wrote:

hello

I am the owner of a zoran based DC10+ card.
I am in the need of using it since yesterday and I found that its driver was 
removed.

Reverting the removing patch made to a temporary working situation.

If I understand correctly, it was removed due to lack of vb2 convertion.
If I am able to do this vb2 conversion, does bring it back in mainline will be 
posssible ?
In that case I am ready to assume to be the maintainer if needed.
It would be a great thing if you update the driver and get is into a 
good state.
Most of the people involved in the (mjpeg, zoran driver) project have 
different interests.


If you want some space on the mjpeg project on Sourceforce let me know I 
can arrange that, and if you tell me I'll update various pages.


Getting a machine with PCI for testing the driver is possible for me. I 
still have a old borrowed but and a DC30 at home.


Regards,
Bernhard Praschinger


___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] True cbr for MPEG 1

2019-05-30 Thread Bernhard Praschinger

Hallo


I need to create MPEG 1 video that is flagged and truly 1500 cbr. I
have tried many things. I can submit settings but I wanted to ensure
first that cbr is truly still supported.

It is supported and it should work.

Using the -u/--cbr option and -b some-value to get a constant bitrate 
stream.



For instance, Format 1 which is VCD comes up variable. Or If I set it
to format 0 and use - -cbr alone it will still remain variable. The
list goes on...


If you set the encoding option -f 1 or --format 1,
you don't need the -u/--cbr and -b the proper values are set.

If you want a VCD with a non comform bitrate of 1500 kBits/sec, you 
should use a command like that:

... | mpeg2enc -f 2 -b 1500 -u -o video.m1v

--
auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard


___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] [PATCH] media: zoran: move to dma-mapping interface

2018-04-25 Thread Bernhard Praschinger

Hallo

Christoph Hellwig wrote:

On Wed, Apr 25, 2018 at 09:08:13AM +0200, Arnd Bergmann wrote:

That probably also means it can use dma_mmap_coherent instead of the
handcrafted remap_pfn_range loop and the PageReserved abuse.


I'd rather not touch that code. How about adding a comment about
the fact that it should use dma_mmap_coherent()?


Maybe the real question is if there is anyone that actually cares
for this driver, or if we are better off just removing it?

Same is true for various other virt_to_bus using drivers, e.g. the
grotty atm drivers.


I would appreciate if somebody would removes the driver from the linux 
kernel. I suggested that some years ago 2014-06-23 (just scroll down):

https://sourceforge.net/p/mjpeg/mailman/mjpeg-users/?viewmonth=201406

You should also find that thread in the kernel-janit...@vger.kernel.org 
and linux-me...@vger.kernel.org Mailinglist archive.


I know of one person that is still using this old type of card's but he 
uses a 2.6.x Kernel on a old machine, using old software releases.

https://sourceforge.net/p/mjpeg/mailman/mjpeg-users/?viewmonth=201709

That type of card were introduced about ~20 years ago. I think it is a 
good moment to say goodbye to that type of cards.


auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


[Mjpeg-users] CVS readonly, switch to SVN

2017-10-20 Thread Bernhard Praschinger

Hallo

the SF staff wrote, that they will stop CVS commits at the November 
30th. You can find the whole information here: 
https://sourceforge.net/p/forge/documentation/CVS/


You can currently view the content of the CVS archive, and should still 
be able to check it out.


We: Gernot, Steven and I decided that converting to GIT is to much work. 
I haven't heard a word from Ronald or Steven for a very long time (>6 
years).


But we would not want a dead end. Thanks to Steven, he did convert the 
CVS to SVN. So If you check out the SVN Repository of the mjpegtools you 
need a command like that:
svn checkout https://svn.code.sf.net/p/mjpeg/Code/trunk/mjpeg_play 
mjpegtools


We did some minor cleanup and delete the sub-projects: dvcr, vcdimager, 
video-gimp, widescreen2VCD in SVN. So if you want that data grab if from 
SF as long as it is there. There has been no change in 16 years, in 
those 4 subprojects.


auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] lavplay does not work

2017-09-08 Thread Bernhard Praschinger

Hallo

Thanks for letting us know that the tools still work, even recording. I 
didn't read a mail from someone that wrote that the tools work for quite 
a long time.
You use a older kernel, from what I know other systems use a even older 
kernel.


Regards, Bernhard

Janos G Komaromi wrote:

Hello everybody,

Just want to let you know that all of a sudden glav now works for me
correctly; it plays sound as well. I don't know what happened to my
system (for reminder, it is an old Fedora-3 but with 2.6.32.71  kernel).

The important thing that I think might be of general interest is that
the video file is

in avi container

with mjpeg video codec

and with pcm_s16le audio codec

as reported by ffprobe

Janos - very happy with mjpegtools, and thanks to all developers



On 05/14/2017 02:19 PM, Janos G Komaromi wrote:


Hi,

On 05/14/2017 01:06 AM, Bernhard Praschinger wrote:

That is the wrong command.

Sorry, my mistake. i just copied previous command and neglected to
edit the first part from ..2wav into ..2yuv
I repeated it correctly and everything worked as should.

Thanks again,
Janos


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] lavplay does not work

2017-05-08 Thread Bernhard Praschinger
Hallo

I try to combine your mails into one.

>>> What was the setting when you did record the audio signal ? I
>>> would guess that it was mono and 8Bit Samples and 44.1kHz
>>> samplerate. I haven't seen such a setup long time ago. It can be
>>> that lavplay/glav have problems (=bug) playing such a audio
>>> stream back. Can you try recording in Stereo, 16Bit and 44.1kHz ?
>>> And see if that makes any difference ?
> I just tested it with stereo setting, lavinfo shows what you would
> expect, yet still no sound, just a loud pop when I start play back
> and then deaf. I can email you the clip (only 8 Meg) or put it on my
> dropboz - just to make sure it is not the clip.
I will download the clip if you send me the dropbox link. I know that my 
provider will reject mail mails that are to large.

> At any rate the clip
> plays well in xine with sound. I also changed xine setting to use oss
> and it made no difference, xine plays it well. In a previous message
> you suggested to check mixer setting. aumix shows that PCM is on,
> besides, both xmms or xine plays audio files perfectly through my
> speakers connected to line output.
That sounds a little strange. I haven't used xine for quite some time.

>> I'm away from home till early March. Will do this test then and
>> report on the result.
> I did come back in March but have been busy with other stuff
No problem.

> On 05/05/2017 05:25 PM, Janos G Komaromi wrote:
>> I just tested it with stereo setting, lavinfo shows what you would
>> expect, yet still no sound, just a loud pop when
> Additional info that may help: If I do cat foo.wav > /dev/dsp I get
> noise. However, if I do sox foo.wav -t ossdsp /dev/dsp nice music is
> playing. Consquently I believe my oss sound system and mixer is
> working as it should. Btw, I recompiled mjpegtools again but no
> change in behavior. One other info: the loud pop or click is only
> heard once I start glav. If I repeat playing the file from the
> beginning no more pop, just silence.
I guess that the first pop could be because glav/lavplay initializes 
something. It is still weird for me.

About the 3rd mail, I got it. I would really ask you to make the file 
available for download. (send the link just to me)
The situation is strange.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] lavplay does not work

2016-12-17 Thread Bernhard Praschinger
Hallo

Janos G. Komaromi wrote:
> On 12/05/2016 01:02 PM, Bernhard Praschinger wrote:
>> You can use the -U/--use-write Option and see if that helps.
> Does not help, all I hear is a pop in the beginning, then nothing. See
> my command and output below:
> [apu@andraslinux ~]$ glav -p S -U +n -v 2 record.avi
> ++:INFO: [lavplay] Norm set to NTSC
> ++:INFO: [lavplay] Initialising SDL
> ++:INFO: [lavplay] SDL YUV overlay: hardware
> ++:INFO: [lavplay] Using read(2)/write(2) system call for
> capture/playpack
> ++:INFO: [lavplay] Output norm: NTSC
> ++:INFO: [lavplay] Output dimensions: 320x240
> ++: lavtools version 1.9.0
> ++: ++ WARN: [lavplay] Unable to set negative priority for audio thread.
> ++: ++ WARN: [lavplay] Pthread Real-time scheduling for audio thread
> could not be enabled.
> ++:
That output looks ok. I guess that adding the +n should not make any 
difference.

>> Did you check the mixer settings when you play back the file ?
> cat anytextfile.txt > /dev/dsp produces loud noise in speakers
Ok.

>> It could be that environment Variable  LAV_AUDIO_DEV is set wrong.
>>
>> Can you run lavinfo filename.avi and post at least the audio related
>> info, it should look like that:
>> has_audio=1
>> audio_bps=4
>> audio_chans=2
>> audio_bits=16
>> audio_rate=44100
>> ---ENDE---
> See below::
> [apu@andraslinux ~]$ lavinfo record.avi
> video_frames=554
> video_width=320
> video_height=240
> video_inter=p
> video_norm=NTSC
> video_fps=29.970629
> video_sar_width=1
> video_sar_height=1
> max_frame_size=19220
> chroma=422
> has_audio=1
> audio_bps=1
> audio_chans=1
> audio_bits=8
> audio_rate=44100
> num_video_files=1
What was the setting when you did record the audio signal ? I would 
guess that it was mono and 8Bit Samples and 44.1kHz samplerate. I 
haven't seen such a setup long time ago. It can be that lavplay/glav 
have problems (=bug) playing such a audio stream back. Can you try 
recording in Stereo, 16Bit and 44.1kHz ? And see if that makes any 
difference ?
You can split the audio and video with lavtrans, and add a WAV file to 
the video with lavaddwav.

> also:
> My modules, excerpted from lsmod:
> ...
> snd_intel8x0   19052  0
> snd_ac97_codec 76031  1 snd_intel8x0
> ac97_bus 618  1 snd_ac97_codec
> snd_pcm_oss27105  0
> snd_mixer_oss   9866  1 snd_pcm_oss
> snd_pcm40209  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
> snd_timer  11572  1 snd_pcm
> snd29851  6
> snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
> soundcore   3105  1 snd
> snd_page_alloc  4565  2 snd_intel8x0,snd_pcm
> ...
That lookes good.

> Thanks for your answer; I did receive the email correctly and responding
> here to it.
> Hope we can get to the bottom of this.


auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] lavplay does not work

2016-12-05 Thread Bernhard Praschinger
Hallo

jankomEarthlink wrote:
> Sorry for the late reaction and thanks. I was traveling.
No Problem.

> Bernhard Praschinger wrote:
>> You can change the check in the configure script:
> This really helped. Not changing the script, but studying and trying
> to understand the entire thing. In fact, I found the problem!
> SOLUTION: I did not have the SDL development rpm installed, so after
>  installing it software encoder was included. As I mentioned before,
> this is now a completely restored FC -3 installation, and I have
> failed to install all development packages. In the past this was not
> a problem, because when I bastardized the system I installed
> components by compiling source codes. Again, I have learned
> something. Thank you for your patience and guidance.
That's good.

>> Did you try downloading the latest (or newer) mjpeg-tools tar.gz
>> package unpacking it to a folder and try t compile it ?
> Not yet, I hope my system will work as it is. It did work in the
> past. All I'm trying to do is to create a "normal", not "bastardized"
> system, and only install additional source codes if they are not part
> of the original set-up, such as video editing.
Ok.

> NEW PROBLEM: Now that I compiled again glav works, it plays the
> test.avi file I captured from my video recorder. However, there is no
> sound. I had this problem before, and at the time the solution was
> not to over-modulate the sound while recording, i.e. to keep capture
> volume low. This time no matter what I do with recording levels glav
> has no sound. I can play the video clip with xine, the sound is fine
> (louder or softer depending on the setting at capture), but glav
> produces no sound. Any suggestions? Could this be something like not
> having some devel rpm installed? When I compiled mjpegtools
> everything was OK (configure, make, make check, make install). Just
> to summarize: streamer does record an avi file with video and audio
> content that can play normally in xine, however glav only shows video
> without sound.
You can use the -U/--use-write Option and see if that helps.

Did you check the mixer settings when you play back the file ?
It could be that environment Variable  LAV_AUDIO_DEV is set wrong.

Can you run lavinfo filename.avi and post at least the audio related 
info, it should look like that:
has_audio=1
audio_bps=4
audio_chans=2
audio_bits=16
audio_rate=44100
---ENDE---

> P.S. One other thing: I did not get email from the mailing list, so I
> copied and pasted the last message from the web site.
I hope that it works this time they way it should.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] lavplay does not work

2016-11-10 Thread Bernhard Praschinger
Hallo

Janos G. Komaromi wrote:
> Trying answering directly to mailing list:
It did work.

>> I'm not sure about the older mjpegtools version's. It should check for
>> libjpeg, and you should see a similar output when you run configure:
>> checking for jpeg_start_compress in -ljpeg... yes
>>
>> When it does not find the libjpeg, you usually need to install the
>> header or devel rpm and it should find the libjpeg than.
>>
>> If you know that you have the libjpeg and the developer package
>> installed, and configure does not find it, you might "tune" the
>> configure script.
>>
>> So please post the output of configure.
>>
>> when you run configure you should see: the final lines something like:
>> configure:   - software MJPEG playback   : true
> I did have both the rpm and the developer rpm installed. So I ran
> ./configure again, and the salient parts of the output are:
> (1) checking for jpeg_start_compress in -ljpeg BUT it does not give yes
> (see complete postiong of configure.log
> (2) and software MJPEG playback IS false
> So thank you for the good insight. Now can you help me with "tuning" the
> configure script?
You can change the check in the configure script:
if test "x$ac_cv_lib_jpeg_jpeg_start_compress" = xyes; then :
JPEG_LIBS="-ljpeg"
   JPEG_CFLAGS=""
 have_libjpeg=true
fi
---ENDE---
by commenting out the if part, so it will always think that it has the 
correct options.  But that would be the last thing to try.

> Output of the configure log follows (rather long...)
> =====
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> It was created by mjpegtools configure 1.9.0, which was
> generated by GNU Autoconf 2.61.  Invocation command line was
>
>$ ./configure
[]
> configure:23344: result: yes
> configure:23356: checking for jpeg_start_compress in -ljpeg
> configure:23391: gcc -o conftest -g -O2 -pthread   conftest.c -ljpeg
> -lm  >&5
[...]
> ac_cv_lib_jpeg_jpeg_start_compress=yes
[...]
> JPEG_CFLAGS=''
> JPEG_LIBS='-ljpeg'
[...]

When I sees the output. I would guess that the libjpeg is found and 
seems to be available.

Have you tried running a "make distclean" ? An run configure afterwards.
I remember that there can be cache files, that can cause problems. Did 
you try downloading the latest (or newer) mjpeg-tools tar.gz package 
unpacking it to a folder and try t compile it ?

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] lavplay does not work - your answer in mjpegusers mailing list

2016-11-06 Thread Bernhard Praschinger
Hallo

> It has been a few years since I last used the mailing list.
Answering to the Mailinglist is easy, just replay. And it will be 
forwared to the list.

> I have an older desktop computer that originally had a Fedora-3
> installation on it. I use this computer to learn and play with
> Linux/Unix/c. Over the years I installed video related software on it
> from source, compiled by myself. This included mjpegtools, mplayer, xine
> and cinelerra. I converted short home videos taken with an equally old
> 8mm camera using bttv capture card, analogue input. So my system seemed
> to work. However, over the years my customized system became too
> convoluted and started to fall apart. This happened partly because of my
> inadequate expertise. "I knew enough to be dangerous". So almost a year
> ago I decided to clean up the mess.
You mention there that you use a bttv based card. Which means that you 
can't do a hardware or on card playback.

> I restored the system to its original fc-3 installation using original
> fc-3 rpms (final updates for that distribution). This is similar to
> restoring a 1965 Mercedes car to its original factory condition. The
> only difference to the fc-3 system is the kernel which is now 2.6.32.71
> (I needed it for my Atheros wireless card) and gcc4.2.1. Following
> restoration I started to reinstall video related software, again
> compiling them from sources. So I compiled xine, lame, xatw and
> mjpegtools. Later on I compiled faac, x264, faad, ffmped and dvdauthor.
I have a idea about the painful work.

> I'm able to capture with streamer mjpeg encoding avi, but would like to
> edit the video file with your glav (cinelerra is too complicated, glav
> is fine for my need). This is when I ran into the problem, posting my
> initial message to mjpegtools mailing list.
>
> Now my answers to your questions and ideas:
>
> Yes, it worked before.
>
> I recompiled the same (yes, old version of ,mjpegtools) version that
> worked before on my "bastardized" system.
>
> -p S is not available, because when I configured it the message was no
> software encoding - which by the way I  do not understand.

> -U or -a 0 makes no difference.
So the problem is only related to the video playback.

> The problem is always when the program gets to the video part of the avi
> it tries to open some buffers and then it fails - as I posted the error
> message on my original message.
>
> Could it be because I did not compile libquicktime?
>
> Am I missing some dependencies - lack of software encoding for playback?
That is quite likely. libquicktime should not bee the problem.

I'm not sure about the older mjpegtools version's. It should check for 
libjpeg, and you should see a similar output when you run configure:
checking for jpeg_start_compress in -ljpeg... yes

When it does not find the libjpeg, you usually need to install the 
header or devel rpm and it should find the libjpeg than.

If you know that you have the libjpeg and the developer package 
installed, and configure does not find it, you might "tune" the 
configure script.

So please post the output of configure.

when you run configure you should see: the final lines something like:
configure:   - software MJPEG playback   : true
When you compile the mjpegtools than you should have software playback.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] lavplay buffer error

2016-10-27 Thread Bernhard Praschinger
Hallo

Sorry for the delay.

jankomEarthlink wrote:
> glav or lavplay used to work for me. Now that I have cleaned up my
> system (very old, Fedora-3 but with 2.6.32.71 kernel) lavplay is not
> working. I have recompiled mjpegtools-1.9.0, configured --with-x and b4
> compiling configure says no software mjpeg playback.
>
> So when I do
> /usr/local/bin/lavplay -p H -v 2 ~/record.avi
> I get
> --DEBUG: [lavplay] Initializing the video device
> **ERROR: [lavplay] Error requesting buffers: Invalid argument
> INFO: [lavplay] Using mmap(2) system call for capture/playback
> **ERROR: [lavplay] Error initializing Audio: Audio task died. Reason:
> Error mapping audio buffer (consider using read/write instead of mmap) -
> Input/output error
>
> xine or pia can play the file.
>
> Can anybody please help?
>
> Thanks, Janos

I have 2-3 Ideas.
When you write : cleaned up, is it correct to assume that it worked before ?

when you just start lavplay can you post the output line where it 
describes the -p option. Should look like that:
-p/--playback [S  ]  playback: (S)oftware,

If lavplay has the option: -U/--use-write try if that help.
Does playback without sound work (-a 0) ?

mjpegtools 1.9.0 is quite old have you though about downloading the 
2.1.0 version an compile it. You should be able to run lavplay from the 
directory without installing it.

-- 
auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Adding subtitles using mplex, or any other utility

2013-04-22 Thread Bernhard Praschinger
Hallo

 Please, what is the best and easiest way to do this?
 I guess the people from the dvdauthor, or project X mailinglist can
 provide better help.
 It's been some time since I added subtitles to a movie - and I didn't
 include many, so creating the pictures by hand and writing the
 spumux-file was not too much work.
 Does your file contain the subtitles in a text-format or does it look
 more like pictures?
I think generating text based subtitle and let spumux do the work is 
easier. If you have more subtitle a program like gnome-subtitles is very 
helpful when you can view the video and just type in the subtitles.

 Do you have a sample subtile file ? I don't have a sample. You probably
 need to convert the file.sup to something spumux understands.
 If they are in a suitable format you probably just multiplex them into
 the steam with spumux.
 I think spumux is able to work with text-files as long as you also
 provide it with a font to use. It then should automatically render the
 text into the images to be included in the video.
spumux is able to work with text based files. You just need to follow 
the part your refer below with the text based subtitles. That works well.
With converting I did mean something like that the subtiles exist in a 
certain picture whatever form, with information when to display. But in 
different format than spumux understand. I found a hint on the web that 
it is possible to convert subtitles from a transport stream directly to 
a format suitable to spumux. But that information might be old.

 I recommend reading the handling text-based subtitles-part from the
 spumux-manpage.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] lavrec and DC10 (zr36067) - used to work but doesn't any more

2013-03-25 Thread Bernhard Praschinger
Hallo

mksoft wrote:
 I know that this just working around the problem that lavrec does not
 support v4l2. By now we didn't find anybody that would change lavrec. ;)

 I'm pretty sure that this is far beyond my programming skills but still
 I feel tempted to ask:

 How much effor is that expected to be? Would someone need deep knowledge
 of the V4L1, V4L2 and lavrec-system to port it to v4l2?

If you dive it into parts like:
getting a idea about v4l1
understanding the current code,
getting a idea about v4l2
transforming the code
testing
you can get a feeling for the project

It can be as simple as just changing the calls, but I fear that there 
can be some hidden traps. I also think that some parts are already changed.
The code is well organized and documented, so the understanding the 
current code shouldn't be that hard.

If you are interested want please give it a try.
I can help with testing.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] support for 8 bit video

2013-03-24 Thread Bernhard Praschinger
Hallo

 Does the mjpegtools support 9, 10 and 16 bit video?

 I noticed this post in ffmpeg repository

 http://git.videolan.org/?p=ffmpeg.git;a=commit;h=f7f6aaf988c224a10ad9ad67d7f7864746880c76

 mentioning yuv4mpeg: support 9/10/16 bit pixel formats
 Is this also supported in mjpegtools?
I do not think that there is a special support for more bits than 8 per 
pixel. I didn't remember and did find anything.

The only thing is that mpeg2enc has the ability to use a higher 
precision for the DC component than normal. But I guess that is not the 
direction of the question.

I'm not use if mpeg2 does allow more than 8 bit per pixle in general.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


[Mjpeg-users] Project Upgrade

2012-12-26 Thread Bernhard Praschinger
Hallo

I have upgraded the mjpegtools project to the new forge called allura.

You find details about the differences here:
https://sourceforge.net/p/allura/wiki/Features/

The upgrade should not cause any troubles, if you encounter problem 
please drop a note.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


[Mjpeg-users] mjpegtools 2.0.1RC1

2012-11-07 Thread Bernhard Praschinger
Hallo

Hannes Domani did provide a windows build for the Release Candidate like 
he did for the last releases. It seem that a few persons did already 
find the Windows version and download it. So feel free to test it too.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


[Mjpeg-users] mjpegtools release candidate

2012-11-05 Thread Bernhard Praschinger
Hallo

I have put a release candidate online. Just the tar and source RPM. If 
you want to test other RPM/dep Files please send a mail.
I try that we get also a Windows (mingw) version again.

The last release was quite some time ago. I wanted to make a release 
candidate before summer, but a lot of things happened so it was delayed. 
the tar.gz and source RPM Files are online. So please test the new 
version. And send in feedback.
Depending on the feedback and the problems discovered I will make the 
release during Christmas.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] DVB Multiplexing Help Required , Using Mplex or Caster

2012-06-29 Thread Bernhard Praschinger
Hallo

sam wrote:
 Dear All,

 Can any one help me on DVB Multiplexing using Mplex or caster.
Do you have something special in your mind ?
mplex has no special preset for output of DVB it you are looking for 
that. I don't know if DVB requires something special, if you have some 
pointers what you have and what you want to do we can provide further help.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Query on mplex MPTS to SPTS

2011-11-22 Thread Bernhard Praschinger
Hallo

 /*I am downloaded mplex , to mux n number of programs to single ts out ,
 means mpts to spts , i have done but i cant see any PID values in TSReader
 and StreamXpert Software , also cant ply the videos in VLC Player , but i
 can able to play video by giving ProgramID in mplayer , can please help me
 out , i can give access to my server , to sort this problem .
 */
Can you please post the exact url where you have downloaded mplex.

For further help please post information about the source stream.  For 
example with mplayer (or some other tool):
  mplayer file1.ts
TS file format detected.
VIDEO MPEG2(pid=3051) AUDIO MPA(pid=3052) NO SUBS (yet)!  PROGRAM N. 28655
VIDEO:  MPEG2  544x576  (aspect 2)  25.000 fps  9000.0 kbps (1125.0 kbyte/s)

The output of mplex when you multiplex the streams would also be very 
helpful. Also the command you use for multiplexing the stream.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Help reading Muxing TS

2011-11-14 Thread Bernhard Praschinger
Hallo

sam wrote:
 *Dear Friend ,*

 I am a professor , i want to do it for my research project for
 students.partial please help me.

 I want to Multiplex n number of TS using *mplex*, i got downloaded from
 *mjpeg.sourceforge.ne http://mjpeg.sourceforge.ne*t and installed ,
 how to mux continuously Real time.

 Command :*iso13818ts file1.ts file2.ts.filen.ts  Muxout.ts *
I think that is not possible to mux in realtime. I think there is a big 
misunderstanding with that mplex can do and what you intend to do. mplex 
can multiplex (mpeg) audio, (mpeg) video and subtitle together with 
control information so the resulting stream corresponds to the mpeg 
format. And can be played back by the typical mpeg player either hard or 
software.

For more help it would be very helpful to know how the *ts streams are 
created. .ts is often used for transport streams from digital satellite 
receivers, which are already multiplexed. And can't be feed into mplex.

 the output *muxout.ts* not playing in al lvideo player but i can able
 to play the video in *mplayer* by giving specific *ProgramID* of TS
 file.And also i cant see any PID Values in *TSReader *and *Streamxpert*
 Software, i think it has no SI table , how to generate the Mux out TS
 with SI table , which should play in all video player such as vlc player.

 I can give *Remote login to my mux server* , do can you help me, i also
 mailed to Oskar , author of *mplex* softweare but he was busy.
Who is Oskar ? He is no member of the mjpegtools project ;)


auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Manually setting host CPU for mjpegtools

2011-02-11 Thread Bernhard Praschinger
Hallo

 LRN wrote:
 I'm building mjpegtools with mingw32 gcc 4.5.2 and msys.
 When i configure it as-is, it detects my cpu as core2 (which is correct)
 and compiles with -mcpu=core2 -mtune=core2
 It is commendable. However, i would like to compile a version that will
 run on any more-or-less contemporary device, which means either
 -mtune=i686 or -mtune=generic
 I've tried building with --host=i686-pc-mingw32 (that is how mingw32
 often identifies itself), but hit the problem with sigjmp_buf being
 undefined (googling for it didn't do any good), and generic-pc-mingw32
 fails outright, since `generic' is not a correct cpu.
 So, in the end i want two things:
 1) -mtune=generic
 2) undefined HAVE_X86_CPU, which will prevent sigjmp_buf-related code
 from being compiled

 Export the compiler options, that should work on Linux boxes:
 export CFLAGS=-march=core2 -mtune=core2

 adding the options to the configure script should also work:
 ./configure CFLAGS=-mtune=generic -O2
[...]
 That answers the (1). What about (2)? CFLAGS certainly won't affect
 pre-processor definitions.
Sorry, but I have no Idea how to solve the sigjmp_buf problem.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] [Mjpeg-developer] yuvdenoise performance patch

2010-10-15 Thread Bernhard Praschinger
Hallo

Christian Ebert wrote:
 * Trent Piepho on Friday, October 15, 2010 at 11:33:01 -0700
 On Fri, Oct 15, 2010 at 10:58 AM, Christian Ebertblacktr...@gmx.netwrote:
 Index: yuvdenoise/main.c
 ===
 RCS file: /cvsroot/mjpeg/mjpeg_play/yuvdenoise/main.c,v
 retrieving revision 1.71
 diff -u -r1.71 main.c
 --- yuvdenoise/main.c   14 Oct 2010 16:57:54 -  1.71
 +++ yuvdenoise/main.c   15 Oct 2010 17:58:13 -
 @@ -1336,7 +1336,8 @@
 mjpeg_info(SETTING SSE2 for standard
 Temporal-Noise-Filter);
temporal_filter_planes = temporal_filter_planes_sse2;

 -   __asm__ volatile(cpuid : =d(d) : a(0x8001) :
 ebx, ecx);
 +/*__asm__ volatile(cpuid : =d(d) : a(0x8001) :
 ebx, ecx);*/
 +   __asm__ volatile(movl %%ebx, %1; cpuid; movl %1, %%ebx :
 =d(d) : a(0x8001) : ecx);


 Not quite right.

 Indeed not.

 It should look the exactly the same as the first one, with
 =g(tmp) as an output, except the number after the a
 should still be 0x8001.

 I corrected that in my other version which even seems to work in
 some small tests ;-) Thanks for your patience and explanations.

Thanks for finding the problem. I committed the 2nd change to the CVS. I 
hope that I did it right. So please check it. if it doesn't work for you 
please send me the version that works for you.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] [Mjpeg-developer] yuvdenoise performance patch

2010-10-14 Thread Bernhard Praschinger
Hallo

 Oh yeah, this isn't on Linux.  OSX probably has some kind of API for
 checking if sse2 is available.  Using CPUID isn't enough, because sse
 requires OS support that might not be there.  I.e., the cpu supports
 sse2 but you're not actually able to use it.  Probably not much of issue
 on OSX.

 Easy fix would just be the change the sse detection asm to save and
 restore ebx.

 __asm__ volatile(pushl %%ebx ; cpuid ; popl %%ebx : =d(d) : a(1) :
 ecx);

 or better

 uint32_t tmp;
 __asm__ volatile(movl %%ebx, %1; cpuid; movl %1, %%ebx : =d(d),
 =g(tmp) : a(1) : ecx);

 The latter is safer in general, as you can't use push or pop around any
 asm code that has a parameter with a constraint that allows memory
 references.  The memory reference might be relative to esp, in which
 case the push/pop would move it.  Or it might not be relative to esp, in
 which case the push/pop doesn't move it.  So there's no way to adjust
 for it.
I tested your better version. And it compiles here on my linux and Intel 
osx box. I did also a quick test with the new version on the linux box. 
And it works well.

So I would appreciate a feedback if it works on a mac.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] [SOLVED] Re: Snow around peoples...

2010-10-13 Thread Bernhard Praschinger
Hallo

 What other commands are used ? And what command do you use for encoding?

 They are the actual commands used, except for the bitrates and
 interlace: I can get the command lines with ps but much easier
 executing kino in a terminal (it dumps a lot of lines on the terminal).
I did the same here I see the command from mpeg2enc, and mp2enc. But not 
what kino does when it creates the streams.

 When you record to DV AVI Type 2 You get AVI Files. Please view them
 with a command like that:
 lav2yuv file.avi | yuvplay
 It plays like a charm, no snow at all.
Good.

 When you don't see the snow (noise) add all the other commands used for
 encoding except mpeg2enc:
 lav2yuv| file.avi | other commands | yuvplay
 When you see now the snow on of the commands creates the snow.

 I guess that kino pipes a stream to mpeg2enc which is already filtered
 with some other command that introduces the snow: in fact, if I issue
 the following:

 lav2yuv /tmp/prova002.avi | mpeg2enc -v 0 -f 8 -I 1 -n p -a 2  -o
 '/tmp/prova.mpv'

 I get a video with no snow. Unfortunately, kino creates the pipe
 internally, so I don't know what is the command that it uses and that
 introduces the snow.
You can post your problem on the kino mailing lists or tracker. The 
should be able to answer the problem.

 But this way the problem is clearly identified as a kino problem, don't
 you think? I'll got there now.
It looks like Kino makes something strange.

I used Kino 1.3.4 for my tests. Maybe you can get a new version of Kino 
that does not have that problem.

 Many thanks for your kind answers!
No Problem.


auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] mpeg2enc run time error - invalid pointer

2010-10-03 Thread Bernhard Praschinger
Hallo

I have finally checked the files you uploaded.

 record.yuv and record.wav were recorded with streamer from an
 analogue video source using a bttv card
The important part is the command line you used:
streamer -p 4 -w 2 -t 0:10:0 -r 29.97 -R 48000 -s 720x480 -o record.yuv 
-O record.wav -f 4mpeg -F stereo

I'm not really sure what is going wrong. It seems to me that the -f 
4mpeg is creating something the mjpegtools do not understand. I have 
digged through source of streamer (snapshot of the 
xawtv-20081014-100645.tar.gz because the last release lacks the support 
of y4mpeg for mjpegtools newer than version 1.6.x)
My personal opinion is that the support for y4mpeg was not finished, or 
the mjpegtools have changed, and that change did not make it back into 
streamer. I didn't find a reference in the xawtv package to anything of 
the the mjpegtools.

So I would recommend that you use the AVI Format. The quality should be 
similar to YUV. And AVI it works.

 The clip is very short, and the avi version plays well in any video
 player.

That was long enough, thanks for providing.

 I hope this helps in finding out the cause of pointer error.
Sorry for not having a better solution.


auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] (Fwd) Re: mpeg2enc run time error - invalid poin

2010-07-19 Thread Bernhard Praschinger
Hallo

jan...@aaahawk.com wrote:
 I have been traveling extensively in the past two months but now I
 have some time home and would like to ask anybody who can help to
 solve this problem. See message below to which I did not receive a
 response. I respect the privacy of everybody and therefore I use this
 forum to ask for help. Thank you - Janos
I should find time next week to take a look at your problem.
If you don't have space anywhere, please get online storage. There are 
free offers for space up to 1-2GB (just use you favorite search engine). 
I have experience with dropbox.

So you can upload it somewhere. And write afterwards a mail.

 --- Forwarded message follows --- From:
 Selfjan...@aaahawk.com To:  shadowl...@utanet.at
 Subject:  Re: [Mjpeg-users] mpeg2enc run time error - invalid
 pointer, your message of April 19 Date sent:  Sun, 06 Jun 2010
 21:32:17 -0400

 Hi Berni,

 Sorry for (a) answering to your email address and not to the
 mjpegusers mailing list, and (b) for the late answer. I have been
 traveling extensively lately (including couple of trips to Munich)
 and did not have time to my linux hobby.

 So does that mean that your problems are solved ? yes, as far as
 doing the video stuff, but the invalid pointer is still a problem

 so

 If you have a server/space where you can put it I can take a look
 at it.

   The screen shows up for a fraction of a second with the first
 image   frame and then disappears with the error message in the
 terminal screen. Stange. If you can put a short sample I and other
 could take a look on it.

 I do not have a server/space, my linux machine is not on
 permanently, therefore it would be impractical even if I created some
 ftp site (another learning curve for me). However, I could mail you a
 CD containing the 79 Meg YUV file if you give me a postal mailing
 address.

 One of my sons has some experience with C and when I visited him in
 Florida in May we talked about this invalid pointer thing. Of sourse,
 my linux machine and the file was not there so our discussion was
 purely informational. So if you don't mind, I would like to pursue
 this invalid pointer thing. If the file works on your machine I know
 it is not the mjpeg tool set and not the YUV file, it is my linux
 installation. If it does not work on your machine it could be the YUV
 file (and my machine) or could be a real bug in mjpeg tool set.

 Best regards and thanks for your past answers,

 Janos a.k.a. jankom from North Andover, MA

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Mjpegtools problems

2010-07-13 Thread Bernhard Praschinger
Hallo

Please send questions about the mjpegtools to the mjpeg-users malinglist.

Howard Helsinger wrote:
 Can anyone offer advice?

 I get this error which doesn't seem right:

 **ERROR: [mpeg2enc] display_horizontal_size must be in range 0...16383


 This doesn't seem right because the man page says the range can be to
 38363.


 I'm trying to convert video files from my Canon 7D, so they can be
 edited in Cinelerra. Here is the code I'm using:


 ffmpeg -i $ORIGINAL -vcodec ffvhuff -s 1920x1088 -threads 8 -f
 yuv4mpegpipe - |
Which version of the mjpegtools do you use

Can a smaler videos size PAL/NTSC be encoded ?

-vcodec ffvhuff does not seem to me to convert the video yuv4mpeg. I 
haven't found what kind of video format ffmpeg creates. Which video 
Format did you want to create ?

I have cut out the important part:
 mpeg2enc --multi-thread 8 --verbose 0 --aspect 3
 --format 13 --frame-rate 5 --video-bitrate 24000 --nonvideo-bitrate
 384 --interlace-mode 0 --force-b-b-p --video-buffer 448 --video-norm
 n --keep-hf --no-constraints --sequence-header-every-gop
 --min-gop-size 6 --max-gop-size 6 -o $NEW.m2v

Try replacing the mpegn2enc with yuvplay. and see if the yuv format is 
displayed proper.

If that works replace the mpeg2enc command with something like that:
mpeg2enc --verbose 2 --format 3 --video-bitrate 9000 --no-constraints \
--video-buffer 448 -o test.m2v

The --verbose 2 is vital because it helps a lot if you have a problem 
and mpeg2enc tells you everything. Turning of logging like you do makes 
it very hard to help. So it seems to me that you want to do what you 
describe in the last sentence anyways.

Are there and specific reasons why you add:
--force-b-b-p (helps with buggy mpeg1 decoders)
--sequence-header-every-gop (needed for hardwaree players)
--min-gop-size 6 --max-gop-size 6 (makes fixed GOP, MPEG2 with dynamic 
GOP can be smaller)

 Here is the full output to that:
[...]
 Seems stream 0 codec frame rate differs from container frame rate:
 6.00 (6/1) - 29.97 (3/1001)
 Stream #0.0(eng): Video: h264, yuvj420p, 1920x1088, 45955 kb/s,
 [scale @ 0x8d38850] w:1920 h:1088 fmt:yuvj420p - w:1920 h:1088
 fmt:yuv420p flags:0xa004
 Output #0, yuv4mpegpipe, to 'pipe:':
[...]
 The Canon file is 1920x1080 and 30P ==29.97.
 When I change the frame rate code from 5 (=30) to 4 = 29.97 the message
 about frame rate changes to:

 ++ WARN: [mpeg2enc] Specified display frame-rate 29.97 will over-ride
 ++ WARN: [mpeg2enc] (different!) frame-rate 59.94 of the input stream

 That doesn't make sense, since the input stream should still be 29.97,
 as it was before.

 Anyway --- if you can offer some suggestions that will be appreciated.
 Otherwise I'll have to buy Adobe Premium and edit in Windows --- alas!!!.
http://sourceforge.net/apps/mediawiki/mjpeg/index.php?title=Creating_videos_from_other_sources

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] [lavrec] Error opening video-device (/dev/video): No such file or directory

2010-05-17 Thread Bernhard Praschinger
Hallo

 Some years ago, I have successfully set up a Miro DC30 card on a HP
 Compaq dc5750 with Fedora 7 x86_64 and used it to digitize some of my
 old tapes. A couple of months ago, however, I upgraded the system to
 Fedora 12 x86_64 and when I tried to run lavrec this morning, it came
 up with the following error:
Are you sure that your system was running a 64Bit Kernel ?
I don't know of any person that uses zoran card with a 64 bit kernel (64 
Bit machines and 32bit Kernel work as far as I remember)

I'd really like to hear of a success story (or how you call it). That a 
zoran card works on a 64 bit machine with a 64bit kernel.

I know that video playback works with xawtv works on a 64 bit kernel. 
But I was not able to make the zoarn card (DC30 and buz) to record 
anything.

 $ lavrec -d 1 -i P -f a -q 80 -a 0 -v -g 768x576 k12T15002-%02d.avi
 **ERROR: [lavrec] Error opening video-device (/dev/video): No such
 file or directory
 **ERROR: [lavrec] Something went wrong while setting up the card

 To my knowledge, the system detects the card OK:

 $ dmesg | grep -i zoran
 Zoran MJPEG board driver version 0.10.0
 MJPEG[0]: Zoran ZR36057 (rev 1), irq: 20, memory: 0xd910

 $ lspci
 [...]
 01:05.0 VGA compatible controller: ATI Technologies Inc RS482 [Radeon
 Xpress 200]
 01:05.1 Display controller: ATI Technologies Inc Radeon Xpress Series (RS482)
 07:04.0 Multimedia video controller: Zoran Corporation ZR36057PQC
 Video cutting chipset (rev 01)
 20:00.0 PCI bridge: Texas Instruments XIO2000(A)/XIO2200(A) PCI
 Express-to-PCI Bridge (rev 03)
 21:00.0 FireWire (IEEE 1394): Texas Instruments TSB82AA2 IEEE-1394b
 Link Layer Controller (rev 01)
 3f:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5755
 Gigabit Ethernet PCI Express (rev 02)

 With Fedora 7, I used to have to add the lines options zr36067
 card=3; alias char-major-81-0 zr36067 to /etc/modprobe.conf. Now,
 /etc/modprobe.conf seems to be fragmented to /etc/modprobe.d
 subdirectories. Nevertheless, since the card seems to be recognized
 OK, I am not sure if I should mess with it.

 What am I missing?
I'm not sure.

About the other two mails you sent to the list.
I fear that someone needs to take a look a the kernel driver to fix the 
problem. I guess that it shouldn't be a to big problem.

One think I can try is installing on my machine a 32bit OS and check if 
recording work. That we would know at least if it is a 32 - 64 bit 
kernel problem. But for that I would need to find some (extra) time.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--

___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] mpeg2enc run time error - invalid pointer

2010-04-19 Thread Bernhard Praschinger
Hallo

  From what I remember streamer can also create mjpeg encoded AVI's. Just
  for testing purposed pleas create a AVI File, just to make sure that
  mpegenc basically can work: streamer -t 0:30 -s 740x480 -r 29.97 -o
  movie.avi -f mjpeg -F stereo
 The above command creating movie.avi worked - with 720 (:-
 Mplayer played it back nicely. This is fine, I could also load it to 
 cinerella for editing. Even glav played it well with sound - remember my 
 previos thread nearly two years ago? THANKS!
So does that mean that your problems are solved ?

 Same problem. My YUV file is 79 Meg. Can I send it to you for testing? 
 Btw I tried several settings of streamer recording the YUV, same result.
If you have a server/space where you can put it I can take a look at it.

 The screen shows up for a fraction of a second with the first image 
 frame and then disappears with the error message in the terminal screen.
Stange. If you can put a short sample I and other could take a look on it.



auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] port of yadif?

2010-04-09 Thread Bernhard Praschinger
Hallo

Mark Heath wrote:
 Has anyone ported yadif (yet another de interlacing filter) to mjpeg  
 tools?
 it appears to be the best software deinterlace filter.
I don't know that any person has changed yadif so it works in the 
mjpegtools pipeline.


auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] mpeg2enc run time error - invalid pointer

2010-04-07 Thread Bernhard Praschinger
Hallo

 Compiled mjpegtools-1.0.9, captured raw video with streamer and got this 
 error:
I hope you 1.0.9 is a typo ;)

What size, framerate, chroma (sublampling) did you set in streamer ?
Can you try what happens when you feed the stream to yuv2lav, with a 
command like that:
yuv2lav -v 2 -f a -o test.avi  test.yuv

If that works please retry the mpeg2enc command by using a command like 
that: mpeg2enc -v 2 -a 2 -b 2500 -I 0 -o test.m1v  test.yuv

 [...@andraslinux ~]$ mpeg2enc -o test.mlv   test.yuv
INFO: [mpeg2enc] SETTING EXTENDED MMX for MOTION!
INFO: [mpeg2enc] SETTING SSE and MMX for TRANSFORM!
INFO: [mpeg2enc] SETTING EXTENDED MMX for PREDICTION!
[...]
INFO: [mpeg2enc] Using default unmodified quantization matrices
INFO: [mpeg2enc] SETTING MMX and MMX for QUANTIZER!
INFO: [mpeg2enc] NEW GOP INIT length 12
 *** glibc detected *** free(): invalid pointer: 0x00245820 ***
 Aborted
 [...@andraslinux ~]$
 
 I got same error before compiling latest version, this is why I compiled it.
I'm not sure what causes the problem.
Can you also post the command you used when you recorded the video with 
streamer.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Does lavrec work?

2010-02-27 Thread Bernhard Praschinger
Hallo


Peter Federighi wrote:
 Hello.
 
 I have been trying to use lavrec for several years now.  I've tried
 several different versions and it never seems to work.  I've tried
 with a DC30+ and a WinTV card (bttv).  The bttv card works well with
 motv (and presumably xawtv), ffmpeg, and transcode, but not with
 lavrec.  Any ideas?
 
 Thanks, - Peter Federighi
 
 Here's the output with the WinTV card: hal9000:~ # 

The command you use lookes ok to me. One thing you can try is adding the 
input device useing the LAV_VIDEO_DEV environment variables.

 lavrec -v 2 --software-encoding --use-read --audio-bitsize 16 \
  -audio-bitrate 48000 --geometry 640x480 --format q --input n \
 file.qt INFO: [lavrec]

 --DEBUG: [lavrec] Starting software encoding thread --DEBUG: [lavrec]
 Queueing frame 0 --DEBUG: [lavrec] Encoding thread: sleeping for new
 frames (waiting for frame 2) **ERROR: [lavrec] Error queuing buffers:
 Device or resource busy
What I remember is that recording from a bttv device only works if no 
other process (like bttv) is using the card. So pleas turn off all 
TV-Viewing program that might run.

Have you tired other inputs ? (n/N/T)

 Recording time  :  0.00.00:00 Lost frames : 0 A/V sync ins/del:
 0/0 Audio errors: 0

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


[Mjpeg-users] mjpeg Doku change

2009-12-06 Thread Bernhard Praschinger
Hallo

Some time ago Sourceforge has retired Docman. This tool was used for the 
mjpegtools documentation.

Because of that the mjpegtools documentation was moved to wiki. The 
english documentation has been online for some time and can be found 
here: http://sourceforge.net/apps/mediawiki/mjpeg

The german version of the howto is still missing I will put it online in 
the near future.

If someone wants to add some more information please tell me I will add 
than the user so you can add information.

If you have links pointing to the old documentation, you need to change 
the links.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] [Fwd: Re: where is xlav?]

2009-11-12 Thread Bernhard Praschinger
Hallo

Christian Ebert wrote:
 * Peter Vereshagin on Thursday, November 05, 2009 at 20:59:48 +0400
 sh -c mencoder -mf h=480:w=640:type=jpg -o tmpvid -ovc lavc -lavcopts 
 vcodec=mjpeg:vhq -ovc copy -noskip -ofps 5.000 mf://*.jpg -frames 785 12
 
 Not sure if this helps, but you have
 
 -ovc lavc *and* -ovc copy
 
 which contradict each other. In case -ovc copy wins, no
 reencoding takes place.
Thanks for the hint. But that is the command generated by lives. I don't 
know why they generate the command that way.

I have tired that command:
mencoder DVD.mpg -o test4.avi -oac copy -ovc lavc -lavcopts 
vcodec=mjpeg:vbitrate=15000

There mplayer tells me that I have used a MJPG coded. But it seems to me 
that they don't include a huffman table or at least in a different way. 
And I haven't looked at the source so I can't tell exactly what's wrong.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] [Fwd: Re: where is xlav?]

2009-11-12 Thread Bernhard Praschinger
Hallo

 BP When I export a file with lives, with the option you show in the
 image. BP I can't play it back. mplayer prints out that information:
  BP VIDEO:  [IJPG]  720x576  24bpp  25.000 fps  7992.5 kbps (975.6
 kbyte/s) BP ---END--- Does mplayer have any explanation why it
 doesn't play? I have the same but it does:

No, to know why it doesn't play back would be to look at the mencoder
source and at the mjpegtools source. And look what is going wrong.

 === AVI file format detected. [aviheader] Video stream found, -vid 0 
 AVI: No audio stream found - no sound. VIDEO:  [IJPG]  640x480
 24bpp  5.000 fps  1750.1 kbps (213.6 kbyte/s)
[...]
Similar bad.

 BP BP Playing back a mjpeg file that works with the mjpetools gets
 me that BP information: BP VIDEO:  [MJPG]  720x576  24bpp  25.000
 fps  18607.2 kbps (2271.4 kbyte/s) BP ---END--- The only difference
 I see is: [IJPG] versus [MJPG] on the mplayer's stdout/stderr, right?
I don't know how that file format differ.


 BP When you record from a box like the ADVC-100 with kino, you might
 also BP se here DVSD. You find information about the fourcc here: 
 BP http://www.fourcc.org/
 
 My source is ffmpeg acquiriung a screencast. So things about DVSD nd
 Fourcc prove me all of that is way complex. and not much similar to
  sandbox playground ;-)

 ok, so whom should I contact best about it: lives support for they to
 make an option to pipe to youv2lav additionally or mplayer community
 to know that this thing is impossible with mencoder only?
That's a tricky question.
I'd ask on a lives mailinglist.

I remember that there was once a lives output plugin for the mjpegtools. 
But I don't know where it vanished :(


 BP When I have a video format the mjpegtools don't understand I use
 mplayer BP   -vo as input: BP  mkfifo stream.yuv BP  cat
 stream.yuv | yuv2lav -o mjpeg_wo.avi  BP  mplayer -nosound
 -noframedrop -vo yuv4mpeg anyfile.mpg BP  mplayer -vo null -ao
 pcm:file=anyfile.wav anyfile.mpg
 
 Thanks much, will try it next time as my needs are occasional.
Ok.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] [Fwd: Re: where is xlav?]

2009-11-12 Thread Bernhard Praschinger
Hallo


Peter Vereshagin wrote:
 You can't take no for an answer, Bernhard!
 2009/11/11 20:34:15 +0100 Bernhard Praschinger shadowl...@utanet.at = To 
 Peter Vereshagin :
 BP VIDEO:  [IJPG]  720x576  24bpp  25.000 fps  7992.5 kbps (975.6 kbyte/s)
 
 A small addition: I updated ilves to 1.0.5 and there is mjpegtools_encoder in.
 But I'm still here with mplayer info and glav.
 I should probably try different output format? Got rid on this, will try your 
 piping method next time.
You can use any high quality output format mplayer can play back. Than 
mplayer will convert it to someting suitable for piping to the mjpegtools.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Zoran Pinnacle DC10

2009-11-12 Thread Bernhard Praschinger
Hallo

 I need to send video to a TV by using the Zoran Pinacle DC10 PCI card 
 through a program written in c.
 Could you recommend some libraries to use the functions of the board?.
When you look at the mjpegtools, take a look a the lavplay program.
That program can put a mjpeg file to the zoran card.

The other program I know is mplayer with zoran support complied in 
(mplayer -vo zr).

You can take a look at both programs.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] [Fwd: Re: where is xlav?]

2009-11-11 Thread Bernhard Praschinger
Hallo

 Hope it's ok for Cc: you in my post to list.
That's no Problem.

 No reason for excuse cause it's nothing of mission critical: 
  I'm trying for fun ( and to expose my screencast for profiling ).
 
 With lives, I do this: File - Encode Clip as
 Next is to select the file name
 After that, to choose this as an encoder: 
 http://pyotr.pisem.su/export-lives.png
 It appeared to be the fastest way to provide playable AVI, also.

I don't know what mencoder creates, but the problem seems for me to be 
in mencoder.

When I export a file with lives, with the option you show in the image. 
I can't play it back. mplayer prints out that information:
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO:  [IJPG]  720x576  24bpp  25.000 fps  7992.5 kbps (975.6 kbyte/s)
Clip info:
  Software: MEncoder 1.0rc2-4.3
---END---

Playing back a mjpeg file that works with the mjpetools gets me that 
information:
VI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO:  [MJPG]  720x576  24bpp  25.000 fps  18607.2 kbps (2271.4 kbyte/s)
---END---

When you record from a box like the ADVC-100 with kino, you might also 
se here DVSD. You find information about the fourcc here: 
http://www.fourcc.org/

 I don't have this even after chmod 0644 on that file. Scoop:
 ===
 **ERROR: [lavinfo] Error opening cast06.avi
 ===
 Mplayer plays it as MJPEG:
 ===
 Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
 Selected video codec: [ffmjpeg] vfm: ffmpeg (FFmpeg MJPEG decoder)
The decoder are not the important lines.
Look for the lines I have posted above.

 I should have more diags from lavinfo but it doesn't look to have a key for 
 this.
 Versions are:
 ===
 MPlayer 1.0rc2-4.2.1
 mjpegtools-1.9.0.r3_2
 lives-0.9.8.10_2
 ===
I use live 1.0.5, mplayer 1.0rc2-4.3 and mjpegtools 1.9.0

 sh -c mencoder -mf h=480:w=640:type=jpg -o tmpvid -ovc lavc -lavcopts 
 vcodec=mjpeg:vhq -ovc copy -noskip -ofps 5.000 mf://*.jpg -frames 785 12
 ===
 Lives looks likely to keep its storage in a set of separate jpeg files in 
 /tmp/livestmp
Seems so.

For me it seems that mencoder creates a mjpeg encoded AVI. But there are 
several versions. I have taken a look at mencoder but didn't find any 
hint to create a mjpeg encoded file the mjpegtools understand.

When I have a video format the mjpegtools don't understand I use mplayer 
  -vo as input:
 mkfifo stream.yuv
 cat stream.yuv | yuv2lav -o mjpeg_wo.avi 
 mplayer -nosound -noframedrop -vo yuv4mpeg anyfile.mpg
 mplayer -vo null -ao pcm:file=anyfile.wav anyfile.mpg

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] where is xlav?

2009-11-01 Thread Bernhard Praschinger
Hallo


Peter Vereshagin wrote:
 Hello,
 
 Can I find xlav anywhere to compose an .eli file for glav?
 There is no one on the mjpegtools-1.9.0 sources.
 Thank you.
xlav was long ago replaced by glav.
You can do with glav the same as you could with xlav.

You will need gtk-devel libs to be able to compile glav.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] poor quality of SVCD-stills sincd version 1.9

2009-10-09 Thread Bernhard Praschinger
Hallo

 Today I have time to do some tests.
 
 Am Sonntag, 13. September 2009 schrieb Bernhard Praschinger:
 ...
 It seems that there is a problem with the new Bitrate control.
 Which seems to ignore or do something wrong the preset for the still
 streams.
 ...
 I tried -b 2500.0 and -B 2500.0, but it had no effect.
 
 My solution is:
 -K file=quantmatrix
 and quantmatrix looks like:
[...]
 That did it, quality is good.
Thanks for investigating the problem.
When I did some tests it seems that the filesize is not as big as it was 
before. But much better as it was without the custom quantization matrix.

When you compare the results does it look as good as it was with the 
older version ? (I haven't used stills so I can't compare)


auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] qttoy4m

2009-10-07 Thread Bernhard Praschinger
Hallo


E Chalaron wrote:
 Hi all
 I am sorry for what seems to be a recurent question but can not get the
 qtoy4m to compile.
 I remember this to be solved by adding the devel libs of libquicktime
 but this time it does not seem to work.
 
 Platform is opensuse 11.
 In the same kind of issue I cant eithe compile (or use the binaries) of
 y4mscaler with error loading libmjpegtools-1.7.so.0, where I had the
 feeling I was on 1.9 :-(
 I am a bit confused here ...
As Steven wrote we need more information. I have a Opensuse 11.0 x64 
here. And was able to compile both programs. y4mscaler should be rather 
easy to fix.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] latest change to cpuinfo.sh breaks build on MacOS 10.5.8

2009-09-02 Thread Bernhard Praschinger
Hallo

 * Steven M. Schultz on Monday, August 31, 2009 at 15:03:33 -0700
 On Mon, 31 Aug 2009, Christian Ebert wrote:
 $ sw_vers
 ProductName:Mac OS X
 ProductVersion: 10.5.8
 Got your 10.6 on order ? :-)
 
 Nope ;-)
 
 A change was checked in to do a test compile and force $proc back to 
 nocona if the 'core2' is rejected.

 Works fine now.
 
 It does indeed. Thanks!
I have tested it here on a Suse and MAC 10.5.8, and it compiles here to.

I get some error messages when I tries to compile the newdenoise.cc on 
the mac. I will investigate it next weekend. It compiles well on the PC 
running Linux.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] miroVIDEO DC10 problems

2009-06-13 Thread Bernhard Praschinger
Hallo

Nikolay Shaplov wrote:
 On Fri, 12 Jun 2009 13:17:35 +0200
 Bernhard Praschinger shadowl...@utanet.at wrote:
 
 
 When you know which IC's you have try loading zoran driver manual.
 In the cvs on SF is a old script called update that shows you how to 
 load each module by hand:
 http://mjpeg.cvs.sourceforge.net/viewvc/mjpeg/driver-zoran/
 Thank you. This script was very useful... Though it required some
 modification, for current debian situation... I will try to write howto
 in debian wiki, for it...
That is good.

Does that mean that the zoran card is now working ?

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] miroVIDEO DC10 problems

2009-06-12 Thread Bernhard Praschinger
Hallo

Nikolay Shaplov wrote:
 Excuse me, if I am asking in wrong mail list, but I have problem with
  miroVIDEO DC10, and as far as I have googled similar questions have
 been discussed here...
Thats the right list.

 The problem is: this card is not autodetect properly, so I do not get
 /dev/video[N], to use it with any linux video tool.
Did it ever work ?
DC10 exists in several versions.
For further help, please post the IC's (only the important one you have 
on the card.
The labels of the IC's you have to look for can be found here:
http://mjpeg.sourceforge.net/driver-zoran/cards.php

When you know which IC's you have try loading zoran driver manual.
In the cvs on SF is a old script called update that shows you how to 
load each module by hand:
http://mjpeg.cvs.sourceforge.net/viewvc/mjpeg/driver-zoran/

 lspci -v sais about this card:
 
 02:0b.0 Multimedia video controller: Zoran Corporation ZR36057PQC Video
 cutting chipset (rev 01)
 Flags: bus master, fast devsel, latency 32, IRQ 9
 Memory at f100 (32-bit, non-prefetchable) [size=4K]
 
 I've tried to load all zr* modules with card=[some number], but they
 all says, Unknown parameter `card'
I fear that you need to load the correct modules before and because of 
that the zoran driver with the card option fails to load too.

 I tired to do all of these on both 2.6.26 and 2.6.29 and linux kernels
 from debian lenny (2.6.29 from lenny backports) the result is the
 same...
I think changing the kernel does not help much.

 I do not know ho to troubleshoot it futher... I am not kernel module
 developer [yet ;-)]  I've googled all the internet and found no
 solutions...
If you know which IC's are on the board helping will be much easier.

 Can you tell me where else to look, and where to get more information
 what is happining with my card when if is not properly detected...
I hope that is a start.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] jpeg2yuv Bus error

2009-06-06 Thread Bernhard Praschinger
Hallo

 I'm using version 1.9.0
 on a ReadyNAS 1100  which a sparc system.
 the compile went fine.
Which OS and Version do you use ?
Isn't that box designed for some other use ;)

 I did need to change  yuvdeinterlace/yuvdeinterlace.cc
 
 #ifdef __GNUC__
 #define RESTRICT __restrict__
 #else
 #define RESTRICT
 #endif
 
 as it failed compilation..  I removed everything except the  #define 
 RESTRICT
 then it compiled without error.
That shouldn't matter for the the problem you have nor.

 Now, when I try to run   jpeg2yuv I get a Bus error
 
 any ideas would be appreciated.
Do you have convert available ?
Than you could use a command like that:
convert *.jpg ppm:- | ppmtoy4m | yuvplay



auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] mplex fail......

2009-06-04 Thread Bernhard Praschinger
Hallo

 I tried to run mplex in gdb mode and do backtrace, but this was my first
 time using 'gdb' - Is this enough?

 gdb --args mplex -f 8 -S 0 -M -o test.mpeg2 test.m2v test_EN.m2a 
 GNU gdb 6.8-debian
 Copyright (C) 2008 Free Software Foundation, Inc.
[...]
 Program received signal SIGILL, Illegal instruction.
 [Switching to Thread 0xb7d746d0 (LWP 18438)]
 0xb8030efa in MPAStream::Init () from /usr/lib/libmplex2-1.9.so.0
 (gdb) backtrace
 #0  0xb8030efa in MPAStream::Init () from /usr/lib/libmplex2-1.9.so.0
 #1  0xb8034965 in Multiplexor::InitInputStreamsForVideo () from
 /usr/lib/libmplex2-1.9.so.0
 #2  0xb80350e1 in Multiplexor::InitInputStreams () from
 /usr/lib/libmplex2-1.9.so.0
 #3  0xb80352b0 in Multiplexor::Multiplexor () from
 /usr/lib/libmplex2-1.9.so.0
 #4  0x0804a52c in ?? ()
 #5  0xb7d8b775 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
 #6  0x08049451 in ?? ()
 (gdb)
Nothing to obvious.


 Hello again!
 I found some information about problems with binary package of mjpegtools in
 ubuntu 9.04 on amd architecture:
 https://bugs.launchpad.net/ubuntu/+source/mjpegtools/+bug/351017
 Then I downloaded the source of mjpegtools 1.9.0 and I compiled and
 installed the program.
 And now when I use the own-compiled version of mplex I have no errors...
 So thank you for your help, I think this is not already problem for this
 forum...
Compiling from source would have been the next suggestion. Seems that I 
need to creccomend that earlier.

 From what I have read in the link you posted it seems to be a problem 
when they have built the package.

It would be interesting if the RPM Package on SF has the same problem.
I just wrote the note on the site you have mentioned.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] mplex fail......

2009-05-27 Thread Bernhard Praschinger
Hallo

 I recorded mpeg material from DVB-S card and I created video and audio with
 avidemux (version 2.4.4) from this material (avidemux with GUI).
Ok so you didn't create the streams with the mjpegtools.
Have you tried to multiplex a stream that has worked before the update 
of Unbuntu ?

Is is possible for you to post a short sample somewhere ?

 The first line from mplex command without any parameters returns
   mjpegtools mplex-2 version 1.9.0 (2.2.7)
 
 My command to try multiplexing 2 audio and 1 video is:
   mplex -v 2 -f 8 -S 0 -M -o test.mpeg2 test.m2v test_PL.m2a test_EN.m2a

Just to make soure, try once to multiplex it only with one audio.
What I don't like it the bitrate of the video with 10Mega Bits.
Or change the bitrate to more than 1000, add the guessed bitrate of 
the audio streams with the -r option. -r 130 for example.

 and result is:
INFO: [mplex] mplex version 1.9.0 (2.2.7 $Date: 2006/02/01 22:23:01 $)
INFO: [mplex] File test.m2v looks like an MPEG Video stream.
INFO: [mplex] File test_PL.m2a looks like an MPEG Audio stream.
INFO: [mplex] File test_EN.m2a looks like an MPEG Audio stream.
INFO: [mplex] Video stream 0: profile 8 selected - ignoring non-standard
 options!
INFO: [mplex] Found 2 audio streams and 1 video streams
INFO: [mplex] Selecting dvdauthor DVD output profile
INFO: [mplex] Multiplexing video program stream!
 --DEBUG: [mplex] SETTING video buffer to 232
INFO: [mplex] Scanning for header info: Video stream e0 (test.m2v) 
INFO: [mplex] VIDEO STREAM: e0
INFO: [mplex] Frame width : 544
INFO: [mplex] Frame height: 576
INFO: [mplex] Aspect ratio: 4:3 display
INFO: [mplex] Picture rate: 25.000 frames/sec
INFO: [mplex] Bit rate: 1000 bits/sec
INFO: [mplex] Vbv buffer size : 176128 bytes
INFO: [mplex] CSPF: 0
INFO: [mplex] Scanning for header info: Audio stream c0 (test_PL.m2a)
 Illegal instruction
 
 Before upgrade my ubuntu from 8.10 to 9.04 it was working without any
 warnings and errors
Which version of the mjpegtools was included with unbunto 8.10?
A quick search didn't provide any useful information.

It is possible for you to install the mjpegtools version that was 
included in Unbuntu 8.10 ? To make sure that the mjpegtools cause the 
problem.

Or run mplex in gdb and do a backtrace of the crash.

-- 
auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA,  Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] mplex fail......

2009-05-25 Thread Bernhard Praschinger
Hallo

 Steven Boswell II wrote:
 Granted, mplex shouldn't crash on this, but you do realize that you're
 multiplexing two sound files together without any video file, right? 
 Shouldn't one of them be a video file?

 
 Hello!
 I have the same situation
 
 after command 
   mplex -f 8 video.m2v audio1.m2a audio2.m2a -o film.mpg
 I get Illegal instruction error :(
 I have upgraded Ubuntu from 8.10 to 9.04 two weeks ago.
Please provide some more information about the mjpegtools you use. Which 
command you used for creating the audio and video files.

And the whole output from mplex.
Maybe also the last few lines when you try to multiplex the files with 
-v 2.


auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.com 
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] mpeg2enc's bitrate parameter does not work properly

2009-04-04 Thread Bernhard Praschinger
Hallo

 It did not solve the problem.  The bit rate of the generated video was
 still unreasonably high.
 
 With help from the gstreamer IRC channel I was able to write a YUV file
 so I could test with the mpeg2enc command stand-alone.
 
 gst-launch-0.10 -v filesrc location=/var/tmp/The\ Drinky\ Crow\ Show\ -\ 
 Tunnel\ Girls.mpeg ! decodebin name=db ! queue ! videoscale ! 
 video/x-raw-yuv, width=352, height=480, pixel-aspect-ratio=1920/1056 ! y4menc 
 ! filesink location=/homes4/thoth/drinky-crow/x.yuv  db.! fakesink silent=true
So you try to rencode the video.
Can you please post the mpeg format, resolution and aspect ration the 
source has. And the output format you want.

 mpeg2enc -a 2 -b 3180 -g 15 -G 15 -s -R 2  \
 /homes4/thoth/drinky-crow/x.yuv \
 -o /homes4/thoth/drinky-crow/x.m2v
I hope you know that you generate a fixed bitrate MPEG1 with a aspect 
ratio of 4:3 and a fixed gop size.

Can you try to encode without the -R 2 option and see what happens.
I haven't encoded a MPEG1 with that kind of parameters for a long time.

 -rw-r--r-- 1 thoth thoth 1657828416 Mar 27 12:13 x.m2v
 -rw-r--r-- 1 thoth thoth 6812375076 Mar 27 11:41 x.yuv
That should differ more. Even for MPEG1.

 Both files play in mplayer, but the .m2v doesn't have the correct aspect
 ratio (-a 2 isn't being honored, and the
 sequence_header.aspect_ratio_information contains a 12 instead).
 
 Since I started with a 15-minute recording, I calculate the x.m2v file
 as averaging out to almost 15 Mbit/s.  This seems inconsistent with the
 -b 3180 argument to mpeg2enc.
 
 I can provide the 6G .yuv file to any brave soul willing to attempt to
 reproduce my problem.  I'm just not sure where I could host it.
Does the yuv file look correct when you play it back with lavplay (cat 
x.yuv | yuvplay) ?


auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Recording video from Computer to VTR via lavplay -p C

2009-02-16 Thread Bernhard Praschinger
Hallo

 First, i have used this several times before without any problems but 
 today i got the following error when recording a video from Computer to 
 VTR via  : lavplay -p C video.mov
 
 After recording about 5 minutes i got this:
 
 Error on syncing buffers timer expired
 An playback stopped.
Not really, playback of the file works with lavplay on the monitor ? 
Just to make sure the file is not broken. One idea would be to turn of 
the syncronisation with -c 0.

 So i tried this:  lavrec -p C -n 256 -c 1video.mov
 
 With again the same error after about 5 minutes.
 
 I have used lavrec -p C several times before without having any 
 problems, any idea what could be wrong here?
You mean lavplay ?
Does the system log tell you more, can you run it and add -v 2. Maybe 
that provides some useful output.


auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Soft lavrec out of sync...

2009-02-16 Thread Bernhard Praschinger
Hallo

 best/easy way to delay audio or video to re-sync both
 of them ? What command do you use for recording ? Do you use the -c
 option ? If yes, please use -c 2 because than lavrec replcates or
 deletes frames when needed.
 I'll show you exact command line: now I don't have my script...
Please post it.

 What video source do you have ?
 Video source was a VHS tape, wich was linked to Composite Video Input
 in my Pinnacle PCTV. I have also a Pinnacle DC10+ , but I don't know
 it never worked with VHS tapes: only with my analog videocamera's
 S-Video output. However, it's rare, for me, record a video from a VHS
 tape, so... PCTV is OK.
VHS/VCR is usually a very video signal source. VCR's don't deliver a 
stable signal, that causes very much lst/ins frames. And the Zoran based 
cards need a rather stable signal.

 Please post in your answer the lavrec command and the output lavrec
  generates.
 This is, unfortunately, a data that is lost, because I didn't record
 a log... well if for you it's so important, I can try to record that
 tape again, and record lavrec Std Output with tee... tell me if
 it's so important, and I'll do. :)
When you see the output the next time. You don't need to rerecord it.

 sox comes into my mind.
 Ok, I will study sox man page... :P
I think it is able to change the length of a audio file.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] y4mstabilizer problem (solved)

2009-01-23 Thread Bernhard Praschinger
Hallo

 if somebody happens to encounter the same problem.
 On one of my machines (AMD athlon 64 X2 with OpenSuse 10.3)  y4mstabilizer 
 did 
 not work OK, just flashed the first frame and then went green!
I have a similair machine Athlon Phenom but running OpenSuse 11.0 x64.
There y4mstabilizer does not produce a green output. bcopy, and memcpy 
produce visualy the same output.

 Traced the problem to the bcopy function.
 After replacing all instances of
 bcopy(a,b,c)
 with
 memcpy(b,a,c)
 
 in y4mstabilizer.c it works fine on this machine too.
Could you please check if you don't have any other problem (lib where a 
patch is aviable), before I check in the changes.

Replacing the outdated function sounds good to to me.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Good intermediate format to use

2009-01-22 Thread Bernhard Praschinger
Hallo

 If you only work with mjpeg files and do simple cut/edit action. You can
 use the editlist files.
 Yes, I have used glav to cut the wanted sections out of the orignal captured 
 video.

  mjpeg stuff |mpeg2enc -f 8 -4 2 -2 1 -F 3 -q 8 -o video/$1.m1v

 I've then either passed this to devedee or edited in kdenlive and passed
 to devedee, after multiplexing the soundtrack back onto the file.
  From what I have seen from the kdenlive website. The format where you
 have not that much compression seems to be mov as container with DV
 compression. The mjpegtools can read that format. And use that file when
 you are done with editing for encoding with the mjpegtools.
 Can it write it?  I'm wondering what is best used to feed video from 
 mjpegtools to kdenlive?
The mjpegtools cannot create DV encoded files (at least I don't know 
how). They can only read them. The the best quality is a mjpeg encoded 
AVI/MOV at a high quality factor of 95. (100 might cause problems)

Well If you really want every bit of quality you can create single raw 
ppm files. I would not recommend that.

 Basically I have put mjpeg tools at the beginning of 
 the process rather than at the end to tidy things.  Basically glav seems to 
 be great for creating simple quick and dirty edit lists!
I would not use the word dirty, but quick is correct.
If you have clips and want just trim them, glav and a editlist is a very 
simple way.

 I have a very simple toolchain. I record with a Zoran based card (lavrec
 only), or with a ADVC-100 and kino. The third source are transport
 streams using ProjectX. Than I do just simple cutting with glav/lavplay,
 and encode the files afterwards with the mjpegtools.
 It's the authoring to DVD stage.  I think I've found the option, there is a 
 tickbox buried away in the devede menus to tell the program that the input 
 file is already in a dvd friendly format.   Bit of a nuisance that I can't do 
 it globally as I have about twenty files on the DVD!
If you feed the program already good mpeg2 streams than you only loose 
time and quality by reencoding.

I'm sorry but I don't have experience with that two programs.

 My overall concern was that I was generating unnecessary decoding and 
 encoding 
 processes in my workflow.  Given the source material I suspect its not 
 noticable anyway, but it would be nice to not add too much loss in the 
 editing process.  Actually the test disk looked OK on screen.
If you use DV you should not notice much. If you use the mjpeg format in 
MOV or quicktime files. You will notice something.

 You can raise the quality factor a little to 3 or maybe even 2. mpeg is
 a compression where you loose information, and have artefacts.
 Yes, I managed a little improvement.  To some extent it may just be that I 
 don't look at other people's credits at close range on a PC monitor, 
 especially frame by frame, so perhaps I'm expecting a bit too much from the 
 process!  Credits on the test disk were a bit rough, need to burn a new disk 
 and have another look.
If you view them on a normal TV you won't notice much. If you wath them 
on a new Set where you have HDMI (or any other digital transmition I 
think you will notice it.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


[Mjpeg-users] Release of RC4

2008-12-08 Thread Bernhard Praschinger
Hallo

I have played with the current CVS as other have done. :)
It seems to me that Andrew has fixed the problem.
Because of that I have created the new mjpegtools RC4.
You can download it from the mjpegtools download page:
http://sourceforge.net/project/showfiles.php?group_id=5776

Depending on the bugs found and reported, I plan to release the 1.9.0 at 
the end of this year. I will give that Release Candidate another 3 
weeks. And that we will have a new release.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: [EMAIL PROTECTED]
www: http://www.lysator.liu.se/~gz/bernhard

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] My records with lavrec are in black white

2008-11-03 Thread Bernhard Praschinger
Hallo

 I'm trying to record my vhs with lavrec and I can do it with this command:
 
 lavrec -f a -i P -R m -c 1 -q 100 -d 2 /home/m/nomefile.avi
 
 But my records are in black  white.
Does your VCR deliver a S-Video Signal ?
What connector do you use on the DC10?
If it does you have a problem with the Cable to the card or the VCR.

Try a input once the PAL Composite, so just change your recording 
command to something like that:
lavrec -f a -i p -R m -c 1 -q 90 -d 2 /home/m/nomefile.avi

The -i p, is important.
Reducing the quality to 90-95 might help in certain situations. When 
recording fails.

 This is the lavrec output:
 
 [EMAIL PROTECTED]:~$ lavrec -f a -i P -R m -c 1 -q 100 -d 2 -v 1 
 /home/m/nomefile.avi
INFO: [lavrec] Input Source:   S-Video PAL
That is the important line telling you that it records from the S-Video 
connector.

 I play the file with totem, that normally works good.
Means that playback in B/W work ?

 These are the last lines of my dmesg, after recording:

 I have several other problems with this recording, maybe they help to
 understand:
 
 lavrec -f a -i P -R m -c 1 -q 100 -d 2 -v 1 /home/m/nomefile.avi
 
 If I put -c 2 (best syncronization) lavrec does not record.
 If I put -d 1 lavrec does not record audio.
-c 2 is the default setting, does it also fail when you don't use the 
option ? Try adding the -U option.

-d  has nothing to do with the audio. Do you get a error message when 
you add that option ? If yes please post it.
Do you have in alsa the oss emulation enabled ?

Why do you want to record from the microphone input ? (-R m) Please 
connect it to the line in, and change the option to -R l -s.
The -s is for stereo.

 Maybe these dmesg lines can help:
 
 [   39.234747] ALSA
 /build/buildd/linux-ubuntu-modules-2.6.24-2.6.24/debian/build/build-generic/sound/alsa-driver/pci/ac97/ac97_codec.c:2061:
 AC'97 1 does not respond - RESET
 [   39.250719] ALSA
 /build/buildd/linux-ubuntu-modules-2.6.24-2.6.24/debian/build/build-generic/sound/alsa-driver/pci/ac97/ac97_codec.c:2070:
 AC'97 1 access is not valid [0x], removing mixer.
 [   39.250734] ALSA
 /build/buildd/linux-ubuntu-modules-2.6.24-2.6.24/debian/build/build-generic/sound/alsa-driver/pci/ali5451/ali5451.c:1927:
 ali mixer 1 creating error.



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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Can't see vcr stream with xawtv or another program

2008-10-31 Thread Bernhard Praschinger
Hallo

 I recorded and saw a vhs!
 
 I used lavrec, as suggested by an Italian guy.
 
 Now I'm trying to get the best from lavrec, because the video and the
 audio are very bad, by now.
Depends on the quality of the VCR, usually you only get rather low 
quality from a vcr.
If you have a extra sound card use it, the onboard sound card has 
typically also a rather low quality.

If you post your lavrec command we can help further, and give 
recommendations. A quality stetting between 50 to 85 should give you the 
quality you can get from a vcr.
If the picture is not stable a TBC (time base correction) Unit will help 
but they are rather expensive. If you look for a good one like: Kramer 
FC-400.


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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Can't see vcr stream with xawtv or another program

2008-10-30 Thread Bernhard Praschinger
Hallo

 Which DC10 do you have ? (I know of 3 different versions)
 I don't know. I know it is a DC10+ an that lshw report this:
 
 *-multimedia:1 UNCLAIMED
[...]
  configuration: latency=32 maxlatency=16 mingnt=2
That does not show the important IC's that are used on the card.
The DC10 can have a video decoder a: vpx3220 or a saa7110
As video encoder it can have adv7175 or a mse3000.
It always has a Zoran 36060 and a Zoran 36067.
The driver is able to andle 4 different versions of the card, with 
different video de/en-coders.

 And that its correct driver is zr36060 with card number = 2
Maybe you have what the driver know as dc10new than the card number 
should be 1.

 For your next mail can you attach a output of lsmod | grep zr ?
 [EMAIL PROTECTED]:~$ lsmod | grep zr
 zr3606010892  1
 zr36067   138252  0
 compat_ioctl32  2304  1 zr36067
 i2c_algo_bit7300  1 zr36067
 videocodec  9108  2 zr36060,zr36067
 i2c_core   24832  6
 adv7175,saa7110,i2c_ali15x3,zr36067,i2c_algo_bit,i2c_ali1535
 videodev   29440  1 zr36067
Looke ok.

 Can you unload all zr related module like: saa7110, adv7175, zr36060,
 zr36067, i2c_algo_bit, i2c_algo_bit, i2c_core, videodev, videocodec
 I don't know how to do.
Use rmmod, you have to take care of the order how you unload the 
modules. You usually can't unload a modules used by other modues.

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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] loading new editlist in lavplay

2008-10-29 Thread Bernhard Praschinger
Hallo

 I am trying to load a new editlist in to lavplay without stopping
 lavplay. In the lavplay manpage I found some information but it doesn't
 seem to work as I expected.
That does not work.
(There is no load file button in glav also)

 Using 
 ea /path/to/video.avi -1
 does work, but only for movies, not editlists.
Loading single files and editlists works at startup:
lavplay corrs_kurz.avi ccr.eli

That works here.

 om editlist [N1 N2 [N3 N4]] seems like the solution 
 but when I try it I always get something like 
 Ready...**ERROR: [lavplay] Error
 opening  /home/richard/VJcollect/Berlijn/metro_mensen.eli -1
 ���: No such file or directory
 
 I've tried: 
[...]
 but all with the same result
 
 can someone tell me how to get it right?
I from what I have understood that you want to do. I think the solution 
is that you cut a file and save it as editlist. And in a 2nd step you 
load all editslist files and/or single files and do your 2nd step.

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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Can't see vcr stream with xawtv or another program

2008-10-29 Thread Bernhard Praschinger
Hallo

 Help me!
 
 I'm trying to see my vhs with my pc, but I can't. I have a Pinnacle Miro
 DC10 plus, with Zoran chipset zr36057PQC. I posted my dmesg here:
Did that card ever work in Linux ?
Which DC10 do you have ? (I know of 3 different versions)

 https://answers.launchpad.net/ubuntu/+question/49227
 
 I tried alone reading the page in sourceforge about zoran unified driver,
 but it is not more update by 2004, and I found that commands there
 provided didn't work (http://mjpeg.sourceforge.net/driver-zoran/)
That page is should be updated.

 Other attempts I did may be read here:
 https://answers.launchpad.net/ubuntu/+question/49227
 
 Can someone help me?
That message, you have found is strange indeed:
i2c-adapter i2c-0: Error: command never completed

For your next mail can you attach a output of lsmod | grep zr ?

Can you unload all zr related module like: saa7110, adv7175, zr36060, 
zr36067, i2c_algo_bit, i2c_algo_bit, i2c_core, videodev, videocodec

And than load eas module by hand in such a order. And look in a terminal 
what you see in dmesg when you load the modules in that order:
modprobe videodev
modprobe i2c-core
modprobe i2c-algo-bit
modprobe saa7110
modprobe adv7175
modprobe zr36060
modprobe zr36067

Please post any interesting output.

Than run xawtv, and select as video source Composite or S-video.

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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] mplex file mov03d.m2v unrecogniseable!

2008-10-15 Thread Bernhard Praschinger
Hallo

 $ mplex -f 8 -S 0 -M -o /tmp/Test/mov03d/mov03d.mpeg2
 /tmp/Test/mov03d/mov03d.m2v /tmp/Test/mov03d/mov03d.m2a INFO:
 [mplex] mplex version 1.8.0 (2.2.4 $Date: 2005/08/28 17:50:54 $) 
 **ERROR: [mplex] File /tmp/Test/mov03d/mov03d.m2v unrecogniseable! 
 INFO: [mplex] File /tmp/Test/mov03d/mov03d.m2a looks like an AC3 
 Audio stream. **ERROR: [mplex] Unrecogniseable file(s)... exiting.
 
 The video file was made with the following command:
 
 $ mplayer -dumpfile /tmp/Test/mov03d/mov03d.m2v -dumpvideo
 /home/curt/JVC-Video/mov03d.mpg
 
 and when I view the split video file this is the mplayer output:
 
 $ mplayer mov03d.m2v
[...]
 Playing mov03d.m2v. MPEG-ES file format detected. VIDEO:  MPEG2
 720x480  (aspect 2)  29.970 fps  8900.0 kbps (1112.5
[...]
 VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is 1.33:1 -
 prescaling to correct movie aspect. VO: [xv] 720x480 = 720x540
 Planar YV12 V:  27.5 824/824 16%  6%  0.0% 0 0
 
 Is the problem found here? As far as I can tell, mplayer is reporting
  it's an mpeg-2 video stream, and I don't see how mplex won't 
 recognize it.
 
 Any suggestions?
 
 Not subscribed to the list, so a direct reply would be appreciated.
What kind of program did create the original source video ?
If you have a mpeg2 movi that is valid for dvd, you don't need to 
demulitplex it with mplayer. You can just run it through dvdauthor.
If that does not work you need to decode and reencode the whole movie. 
because than mplex can't fix the not compliant stream.

And you can do it with a command like that:
mplayer -nosound -noframedrop -vo yuv4mpeg 01.avi 
cat stream.yuv |  mpeg2enc -f 8 -q 6  -o video.m1v

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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


[Mjpeg-users] lavrec on x64

2008-09-20 Thread Bernhard Praschinger
Hallo

I have after 5 years upgraded my system to a new one. I am running a 64 
bit kernel. Have compiled the mjpegtools. Not the kernel, still using 
the opensuse 11.0 kernel: 2.6.25.5-1.1. I have 4GB of RAM in the machine.

I have discovered a problem with lavrec. It fails with that error message:
  lavrec -f a -i P -d 1 -q 55 -a 0  test03.avi -v 2
   INFO: [lavrec] Recording parameters:
INFO: [lavrec] Output format:  AVI
INFO: [lavrec] Input Source:   S-Video PAL

++ WARN: [lavrec] Closing file(s) and exiting - output file(s) my not be 
readable due to error
**ERROR: [lavrec] Error syncing on a buffer: Timer expired
INFO: [lavrec] Opening output file test03.avi
[2]+  Donexawtv -c /dev/video
Segmentation fault (core dumped)
---END---

dmesg give that information:
Buz[1]: jpg_sync() - timeout: codec isr=0x04
lavrec[5148]: segfault at 7fe004d91000 ip 7fe006af85ad sp 41beeb18 error 
4 in liblavfile-1.9.so.0.1.1[7fe006af3000+13000]

When I analyze the crash dump with ddd I get that information:
#0  scan_jpeg (jpegdata=0x7f5643554000 Address 0x7f5643554000 out of 
bounds, jpeglen=0, header_only=0) at lav_io.c:126
/home/bernhard/download/cvs/mjpeg_play/lavtools/lav_io.c:126:3378:beg:0x7f56452bb5ad
(gdb) print jpegdata
$1 = (unsigned char *) 0x7f5643554000 Address 0x7f5643554000 out of bounds
(gdb) list 'jpegdata'
Line 109 of lav_io.c is at address 0x7f56452bb540 scan_jpeg but 
contains no code.

A backtrace gives me that information:
(gdb) bt
#0  scan_jpeg (jpegdata=0x7f8ac5b24000 Address 0x7f8ac5b24000 out of 
bounds, jpeglen=0, header_only=0) at lav_io.c:126
#1  0x7f8ac788c76c in lav_write_frame (lav_file=0x614510, 
buff=0x7f8ac5b24000 Address 0x7f8ac5b24000 out of bounds, size=0, 
count=1) at lav_io.c:410
#2  0x7f8ac7aa6c4e in video_captured (info=0x607010, 
buff=0x7f8ac5b24000 Address 0x7f8ac5b24000 out of bounds, size=0, 
count=1) at liblavrec.c:729
#3  0x7f8ac7aa7a35 in lavrec_record (info=0x607010) at liblavrec.c:2116
#4  0x7f8ac7aa80bd in lavrec_capture_thread (arg=value optimized 
out) at liblavrec.c:2193
#5  0x7f8ac7190040 in start_thread () from /lib64/libpthread.so.0
#6  0x7f8ac64370cd in clone () from /lib64/libc.so.6
---END---

No I am a bist lost here. Has anyone a hint how where I should take 
further looks to find out more about the problem. And fix it ?

That is not a buz specific problem I it also happen with the DC30.

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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Converting the zoran driver to V4L2

2008-09-01 Thread Bernhard Praschinger
Hallo

 Is the conversion of the zoran driver from V4L1 to V4L2 part of
 your plans? Apparently V4L1 will be removed from the kernel by the
 end of the year, so the zoran driver needs to be converted,
 otherwise it will be removed as well.
 
 I've looked at it, did that back when it was doubtful the avs6eyes
 driver would be included, as V4L1 was marked for removal at that
 point, too. I found it a bit large of a task for me at that time, but
 I've read that it actually is rather easy, if a bit tedious to do (a
 small matter of programming).
 
 To answer your question: No, I don't have a conversion on my agenda,
 in part because I hoped V4L1 would linger on for a while more, and in
 part because I don't know how big a job it would be. The various V2
 command and modes do not have any 1:1 mapping to V1 ones.
I can help with testing the changes in a the kernel. But not really with 
changing the source.

Does the v4l(1) things only need to be removed ? When I start xawtv for 
example I get that messages:

vid-open: trying: v4l2-old...
vid-open: failed: v4l2-old
vid-open: trying: v4l2...
ioctl: 
VIDIOC_QUERYCAP(driver=zoran;card=DC30plus[0];bus_info=PCI::02:05.0;version=0.9.5;capabilities=0x407
 
[VIDEO_CAPTURE,VIDEO_OUTPUT,VIDEO_OVERLAY,STREAMING]): ok
v4l2: open
v4l2: device info:
   zoran 0.9.5 / DC30plus[0] @ PCI::02:05.0

vid-open: ok: v4l2
---END---

Or am I missing something obvious ?

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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] multiple dc10 cards and python module for mjpegtools

2008-08-21 Thread Bernhard Praschinger
Hallo

I have also compiled the kernel with the patch to the rc4 and your 
patch. Recording works here fine. With the DC30 and BUZ.

[...]
 Now I've done some basic checks for memory leaks, and found none. I'd
 say go for it.
Seems to be the same here too. (I never had problems with the card 
detection)
I will use the kernel for some time to see what happens.

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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] multiple dc10 cards and python module for mjpegtools

2008-08-19 Thread Bernhard Praschinger
Hallo

 I'm using multiple (3 now) dc10plus cards for doing live video shows as
 a VJ. I'm trying to build my own vj system that is fast and has a smooth
 playback of a lot of video's at the same time. 
 To make and manipulate movies very fast and without a (slow) graphic
 interface I have asked Heiks to create a python module that can
 manipulate edit lists for lavtools.
 This module can be downloaded at : http://heiks.nl/software.php
 If people would like to develop, use or have some remarks...
Good to know.

 So everything works fine 
 except for the dc10plus cards
 They are not always initialized correctly, so sometimes I have two
 sometimes one and sometimes three cards working. 
 When I take a card out and restart the computer, turn it of again, put
 the card back, then sometimes it gets initialized and sometimes it
 doesn't. 
What do you mean with does not get initialized ?
And you see a line like that:
[   33.306820] ZORAN: 1 card(s) found

How often does that happen ?

Does unitialized mean, that you cannot play back streams with 
lavplay/glav, record with lavrec or view with xawtv ?

What happens when you remove the modules by hand and load them again ?

 although they are not initialized, all cards are always visible with
 lspci
 
 it might have something to do with the order in which the cards are
 initialized when all cards are found first an then initialized it seems
 to work, but when a card is initialized before other cards are found
 then there is an error.
Actually I don't know any user that used more than 2 cards in one 
computer. And I have never heard of that problem before.

  my system is ubuntu with kernel 2.6.24-19-generic
Does unbuntu offer a different kernel ?

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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] DC30plus[0] no TV decoder loaded for device!

2008-07-31 Thread Bernhard Praschinger
Hallo
 This has been doing my nut for weeks.  I have a Pinnacle miroDC30+ 
 installed on openSUSE 11.0.  Each time I attempt to use the device I get 
 various I/O errors.  dmesg tells me that there's no TV decoder loaded.  
 I'm loading using modprobe zr36067 and lsmod gives:
[...]
 zr3601623048  1
 zr3605026248  1
 adv717523300  0
 vpx322025476  0
 zr36067   191088  0
[...]
 adv7175,vpx3220,zr36067,i2c_algo_bit,i2c_i801

 I've looked everywhere I can think of for ideas (google just throws up 
 source code for the driver) and I'm getting nowhere.  Does anyone have 
 any ideas?
Have you tried unloading all modules, and loading them manual in a order 
like that:
modprobe vpx3220
modprobe adv7175
modprobe zr36016
modprobe zr36050
modprobe zr36067

As Marin noted please send us information the kernel you use. I had 
troubles (long time ago) getting the buz/dc30 running with the original 
Suse kernel, and compiled a kernel from the original source because of 
that.

What might happen is that you need to restart X11, in order to get xawtv 
running. but lavrec sould work anyway.

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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] mjpegtools for debian sarge (fwd)

2008-07-28 Thread Bernhard Praschinger
Hallo

 I dont know, but I forward you to the list ... it shouldnt be any problem 
 to find a package, or am I wrong?
 
 Servus,
Gernot
 
 GPU. 3D Vision. Europe. Future. Now.
 Drop by: www.mpi-sb.mpg.de/~gziegler - www.geofront.eu
 
 
 -- Forwarded message --
 Date: Sat, 26 Jul 2008 14:09:51 -0700
 From: James Wheeler - Tour360 [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: mjpegtools for debian sarge
 
 Is there a version of mjpegtools that can install on sarge?
I don't know of any package aviable on the mjpegtools homepage. A quick 
search on packages.debian.org, did not find anything.

 From what I remember you should be able to install rpm packages on debian.

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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] mpeg2enc problem: horizontal artifacts in resulting mpeg

2008-06-27 Thread Bernhard Praschinger
Hallo

 You need to replace the mpeg2enc command with something like that:
 yuv2lav -q 90 -o stream_without_sound.avi And play it afterwards 
 back with glav.
 
 Please find 2 files on http://users.skynet.be/fa991376/
 + fragment with Avidemux from original mpg from JVC MG-GZ505 
 + converted with Cinelerra and yuv2lav -q 90 -o % 
 
 It is clear (when playing the second file in glav) that the artifacts
 are generated by Cinelerra and not by the next processing step which is
 mpeg2enc. When rendering in Cinelerra, the movie is shown in the
 player on the right. There also the artifacts show up. How to proceed
 now? Is Cinelerra configurable?
That are actually good news for mpeg2enc. I don't know about Cinelerra 
you will have to ask on their mailinglist(s).

Do you get a good movie when you encode the generated avi after the 
export from Cinelerra ? (with a command like that: lav2yuv yuv2lav.avi | 
mpeg2enc -f 8 -a 3 -o video.m2v)

 I think the wide format (16:9) is causing the problem.
 Why do you think so?
The script  used in cinelerra, I don't se any option that makes mpeg2enc 
to tag the movie as wide screen (--aspect|-a option). Well I make the 
assumption that cinelerra does not change the aspect ration in the 
stream header.

 If you could provide a sample screenshot of the output 
 created by mpeg2enc it would be helpful.
 My Internet Service Provider only gives me 50 MB webspace which is not
 enough to also make the output of mpeg2enc available.
I'm not interested in the whole movie. I just want one or two frames 
where you see the problem. You can play back the movie, and make a 
screen shot. So you end up with a only a few hundred kB for the image.


auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: [EMAIL PROTECTED]
www: http://www.lysator.liu.se/~gz/bernhard

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Building Cross platform binaries

2008-06-22 Thread Bernhard Praschinger
Hallo

Mark Heath wrote:
 On 12/06/2008, at 11:23 PM, Mark Heath wrote:
 As you can see here it has attempted to tune for pentium3 and gcc  
 spits it over command line options...

 I would like to have universal binaries as I do use a mixture of PPC  
 and Intel macs.

 I am guessing to build universal binaries is going to require some  
 serious hacking of the build scripts.  Can anyone help?
 I discovered that adding the following option to configure helped this  
 issue:
 --disable-dependency-tracking
So you have made the mjpegtools included into Xcode, could you make the 
changes aviable somewhere ?

 Although I still needed to hack the libtool shell script to include  
 the arguments needed for multiple architecture linking.  And had to  
 switch the LDFLAGS argument depending on if the makefile was building  
 an ar library or an executable binary.  But I got there in the end.
 
 It would be nice to be able to automate this into one seamless make.   
 If anyone is responsible for the Makefile and configure scripts, I'd  
 like to hear from you to see what we could change to make it build  
 cleanly.
I think Steven should be able to help you with that problem.

 I now have a shared library build of mjpegutils for OSX intel and ppc,  
 which links with projects from Xcode!!!
What programs do you want afterwards to link/compile against the 
mjpegtools ?

 (now all i need is to do the same for ffmpeg's libav, it doesn't  
 appear to support the --disable-dependency-tracking option)
I think libav is a problem.

One more things from your first mail:
 configure:  MJPEG tools 1.9.0 build configuration :
 configure:
 configure:   - X86 Optimizations:
 configure: - MMX/3DNow!/SSE enabled  : false
 configure:   - arch/cpu compiler flags   : -march=pentium3 - 
 mtune=pentium3
[...]
 As you can see here it has attempted to tune for pentium3 and gcc  
 spits it over command line options...
If you don't use the CVS version of the mjpegtools the new MAC aren'T 
detected correct. You need to update the cpuinfo script and I think the 
cpuinfo.c file. You will find the changes in the CVS.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: [EMAIL PROTECTED]
www: http://www.lysator.liu.se/~gz/bernhard

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] mpeg2enc problem: horizontal artifacts inresulting mpeg

2008-06-22 Thread Bernhard Praschinger
Hallo

[...]
 To be clear: this is a fragment from the original .mod file from 
 my JVC camcorder and should play perfectly. Only when converted 
 with the mpeg2enc command above the artifacts appear.
Thanks for providing that sample.

 You need to replace the mpeg2enc command with something like that:
 yuv2lav -q 90 -o stream_without_sound.avi And play it 
 afterwards back with glav.
 Can you please explain in more details what the intention is of
 these commands?
 From what I know now. You need the change the cine_render.sh
to something like I wrote or, use that line instead: yuvplay.
The difference is that you see the video cinelerra hands over to the 
output script. And I suspect that cinelerra is making there something 
strange. When you see the output you can easy see if there is a problem.

The advantage of the yuv2lav command is that you have a file you can 
play back with glav/lavplay, cut it and make is aviable again.
Or just post the output of lavinfo in your next mail.

 The JVC MG-GZ505 has following properties: PAL 720x576 25fps 16x9
 8,5 Mbps in best quality. But the file extension is .mod which is a
 proprietary format of JVC. But renaming it to .mpg works just fine. 
I think the wide format (16:9) is causing the problem.

If you could provide a sample screenshot of the output created by 
mpeg2enc it would be helpful.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: [EMAIL PROTECTED]
www: http://www.lysator.liu.se/~gz/bernhard

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] mpeg2enc problem: horizontal artifacts in resulting mpeg

2008-06-19 Thread Bernhard Praschinger
Hallo

 I have Mandriva Linux 2008.0 x86_64 PowerPack on a Dell Inspiron 1720 
 notebook with Cinelerra from the Penguin Liberation Front 
 cinelerra-2.1-1.svn1008.1plf2008.0 with 
 mjpegtools-1.9.0-0.rc2.3mdv2008.0.x86_64.rpm
 
 I want to render an mpeg-2 movie from my JVC Everio GZ-MG505 harddisk 
 camcorder to a format for DVD. I follow exactly the manual of Cinelerra 
 CV version 2.1:
 
 20.9 Making a DVD
 20.9.1 Rendering to mpeg2
 20.9.1.1 yuv4mpeg pipe through mpeg2enc
 Copy in ‘~/cine_render.sh file’ the following lines:
 #/bin/bash
 mpeg2enc -v 0 -K tmpgenc -r 16 -4 1 -2 1 -D 10 -E 10 -g 15 -G 15 -q 6 -b 
 8600 -f 8 -o $1
 
 I added -M 3 to improve performance on my Core 2 Duo T7300 processor.
 
 I played with -q (3 and 8) and -b (11000) parameters after reading the 
 manpage of mpeg2enc.
 
 The problem: there are horizontal artifacts in the rendered mpeg in a 
 certain scene. I can describe it as a horizontal line with the image 
 below the line not corresponding to the image on top of the line. No 
 block but line artifacts that are very disturbing.
 
 Did someone struggle with the same and found a solution?
No, but could you put sample images somewhere online ? That makes 
helping much easier (If you send some to me I can put them online to 
mjpeg.sf.net/files)

It would also be interesting if the stream that comes to mpeg2enc has 
already that kind of problems. You need to replace the mpeg2enc command 
with something like that: yuv2lav -q 90 -o stream_without_sound.avi
And play it afterwards back with glav.

Doe you have some information about the format (frame size) the JVC ?

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: [EMAIL PROTECTED]
www: http://www.lysator.liu.se/~gz/bernhard

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Can mplex multiplex .m2t files?

2008-05-30 Thread Bernhard Praschinger
Hallo

Lailson Nogueira wrote:
 Hello guys, I'm trying to create a transport stream with an audio stream 
 (.mp2), a video stream (.m2v) and a data file (.m2t) from a carroussel 
 generator (dsmcc-mhp-tools), but mplex doesn't recognize the .m2t 
 format. The program really can't recognize this type of file or I'm 
 doing something wrong?
The tools don't accept a multiplexed stream Audio and video from mplex ?

Did you take a look at JustDvb-It 2.0: 
http://www.cineca.tv/labs/mhplab/JustDVb-It%202.0.html

They might do the same. But they expect audio and video files as input. 
The pages does not say if they want them multiplexed or not.

What I can say is that mplex is not able to add a audio stream to a 
existing video stream with mplex information. You need the single 
streams so mplex can put them together.

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 2008.
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] frame rate conversion

2008-05-22 Thread Bernhard Praschinger
Hallo

Florin Andrei wrote:
 I'm looking for a way to convert a 60fps video stream to true NTSC frame 
 rate (29.97i). Converting frames to fields to half the frame rate and 
 interlace is easy, but it's the shaving off of the 0.1% of the frame 
 rate that worries me.
 
 How about yuvmotionfps? Is it good enough to make a smooth conversion 60 
 -- 59.94?
 Other suggestions?
The other conversation tool it yuvfps which just droppes or inserts 
frames. Might also work her well because you have only to drop one frame 
every 1001 frames.
Take a look at the note that note on the yuvmotionfps homepage: Should I 
use it to do Film (24fps) to PAL (25fps) conversion ?

The obvious thing is that yuvfps will be faster.
If the encoding does not take too long just try both versions. And see 
which version generate the better output.

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 2008.
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] Equivalent to Womble's GOP fix tool?

2008-05-07 Thread Bernhard Praschinger
Hallo


Steven Ellis wrote:
 The Womble MPEG video wizard (http://www.womble.com/products/mvw.html) has
 a GOP fix tool that is very useful when trying to make selected MPEG2 DVB
 streams DVB compliant.
 
 One issue here in NZ is that one of the broadcasters is now using a rather
 large variable GOP size which means the MPEG2 streams are a long way from
 being DVD compliant.
 
 If I run the stream through ProjectX to make a PS file, and then through
 Womble under Windows the file can then be authored to DVD, but it makes it
 a very lengthy process.
 
 Any ideas on Linux tools for this job.
No idea.

I do not know of any tool that is able to change the gop structures 
without the step of decoding it to yuv.

Here they usually use a to high framerate, so they don't fit to a DVD. I 
always reencode what I record.

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 the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Sound issues ...

2008-05-05 Thread Bernhard Praschinger
Hallo

  arecord -f cd -v -t wav test.wav
  Plays back is perfect.
 Than I would guess that it is a mixer problem with lavrec and the mixer
 Another thing to consider is that arecord uses the ALSA API, while
 lavrec still, I assume, uses ALSA's OSS emulation layer. The same
 experiment with an OSS recording application (sox?) could be
 enlightening.
  I can confirm this seems to be a problem with the OSS emulation ... I
 was messing around with another capture device that I also just don't
 seem to be having any joy with capturing video, but the audio is
 coming through great ...
It really seems that the OSS emulation is not perfect. Certain cards 
do not work properly.

  So, how hard would it be to get lavrec and/or lavplay to use the ALSA
 API instead of the old and aging OSS interface?
It should not be that hard.
According to Ronald, it should not take longer than a day. If you know 
alsa and from the mjpegtools liblavrec, and audiolib.

lavrec and lavplay use the liblavrec. So there shouldn't be much changes 
needed in that two programs.

If someone wants to give it a try, just do it.

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 the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] mpeg2enc

2008-05-05 Thread Bernhard Praschinger
Hallo

Christian Ebert wrote:
 * Bernhard Praschinger on Sunday, April 20, 2008 at 12:43:03 +0200
 * Bernhard Praschinger on Sunday, February 24, 2008 at 07:10:12 +0100
 Sorry that it took so long.
 Thanks for (trying) to boil it down!
I have very limited time. To much things to do at work. :(

 I have used that commands:
 lav2yuv nits_short.mov | mpeg2enc -f 3 -M 2 -g 6 -G 18 -b 4500 -o 
 video_test.m2v
 lav2wav nits_short.mov | mp2enc -o audio_short.mp2
 mplex -f 3 -r 4750 audio_short.mp2 video_test.m2v -o test.mpg

 Than mplex failes reliable.
 
 I can confirm this. But!
 
 $ lav2wav nits_short.mov | mp2enc -o audio_short.mp2
INFO: [mp2enc] Opened WAV file, freq = 48000 Hz, channels = 2, bits = 16
INFO: [mp2enc] format = 0x1, audio length = 2147483392 bytes
INFO: [mp2enc] SpF=672, frac SpF=0.000, bitrate=224 kbps, sfreq=48.0 kHz
INFO: [mp2enc] System is big endian
 **ERROR: [lav2wav] rewind failed - wav-header is corrupt
INFO: [mp2enc] Num frames 1334 Avg slots/frame = 672.000; b/smp = 4.67; br 
 = 224.000 kbps
INFO: [mp2enc] Encoding to layer 2 with psychoacoustic model 2 is finished
INFO: [mp2enc] The MPEG encoded output file name is audio_short.mp2
That error from lav2wav is normal.

 So for me it fails also with mjpegtools-1.9.0rc1, as well as with
 mjpegtools as of 2007-02-20 (last cvs where I don't experience
 the random quantisation jumps).


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 the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Sound issues and other recording options ...

2008-04-29 Thread Bernhard Praschinger
Hallo


  I have have had my DC10+ card for many years and even used to lurk on
 these mail list, but things got busy and I almost forgot this stuff
 exists. Well, I'm back and I have a few questions I'm hoping that I
 might get some help with ... Thank in advance.
 
 Okay, if I try to record from my old Sony CCD-TVR78E PAL Hi8 handy cam
 using the following command line ...
  lavrec -v 1 -f a -i p -U -R l -s -q 85 -d 11 --geometry 768x576+0+0
 test%02d.avi
 
  The sound is horrible.  Very tinny and distorted.  My system can't
 use mmap, so I have to use -U (--use-read) ...
What is the audio volume ?
Do things change when you use the -l option ?

If that does noch help try -l -1, and then set the mixer with a mixer 
progam. Does the output volume change when you start recording ?
You should hear that on the output.

[...]
  So, I think that first set on questions I might get, would get do you
 think your sound card is not so great ... Tested that ... I can record
 audio from the sound card with no problem with
 
  arecord -f cd -v -t wav test.wav
  Plays back is perfect.

Than I would guess that it is a mixer problem with lavrec and the mixer

 Both of these play fine ... I'll just never be able to combine the
 files and get the audio to sync with the video ... So, I'm hoping that
 I could get some advice and crack this nut ...
That should not be needed.

[...]
 Onboard sound NVidia CK804
[...]
Sorry no experience with that onboard card.

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 the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] mpeg2enc

2008-04-20 Thread Bernhard Praschinger
Hallo

 * Bernhard Praschinger on Sunday, February 24, 2008 at 07:10:12 +0100
Sorry that it took so long.

 And in the video Nits - In the Dutch mountains

 There you see a guy rowing a boat and you have about 2/3 of the lower 
 screen water. And seems to cause the problem too. Currently it fails 
 after 23,3 sec. I try to make a short sample aviable.
 
 Short sample would be very good. Because I've only been able to
 reproduce it after ca. 10 min. the earliest, regardless of
 what's happening in the source dv material.
I have put it online, you find the file here:
http://mjpeg.sourceforge.net/files/, and it is called: nits_short.mov

With 801 frames it is rather short, but still 81MB big. I have played 
around, with smaller samples but it seems that he length of the sample 
is also a thing that triggers the problem.

I have used that commands:
lav2yuv nits_short.mov | mpeg2enc -f 3 -M 2 -g 6 -G 18 -b 4500 -o 
video_test.m2v
lav2wav nits_short.mov | mp2enc -o audio_short.mp2
mplex -f 3 -r 4750 audio_short.mp2 video_test.m2v -o test.mpg

Than mplex failes reliable.

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 the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Recording from Computer to VTR?

2008-04-11 Thread Bernhard Praschinger
Hallo

 I am not sure, but i think i read somewhere that i can copy out record 
 videos from the computer to the VTR via the Pinacle DC 10+ and 
 mjpegtools? No?
 
 Or was it a different programm if so does anybody know how this works?
With lavplay/glav, you can output the video to the Video out of the 
DC10+. lavplay -p C is what you want.

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 the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Zig-zag pattern on every frame...

2008-03-13 Thread Bernhard Praschinger
Hallo

Andrea Giuliano wrote:
 I found this interesting link:
 
 http://www.linuxtv.org/v4lwiki/index.php/Color_problem_patch
 
 that could be of some help. The pictures there show exactly the same 
 problem I get. The author first thought it was a comb filter issue, but 
 then he proposed a patch to cx88-core.c related to a different topic. 
 One of my card is based on cx2388 and loads cx88* modules, but the other 
 one has the Zoran chipset: it's hard to think that both cards now need 
 patches to the respective modules...
That patch can't work on the DC30 because of different IC's, and 
different Modules to load.

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 2008.
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


  1   2   3   4   5   6   7   8   >