FFmpeg  4.0
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

◆ sox_write_header()

static int sox_write_header ( AVFormatContext s)
static

Definition at line 44 of file soxenc.c.

◆ sox_write_trailer()

static int sox_write_trailer ( AVFormatContext s)
static

Definition at line 88 of file soxenc.c.

Variable Documentation

◆ ff_sox_muxer

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,
}
static void write_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost, int unqueue)
Definition: ffmpeg.c:679
static int flags
Definition: log.c:55
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static int write_trailer(AVFormatContext *s1)
Definition: v4l2enc.c:94
int ff_raw_write_packet(AVFormatContext *s, AVPacket *pkt)
Definition: rawenc.c:29
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition: avformat.h:469
static int sox_write_header(AVFormatContext *s)
Definition: soxenc.c:44
static void write_header(FFV1Context *f)
Definition: ffv1enc.c:337
static int sox_write_trailer(AVFormatContext *s)
Definition: soxenc.c:88

Definition at line 111 of file soxenc.c.