Diego Biurrun
d92024f18f
lavf: more correct printf format specifiers
11 years ago
Justin Ruggles
f6c3adde41
gxfdec: set channel layout when applicable
12 years ago
Martin Storsjö
fc085c5b33
gxf: Add a local copy of the relevant parts of the frame rate table
...
This avoids having to share this table across the library
boundaries.
This shared table used to be problematic, if always declaring
all exported data symbols with the dllimport attribute (even
while building that same library), since it needs to be a
link-time constant when it is used in AVCodec declarations
(in mpeg12enc.c).
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
e67b0f9952
gxf: Include the right header for the avpriv_frame_rate_tab declaration
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Anton Khirnov
36ef5369ee
Replace all CODEC_ID_* with AV_CODEC_ID_*
12 years ago
Diego Biurrun
0177b7d23a
Improve descriptiveness of a number of codec and container long names
12 years ago
Anton Khirnov
6e9651d106
lavf: remove AVFormatParameters from AVFormatContext.read_header signature
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
Anton Khirnov
9138a130cd
lavc: use avpriv_ prefix for ff_frame_rate_tab.
...
It's used in lavf.
13 years ago
Anton Khirnov
84ad31ff18
lavf: replace av_new_stream->avformat_new_stream part II.
...
Manual replacements are done in this commit.
In many cases, the id is some constant made up number (e.g. 0 for video
and 1 for audio), which is then not used in the demuxer for anything.
Those ids are removed.
13 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
Tomas Härdin
99fecc64b0
gxf: Fix 25 fps DV material in GXF being misdetected as 50 fps
...
Set DV packet durations using fields_per_frame.
This requires turning gxf_stream_info into the demuxer's context for access to the value in gxf_packet().
Since MPEG-2 seems to work fine this done only for DV.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Diego Biurrun
adbfc605f6
doxygen: Consistently use '@' instead of '\' for Doxygen markup.
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
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
45a8a02a41
lavf: replace avio_seek(SEEK_CUR) with avio_skip where it makes sense
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
66e5b1df36
avio: deprecate url_feof
...
AVIOContext.eof_reached should be used directly instead.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.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
e356fc57a2
lavf: replace all uses of url_fskip with avio_seek
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
6b4aa5dac8
avio: avio_ prefix for url_fseek
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
b7effd4e83
avio: avio_ prefixes for get_* functions
...
In the name of consistency:
get_byte -> avio_r8
get_<type> -> avio_r<type>
get_buffer -> avio_read
get_partial_buffer will be made private later
get_strz is left out becase I want to change it later to return
something useful.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
ae628ec1fd
avio: rename ByteIOContext to AVIOContext.
...
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
Peter Ross
141de5a9c1
add ff_find_stream_index
...
Originally committed as revision 26092 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Reimar Döffinger
b5bc742402
Check url_fseek results in gxf demuxer.
...
Originally committed as revision 24179 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
e2d17d0197
Fix doxy of flags parameter in fps_umf2avr().
...
Originally committed as revision 23992 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
9a58234fea
Fix misspelled parameter names in Doxygen documentation.
...
This fixes one Doxygen warning each.
Originally committed as revision 23970 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
48b5a2fa98
Support AVFMT_FLAG_IGNIDX in gxf demuxer.
...
Originally committed as revision 23502 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
72415b2adb
Define AVMediaType enum, and use it instead of enum CodecType, which
...
is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
5189573c6d
Set GXF fallback time-base to match the one specified for audio-only.
...
Originally committed as revision 22257 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
192c14fa55
GXF time base is always based on "fields" per second even for
...
non-interlaced video.
Should fix issue 1766.
Originally committed as revision 22256 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
406792e7b0
cosmetics: Remove pointless period after copyright statement non-sentences.
...
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
d77ac324fe
Avoid _t in gxf enum type names
...
Originally committed as revision 16112 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
4e5b854e4c
Use "struct gxf_stream_info" instead of "st_info_t",
...
avoids a typedef that is not really worth it and the
reserved POSIX _t namespace.
Originally committed as revision 16054 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
fe28178303
cosmetics, remove GXF: in log messages since it is present in context
...
Originally committed as revision 15409 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
99f296b304
skip invalid audio samples in gxf packets
...
Originally committed as revision 15408 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Luca Abeni
dd1c8f3e6e
Bump Major version, this commit is almost just renaming bits_per_sample to
...
bits_per_coded_sample but that cannot be done seperately.
Patch by Luca Abeni
Also reset the minor version and fix the forgotton change to libfaad.
Note: The API/ABI should not be considered stable yet, there still may
be a change done here or there if some developer has some cleanup ideas and
patches!
Originally committed as revision 15262 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
bde15e74de
Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste.it
along with some spelling/consistency fixes for the long names by me
Originally committed as revision 13649 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
6c10281c3a
Check for av_new_stream failure, fixes CID76 RUN2
...
Originally committed as revision 13533 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
245976da2a
Use full path for #includes from another directory.
...
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Björn Axelsson
899681cd1d
Use dynamically allocated ByteIOContext in AVFormatContext
...
patch by: Björn Axelsson, bjorn d axelsson a intinor d se
thread: [PATCH] Remove static ByteIOContexts, 06 nov 2007
Originally committed as revision 11071 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
a889bf135e
cosmetics: typo
...
Originally committed as revision 10534 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
b1dc5beb12
replaces hardcoded values by the equivalent enum definitions
...
Originally committed as revision 9801 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
6f3e0b2174
Replace all occurrences of AVERROR_IO with AVERROR(EIO).
...
Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
57004ff1d7
add an enum for need_parsing
...
Originally committed as revision 8742 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
87e8788680
allocate 32 extra bytes at the end of the probe buffer and remove most probe buf_size checks
...
Originally committed as revision 8677 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
a0bbb2e977
Use av_set_pts_info and set some arbitrary timebase fallback
...
Originally committed as revision 7883 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
51bd81f64d
set pts_wrap_bits to 32 since timestamps in packets are 32 bit
...
Originally committed as revision 7880 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
2a1c3b8b90
10l, forgot to skip payload description in UMF packet parsing
...
Originally committed as revision 7878 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
6e8c46b7e3
Set CODEC_TYPE_DATA for timecode tracks.
...
Originally committed as revision 7159 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
9ed0023447
Set st->need_parsing = 2 for MPEG-content.
...
Originally committed as revision 7158 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago