2009-03-05, 18:55
Hilbe, can you go into detail about exactly how and with what hardware are you recording these files.
The issue is (from your sample file);
nb_programs reports 11 programs, but all but one is valid. That one contains just two audio streams. However, nb_streams says, there are three streams, one video, two audio.
In CDVDDemuxFFmpeg, nb_programs is checked before nb_streams so XBMC picks the nb_programs path for demuxing. If I force, nb_programs = 0, then XBMC takes the nb_streams path and your sample plays fine.
So the question here is, are we dealing with a malformed mpegts or is there a bug in ffmpeg.
The issue is (from your sample file);
nb_programs reports 11 programs, but all but one is valid. That one contains just two audio streams. However, nb_streams says, there are three streams, one video, two audio.
In CDVDDemuxFFmpeg, nb_programs is checked before nb_streams so XBMC picks the nb_programs path for demuxing. If I force, nb_programs = 0, then XBMC takes the nb_streams path and your sample plays fine.
So the question here is, are we dealing with a malformed mpegts or is there a bug in ffmpeg.