As per the RFCs:
http://tools.ietf.org/html/rfc3555#page-38
http://tools.ietf.org/html/rfc3003
... | ... |
@@ -384,7 +384,7 @@ static int query_codec(enum AVCodecID id, int std_compliance) |
384 | 384 |
AVOutputFormat ff_mp2_muxer = { |
385 | 385 |
.name = "mp2", |
386 | 386 |
.long_name = NULL_IF_CONFIG_SMALL("MP2 (MPEG audio layer 2)"), |
387 |
- .mime_type = "audio/x-mpeg", |
|
387 |
+ .mime_type = "audio/mpeg", |
|
388 | 388 |
.extensions = "mp2,m2a,mpa", |
389 | 389 |
.audio_codec = AV_CODEC_ID_MP2, |
390 | 390 |
.video_codec = AV_CODEC_ID_NONE, |
... | ... |
@@ -526,7 +526,7 @@ static int mp3_write_header(struct AVFormatContext *s) |
526 | 526 |
AVOutputFormat ff_mp3_muxer = { |
527 | 527 |
.name = "mp3", |
528 | 528 |
.long_name = NULL_IF_CONFIG_SMALL("MP3 (MPEG audio layer 3)"), |
529 |
- .mime_type = "audio/x-mpeg", |
|
529 |
+ .mime_type = "audio/mpeg", |
|
530 | 530 |
.extensions = "mp3", |
531 | 531 |
.priv_data_size = sizeof(MP3Context), |
532 | 532 |
.audio_codec = AV_CODEC_ID_MP3, |
... | ... |
@@ -1393,7 +1393,7 @@ static int mpegts_write_end(AVFormatContext *s) |
1393 | 1393 |
AVOutputFormat ff_mpegts_muxer = { |
1394 | 1394 |
.name = "mpegts", |
1395 | 1395 |
.long_name = NULL_IF_CONFIG_SMALL("MPEG-TS (MPEG-2 Transport Stream)"), |
1396 |
- .mime_type = "video/x-mpegts", |
|
1396 |
+ .mime_type = "video/MP2T", |
|
1397 | 1397 |
.extensions = "ts,m2t,m2ts,mts", |
1398 | 1398 |
.priv_data_size = sizeof(MpegTSWrite), |
1399 | 1399 |
.audio_codec = AV_CODEC_ID_MP2, |
... | ... |
@@ -269,7 +269,7 @@ AVOutputFormat ff_mlp_muxer = { |
269 | 269 |
AVOutputFormat ff_mpeg1video_muxer = { |
270 | 270 |
.name = "mpeg1video", |
271 | 271 |
.long_name = NULL_IF_CONFIG_SMALL("raw MPEG-1 video"), |
272 |
- .mime_type = "video/x-mpeg", |
|
272 |
+ .mime_type = "video/mpeg", |
|
273 | 273 |
.extensions = "mpg,mpeg,m1v", |
274 | 274 |
.audio_codec = AV_CODEC_ID_NONE, |
275 | 275 |
.video_codec = AV_CODEC_ID_MPEG1VIDEO, |