[FFmpeg-devel] m2ts blueray demux issues
Mon Aug 25 22:06:19 CEST 2008
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
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Dictatorship naturally arises out of democracy, and the most aggravated
form of tyranny and slavery out of the most extreme liberty. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel