[MPlayer-users] Making VCD / SVCD from rendered animation?

Brett Kosinski brettk at frodo.dyn.gno.org
Wed Apr 16 23:51:37 CEST 2003


> > A problem has come up. I get the following when doing the video encoding step:
> >
> > [ 5:26PM] ..ics/spaceflight # cat frames.fifo|ppmtoy4m -F 30000:1001|mpeg2enc
> > -f 4 -F 4 -a 2 -n n
> >    INFO: [ppmtoy4m] Command-line Parameters:
> >    INFO: [ppmtoy4m]              framerate:  30000:1001
> >    INFO: [ppmtoy4m]     pixel aspect ratio:  1:1
> >    INFO: [ppmtoy4m]              interlace:  none/progressive
> >    INFO: [ppmtoy4m]         starting frame:  0
> >    INFO: [ppmtoy4m]            # of frames:  all, until input exhausted
> >    INFO: [ppmtoy4m]     chroma subsampling:  4:2:0, JPEG/MPEG-1, interstitial
> > siting
> > **ERROR: [ppmtoy4m] Expecting maxval == 255, not 65535!
>
> Hmm... according to the ppmtoy4m manpage, the input PPMs must contain 8
> bits per channel.  According to the error output, you have 16 bits per
> channel... conversion error?

Sorry, in reply to my own message, if this is the case, you can use
pnmdepth to down-convert to the right number of bits.  Check the manpage
for pnmdepth to see how it works.

Brett.



More information about the MPlayer-users mailing list