[Ffmpeg-devel] Demuxing of .ts streams doesn't work anymore

Måns Rullgård mru
Thu Jun 29 21:06:42 CEST 2006


M?ns Rullg?rd <mru at inprovide.com> writes:

> Christian Leber <christian at leber.de> writes:
>
>> Hello,
>>
>> there is some regression when demuxing .ts files, it's recorded from from DVD-S.
>>
>> with r5536 (today) when i try:
>> ~/ffmpeg/5536/ffmpeg/ffmpeg -an -i 0,64,6e,78,6a.ts  test.mpg
>> FFmpeg version SVN-r5536, Copyright (c) 2000-2004 Fabrice Bellard
>>   configuration:  
>>   libavutil version: 49.0.0
>>   libavcodec version: 51.9.0
>>   libavformat version: 50.4.0
>>   built on Jun 28 2006 00:32:53, gcc: 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
>> [mpegts @ 0x8303980]Could not find codec parameters (Audio: mp3)
>> 0,64,6e,78,6a.ts: could not find codec parameters
>
> The problem with this file is that the PMT specifies PID 0x79 as an
> audio stream, but there are no packets with that PID in the file.
> Rejecting the file entirely because of this is IMHO wrong.
>
> I propose the attached patch to merely print a warning about the
> missing streams, and proceed using those that were found.  Anyone
> against?

Applied Michael's version.

-- 
M?ns Rullg?rd
mru at inprovide.com




More information about the ffmpeg-devel mailing list