Exemplo n.º 1
0
 public MediaDictionary()
 {
     unsafe
     {
         fixed(AVDictionary **pInitPointer = &internalPointerPlaceHolder)
         ppDictionary = pInitPointer;
     }
 }
Exemplo n.º 2
0
 private static extern int avcodec_open2(AVCodecContext *avctx, AVCodec *codec, AVDictionary **options);
Exemplo n.º 3
0
 private static extern int avformat_open_input(AVFormatContext **ps, [MarshalAs(UnmanagedType.LPUTF8Str)] string url, AVInputFormat *fmt, AVDictionary **options);
Exemplo n.º 4
0
 public static extern int avfilter_init_dict(AVFilterContext * @ctx, AVDictionary ** @options);
Exemplo n.º 5
0
 public static extern int av_opt_set_dict2(void *obj, AVDictionary **options, int search_flags);
Exemplo n.º 6
0
 public static extern int av_opt_set_dict(void *obj, AVDictionary **options);
Exemplo n.º 7
0
 public static extern int av_packet_unpack_dictionary(byte *data, int size, AVDictionary **dict);
Exemplo n.º 8
0
 public static extern AVError avformat_write_header(ref AVFormatContext pAVFormatContext, AVDictionary **options);
Exemplo n.º 9
0
        /// <summary>
        /// Open an input stream and read the header. The codecs are not opened. The stream must be closed with avformat_close_input().
        /// </summary>
        /// <param name="context">
        /// Pointer to user-supplied AVFormatContext (allocated by avformat_alloc_context).
        /// May be a pointer to NULL, in which case an AVFormatContext is allocated by this
        /// function and written into ps. Note that a user-supplied AVFormatContext will
        /// be freed on failure.
        /// </param>
        /// <param name="url">
        /// URL of the stream to open.
        /// </param>
        /// <param name="fmt">
        /// If non-NULL, this parameter forces a specific input format. Otherwise the format is autodetected.
        /// </param>
        /// <param name="options">
        /// A dictionary filled with AVFormatContext and demuxer-private options.On return
        /// this parameter will be destroyed and replaced with a dict containing options
        /// that were not found. May be NULL.
        /// </param>
        /// <returns>
        /// 0 on success, a negative AVERROR on failure.
        /// </returns>
        public int avformat_open_input(AVFormatContext context, string?url, NativeAVInputFormat *fmt, AVDictionary **options)
        {
            var ctx = context.NativeObject;

            return(ffmpeg.avformat_open_input(&ctx, url, fmt, options));
        }
Exemplo n.º 10
0
 public static extern int avformat_open_input(AVFormatContext **ps, string url, AVInputFormat *fmt, AVDictionary **options);
Exemplo n.º 11
0
 public static extern int avio_open2(AVIOContext **s, byte *url, int flags, AVIOInterruptCB *int_cb, AVDictionary **options);
Exemplo n.º 12
0
 public static extern int avio_open_dir(AVIODirContext **s, byte *url, AVDictionary **options);
Exemplo n.º 13
0
 public static extern int avformat_write_header(AVFormatContext *s, AVDictionary **options);
Exemplo n.º 14
0
 private static extern int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options);
 public extern static int avfilter_init_dict(AVFilterContext *ctx, AVDictionary **options);
Exemplo n.º 16
0
 public static extern AVError avformat_find_stream_info(ref AVFormatContext pAVFormatContext, AVDictionary **options);
Exemplo n.º 17
0
 public static extern int av_opt_get_dict_val(void *obj, byte *name, int search_flags, AVDictionary **outVal);
Exemplo n.º 18
0
 public static extern int avdevice_capabilities_create(AVDeviceCapabilitiesQuery ** @caps, AVFormatContext * @s, AVDictionary ** @device_options);
Exemplo n.º 19
0
 public static extern int avformat_open_input(AVFormatContext **ps, [MarshalAs((UnmanagedType)48)] string url, AVInputFormat *fmt, AVDictionary **options);