POV-Ray : Newsgroups : povray.unix : mpeg2encode Server Time
28 Jul 2024 14:18:15 EDT (-0400)
  mpeg2encode (Message 1 to 6 of 6)  
From: David F
Subject: mpeg2encode
Date: 12 Jan 2002 00:49:44
Message: <3c3fce78$1@news.povray.org>
I am trying to generate an mpeg animation using mpeg2encode from files I 
generated using POVRay.  I keep getting this error:

 
Couldn't create */.Y

Anyone else have this problem.  This is the first time that I'm getting 
this eror from mpeg2encode.  I know my permissions are set correctly.  My 
machine is running Slackware 8.0

-- 

David
smuchrusher <at> ameritech <dot> net
ICQ#: 118347772

11:28pm up 3 days, 2:47, 0 users, load average: 3.65, 3.51, 3.49


Post a reply to this message

From: Bjarne Nygaard
Subject: Re: mpeg2encode
Date: 13 Jan 2002 16:23:06
Message: <3C41FABF.BF6AD747@post4.tele.dk>
David F wrote:
> 
> I am trying to generate an mpeg animation using mpeg2encode from files I
> generated using POVRay.  I keep getting this error:
> 
> 
> Couldn't create */.Y
> 
> Anyone else have this problem.  This is the first time that I'm getting
> this eror from mpeg2encode.  I know my permissions are set correctly.  My
> machine is running Slackware 8.0
> 
> --
> 
> David
> smuchrusher <at> ameritech <dot> net
> ICQ#: 118347772
> 
> 11:28pm up 3 days, 2:47, 0 users, load average: 3.65, 3.51, 3.49

Hi,
I believe that povray has dropped generation of separate files
for each colour some time ago. I also several years ago started using
this coding to mpeg generation. Since I went to the .ppm format as this 
was supported by the encoder. 
I have used both mpeg2encode and mpeg_encode. Now I only use the latter.
You should be able to find as mpeg_encode-1.5b*.

cu.
Bjarne
-- 
+----------------------------------------------------------------------+
|             Bjarne Nygaard at home: bny### [at] post4teledk                |
|          ---this space is not intentionally left blank---            |
+----------------------------------------------------------------------+


Post a reply to this message

From: David F
Subject: Re: mpeg2encode
Date: 13 Jan 2002 22:18:39
Message: <3c424e0f$1@news.povray.org>
Bjarne Nygaard wrote:

> 
> Hi,
> I believe that povray has dropped generation of separate files
> for each colour some time ago. I also several years ago started using
> this coding to mpeg generation. Since I went to the .ppm format as this
> was supported by the encoder.
> I have used both mpeg2encode and mpeg_encode. Now I only use the latter.
> You should be able to find as mpeg_encode-1.5b*.

I am having povray output the files as .ppm, since, as you said, it is 
suppotred by mpeg2encode.  However, I have not had this problem when I have 
genereated animations in the past under the same conditions.  I am sure 
there's something I'm missing, but I'm not sure what it is.
  
-- 

David
smuchrusher <at> ameritech <dot> net
ICQ#: 118347772

9:17pm up 1 day, 19:31, 0 users, load average: 0.09, 0.10, 0.04


Post a reply to this message

From: Dick Balaska
Subject: Re: mpeg2encode
Date: 14 Jan 2002 23:04:43
Message: <3C43AA5F.1997341@buckosoft.com>
David F wrote:
> 
> Bjarne Nygaard wrote:
> 
> >
> > Hi,
> > I believe that povray has dropped generation of separate files
> > for each colour some time ago. I also several years ago started using
> > this coding to mpeg generation. Since I went to the .ppm format as this
> > was supported by the encoder.
> > I have used both mpeg2encode and mpeg_encode. Now I only use the latter.
> > You should be able to find as mpeg_encode-1.5b*.
> 
> I am having povray output the files as .ppm, since, as you said, it is
> suppotred by mpeg2encode.  However, I have not had this problem when I have
> genereated animations in the past under the same conditions.  I am sure
> there's something I'm missing, but I'm not sure what it is.

Have you really gotten mpeg2encode to work?  I was never able to get it to 
generate an mpeg2.

Many others have said they got it to work but when i said "Show me the PAR", 
it turns out they were generating mpeg1.  If you have a working .PAR file
for an mpeg2, i would love to see it.

If you are generating mpeg1, i think mpeg_encode makes much nicer mpegs.
(I am currently churning a 702x512x3100 mpeg1. http://www.buckosoft.com/bsac/ )

I have also hacked mpeg_encode to accept png as an input.  If you like 1.5b,
you should try mine...
http://www.buckosoft.com/gallery/tools/mpeg_encode/

-- 
           _,--"
dik        `-._        ________-_______        "----
       _----'--'--------------------------------'--'----_
      //_| | \         dic### [at] buckosoftcom         / | |_\\
     (_____|_|__= Guilford Conn +1.203.458.0389=__|_|_____)
     _\_____=___    http://www.buckosoft.com    ___=_____/_
       \/-(o)-~~-(o)-~~-(o)-`------'-(o)-~~-(o)-~~-(o)-\/
Early Net Poetry:
Wustl, Wustl, ERR RIP MIT BOOT, BIND Wustl


Post a reply to this message

From: David F
Subject: Re: mpeg2encode
Date: 15 Jan 2002 13:45:41
Message: <3c4478d5@news.povray.org>
Dick Balaska wrote:

> Many others have said they got it to work but when i said "Show me the
> PAR",
> it turns out they were generating mpeg1.  If you have a working .PAR file
> for an mpeg2, i would love to see it.
> 
 

No problem.  Here's the par I used(it was generated using GIMP).  There's 
seems to be a little damage because of word wrap, though.

MPEG-2 stream 30 frames/sec
/home/dsfranks/povray31/scenes/animate/pentmap/pentmap%03d   /* name of 
source
files */ -         /* name of reconstructed images ("-": don't store) */
-         /* name of intra quant matrix file     ("-": default matrix) */
-         /* name of non intra quant matrix file ("-": default matrix) */
-         /* name of statistics file ("-": stdout ) */
2         /* input picture file format: 0=*.Y,*.U,*.V, 1=*.yuv, 2=*.ppm */
301       /* number of frames */
0         /* number of first frame */
00:00:00:00 /* timecode of first frame */
12        /* N (# of frames in GOP) */
3         /* M (I/P frame distance) */
0         /* ISO/IEC 11172-2 stream */
0         /* 0:frame pictures, 1:field pictures */
320       /* horizontal_size */
80       /* vertical_size */
2         /* aspect_ratio_information 1=square pel, 2=4:3, 3=16:9, 4=2.11:1 
*/
5         /* frame_rate_code 1=23.976, 2=24, 3=25, 4=29.97, 5=30 
frames/sec. */
3000000.0 /* bit_rate (bits/s) */
112       /* vbv_buffer_size (in multiples of 16 kbit) */
0         /* low_delay  */
0         /* constrained_parameters_flag */
4         /* Profile ID: Simple = 5, Main = 4, SNR = 3, Spatial = 2, High = 
1 */
8         /* Level ID:   Low = 10, Main = 8, High 1440 = 6, High = 4        
  */
0         /* progressive_sequence */
1         /* chroma_format: 1=4:2:0, 2=4:2:2, 3=4:4:4 */
1         /* video_format: 0=comp., 1=PAL, 2=NTSC, 3=SECAM, 4=MAC, 
5=unspec. */
5         /* color_primaries */
5         /* transfer_characteristics */
5         /* matrix_coefficients */
320       /* display_horizontal_size */
80       /* display_vertical_size */
0         /* intra_dc_precision (0: 8 bit, 1: 9 bit, 2: 10 bit, 3: 11 bit */
1         /* top_field_first */
0 0 0     /* frame_pred_frame_dct (I P B) */
0 0 0     /* concealment_motion_vectors (I P B) */
1 1 1     /* q_scale_type  (I P B) */
1 0 0     /* intra_vlc_format (I P B)*/
0 0 0     /* alternate_scan (I P B) */
0         /* repeat_first_field */
0         /* progressive_frame */
0         /* P distance between complete intra slice refresh */
0         /* rate control: r (reaction parameter) */
0         /* rate control: avg_act (initial average activity) */
0         /* rate control: Xi (initial I frame global complexity measure) */
0         /* rate control: Xp (initial P frame global complexity measure) */
0         /* rate control: Xb (initial B frame global complexity measure) */
0         /* rate control: d0i (initial I frame virtual buffer fullness) */
0         /* rate control: d0p (initial P frame virtual buffer fullness) */
0         /* rate control: d0b (initial B frame virtual buffer fullness) */
2 2 11 11 /* P:  forw_hor_f_code forw_vert_f_code search_width/height */
1 1 3  3  /* B1: forw_hor_f_code forw_vert_f_code search_width/height */
1 1 7  7  /* B1: back_hor_f_code back_vert_f_code search_width/height */
1 1 7  7  /* B2: forw_hor_f_code forw_vert_f_code search_width/height */
1 1 3  3  /* B2: back_hor_f_code back_vert_f_code search_width/height */

-- 

David
smuchrusher <at> ameritech <dot> net
ICQ#: 118347772

12:19pm up 19:30, 0 users, load average: 0.45, 0.20, 0.06


Post a reply to this message

From: Theo
Subject: Re: mpeg2encode
Date: 1 Mar 2002 04:06:12
Message: <3C7F43BA.68797B41@inter.nl.net>
David F wrote:
> 
> I am trying to generate an mpeg animation using mpeg2encode from files I
> generated using POVRay.  I keep getting this error:
> 
> 
> Couldn't create */.Y
> 
> Anyone else have this problem.  This is the first time that I'm getting
> this eror from mpeg2encode.  I know my permissions are set correctly.  My
> machine is running Slackware 8.0
> 
> --
> 
> David
> smuchrusher <at> ameritech <dot> net
> ICQ#: 118347772
> 
> 11:28pm up 3 days, 2:47, 0 users, load average: 3.65, 3.51, 3.49
Hello,

I used the following command: 
convert images/xxx*.png xxx.mpg
This ImageMagick tool works like a breese, you only need  mpeg2encode in
you PATH.

Regards, Theo


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.