mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
mpeg4 raw output support patch by ("Maksim (Max) Krasnyanskiy" <maxk at qualcomm dot com>)
Originally committed as revision 917 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
c2c2cd2da1
commit
89b3d7c9f1
15
libav/raw.c
15
libav/raw.c
@ -233,6 +233,19 @@ AVOutputFormat h263_oformat = {
|
|||||||
raw_write_trailer,
|
raw_write_trailer,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
AVOutputFormat m4v_oformat = {
|
||||||
|
"m4v",
|
||||||
|
"raw MPEG4 video format",
|
||||||
|
NULL,
|
||||||
|
"m4v",
|
||||||
|
0,
|
||||||
|
CODEC_ID_NONE,
|
||||||
|
CODEC_ID_MPEG4,
|
||||||
|
raw_write_header,
|
||||||
|
raw_write_packet,
|
||||||
|
raw_write_trailer,
|
||||||
|
};
|
||||||
|
|
||||||
AVInputFormat mpegvideo_iformat = {
|
AVInputFormat mpegvideo_iformat = {
|
||||||
"mpegvideo",
|
"mpegvideo",
|
||||||
"MPEG video",
|
"MPEG video",
|
||||||
@ -420,6 +433,8 @@ int raw_init(void)
|
|||||||
av_register_output_format(&ac3_oformat);
|
av_register_output_format(&ac3_oformat);
|
||||||
|
|
||||||
av_register_output_format(&h263_oformat);
|
av_register_output_format(&h263_oformat);
|
||||||
|
|
||||||
|
av_register_output_format(&m4v_oformat);
|
||||||
|
|
||||||
av_register_input_format(&mpegvideo_iformat);
|
av_register_input_format(&mpegvideo_iformat);
|
||||||
av_register_output_format(&mpeg1video_oformat);
|
av_register_output_format(&mpeg1video_oformat);
|
||||||
|
Loading…
Reference in New Issue
Block a user