FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
soxenc.c File Reference

SoX native format muxer. More...

#include "libavutil/intreadwrite.h"
#include "libavutil/intfloat.h"
#include "libavutil/dict.h"
#include "avformat.h"
#include "avio_internal.h"
#include "rawenc.h"
#include "sox.h"

Go to the source code of this file.

Data Structures

struct  SoXContext
 

Functions

static int sox_write_header (AVFormatContext *s)
 
static int sox_write_trailer (AVFormatContext *s)
 

Variables

AVOutputFormat ff_sox_muxer
 

Detailed Description

SoX native format muxer.

Author
Daniel Verkamp
See Also
http://wiki.multimedia.cx/index.php?title=SoX_native_intermediate_format

Definition in file soxenc.c.

Function Documentation

static int sox_write_header ( AVFormatContext s)
static

Definition at line 44 of file soxenc.c.

static int sox_write_trailer ( AVFormatContext s)
static

Definition at line 88 of file soxenc.c.

Variable Documentation

AVOutputFormat ff_sox_muxer
Initial value:
= {
.name = "sox",
.long_name = NULL_IF_CONFIG_SMALL("SoX native"),
.extensions = "sox",
.priv_data_size = sizeof(SoXContext),
.audio_codec = AV_CODEC_ID_PCM_S32LE,
.video_codec = AV_CODEC_ID_NONE,
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:176
static int write_trailer(AVFormatContext *s1)
Definition: v4l2enc.c:94
int ff_raw_write_packet(AVFormatContext *s, AVPacket *pkt)
Definition: rawenc.c:26
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition: avformat.h:485
static int flags
Definition: cpu.c:47
static int sox_write_header(AVFormatContext *s)
Definition: soxenc.c:44
static void write_header(FFV1Context *f)
Definition: ffv1enc.c:497
static int sox_write_trailer(AVFormatContext *s)
Definition: soxenc.c:88
static int write_packet(AVFormatContext *s1, AVPacket *pkt)
Definition: v4l2enc.c:86

Definition at line 111 of file soxenc.c.