Limin Wang
787c56b9e9
avformat/mxfenc: fix warning: unused function 'klv_ber_length' [-Wunused-function]
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
5 years ago
Andreas Rheinhardt
1147759552
avformat/mux: Use const AVPacket * in compare functions
...
There is no reason for these functions to modify the given packets at
all.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago
Baptiste Coudurier
9e24b98b15
avformat/mxfenc: fix index byte count in partition header
6 years ago
Baptiste Coudurier
b401a4ab8a
avformat/mxfenc: support XAVC long gop
6 years ago
Mark Reid
283ce69a10
avformat/mxfenc: allow user comments for opatom muxer
...
Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years ago
Marton Balint
70c86deb8e
avformat/mxfenc: support writing subsecond precision timestamps
...
Signed-off-by: Marton Balint <cus@passwd.hu>
6 years ago
Paul B Mahol
7b2a9aaa0b
avformat/mxfenc: fix typo
6 years ago
Paul B Mahol
14156e607d
avformat/mxfenc: calculate and store DAR from user SAR
6 years ago
Paul B Mahol
5e0d54a031
avformat/mxfenc: allow muxing prores
6 years ago
Baptiste Coudurier
8c733013af
avformat/mxfenc: simplify dnxhd handling and add more flavors
6 years ago
Carl Eugen Hoyos
b9136c1b90
lavf/mxfenc: Remove a write-only variable.
...
Fixes the following warning:
libavformat/mxfenc.c:2125:22: warning: variable 'frame_size' set but not used
6 years ago
Carl Eugen Hoyos
b4e29e6225
lavf/mxfenc: Remove two unused variables.
...
Fixes the following warnings:
libavformat/mxfenc.c:2036:9: warning: unused variable 'i'
libavformat/mxfenc.c:2125:9: warning: unused variable 'i'
6 years ago
Baptiste Coudurier
9b7ab57953
lavf/mxfenc: support creating s436m data tracks
6 years ago
Baptiste Coudurier
bb89109a0a
avformat/mxfenc: correctly set content package rate in system element
6 years ago
Baptiste Coudurier
84e8a87ca0
avformat/mxfenc: update body partition with footer offset
6 years ago
Baptiste Coudurier
ea55a11ced
avformat/mxfenc: add mpeg-2 specific metadata, fix compatibility with sony content browser
6 years ago
Baptiste Coudurier
3d38e45eb8
avformat/mxfenc: write index delta entry array needed by sony vegas pro 11
6 years ago
Jason Stevens
384dcd66a2
libavformat/mxfenc: fix dnxhr ul typo
...
byte 8 of dnxhr codec ul should be 0x0D
Signed-off-by: Jason Stevens <jay@wizardofthenet.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years ago
Jason Stevens
5632044939
libavformat/mxfenc: add missing dnxhr mxfcontainer essence ULs
...
Add missing dnxhr mxf container essence ULs to the mxf encoder.
This fixes dnxhr mxf files being quarantined by Avid Media Composer.
Signed-off-by: Jason Stevens <jay@wizardofthenet.com>
Reviewed-by: Baptiste Coudurier
6 years ago
Baptiste Coudurier
130de9142e
avformat/mxfenc: automatically update descriptors klv size
6 years ago
Baptiste Coudurier
955a989341
avformat/mxfenc: fix muxing when audio tracks are longer than video track
6 years ago
Michael Niedermayer
df3d962d2e
libavformat/mxfenc: Add some () to attempt to workaround build issue on osx
...
fixes ticket7209
Tested-by: Jim DeLaHunt <from.ffmpeg-dev@jdlh.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
Michael Niedermayer
10ca419dd8
avformat/mxfenc: Set color siting to 0 for D10-MXF
...
SMPTE 386M (D-10) lists 4 as value to be used
SMPTE 377-1-2009 says
"The definitions of 00h (coSiting) and 04h (Rec 601) are equivalent. The value of 04h is deprecated. New
MXF encoders shall use the value of 00h instead."
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
Michael Niedermayer
d628caf54f
avformat/mxfenc: Add Sample width/height/x offset/y offset, Display x offset and F2 offset
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
Thomas Mundt
a3a6d4da62
avformat/mxfenc: add h264 profiles
...
Signed-off-by: Thomas Mundt <tmundt75@gmail.com>
Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
Michael Niedermayer
293a6e8332
avformat/mxfenc: Write transfer characteristic
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
Michael Niedermayer
c35ca7e01c
avformat/mxfenc: Add Stored F2 Offset / Image Start/End Offset for D10
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
Michael Niedermayer
530ac1e50b
avformat/mxfenc: Write Audio Ref Level for D10
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
Michael Niedermayer
1246754c80
avformat/mxfenc: Add Padding Bits
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
Michael Niedermayer
6d0339096e
avformat/mxfenc: add white/black ref /color range
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
Michael Niedermayer
2bee43b67d
avformat/mxfenc: Add vertical subsampling support
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
Michael Niedermayer
77cbe698cd
avformat/mxfenc: Fix stored width
...
This fixes the width to have computations matching the height
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
Michael Niedermayer
1b6c89ca8d
avformat/mxfenc: Add object model version
...
Other tools (XFConvert at least) write this as well.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
Michael Niedermayer
86c9250923
avformat/mxfenc: Add Product Version, Toolkit version and Platform
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
Michael Niedermayer
3ba1bbb4f9
avformat/mxfenc: Bump minor versions for S377-1-2009
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
Michael Niedermayer
5c70513418
avformat/mxfenc: Correct KAG alignment of preface
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
Mark Reid
901d87aa83
avformat/mxfenc: write reel_name if metadata key is present
...
Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
Mark Reid
ad2641c36b
avformat/mxfenc: use track count to generate component instance uuid
...
Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
Mark Reid
62f7f40caa
avformat/mxfenc: pass MXFPackage around instead of type
...
Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
Michael Niedermayer
ef973bd98d
avformat/mxfenc: Fix labels for IEC PAL DV 420
7 years ago
Michael Niedermayer
a56ec48d42
avformat/mxfenc: Add IEC DV25
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
Tobias Rapp
3ffd3b7f5f
avformat/mxfenc: cosmetic changes
...
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
7 years ago
Tobias Rapp
35d6be199a
avformat/mxfenc: fix aspect ratio when writing 16:9 DV frames
...
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
7 years ago
Michael Niedermayer
de03eb622d
avformat/mxfenc: Correct the Sample rate for PCM outside D10
...
Based on mail from IRT
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
Michael Niedermayer
4c33ec004f
avformat/mxfenc: Comment edit rate write code like the surrounding code
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
Michael Niedermayer
4c88087f93
avformat/mxfenc: Replace more literal magic numbers by enum values.
...
This also moves the enum table up as it is needed earlier
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
Michael Niedermayer
f762555a90
avformat/mxfenc: Replace literal numbers by named enum values.
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
Michael Niedermayer
429f3266c1
avformat/mxfenc: Check that the video codec in D-10 is MPEG-2
...
Others do not work, but nothing rejects them prior to this patch if the
parameters otherwise match
Reviewed-by: Matthieu Bouron <matthieu.bouron@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
Carl Eugen Hoyos
d0c1b9821a
lavf/mxfenc: Do not print a useless error message.
...
The option d10_channelcount only exists for mxf_d10.
8 years ago
Anton Khirnov
83548fe894
lavf: fix usage of AVIOContext.seekable
...
It is supposed to be a flag. The only currently defined value is
AVIO_SEEKABLE_NORMAL, but other ones may be added in the future.
However all the current lavf code treats this field as a bool (mainly
for historical reasons).
Change all those cases to properly check for AVIO_SEEKABLE_NORMAL.
8 years ago