[FFmpeg-devel] Help for generating PES streams from an AVI file
Wed May 9 12:42:07 CEST 2007
> Sibnath GHOSH wrote:
> >I would like to generate PES streams from the elementary
> streams from an AVI file, since the decoder I will be using
> accepts PES streams. I am using the parser and the demux of
> the ffmpeg.
> >Can anyone please suggest how I can do the above specially
> with reference to the PTS values of the audio and video.
> ffmpeg can't do it (although it's quite easy to extend it),
> but mencoder -of mpeg -mpegopts format=pes2 -o file.mpg -oac
> ... -ovc ...
> will do
Actually I was not referring to the encoder side but to the decoding. Since
I get elementary stream from the ffmpeg parser and demux, I would like to
encapsulate this ES to PES and include the time stamp. How can I extend the
ffmpeg for this encapsulation. Can I do the same from the player or
More information about the ffmpeg-devel