Hello Tim!
thank you, it works for PAL and NTSC (720x512/720x480) but there is a
just little bug for NTSC when encoding to 720x486 in "stored dimension"!
My patch only deals with the addition of the display y offset metadata,
it should not touch exisiting metadata, are you saying that the figures
for 'Stored dimensions' are different with and without my patch?


Hello Tim, you are right.
I tried it with a non-patched ffmpeg version, and I got the same result:

MXF File Information:
  Filename                   : I:\IMX_tests\IMX50_FFMPEG_NTSC_NEW.mxf
  MXF version                : 1.2
OP label : OP-1A (internal essence, stream file, multi-track)
  Wrapping type              : Frame
  Material package name      :
  Material start timecode    : 00:00:00:00 (@ 30fps)
  File src start timecode    : 00:00:00:00 (@ 30fps)
  Edit rate                  : 30000/1001
  Precharge                  : 0
  Duration                   : 599
  Rollout                    : 0
  Identifications            :
    Identification 0:
      Generation UID    : adab4424.2f254dc7.92ff29bd.000c0001
      Company name      : FFmpeg
      Product name      : OP1a Muxer
      Product version   : (not set)
      Version string    : 56.25.101
      Product UID       : adab4424.2f254dc7.92ff29bd.000c0002
      Modification date : 0-00-00 00:00:00.000
      Toolkit version   : (not set)
      Platform          : (not set)
Track 0:
  Essence kind         : Picture
  Essence type         : D10 50Mbps
  Essence label        : 060e2b34.04010101.0d010301.02010201
Material package uid : 060a2b34.01010105.01010d00.13c0abba.52947134.3ec0abba.00529471.343ec000
  Material track id    : 2
  Material track number: 0
File package uid : 060a2b34.01010105.01010d00.13c0abba.52947134.3ec0abba.00529471.343ec001
  File track id        : 2
  File track number    : 0x05010100
  Edit rate            : 30000/1001
  Duration             : 599
  Lead filler offset   : 0
  Picture coding label : 060e2b34.04010101.04010202.01020102
  Signal standard      : 0 (None)
  Frame layout         : 1 (Separate Fields)
  Stored dimensions    : 720x496
  Display dimensions   : 720x486
  Display x offset     : 0
  Display y offset     : 0
  Aspect ratio         : 4/3
  AFD                  : (not set)
  Component depth      : 8
  Horiz subsampling    : 2
  Vert subsampling     : 1
  Color siting         : 255 (Unknown)

Used syntax:
ffmpegnew -i <inputfile.avi> -map 0:v -map 0:a -c:v mpeg2video -r 29.97 -pix_fmt yuv422p -aspect 4:3 -minrate 50000k -maxrate 50000k -b:v 50000k -intra -flags +ildct+low_del ay -intra_vlc 1 -non_linear_quant 1 -ps 1 -qmin 1 -qmax 3 -top 1 -dc 10 -bufsize 2000000 -rc_init_occupancy 2000000 -rc_max_vbv_use 1 -rc_min_vbv_use 1 -c:a pcm_s24le -ar 48000 -f mxf_d10 -s 720x486 <outputfile.mxf>


Best Regards
Christoph
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Reply via email to