[FFmpeg-user] Warning: data is not aligned! This can lead to a speedloss

Ganesh.Irelan at syda.org Ganesh.Irelan at syda.org
Wed Oct 18 18:56:17 EEST 2017


Hello,

The following command seems to execute fine with no perceptible loss in audio sync but there is a warning issued: [swscaler @ 0x7ffc8a823800] Warning: data is not aligned! This can lead to a speedloss.
  What is causing it and how can I eliminate it?

Thank you,
Kevin



./ffmpeg -i "/Volumes/Drobo5N/drb125201a00084/1/primary/Video/New Files/John/John 1/38944_PRM.mov" -vf crop=704:480:8:0,scale=640:480,setsar=1:1 -vcodec libx264 -pix_fmt yuv420p -acodec aac -crf 12 "/Users/ganesh/Desktop/38944_CROP3.mp4"

ffmpeg version 3.1.1-tessus Copyright (c) 2000-2016 the FFmpeg developers
  built with Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
  configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --as=yasm --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzmq --enable-version3 --disable-ffplay --disable-indev=qtkit --disable-indev=x11grab_xcb
  libavutil      55. 28.100 / 55. 28.100
  libavcodec     57. 48.101 / 57. 48.101
  libavformat    57. 41.100 / 57. 41.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 47.100 /  6. 47.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
Guessed Channel Layout for Input Stream #0.2 : mono
Guessed Channel Layout for Input Stream #0.3 : mono
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Volumes/Drobo5N/drb125201a00084/1/primary/Video/New Files/John/John 1/38944_PRM.mov':
  Metadata:
    creation_time   : 2017-09-01 12:19:22
  Duration: 00:15:13.18, start: 0.000000, bitrate: 226032 kb/s
    Stream #0:0(eng): Video: v210 (v210 / 0x30313276), yuv422p10le(bt470bg/smpte240m/bt709), 720x486, 223725 kb/s, SAR 10:11 DAR 400:297, 29.97 fps, 29.97 tbr, 30k tbn, 30k tbc (default)
    Metadata:
      creation_time   : 2017-09-01 12:19:22
      handler_name    : Apple Alias Data Handler
      encoder         : 10 bit YCbCr
      timecode        : 00:00:00:00
    Stream #0:1(eng): Data: none (tmcd / 0x64636D74) (default)
    Metadata:
      creation_time   : 2017-09-01 12:19:22
      handler_name    : Apple Alias Data Handler
      reel_name       : Untitled
      timecode        : 00:00:00:00
    Stream #0:2(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
    Metadata:
      creation_time   : 2017-09-01 12:19:22
      handler_name    : Apple Alias Data Handler
    Stream #0:3(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
    Metadata:
      creation_time   : 2017-09-01 12:19:22
      handler_name    : Apple Alias Data Handler
[Parsed_setsar_2 @ 0x7ffc8a416900] num:den syntax is deprecated, please use num/den or named options instead
[libx264 @ 0x7ffc8b027a00] using SAR=1/1
[libx264 @ 0x7ffc8b027a00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0x7ffc8b027a00] profile High, level 3.0
[libx264 @ 0x7ffc8b027a00] 264 - core 148 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=12.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[mp4 @ 0x7ffc8b026800] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
    Last message repeated 1 times
Output #0, mp4, to '/Users/ganesh/Desktop/38944_CROP3.mp4':
  Metadata:
    encoder         : Lavf57.41.100
    Stream #0:0(eng): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 640x480 [SAR 1:1 DAR 4:3], q=-1--1, 0.03 fps, 30k tbn, 29.97 tbc (default)
    Metadata:
      creation_time   : 2017-09-01 12:19:22
      handler_name    : Apple Alias Data Handler
      timecode        : 00:00:00:00
      encoder         : Lavc57.48.101 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    Stream #0:1(eng): Audio: aac (LC) ([64][0][0][0] / 0x0040), 48000 Hz, mono, fltp (24 bit), 69 kb/s (default)
    Metadata:
      creation_time   : 2017-09-01 12:19:22
      handler_name    : Apple Alias Data Handler
      encoder         : Lavc57.48.101 aac
Stream mapping:
  Stream #0:0 -> #0:0 (v210 (native) -> h264 (libx264))
  Stream #0:2 -> #0:1 (pcm_s24le (native) -> aac (native))
Press [q] to stop, [?] for help
[swscaler @ 0x7ffc8a823800] Warning: data is not aligned! This can lead to a speedloss
frame=27368 fps= 37 q=-1.0 Lsize=  989144kB time=00:15:13.19 bitrate=8873.3kbits/s speed=1.22x
video:980356kB audio:7814kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.098621%
[libx264 @ 0x7ffc8b027a00] frame I:113   Avg QP:10.89  size: 78051
[libx264 @ 0x7ffc8b027a00] frame P:7672  Avg QP:13.80  size: 46260
[libx264 @ 0x7ffc8b027a00] frame B:19583 Avg QP:15.62  size: 32690
[libx264 @ 0x7ffc8b027a00] consecutive B-frames:  4.6%  0.0%  0.1% 95.3%
[libx264 @ 0x7ffc8b027a00] mb I  I16..4:  7.0% 73.1% 19.9%
[libx264 @ 0x7ffc8b027a00] mb P  I16..4:  0.7% 43.8%  2.3%  P16..4: 13.0% 24.9% 15.2%  0.0%  0.0%    skip: 0.1%
[libx264 @ 0x7ffc8b027a00] mb B  I16..4:  0.3% 30.0%  0.9%  B16..8: 25.7% 19.6%  8.8%  direct:14.0%  skip: 0.8%  L0:36.8% L1:28.3% BI:34.9%
[libx264 @ 0x7ffc8b027a00] 8x8 transform intra:95.1% inter:54.7%
[libx264 @ 0x7ffc8b027a00] coded y,uvDC,uvAC intra: 99.9% 94.9% 71.1% inter: 92.0% 87.0% 15.4%
[libx264 @ 0x7ffc8b027a00] i16 v,h,dc,p:  7%  4% 20% 70%
[libx264 @ 0x7ffc8b027a00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  9% 23% 38%  4%  3%  3%  6%  4% 10%
[libx264 @ 0x7ffc8b027a00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 28% 16%  6%  7%  5% 11%  5% 12%
[libx264 @ 0x7ffc8b027a00] i8c dc,h,v,p: 45% 25% 22%  8%
[libx264 @ 0x7ffc8b027a00] Weighted P-Frames: Y:2.7% UV:1.4%
[libx264 @ 0x7ffc8b027a00] ref P L0: 36.1% 13.0% 30.6% 20.1%  0.2%
[libx264 @ 0x7ffc8b027a00] ref B L0: 69.5% 23.1%  7.4%
[libx264 @ 0x7ffc8b027a00] ref B L1: 87.1% 12.9%
[libx264 @ 0x7ffc8b027a00] kb/s:8794.63
[aac @ 0x7ffc8b800c00] Qavg: 202.928


This e-mail (including any attachments) is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are notified that any dissemination, distribution or copying of it (including any attachments), or taking any actions based on it, is prohibited. If you have received this e-mail in error, please immediately notify the sender by reply e-mail, delete the original, and destroy any copies or printouts. Thank you. em-tr-v1-2016



More information about the ffmpeg-user mailing list