[FFmpeg-user] DNxHD 1080p60

Kasper Folman pneu at pneu.dk
Thu Oct 26 21:19:53 EEST 2017


Hi.

Something weird is happening when I’m trying to do a DNxHD 1080p60 file. The framerate is 59.94 and not 60. 
When I create a similar file in media encoder, it outputs 60 fps.

So bug or my command?

Mediainfo data:
Video
ID                                       : 2
Format                                   : VC-3
Format_Settings_Wrapping                 : Frame
Codec ID                                 : 0D01030102110100-0401020271030000
Duration                                 : 10s 427ms
Bit rate mode                            : Constant
Bit rate                                 : 291 Mbps
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 59.940 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:2
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 2.339
Stream size                              : 361 MiB (99%)

Ffmpeg cmd:
ffmpeg  -i "/media/in/1080i23-976_lower.mov" -filter_complex "[0:0]copy[vOut] ; [0:1]pan=1|c0=c0[a1],[0:1]pan=1|c0=c1[a2],[a1][a2]amerge=inputs=2[aOut0]" -map "[vOut]"  -map "[aOut0]" -c:a pcm_s16le -ar 48000 -field_order progressive -c:v dnxhd -b:v 290M -r 60 -pix_fmt yuv422p -f mxf -y "/media/out/1080i23-976_lower_1080p60 at 290.mxf”

Output:
ffmpeg version 3.4-static http://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 6.4.0 (Debian 6.4.0-7) 20170920
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gray --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-librtmp --enable-libsoxr --enable-libspeex --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/media/dnxhd/in/1080i23-976_lower.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    creation_time   : 2017-05-10T21:46:36.000000Z
  Duration: 00:00:10.43, start: 0.000000, bitrate: 171853 kb/s
    Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le(bt709, bottom coded first (swapped)), 1920x1080, 170302 kb/s, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 24k tbn, 24k tbc (default)
    Metadata:
      creation_time   : 2017-05-10T21:46:36.000000Z
      handler_name    : Apple Alias Data Handler
      encoder         : Apple ProRes 422 (HQ)
      timecode        : 00:00:00:00
    Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s (default)
    Metadata:
      creation_time   : 2017-05-10T21:46:36.000000Z
      handler_name    : Apple Alias Data Handler
      timecode        : 00:00:00:00
    Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
    Metadata:
      creation_time   : 2017-05-10T21:47:37.000000Z
      handler_name    : Apple Alias Data Handler
      timecode        : 00:00:00:00
Output #0, mxf, to '/media/dnxhd/out/1080i23-976_lower_1080p60 at 290.mxf':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    encoder         : Lavf57.56.101
    Stream #0:0: Video: dnxhd (DNXHD), yuv422p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-1024, 290000 kb/s, 60 fps, 59.94 tbn, 60 tbc (default)
    Metadata:
      encoder         : Lavc57.64.101 dnxhd
    Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s (default)
    Metadata:
      encoder         : Lavc57.64.101 pcm_s16le
Stream mapping:
  Stream #0:0 (prores) -> copy
  Stream #0:1 (pcm_s16le) -> pan
  Stream #0:1 (pcm_s16le) -> pan
  setsar -> Stream #0:0 (dnxhd)
  amerge -> Stream #0:1 (pcm_s16le)


More information about the ffmpeg-user mailing list