FFmpeg
Data Structures | Functions | Variables
soxenc.c File Reference
#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 86 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,
}

Definition at line 107 of file soxenc.c.

AVFMT_NOTIMESTAMPS
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition: avformat.h:462
sox_write_trailer
static int sox_write_trailer(AVFormatContext *s)
Definition: soxenc.c:86
ff_raw_write_packet
int ff_raw_write_packet(AVFormatContext *s, AVPacket *pkt)
Definition: rawenc.c:29
write_trailer
static int write_trailer(AVFormatContext *s1)
Definition: v4l2enc.c:98
NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:188
write_packet
static void write_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost, int unqueue)
Definition: ffmpeg.c:702
AV_CODEC_ID_NONE
@ AV_CODEC_ID_NONE
Definition: codec_id.h:47
AV_CODEC_ID_PCM_S32LE
@ AV_CODEC_ID_PCM_S32LE
Definition: codec_id.h:309
flags
#define flags(name, subs,...)
Definition: cbs_av1.c:565
write_header
static void write_header(FFV1Context *f)
Definition: ffv1enc.c:346
SoXContext
Definition: soxenc.c:40
sox_write_header
static int sox_write_header(AVFormatContext *s)
Definition: soxenc.c:44