Hi Jordan,

Jordan Dressman wrote:
> I have been trying to play mpeg2video in wmp11 and I have learned that 
> the output of the mpeg2video codec is in mpeg-es format and wmp11 needs 
> it to be in mpeg-ps format.  Is there an easy option I can set in the 
> encoder, or do I need to convert mpeg-es to mpeg-ps as I'm saving to 
> file using lavf?

If you want to save mpeg2video in an MPEG PS file, you do not need to
change anything in the encoder: you just need to use a different
output format.
Right now, you are probably using the "mpeg2video" AVOutputFormat; try
using the "mpeg", "vob", "dvd", or "svcd" format instead.

If you already have an MPEG ES file and you want to convert it to a PS,
you can use the "ffmpeg" program (-vcodec copy).


> I am a complete beginner on muxing, all I want to achieve is to send 
> some encoded data from computer A to B. Then B saves the encoded data 
> to a file in a format that wmp11 can play such as mpeg-ps, avi, or asf.

Have a look at http://ffmpeg.mplayerhq.hu/compat.html


> Another side question if I save mpeg2video in asf format is it possible 
> to change the frame rate of 10 fps because mpeg2video is limited to 
> only a few frame rates that are not useful to me?

I am not sure if it is possible to mux mpeg video in asf...
Anyway, I do not think mpeg2 video supports 10fps.
If you want to be compatible with wmp, you should probably
use the "msmpeg4v2" video codec (which, I suspect, supports
10fps).


                        Luca
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to