Beispiel #1
0
 public MediaDictionary()
 {
     unsafe
     {
         fixed(AVDictionary **pInitPointer = &internalPointerPlaceHolder)
         ppDictionary = pInitPointer;
     }
 }
Beispiel #2
0
 private static extern int avcodec_open2(AVCodecContext *avctx, AVCodec *codec, AVDictionary **options);
Beispiel #3
0
 private static extern int avformat_open_input(AVFormatContext **ps, [MarshalAs(UnmanagedType.LPUTF8Str)] string url, AVInputFormat *fmt, AVDictionary **options);
 public static extern int avfilter_init_dict(AVFilterContext * @ctx, AVDictionary ** @options);
Beispiel #5
0
 public static extern int av_opt_set_dict2(void *obj, AVDictionary **options, int search_flags);
Beispiel #6
0
 public static extern int av_opt_set_dict(void *obj, AVDictionary **options);
Beispiel #7
0
 public static extern int av_packet_unpack_dictionary(byte *data, int size, AVDictionary **dict);
Beispiel #8
0
 public static extern AVError avformat_write_header(ref AVFormatContext pAVFormatContext, AVDictionary **options);
Beispiel #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));
        }
Beispiel #10
0
 public static extern int avformat_open_input(AVFormatContext **ps, string url, AVInputFormat *fmt, AVDictionary **options);
Beispiel #11
0
 public static extern int avio_open2(AVIOContext **s, byte *url, int flags, AVIOInterruptCB *int_cb, AVDictionary **options);
Beispiel #12
0
 public static extern int avio_open_dir(AVIODirContext **s, byte *url, AVDictionary **options);
Beispiel #13
0
 public static extern int avformat_write_header(AVFormatContext *s, AVDictionary **options);
Beispiel #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);
Beispiel #16
0
 public static extern AVError avformat_find_stream_info(ref AVFormatContext pAVFormatContext, AVDictionary **options);
Beispiel #17
0
 public static extern int av_opt_get_dict_val(void *obj, byte *name, int search_flags, AVDictionary **outVal);
 public static extern int avdevice_capabilities_create(AVDeviceCapabilitiesQuery ** @caps, AVFormatContext * @s, AVDictionary ** @device_options);
 public static extern int avformat_open_input(AVFormatContext **ps, [MarshalAs((UnmanagedType)48)] string url, AVInputFormat *fmt, AVDictionary **options);