[Ffmpeg-devel] Bug in pts computation in compute_pkt_fields() ?

Måns Rullgård mans
Tue Mar 20 19:30:07 CET 2007


Martin Wache said:
> M?ns Rullg?rd schrieb:
>> Martin Wache said:
>>> Wolfram Gloger schrieb:
>>>> Hi,
>>>>
>>>>> I'm experiencing problems with the pts values of the audio packets given
>>>>> by av_read_frame(). The stream I feed to ffmpeg is a DVB-T stream mpeg2
>>>>> audio and video.
>>>> That is probably raw mpeg-ts, right?
>>>>
>>> No, it is already remuxed to pes.
>>
>> Are you aware that a PES stream may only consist of one elementary stream?
>> Files such as those produced by VDR are not conforming to specs.
>>
> Yes, I remember that I read it somewhere. I do send video and audio in
> one stream, is it possible that this causes the problems? As I said
> earlier av_read_packet() works good, so I assumed that av_read_frame()
> would be able to cope with that as well.
> Could you remind me what the problem with those files is?

Such files are not allowed by the spec, so creating them is a bad idea.
FFmpeg still handles them without problems.  A hardware decoder might be
pickier.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list