Hi,

Forgot to mention, I was testing on greyscale input; if you use colour, you
need to add -k to swap B/R, but that's actually a thing with some AVI's, raw
wants a swapped B/R, but others don't..  I haven't tested it to be sure but
that's not the issue here, although maybe this should be clarified in the
documentation or have some auto-detect to fix this.

Anyway, the issue wasn't whether it plays, the issue is that the preview in
powerpoint comes out weird.  

It played fine in windows media player and others, even plays fine in
powerpoint, it's just the preview image (at least in pp2003).

When I get back to the office, I'll try and remember adding "--accel C" to
the commandline to see if it makes a difference.

Jack

> -----Original Message-----
> From: Francesco Romani [mailto:[EMAIL PROTECTED]
> Sent: Saturday, November 15, 2008 3:36 AM
> To: transcode Developers Mailing List
> Subject: Re: [transcode-devel] Possible bug with raw AVI encoding
> 
> On Sun, 2008-11-09 at 13:10 -0500, Jacob (Jack) Gryn wrote:
> [...]
> > I converted some files using transcode on Linux (on an x86-64 kernel)
> > to avi (from PVN) for a (windows) powerpoint presentation using the
> > following commandline:
> >
> >   transcode -i file.pvn -o file.avi -x pvn,null -y raw,null -z -V
> > rgb24
> >
> >
> >
> > The files were playing properly in windows-based media players, and
> > even in powerpoint.  However, the single-image previews that show up
> > in the presentation before the video is clicked on seemed to be
> skewed
> > (the whole image is on a diagonal).  This happened consistently with
> > multiple input files.  When I then encoded it using ffmpeg, I believe
> > using mjpeg, everything appeared ok.
> 
> What I did to reproduce:
> 
> - I've updated transcode to 1.1.0-RC2
> - I've taken a bunch of sample png files, and I've converted them to a
> pvn file using the following procedure:
> -- converted each one to pnm using ImageMagick's `convert' tool
> (convert file.png file.pnm)
> -- converted the PNMs to a single pvn using pnm2pvn
> (./pnm2pvn test.pvn *.pnm)
> pnm2pvn compiled in situ and downloaded from:
> wget -v http://www.cse.yorku.ca/~jgryn/research/pvn/pvn20080605.zip
> [so I'm assuming it is good :)])
> - transcoded with tc using the commandline you've provided above
> 
> Everything looks good on mplayer here, except for an annoying bgr/rgb
> swapping (blue faces), but that's not the core problem.
> 
> My box:
> intel core2 q9300, debian testing amd64, gcc 4.3.2
> 
> I don't have any window box handy to play with. I'll try ASAP.
> 
> WORKSFORME so far :)
> 
> 
> --
> Francesco Romani // Ikitt
> http://fromani.exit1.org  ::: transcode homepage
> http://tcforge.berlios.de ::: transcode experimental forge
> 



Reply via email to