help-vcdimager
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [VCDImager] ppmtoyuv4mpeg ...


From: Leandro Lucarella
Subject: Re: [VCDImager] ppmtoyuv4mpeg ...
Date: Sun, 30 Sep 2001 23:45:44 -0300 (ART)

El Sun, 30 Sep 2001 23:26:12 +0100 Christophe GAILLARD <address@hidden> 
escribió:


I started to play a little with my new mjpegtools 1.5.4 and I can make the
.m2v files (with the modification to ppmtoyuv4mpeg as you sayd) but I have
a segfault when multiplexing...
To make my .m2v file y do:

jpegtopnm svcd-a.jpg | pnmscale -xsize=704 -ysize=576 | ppmntsc --pal | \
ppmtoyuv4mpeg | mpeg2enc -f 7 -F 3 -V 400 -o svcd-a_pal_hi_400.m2v 

where -F 3 is the frame rate (if I don't give it one, mpeg2enc complains)
and -V 400 is the buffer (I think that it use to be -T, like the first
e-mail about this in the list, but I'm not sure).
I get the .m2v without problems.
The problems come with multiplexing. I use this simple line:

mplex -v 2 -f 7 -o svcd-a_pal_hi_200.m2p svcd-a_pal_hi_200.m2v
(where -v 2 is for debug info)

and I get a segfault:

   INFO: mplex version 2.0.2 ($Date: 2001/09/30 17:13:23 $)
   INFO: File svcd-a_pal_hi_200.m2v looks like an MPEG-1/2 Video stream.
   INFO: Multiplexing stills stream!
   INFO: Selecting SVCD output profile
   INFO: Scanning Stills stream for access units information.
--DEBUG: SETTING video buffer to 235520
   INFO: Stream 225: high-resolution SVCD stills.
   INFO: VIDEO STREAM: e1
   INFO: Frame width    :      704
   INFO: Frame height   :      576
   INFO: Aspect ratio    :   forbidden
   INFO: Picture rate    :   25.000 frames/sec
   INFO: Bit rate        : 2500000 bits/sec
   INFO: Vbv buffer size :   225280 bytes
   INFO: CSPF            :        0
   INFO: SYSTEMS/PROGRAM stream:
   INFO: rough-guess multiplexed stream data rate    : 2547200
   INFO: target data-rate specified               : 2788800
   INFO: Setting specified specified data rate: 2788800
   INFO: Sectors = 105 Video delay = 63000 Audio delay = 63000
--DEBUG: Scanning 6 video frames to frame 6
--DEBUG: Completed end AU 0
   INFO: New sequence commences...
   INFO: Video e1: buf= 235520 frame=000000 sector=00000000
--DEBUG: Video e1: buf= 233232 frame=000000 sector=00000001
--DEBUG: Video e1: buf= 230931 frame=000000 sector=00000002
--DEBUG: Video e1: buf= 228630 frame=000000 sector=00000003
--DEBUG: Video e1: buf= 226329 frame=000000 sector=00000004
--DEBUG: Video e1: buf= 224028 frame=000000 sector=00000005
--DEBUG: Video e1: buf= 221727 frame=000000 sector=00000006
--DEBUG: Video e1: buf= 219426 frame=000000 sector=00000007
--DEBUG: Video e1: buf= 217125 frame=000000 sector=00000008
--DEBUG: Video e1: buf= 214824 frame=000000 sector=00000009
--DEBUG: Video e1: buf= 212523 frame=000000 sector=00000010
--DEBUG: Video e1: buf= 210222 frame=000000 sector=00000011
--DEBUG: Video e1: buf= 207921 frame=000000 sector=00000012
--DEBUG: Video e1: buf= 205620 frame=000000 sector=00000013
--DEBUG: Video e1: buf= 203319 frame=000000 sector=00000014
--DEBUG: Video e1: buf= 201018 frame=000000 sector=00000015
Violación de segmento

I know maybe this is an e-mail to mjpeg lists, but I think that maybe you
had the same problem and got some answer (I hope so :)

CG>   Leandro use the command with the following option :
CG>  mpeg2enc -m 2 -s -b 2500 -q 1  -G 24 -g 21 -2 1 -4 1 -N -V 400 -F 3 -o
CG> $1.m2v
CG>   Some off this options are not supported by the version of mpeg2enc i
CG> use !

Yep, -m is not supported, it was for seting MPEG 1 or 2 (I don't think is
necesary).
-s is not supported as well, and this is not good at all for me... this
option was to put a sequence header in every GOP (to make fastforward and
rewind to work well in my Phlips DVD711 player). I 've seen some new
options in mplex that maybe do the work (like -h, if somebody knows
anything about it, please tell me!)...
But I think -s have no effect in mpeg still (where there are no GOPs, I'm
right?)
I don't think other options are necesary for mpeg stills anyway, this is
what I use for encode SVCD video, so I used the same commandline for my
"fake" mpeg stills (with mjpeg 1.4.x) :)


--
LUCA - Leandro Lucarella
------------------------
address@hidden
http://www.luca.2y.net
LICQ UIN: 2847576
------------------------
Usando Debian GNU/Linux




reply via email to

[Prev in Thread] Current Thread [Next in Thread]