[FFmpeg-devel] [PATCH] Support the ASF_JFIF_Media stream type
Martin Storsjö
martin
Mon Jul 19 14:07:59 CEST 2010
Hi,
I've tried to add support for decoding the stream in issue 2070,
rtsp://melpomene.mmedia.upv.es/RETRANS_PR_01. These three patches are
needed for decoding it properly (in addition to a fix to rtpdec_asf, that
I'll send in a separate thread).
The stream header contains a new guid that wasn't supported before, that
according to a little googling is named ASF_JFIF_Media. The stream header
doesn't seem to contain enough data to pose as a normal video stream
header, so the check in patch 3 is necessary to avoid reading bogus data.
Or if we consider this as a completely separate stream type (even if the
type is AVMEDIA_TYPE_VIDEO), we perhaps should check if codec_id ==
CODEC_ID_MJPEG and read a different kind of stream header in that case.
// Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-asf-Add-asf_jfif_media-guid.patch
Type: text/x-diff
Size: 1507 bytes
Desc:
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100719/cd3b431a/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-asfdec-Handle-asf_jfif_media.patch
Type: text/x-diff
Size: 1054 bytes
Desc:
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100719/cd3b431a/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-asfdec-Don-t-read-the-video-stream-header-if-there-i.patch
Type: text/x-diff
Size: 937 bytes
Desc:
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100719/cd3b431a/attachment-0002.patch>
More information about the ffmpeg-devel
mailing list