[FFmpeg-devel] m2ts blueray demux issues
Mon Aug 25 22:08:57 CEST 2008
Michael Niedermayer <michaelni at gmx.at> writes:
> On Mon, Aug 25, 2008 at 11:52:46AM -0700, Jesse Rosenzweig wrote:
>> Some blueray m2ts (mpeg2 transport stream) files are causing libavformat to
>> not find any stream info (hangs in av_find_stream_info).
>> I thought this may be due to the very large file size of 31 G, so I chopped
>> it down to the first 10Meg. In this case the stream info api now returns,
>> but with the message "Could not find codec parameters" from mpegts.
>> M2ts files from blueray have an extra 4 bytes for every TS packet described
>> in section 3.1 here
>> And I don't see any adjustments in the code for this "feature" of blueray
>> transport streams.
> #define TS_FEC_PACKET_SIZE 204
> #define TS_DVHS_PACKET_SIZE 192
> #define TS_PACKET_SIZE 188
> seems to me as if there is code for dealing with various packet sizes
Yes, there is. There's something else that's strange about that
mans at mansr.com
More information about the ffmpeg-devel