[FFmpeg-devel] [Ffmpeg-devel] [PATCH] Support raw mpegts streams from dvr

Wolfram Gloger wmglo
Wed Jun 6 17:15:23 CEST 2007


> From: Michael Niedermayer <michaelni at gmx.at>
> > What I would suggest is for the auto_guess case to auto-detect the
> > pcr pid as well as new streams.  Patch appended, lightly tested.
> 
> your patch is a quick hack, not a proper solution
> 
> first lets take a look at what the demuxer does, the current pcr_pid code
> is completely broken and simply wont work with multi program TS streams
> multi program TS streams didnt work at all until recently ...

Ok, that surely is a worthwhile new feature.

> what needs to be done, first is to change the demuxer so it does keep track
> of the pcr_pid per program, then the stream used for seeking has to be mapp=
> ed
> to the correct pcr_pid and if that is unknown (-1 or whatever) then the code
> should just use any packet to get the pcr hoping that this is not a multi
> program stream
> 
> do you want to implement that? or do you have some other suggestion?

Sounds fine to me.  I'll have a look tonight.

Regards,
Wolfram.




More information about the ffmpeg-devel mailing list