libnut.c File Reference
Detailed Description
NUT demuxing and muxing via libnut.
- Author:
- Oded Shimon <ods15@ods15.dyndns.org>
Definition in file libnut.c.
Go to the source code of this file.
|
Classes |
| struct | NUTContext |
Functions |
| static int | av_write (void *h, size_t len, const uint8_t *buf) |
| static int | nut_write_header (AVFormatContext *avf) |
| static int | nut_write_packet (AVFormatContext *avf, AVPacket *pkt) |
| static int | nut_write_trailer (AVFormatContext *avf) |
| static int | nut_probe (AVProbeData *p) |
| static size_t | av_read (void *h, size_t len, uint8_t *buf) |
| static off_t | av_seek (void *h, long long pos, int whence) |
| static int | nut_read_header (AVFormatContext *avf, AVFormatParameters *ap) |
| static int | nut_read_packet (AVFormatContext *avf, AVPacket *pkt) |
| static int | nut_read_seek (AVFormatContext *avf, int stream_index, int64_t target_ts, int flags) |
| static int | nut_read_close (AVFormatContext *s) |
Variables |
| static const AVCodecTag | nut_tags [] |
| AVOutputFormat | libnut_muxer |
| AVInputFormat | libnut_demuxer |
Function Documentation
| static int av_write |
( |
void * |
h, |
|
|
size_t |
len, |
|
|
const uint8_t * |
buf | |
|
) |
| | [static] |
| static size_t av_read |
( |
void * |
h, |
|
|
size_t |
len, |
|
|
uint8_t * |
buf | |
|
) |
| | [static] |
| static off_t av_seek |
( |
void * |
h, |
|
|
long long |
pos, |
|
|
int |
whence | |
|
) |
| | [static] |
Variable Documentation
Initial value:
{
{ CODEC_ID_MPEG4, MKTAG('m', 'p', '4', 'v') },
{ CODEC_ID_MP3, MKTAG('m', 'p', '3', ' ') },
{ CODEC_ID_VORBIS, MKTAG('v', 'r', 'b', 's') },
{ 0, 0 },
}
Definition at line 40 of file libnut.c.
Initial value:
{
"libnut",
"nut format",
"video/x-nut",
"nut",
sizeof(NUTContext),
CODEC_ID_VORBIS,
CODEC_ID_MPEG4,
nut_write_header,
nut_write_packet,
nut_write_trailer,
.flags = AVFMT_GLOBALHEADER,
}
Definition at line 153 of file libnut.c.
Initial value:
Definition at line 300 of file libnut.c.