Michael Niedermayer
f1f0b01c47
avformat/gxf: fix old codec id
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Reuben Martin
2fa89b2736
Added codec ID to playback DNxHD
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Reuben Martin
86190afbda
gxf: Added codec ID to playback AVCHD
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Reuben Martin
c4db4b1756
Added GXF format code to identify AVC Intra video streams. This was an extension to the origional GXF spec implemented by Grass Valley.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Reuben Martin
7ebf3ab959
gxf: Factorize code in get_sindex()
...
Reviewed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Reuben Martin
0de9d3dd1c
gxf: Added GXF format code 25 which is used for DV codec in HD resolutions
...
Reviewed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Justin Ruggles
f6c3adde41
gxfdec: set channel layout when applicable
12 years ago
Michael Niedermayer
5aedee4fac
gxf: avoid null ptr deref without streams.
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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
Matthieu Bouron
f645132061
gxf: return AVERROR_EOF instead of AVERROR(EIO) at end of gxf_packet function
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
6e9651d106
lavf: remove AVFormatParameters from AVFormatContext.read_header signature
13 years ago
Clément Bœsch
3701d547ac
gxf: remove gxf_ prefix to timecode metadata keys.
...
This will allow a shared "timecode" key metadata between formats to ease
third-party extraction.
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
Matthieu Bouron
2264afa1c2
gxf: add timecode information to metadata
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
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
Reimar Döffinger
1816addc4e
Warn when falling back to unreliable UMF fps tag.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
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
384c9c2fa7
avio: add avio_tell macro as a replacement for url_ftell
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit a2704c9712
)
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
74b3f67c9c
lavf: replace all uses of url_fskip with avio_seek
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit e356fc57a2
)
14 years ago
Anton Khirnov
f59d8ff8cd
avio: avio_ prefix for url_fseek
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 6b4aa5dac8
)
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
e63a362857
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>
(cherry picked from commit b7effd4e83
)
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
471fe57e1a
avio: rename ByteIOContext to AVIOContext.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit ae628ec1fd
)
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ò
66355be3c3
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.
(cherry picked from commit c6610a216e
)
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