[FFmpeg-devel] More problems with mts files (AVCHD), PCR parsing making wrong assumptions

Thorsten Jordan tjordan
Mon Feb 18 09:54:18 CET 2008

Thorsten Jordan schrieb:
> Thorsten Jordan schrieb:
>> Hello,
>> I don't know if it was intended that plain mts files can be read with
>> the mpegts parser (those files consist of 192-byte chunks with 4
>> counter-like bytes then a 188-byte ts packet follows), but if it should
>> work, then there is a bug:
> Mans said in a recent mail:
>> Until I have a good replacement ready, I am willing to accept
>> reasonable patches to lavf, in the interest of supporting as many
>> files as possible.  I will not, however, accept anything that adds
>> significantly to the messy nature of the present lavf ts demuxer.
> given that information - what about that particular case?
> would a patch for mpegts.c with some checks in parse_pcr be accepted? Is
> it intended that the mpegts demuxer can read .mts as well?
if anyone cares, here is a patch

Regards, Thorsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mts_pcr_parse_syncbyte_check.patch
Type: text/x-patch
Size: 485 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080218/927f1f51/attachment.bin>

More information about the ffmpeg-devel mailing list