Mailing List archive

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

Re: [where is the avpes2mpeg?]



Demetris writes:
 > well, I want to put a film on cd (vcd). the burner software wants
 > an mpeg(mpeg2?) file as source. 
 > if I do an 
 > ./streamtype out
 > it says that my stream (out) is av_pes, mpeg2.
 > but any mpeg player (xing, xmps, zzplayer) wont play that stream.
 > only this work: cat out > /dev/video
 > 
 > can you help me on what to do next to get
 > a working mpeg2? is there any doc somewhere?
 >   
(I thought that av_pes2any was self explanatory ;-) )
Here is the doc:


The output of the driver (if you don`t use outstream=0 (which means
av_pes)) is on default a program stream (PS), which you should be able to
play back on any MPEG2 player (I hope). If you have an av_pes file you
can use av_pes2ps to convert it to a program stream ("av_pes2ps
<filename>"). You get av_pes2ps when you compile the program in the
av_pes2any directory and then "make links". You can also pipe directly
into the program, e.g. "cat /dev/video | av_pes2ps > myfile".

 > 
 > what can I do with that stream? (program, elementary, pes or
transport).

Program streams are meant for playback by mpeg2 players (just like vob
file, which are program streams). Elementary streams are not muxed,
you have separate audio and video streams, which you can then mux
yourself. PESs are something like PS, but they lack some information
which are provided by the program stream header (see also my earlier
post). They are used to create PS and TS streams. TS are usually used
for transfering MPEGS over the net, over satellite and so on. They
consist of small packets (188 bytes) that contain parts of PESs and
are put together by the receiver to get whole PESs, which can usually
also be fed into a decoder, without creating a PS first.


Marcus

---------------------------------------------------------------------
Dr. Marcus Metzler                             
mocm@netcologne.de                     http://www.metzlerbros.de
mocm@convergence.de                    http://www.convergence.de

Convergence Integrated Media GmbH          
Rosenthaler Str. 51                   
D-10178 Berlin                             
---------------------------------------------------------------------


Home | Main Index | Thread Index