Anton Khirnov
f7fe41a04f
lavf: rename AVInputFormat.value to raw_codec_id.
...
It's only used by raw demuxers for storing the codec id.
13 years ago
Anton Khirnov
6e9651d106
lavf: remove AVFormatParameters from AVFormatContext.read_header signature
13 years ago
Reimar Döffinger
c914038d38
rawdec: Set start_time to 0 for raw audio files.
...
None of the raw audio files have timestamps, thus setting
start_time to 0 should be reasonable.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Anton Khirnov
e745d7525a
rawdec: don't set codec timebase.
...
It's not supposed to be set outside of lavc. Set r_frame_rate and
avg_frame_rate instead.
13 years ago
Anton Khirnov
c3f9ebf743
lavf: make av_set_pts_info private.
...
It's supposed to be called only from (de)muxers.
13 years ago
Justin Ruggles
87c57d807f
Create separate functions for the raw GSM demuxer.
...
Put the new raw GSM demuxer in its own file.
Fixes raw GSM demuxing.
13 years ago
Anton Khirnov
3b3bbdd3e6
lavf,lavd: replace av_new_stream->avformat_new_stream part I.
...
Trivial replacements with sed are done in this commit:
sed 's/av_new_stream(\([^)]*\), 0)/avformat_new_stream(\1, NULL)/'
13 years ago
Justin Ruggles
e32dfdaa8d
shn: do not allow seeking in the raw shn demuxer.
...
The demuxer does not read the seektable, a parser is not possible without a
full decode, and no shorten decoder can handle random seeking because it needs
side info from the seektable.
13 years ago
Anton Khirnov
145f741e11
AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*
13 years ago
Janne Grunau
dcb9f6a20d
Add LATM demuxer
...
This is a raw demuxer for the AAC LATM decoder and thus limited to
single stream LOAS.
13 years ago
Anton Khirnov
85d982f1e2
rawdec: refactor private option for raw video demuxers
...
pixel_format/video_size only apply to 'rawvideo' (==uncompressed) demuxer
and make no sense for the other raw (== containerless) demuxers. Keep
only the framerate option for those.
Also use unique classes for all raw video demuxers
13 years ago
Anton Khirnov
34d2bf30a0
pcmdec: use unique classes for all pcm demuxers.
13 years ago
Anton Khirnov
d906f49aa8
rawdec: g722 is always 1 channel/16kHz
13 years ago
Anton Khirnov
c14fe6bc99
lavf,lavd: remove all usage of AVFormatParameters from demuxers.
...
AVFormatParameters are converted into corresponding private options in
av_open_input_file/stream() compat wrappers, so accessing them from
demuxers is redundant.
14 years ago
Anton Khirnov
dfc2c4d900
lavf: use designated initialisers for all (de)muxers.
...
It's more readable and less prone to breakage.
14 years ago
Anton Khirnov
367732832f
lavf,lavc: free avoptions in a generic way.
...
It's simpler and less error-prone.
Fixes some memleaks along the way.
14 years ago
Anton Khirnov
e762b1ce95
rawdec: add framerate private option.
14 years ago
Anton Khirnov
1f94c31f69
rawdec: initialize return value to 0.
14 years ago
Anton Khirnov
a606aa7570
rawdec: don't leak option strings.
14 years ago
Anton Khirnov
2a85f21868
rawdec: add a pixel_format private option.
14 years ago
Anton Khirnov
fa4924a358
rawdec: factor video demuxer definitions into a macro.
14 years ago
Anton Khirnov
973f686a6c
rawdec: add video_size private option.
14 years ago
Anton Khirnov
bffd4dd1d3
lavf: deprecate AVFormatParameters.{channels,sample_rate}.
14 years ago
Anton Khirnov
5b3865fc5f
rawdec: add sample_rate/channels private options.
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Anton Khirnov
a2704c9712
avio: add avio_tell macro as a replacement for url_ftell
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
b3db9ceef1
avio: make get_partial_buffer internal.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Diego Elio Pettenò
c6610a216e
Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.
...
This also lists the objects from those two libraries as internal (by adding
the ff_ prefix) so that they can then be hidden via linker scripts.
14 years ago
Martin Storsjö
9013560f13
Add a muxer and demuxer for raw G.722
...
Originally committed as revision 25087 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
4ca31edcfe
split raw.c into rawdec.c and rawenc.c
...
Originally committed as revision 24997 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
92aa28d292
move raw video demuxer to its own file
...
Originally committed as revision 24996 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
f1714d5846
move pcm muxers to their own file
...
Originally committed as revision 24995 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
e94204dfd8
move pcm demuxers to their own file
...
Originally committed as revision 24993 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
4bc16e83a7
simplify code by using the AV_NE() macro
...
Originally committed as revision 24986 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
8f3890404c
move null muxer to its own file
...
Originally committed as revision 24985 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
1ac301cad8
cleanup includes which are not used anymore in raw.c
...
Originally committed as revision 24984 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
9e0d82418b
move ac3/eac3 demuxer to its own file
...
Originally committed as revision 24983 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
66e35c5fc6
move dnxhd demuxer to its own file
...
Originally committed as revision 24982 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
170a250f7d
move dirac demuxer to its own file
...
Originally committed as revision 24981 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
99392a6111
move h261 demuxer to its own file
...
Originally committed as revision 24980 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
b30593c7db
move h263 demuxer to its own file
...
Originally committed as revision 24979 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
9243ed3f91
move h264 demuxer to its own file
...
Originally committed as revision 24978 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
e35070582e
move m4v demuxer to its own file
...
Originally committed as revision 24976 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
c3ed4b2d38
move cavsvideo demuxer to its own file
...
Originally committed as revision 24975 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
8c51530fa1
move mpegvideo demuxer to its own file
...
Originally committed as revision 24974 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
b47a5a954a
move ingenient demuxer to its own file
...
Originally committed as revision 24973 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
6d0678d182
move DTS demuxer to its own file
...
Originally committed as revision 24972 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
85a2aada90
simplify code by using the AV_NE() macro
...
Originally committed as revision 24971 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
54a73bb57f
move id roq muxer to its own file
...
Originally committed as revision 24968 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
49824cb66a
move ADTS AAC demuxer to its own file
...
Originally committed as revision 24967 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago