Commit 129ee5b1 authored by michael's avatar michael

Patch for creating m2v files by (Fabrizio Gennari <fabrizio.ge tiscali it)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3805 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 728ffad1
......@@ -466,6 +466,21 @@ AVOutputFormat mpeg1video_oformat = {
};
#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 = {
"mjpeg",
"MJPEG video",
......@@ -677,6 +692,8 @@ int raw_init(void)
av_register_input_format(&mpegvideo_iformat);
av_register_output_format(&mpeg1video_oformat);
av_register_output_format(&mpeg2video_oformat);
av_register_input_format(&mjpeg_iformat);
av_register_output_format(&mjpeg_oformat);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment