Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The funniest and most depressing part of all this is that twitter 'gifs' are mp4s


What video compression they use inside mp4 container?


Picked a "gif" at random:

  Format                                   : MPEG-4
  Format profile                           : Base Media / Version 2
  Codec ID                                 : mp42
  File size                                : 1.61 MiB
  Duration                                 : 4s 890ms
  Overall bit rate                         : 2 766 Kbps
  Encoded date                             : UTC 2018-06-07 09:34:57
  Tagged date                              : UTC 2018-06-07 09:34:57

  Video
  ID                                       : 1
  Format                                   : AVC
  Format/Info                              : Advanced Video Codec
  Format profile                           : Baseline@L3.0
  Format settings, CABAC                   : No
  Format settings, ReFrames                : 1 frame
  Codec ID                                 : avc1
  Codec ID/Info                            : Advanced Video Coding
  Duration                                 : 4s 890ms
  Bit rate                                 : 2 764 Kbps
  Width                                    : 720 pixels
  Height                                   : 414 pixels
  Display aspect ratio                     : 1.739
  Frame rate mode                          : Variable
  Frame rate                               : 33.538 fps
  Original frame rate                      : 1 000.000 fps
  Minimum frame rate                       : 33.333 fps
  Maximum frame rate                       : 1 000.000 fps
  Color space                              : YUV
  Chroma subsampling                       : 4:2:0
  Bit depth                                : 8 bits
  Scan type                                : Progressive
  Bits/(Pixel*Frame)                       : 0.276
  Stream size                              : 1.61 MiB (100%)
  Title                                    : Twitter v1.0-757770b7c8e9d79a526cdff77e74666386274fdf
  Writing library                          : x264 core 148
  Encoding settings                        : cabac=0 / ref=1 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=2 / psy=0 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=1 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc=crf / mbtree=0 / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=2:1.00
  Encoded date                             : UTC 2018-06-07 09:34:57
  Tagged date                              : UTC 2018-06-07 09:34:57




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: