Closed GoogleCodeExporter closed 8 years ago
In the mean time I managed to modify libavformat/mxfenc.c to produce valid mxf
which include the DisplayYOffset tag.
According to the MXF reference
(http://read.pudn.com/downloads166/doc/fileformat/759223/mxf/SMPTE%20377M-2003%2
0Television%20Material%20Exchange%20Format%20(MXF)%20File%20Format%20Specificati
on%20(Standard)%5BP1.PDF)
It says DisplayYOffset:
"Offset from Sampled to Display Height (see
E.2.20)
[RP210 Specifies the Y offset of the presented
image relative to the sampled image in pixels] "
So I suppose we must also include Sampled Width/Height.
See the attached diff file.
(I'm not sure about if I have to add 32 or just 16 to the size at line 810)
mxf_write_generic_desc(s, st, key,
size+8+8+8+8+32+8+8+5+16+sc->interlaced*(4+5)+12+20);
Original comment by mihaly.b...@gmail.com
on 2 Nov 2011 at 2:19
Attachments:
Thanks, do you need all the tags for the file to work ? Or only DisplayYOffset ?
Original comment by baptiste...@gmail.com
on 2 Nov 2011 at 8:24
As per definition "Offset from Sampled to Display", I suppose we need all of
them (Sampled Width, Sampled Height, DisplayYOffset, DisplayXOffset)
I've tried with setting only DisplayYOffset, but Edius failed to open the file,
however VLC was able to play it, and also MXFAnalyzerLight was able to parse
it. Imho it's not a big issue to include all four parameters, isn't it?
regards, Mihaly
Original comment by mihaly.b...@gmail.com
on 2 Nov 2011 at 10:28
Should be implemented in rc5, can you please verify ?
Original comment by baptiste...@gmail.com
on 12 Jan 2012 at 5:53
Original issue reported on code.google.com by
mihaly.b...@gmail.com
on 28 Oct 2011 at 3:10