Michael Niedermayer
adcfc0535d
mxfenc: fix av_log data type for dts paramater
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Diego Biurrun
72eaba5e4f
avformat: Convert some commented-out printf/av_log instances to av_dlog
12 years ago
Matthieu Bouron
41f7e0649f
mxf: export ff_mxf_get_samples_per_frame to lavf
...
Reviewed-by: Tomas Härdin <tomas.hardin@codemill.se>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Matthieu Bouron
d57ca5e5a8
mxfenc: support 23.976 and 24 frame rates
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Matthieu Bouron
906a263813
mxfenc: factorize samples per frame code
...
Reviewed-by: Tomas Härdin <tomas.hardin@codemill.se>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Anton Khirnov
3b4bb19e63
lavf: flush the output AVIOContext in av_write_trailer().
...
This is consistent with stdio and is what we want to do in all cases.
Fixes a bug in the voc muxer which didn't flush in write_trailer()
previously. This is the cause of the change in the test results.
12 years ago
Piotr Bandurski
08277a45c3
lavf: add missing new line to some error messages
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
6b3484dcbc
lavf/mxfenc: better error handling with invalid frame rate.
12 years ago
Clément Bœsch
aad737c669
lavf/mxfenc: simplify frame rate checks.
12 years ago
Anton Khirnov
36ef5369ee
Replace all CODEC_ID_* with AV_CODEC_ID_*
12 years ago
Clément Bœsch
16dc5f2050
Replace various inlined inverse AVRational with av_inv_q().
12 years ago
Diego Biurrun
0177b7d23a
Improve descriptiveness of a number of codec and container long names
12 years ago
Michael Niedermayer
db03f91f4b
mxfenc: switch to av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Matthieu Bouron
b8a90976da
lavf/mxfenc: fix dnxhd codec uls and aspect ratio
...
Reviewed-by: Tomas Härdin <tomas.hardin@codemill.se>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Matthieu Bouron
d99001cab3
mxfenc: support dnxhd codec
13 years ago
Matthieu Bouron
135e684311
mxfenc: support smpte dv codec
...
After some internal talks it seems the code is similar to what is in FFmbc
by Baptiste Coudurier; Baptiste accepted to relicense the similiar chunks
from GPL to LGPL.
13 years ago
Matthieu Bouron
f6d952f584
mxfenc: write optional field dominance flag in picture description
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
6b35f1a2a6
timecode: move timecode muxer options to metadata.
...
Some demuxers set a timecode in the format or streams metadata. The
muxers now make use of this metadata instead of a duplicated private
option.
This makes possible transparent copy of the timecode when transmuxing
and transcoding.
-timecode option for MPEG1/2 codec is also renamed to -gop_timecode. The
global ffmpeg -timecode option will set it anyway so no option change
visible for the user.
13 years ago
Matthieu Bouron
320e537baf
mxfenc: support 50 and 60 frame rates
...
Reviewed-by: Tomas Härdin <tomas.hardin@codemill.se>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Tomas Härdin
24e90d0c05
mxfenc: Don't allow muxing audio-only since it's not supported
...
This fixes muxing audio-only output resulting in SIGFPE due to lack of EditRate.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
bf6e83a8e8
mxfenc: use new public timecode API.
13 years ago
Anton Khirnov
df0bb26aca
lavf: remove disabled FF_API_TIMESTAMP cruft
13 years ago
Daniel Kristjansson
adff77f28c
mxfenc: Add support for MPEG-2 MP@HL-14 in mxf container.
...
Support Main Profile at High 1440 Level in MXF container,
using essence coding label from SMPTE RDD 9, table 6.
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Clément Bœsch
80914cde6f
timecode: rename internal ff_* symbols to avpriv_*.
...
Those functions are shared between libs.
Also fix a typo in function names: smtpe → smpte.
13 years ago
Diego Biurrun
da9cea77e3
Fix a bunch of common typos.
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
Daniel Kristjansson
4460b81f9e
mxfenc: Add support for MPEG-2 MP@HL-14 in mxf container
...
Support Main Profile at High 1440 Level in MXF container,
using essence coding label from SMPTE RDD 9, table 6.
13 years ago
Clément Bœsch
b49fe589ea
mxf: honor timecode drop flag in mxf muxer if set.
13 years ago
Clément Bœsch
b33ca05b46
mxf: add cli option in mxfenc to replace GOP timecode parsing.
...
This is based on the original work by Baptiste Coudurier.
13 years ago
Clément Bœsch
4c3c6e60f9
mxf: move framenum to timecode convert to timecode helpers.
...
This is based on the original work by Baptiste Coudurier.
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
Kostya Shishkov
2c4d7bf008
mxfenc: include needed header for ff_iso8601_to_unix_time() prototype
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Anton Khirnov
001d668d40
lavf: factor out conversion of ISO8601 string to unix time
14 years ago
Anton Khirnov
5f847bf61d
lavf: deprecate AVFormatContext.timestamp
...
It's replaced by 'creation_time' metadata tag.
14 years ago
Clément Bœsch
76f105967b
mxfenc: fix ignored drop flag in binary timecode representation.
14 years ago
Clément Bœsch
4d5e7ab5c4
mxfenc: fix ignored drop flag in binary timecode representation.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Clément Bœsch
19b6127365
mxfenc: small typo fix
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Michael Niedermayer
2d2b5a1421
10l, commit that should have been stashed into the merge.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Diego Biurrun
6001dad6e2
Replace more FFmpeg references by Libav.
14 years ago
Anton Khirnov
8978fedaee
avio: introduce an AVIOContext.seekable field
...
Use it instead of url_is_streamed and AVIOContext.is_streamed.
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
b7f2fdde74
avio: rename put_flush_packet -> avio_flush
...
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
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
6b4aa5dac8
avio: avio_ prefix for url_fseek
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
e9eb8d0bce
avio: avio: avio_ prefixes for put_* functions
...
In the name of consistency:
put_byte -> avio_w8
put_<type> -> avio_w<type>
put_buffer -> avio_write
put_nbyte will be made private
put_tag will be merged with avio_put_str
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 77eb5504d3
)
14 years ago
Anton Khirnov
77eb5504d3
avio: avio: avio_ prefixes for put_* functions
...
In the name of consistency:
put_byte -> avio_w8
put_<type> -> avio_w<type>
put_buffer -> avio_write
put_nbyte will be made private
put_tag will be merged with avio_put_str
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