[FFmpeg-cvslog] avformat/mxf: fix NTSC 59.94 samples per frame layout

Marton Balint git at videolan.org
Sun May 27 21:15:00 EEST 2018


ffmpeg | branch: master | Marton Balint <cus at passwd.hu> | Thu May 24 22:03:43 2018 +0200| [2b059813127cdbd0116505b8e8c8e2be0a660b85] | committer: Marton Balint

avformat/mxf: fix NTSC 59.94 samples per frame layout

FFmbc uses this.
bmx uses this.
XAVC MXF Mapping and Operating Points prefers this.
Basic rounding rules also yields these numbers.

Signed-off-by: Marton Balint <cus at passwd.hu>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2b059813127cdbd0116505b8e8c8e2be0a660b85
---

 libavformat/mxf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mxf.c b/libavformat/mxf.c
index a909401f08..c8b57f7f0b 100644
--- a/libavformat/mxf.c
+++ b/libavformat/mxf.c
@@ -134,7 +134,7 @@ static const MXFSamplesPerFrame mxf_spf[] = {
     { { 1001, 24000 }, { 2002, 0,    0,    0,    0,    0 } }, // FILM 23.976
     { { 1, 24},        { 2000, 0,    0,    0,    0,    0 } }, // FILM 24
     { { 1001, 30000 }, { 1602, 1601, 1602, 1601, 1602, 0 } }, // NTSC 29.97
-    { { 1001, 60000 }, { 801,  801,  801,  801,  800,  0 } }, // NTSC 59.94
+    { { 1001, 60000 }, { 801,  801,  800,  801,  801,  0 } }, // NTSC 59.94
     { { 1, 25 },       { 1920, 0,    0,    0,    0,    0 } }, // PAL 25
     { { 1, 50 },       { 960,  0,    0,    0,    0,    0 } }, // PAL 50
     { { 1, 60 },       { 800,  0,    0,    0,    0,    0 } },



More information about the ffmpeg-cvslog mailing list