Re: [Mjpeg-users] lavplay input source

2010-04-05 Thread Bernhard Praschinger
Hallo

Robert Valliant wrote:
> May I ask another question?
Yes :)

> The man page for ppmtoy4m says:
> 
> -S mode
> Set chroma subsampling mode.  (default:  444)
>444 - 4:4:4 (no subsampling)
>420jpeg - 4:2:0 JPEG/MPEG-1, interstitial cositing
>   420mpeg2 - 4:2:0 MPEG-2, horizontal cositing
> 
> The subsampled modes use a lousy subsampling filter; better 
> results will be achieved  by  passing
> the default 4:4:4 output to a scaler which supports 
> subsampling, such as y4mscaler(1).
> 
> Yet y4mscaler is not in the mjpegtools project.

I'm nor sure any more but y4mscaler was programmed by Matthew 
Marjanovic. He did a lot for the mjpegtools project but he did never put 
y4mscaler into the mjpegtools project. So I/we did never distribute the 
y4mscaler with the mjpegtools or include it to the CVS.

> Did the ppmtoy4m '-S option' improve so that y4mscaler is no longer 
> necessary?
unlikely ;)

> Is there another reason?

If you mean not including y4mscaler. I think the program is a projects 
close to the mjpegtools. And is not included like a other tools people 
wrote you find on the mjpeg.sf.net

> I ask because I am having compile problems with y4mscaler. Sigh.
> I should really learn what I am doing shouldn't I?
If it is just a compiling problem you can post the steps you have done 
on this mailinglist. Someone should have an idea.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

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

--
Download Intel® 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] lavplay input source

2010-04-05 Thread Steven M. Schultz

On Mon, 5 Apr 2010, Bernhard Praschinger wrote:

> I'm nor sure any more but y4mscaler was programmed by Matthew 
> Marjanovic. He did a lot for the mjpegtools project but he did never put 
> y4mscaler into the mjpegtools project. So I/we did never distribute the 
> y4mscaler with the mjpegtools or include it to the CVS.

I think it would be a very good idea to integrate the current
version of y4mscaler  into mjpegtools.  

That way the same ./configure (autoconf, etc) process would be used
and then people would not have to manually edit the y4mscaler Makefile.

Cheers,
Steven Schultz


--
Download Intel® 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] mpeg2enc run time error - invalid pointer

2010-04-05 Thread jankom
Hi,
Long time again, still trying video stuff..

Compiled mjpegtools-1.0.9, captured raw video with streamer and got this 
error:

[...@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] Selecting Generic MPEG1 output profile
   INFO: [mpeg2enc] Assuming norm NTSC
++ WARN: [mpeg2enc] No aspect ratio specifed and no guess possible: 
assuming 4:3 display aspect!
++ WARN: [mpeg2enc] Unknown input interlacing; assuming progressive.
   INFO: [mpeg2enc] Progressive input - selecting progressive encoding.
   INFO: [mpeg2enc] Encoding MPEG-1 video to test.mlv
   INFO: [mpeg2enc] Horizontal size: 352 pel
   INFO: [mpeg2enc] Vertical size: 480 pel
   INFO: [mpeg2enc] Aspect ratio code: 12 = 1:1.1250 (4:3 NTSC for 
720x480/352x240 images)
   INFO: [mpeg2enc] Frame rate code:   4 = 3.0/1001.0 (NTSC VIDEO)
   INFO: [mpeg2enc] Bitrate: 1151 KBit/s
   INFO: [mpeg2enc] Field order for input: none/progressive
   INFO: [mpeg2enc] Sequence unlimited length
   INFO: [mpeg2enc] Search radius: 16
   INFO: [mpeg2enc] Using one-pass rate controller
   INFO: [mpeg2enc] GOP SIZE RANGE 12 TO 12 
   INFO: [mpeg2enc] Setting colour/gamma parameters to "NTSC"
   INFO: [mpeg2enc] Progressive format frames = 1
   INFO: [mpeg2enc] size - setting constrained_parameters_flag = 0
   INFO: [mpeg2enc] mpeg1 - setting intra_dc_precision = 0
   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.

Could anybody please help?

Thank you,

Janos


--
Download Intel® 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