mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Patch for creating m2v files by (Fabrizio Gennari <fabrizio.ge tiscali it)
Originally committed as revision 3805 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
2536c5fde4
commit
6ec864da45
@ -466,6 +466,21 @@ AVOutputFormat mpeg1video_oformat = {
|
|||||||
};
|
};
|
||||||
#endif //CONFIG_ENCODERS
|
#endif //CONFIG_ENCODERS
|
||||||
|
|
||||||
|
#ifdef CONFIG_ENCODERS
|
||||||
|
AVOutputFormat mpeg2video_oformat = {
|
||||||
|
"mpeg2video",
|
||||||
|
"MPEG2 video",
|
||||||
|
NULL,
|
||||||
|
"m2v",
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
CODEC_ID_MPEG2VIDEO,
|
||||||
|
raw_write_header,
|
||||||
|
raw_write_packet,
|
||||||
|
raw_write_trailer,
|
||||||
|
};
|
||||||
|
#endif //CONFIG_ENCODERS
|
||||||
|
|
||||||
AVInputFormat mjpeg_iformat = {
|
AVInputFormat mjpeg_iformat = {
|
||||||
"mjpeg",
|
"mjpeg",
|
||||||
"MJPEG video",
|
"MJPEG video",
|
||||||
@ -677,6 +692,8 @@ int raw_init(void)
|
|||||||
av_register_input_format(&mpegvideo_iformat);
|
av_register_input_format(&mpegvideo_iformat);
|
||||||
av_register_output_format(&mpeg1video_oformat);
|
av_register_output_format(&mpeg1video_oformat);
|
||||||
|
|
||||||
|
av_register_output_format(&mpeg2video_oformat);
|
||||||
|
|
||||||
av_register_input_format(&mjpeg_iformat);
|
av_register_input_format(&mjpeg_iformat);
|
||||||
av_register_output_format(&mjpeg_oformat);
|
av_register_output_format(&mjpeg_oformat);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user