[Mjpeg-users] Bug in mjpeg 1.8.0

2005-09-26 Thread Ruediger.Andrae
Title: Nachricht



Good morning 
users,
sorry for my 
english, but I hope your understand me. I have a problem with the version 1.8.0 
in combination with the newest digikam-plugin (kipi-plugin for generate a mpg 
file for a images archiv).
I see the error from 
ppmto4yuv that "Error: maxval==255. Actual value is 65365" - this is in the read 
function of yuv-header. The plugin uses the script images4mpg and calls many 
different tools. 
I'm using SuSE 9.3, 
if I use the rpm from SuSE with the mjpeg version 1.6.2 in the same 
configuration (didikam plugin, JPEG-files), than is all ok.
 
Can everybody help 
me?
 
Regards,
Rüdiger
Diese E-Mail inklusive aller Anlagen ist ausschließlich für den Adressaten bestimmt und enthält möglicherweise vertrauliche Informationen. Falls der Empfänger dieser Nachricht nicht der beabsichtigte Adressat oder ein für den Mail-Zugang zuständiger Mitarbeiter oder Vertreter ist, werden Sie hiermit darauf aufmerksam gemacht, dass jede Weitergabe, Verteilung, Vervielfältigung oder sonstige Nutzung dieser Nachricht oder ihrer Anlagen verboten ist. Wenn Sie diese Nachricht aus Versehen erhalten haben, informieren Sie bitte den Absender per E-Mail und löschen Sie diese E-Mail aus Ihrem Computer. 
 
This e-mail message and all attachments transmitted with it are intended solely for the use of the addressee and may contain legally privileged and confidential information. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, copying, or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to this message and please delete it from your computer.
 
 



Re: [Mjpeg-users] Bug in mjpeg 1.8.0

2005-09-26 Thread Steven M. Schultz

On Mon, 26 Sep 2005 [EMAIL PROTECTED] wrote:

> I have a problem with the version 1.8.0 in combination with the newest 
> digikam-plugin (kipi-plugin for generate a mpg file for a images archiv).

I think something in the newest digikam-plugin is causing the 
problem.

> I see the error from ppmto4yuv that "Error: maxval==255. Actual value is 
> 65365" - this is in the read function of yuv-header.

That means that the digikam-plugin is generating 2 bytes/pixel PPM
data (values of 0 to 65535) instead of 1 byte/pixel (values of 0 to 255)

ppmtoy4m only accepts 1 byte/pixel PPM data (maximum value of 255).

> The plugin uses the script images4mpg and calls many different tools. 

Perhaps something in one of those tools is producing PPM data with
a range of 0 - 65535 instead of the range 0 - 255.

Oh, and one more thing about ppmtoy4m - in 1.8.0 the default output
chroma sampling is 4:4:4.  It will be necessary to either to use the
"-S option (see 'ppmtoy4m -h') or resample the chroma using y4mscaler
(see http://www.mir.com/DMG/Software/y4mscaler.html)

Cheers,
Steven Schultz



---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] yuvdenoise -S and -b

2005-09-26 Thread Frank Albrecht
On Sep 24,21:36, Steven M. Schultz wrote:
 
> On Sun, 25 Sep 2005, Frank Albrecht wrote:
 
> > I use yuvdenoise for a long time with the options -S and
> > -b.  Are these gone in mjpegtools 1.8.x?
> 
>   Yes, they are gone in 1.8 (actually they have been
>   gone in the cvs version for almost 2 years ;)).

I had to use mjpegtools 1.6.x because of several quicktime
issues. I was'nt successfull in using streamer with
libquicktime-0.9.4:

 streamer -t $DAUER -b64 -i Composite1 -n pal -r 25 \
 -s $AUFLOESUNG -o /temp/dvdwork/$DATEINAME.mov \
 -f yv12 -F stereo -R $AUDIO -w $WARTEZEIT

"Speicherzugriffsfehler"

Using libquicktime-0.9.3 streamer works fine. Does anyone know
how to use streamer(xawtv) with libquicktime-0.9.4?

mjpegtools >= 1.7 require libquicktime-0.9.4, I think.

[...]
> > How can I(little) sharpen the video?
 
>   man y4munsharp

[...]
> > How can I set a black border for the overscan area?
 
>   y4mshift -b xoff,yoff,xsize,ysize

Thank you very much.

mit freundlichen Grüßen,
Frank Albrecht


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] yuvdenoise -S and -b

2005-09-26 Thread Steven M. Schultz

On Mon, 26 Sep 2005, Frank Albrecht wrote:

> I had to use mjpegtools 1.6.x because of several quicktime
> issues. I wasn't successfull in using streamer with libquicktime-0.9.4:

> "Speicherzugriffsfehler"

...error but my German is not good enough to translate Speicherzugriffs

;)

> Using libquicktime-0.9.3 streamer works fine. Does anyone know
> how to use streamer(xawtv) with libquicktime-0.9.4?

You might try upgrading to a newer libquicktime - current released
version is 0.9.7.   If that still doesn't work then I suspect
'streamer' might have a bug.

> mjpegtools >= 1.7 require libquicktime-0.9.4, I think.

True.   There are some features in the cvs version (0.9.8pre1) I'd
like to use but I'll wait unti 0.9.8 is released.

> > man y4munsharp
> 
> > y4mshift -b xoff,yoff,xsize,ysize
> 
> Thank you very much.

You're welcome.

Steven Schultz



---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] yuvdenoise -S and -b

2005-09-26 Thread Bernhard Praschinger
Hallo

> > I had to use mjpegtools 1.6.x because of several quicktime
> > issues. I wasn't successfull in using streamer with libquicktime-0.9.4:
> 
> > "Speicherzugriffsfehler"
> ...error but my German is not good enough to translate 
> Speicherzugriffs
Error is close, actually it is translated with segmentation fault. 

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:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] yuvdenoise -S and -b

2005-09-26 Thread Steven M. Schultz

On Mon, 26 Sep 2005, Bernhard Praschinger wrote:

> > > "Speicherzugriffsfehler"
> > ...error but my German is not good enough to translate 
> > Speicherzugriffs
> Error is close, actually it is translated with segmentation fault. 

Ah, thank you!  I knew I'd seen that before but couldn't remember
the exact translation.

Segment fault could be a bug in libquicktime-0.9.4 that was fixed in
a later release.  If that is true then upgrading to a newer libquicktime
would be the fix.   If that is not true then there's a bug in
streamer - perhaps a newer version of 'xawtv' (if available) would
be a good thing to try. 

Cheers,
Steven Schultz



---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Bug in mjpeg 1.8.0

2005-09-26 Thread Anne Wilson
On Monday 26 Sep 2005 17:02, Steven M. Schultz wrote:
> On Mon, 26 Sep 2005 [EMAIL PROTECTED] wrote:
> > I have a problem with the version 1.8.0 in combination with the
> > newest digikam-plugin (kipi-plugin for generate a mpg file for a
> > images archiv).
>
>   I think something in the newest digikam-plugin is causing the
>   problem.
>
I passed these two messages to one of the kipi developers.  He replied:

Can you check if the problem is related to this:
http://qa.mandriva.com/show_bug.cgi?id=18748 ?

Anne
-- 
Registered Linux User No.293302 (http://counter.li.org/)
Mandriva hints & tips: http://twiki.mdklinuxfaq.org


pgpB9kaMqpbgB.pgp
Description: PGP signature


Re: [Mjpeg-users] Bug in mjpeg 1.8.0

2005-09-26 Thread Steven M. Schultz

On Mon, 26 Sep 2005, Anne Wilson wrote:

> I passed these two messages to one of the kipi developers.  He replied:

> Can you check if the problem is related to this:
> http://qa.mandriva.com/show_bug.cgi?id=18748 ?

That is the 2nd part of the problem.  Not sure things have gotten
that far yet ;)

The first part of the problem is 'maxval == 65535' - something in
the digikam-plugin is generating PPM data with maxval of 65535 
(2bytes/pixel) instead of 255 (1byte/pixel).  I didn't see anything 
in the above reference about that error.  Might be still
be related but that error wasn't explicitly mentioned.

Following one of the links did lead to

http://bugs.kde.org/show_bug.cgi?id=109739

where the error:

**ERROR: [yuvscaler] Could'nt read YUV4MPEG header!

is mentioned.

That problem is because 'ppmtoy4m' defaults to 4:4:4.  The fix is
to add "-S 420mpeg2" to the ppmtoy4m program's options.

Cheers,
Steven Schultz



---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users