1 /*****************************************************************************
2 * avformat.c: demuxer and muxer using libavformat library
3 *****************************************************************************
4 * Copyright (C) 1999-2008 VLC authors and VideoLAN
7 * Authors: Laurent Aimar <fenrir@via.ecp.fr>
8 * Gildas Bazin <gbazin@videolan.org>
10 * This program is free software; you can redistribute it and/or modify it
11 * under the terms of the GNU Lesser General Public License as published by
12 * the Free Software Foundation; either version 2.1 of the License, or
13 * (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License for more details.
20 * You should have received a copy of the GNU Lesser General Public License
21 * along with this program; if not, write to the Free Software Foundation,
22 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
23 *****************************************************************************/
30 #include <vlc_common.h>
31 #include <vlc_plugin.h>
34 #include "../../codec/avcodec/avcommon.h"
37 #endif /* MERGE_FFMPEG */
38 add_shortcut( "ffmpeg", "avformat" )
39 set_category( CAT_INPUT
)
40 set_subcategory( SUBCAT_INPUT_DEMUX
)
41 set_description( N_("Avformat demuxer" ) )
42 set_shortname( N_("Avformat") )
43 set_capability( "demux", 2 )
44 set_callbacks( avformat_OpenDemux
, avformat_CloseDemux
)
45 set_section( N_("Demuxer"), NULL
)
46 add_string( "avformat-format", NULL
, FORMAT_TEXT
, FORMAT_LONGTEXT
, true )
47 add_obsolete_string("ffmpeg-format") /* removed since 2.1.0 */
48 add_string( "avformat-options", NULL
, AV_OPTIONS_TEXT
, AV_OPTIONS_LONGTEXT
, true )
53 add_shortcut( "ffmpeg", "avformat" )
54 set_description( N_("Avformat muxer" ) )
55 set_capability( "sout mux", 2 )
56 set_section( N_("Muxer"), NULL
)
57 add_string( "sout-avformat-mux", NULL
, MUX_TEXT
, MUX_LONGTEXT
, true )
58 add_obsolete_string("ffmpeg-mux") /* removed since 2.1.0 */
59 add_string( "sout-avformat-options", NULL
, AV_OPTIONS_TEXT
, AV_OPTIONS_LONGTEXT
, true )
60 set_callbacks( avformat_OpenMux
, avformat_CloseMux
)