mirror of
https://github.com/giorgisio/goav.git
synced 2024-04-21 12:31:56 +00:00
24 lines
890 B
Go
24 lines
890 B
Go
// Use of this source code is governed by a MIT license that can be found in the LICENSE file.
|
|
// Giorgis (habtom@giorgis.io)
|
|
|
|
//Package avformat provides some generic global options, which can be set on all the muxers and demuxers.
|
|
//In addition each muxer or demuxer may support so-called private options, which are specific for that component.
|
|
//Supported formats (muxers and demuxers) provided by the libavformat library
|
|
package avformat
|
|
|
|
//#cgo pkg-config: libavformat libavcodec libavutil libavdevice libavfilter libswresample libswscale
|
|
//#include <stdio.h>
|
|
//#include <stdlib.h>
|
|
//#include <inttypes.h>
|
|
//#include <stdint.h>
|
|
//#include <string.h>
|
|
//#include <libavformat/avformat.h>
|
|
//#include <libavformat/avio.h>
|
|
import "C"
|
|
|
|
const (
|
|
AVIO_FLAG_READ = int(C.AVIO_FLAG_READ)
|
|
AVIO_FLAG_WRITE = int(C.AVIO_FLAG_WRITE)
|
|
AVIO_FLAG_READ_WRITE = int(C.AVIO_FLAG_READ_WRITE)
|
|
)
|