Anton Khirnov
d1ba5d883e
lavc/dv: remove ff_dvvideo_init()
...
The function contains only two assignments, setting DVVideoContext.avctx
and AVCodecContext.chroma_sample_location. However, the decoder does not
use the former, and the encoder should not be setting the latter.
Therefore move the first assignment to dvenc and the second to dvdec.
Make the encoder warn if the user-signalled chroma sample location does
not match the supported one, and return an error on higher compliance
levels.
2022-09-05 08:02:28 +02:00
Marton Balint
4afe4a542e
avformat/mxfenc: allow more bits for variable part in uuid generation
...
Also make sure we do not change the product UID.
Signed-off-by: Marton Balint <cus@passwd.hu>
2022-03-16 21:37:53 +01:00
Limin Wang
9605307e78
avformat/mxf: add platform local tag
...
Please check the string of platform with below command:
./ffmpeg -i ../fate-suite/mxf/Sony-00001.mxf -c:v copy -c:a copy out.mxf
./ffmpeg -i out.mxf
....
application_platform: Lavf (linux)
Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se>
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
2021-02-05 09:27:06 +08:00
Marton Balint
b410b14fba
avformat/mxfenc: add Coding Equations and Color Primaries to local tags
...
Fixes ticket #9079 .
Signed-off-by: Marton Balint <cus@passwd.hu>
2021-01-27 23:43:19 +01:00
Jan Ekström
7369595c55
ffmpeg: pass decoded or filtered AVFrame to output stream initialization
...
Additionally, reap the first rewards by being able to set the
color related encoding values based on the passed AVFrame.
The only tests that seem to have changed their results with this
change seem to be the MXF tests. There, the muxer writes the
limited/full range flag to the output container if the encoder
is not set to "unspecified".
2020-10-29 16:59:49 +02:00
James Almer
fda424b300
Merge commit '618d02c1fa9e74d490cace64a7d15762656b521c'
...
* commit '618d02c1fa9e74d490cace64a7d15762656b521c':
tests: Convert lavf container tests to non-legacy test scripts
Merged-by: James Almer <jamrial@gmail.com>
2019-03-14 14:36:24 -03:00
Baptiste Coudurier
84e8a87ca0
avformat/mxfenc: update body partition with footer offset
2018-10-12 12:27:43 -07:00
Baptiste Coudurier
ea55a11ced
avformat/mxfenc: add mpeg-2 specific metadata, fix compatibility with sony content browser
2018-10-12 12:26:01 -07:00
Baptiste Coudurier
3d38e45eb8
avformat/mxfenc: write index delta entry array needed by sony vegas pro 11
2018-10-12 12:15:38 -07:00
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>
2018-05-12 01:08:01 +02:00
Michael Niedermayer
293a6e8332
avformat/mxfenc: Write transfer characteristic
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-05-08 23:02:58 +02:00
Michael Niedermayer
c35ca7e01c
avformat/mxfenc: Add Stored F2 Offset / Image Start/End Offset for D10
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-05-08 23:02:58 +02:00
Michael Niedermayer
530ac1e50b
avformat/mxfenc: Write Audio Ref Level for D10
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-05-08 23:02:58 +02:00
Michael Niedermayer
1246754c80
avformat/mxfenc: Add Padding Bits
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-05-08 23:02:58 +02:00
Michael Niedermayer
6d0339096e
avformat/mxfenc: add white/black ref /color range
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-05-08 23:02:58 +02:00
Michael Niedermayer
2bee43b67d
avformat/mxfenc: Add vertical subsampling support
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-05-08 23:02:58 +02:00
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>
2018-05-08 23:02:58 +02:00
Michael Niedermayer
86c9250923
avformat/mxfenc: Add Product Version, Toolkit version and Platform
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-05-08 23:02:58 +02:00
Michael Niedermayer
3ba1bbb4f9
avformat/mxfenc: Bump minor versions for S377-1-2009
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-05-08 23:02:58 +02:00
Michael Niedermayer
5c70513418
avformat/mxfenc: Correct KAG alignment of preface
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-05-08 23:02:58 +02:00
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>
2017-12-08 20:02:16 +01:00
Michael Niedermayer
ef973bd98d
avformat/mxfenc: Fix labels for IEC PAL DV 420
2017-10-03 18:34:37 +02:00
Tobias Rapp
147bface1a
fate: add mxf_dv25/dvcpro50 regression tests
...
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
2017-09-18 08:56:52 +02:00