Transcoding

transcoding

What? the act of converting one of the streams (audio or video) from one CODEC to another one.

Why? sometimes some devices (TVs, smartphones, console and etc) doesn’t support X but Y and newer CODECs provide better compression rate.

How? converting an H264 (AVC) video to an H265 (HEVC).

  1. $ ffmpeg \
  2. -i bunny_1080p_60fps.mp4 \
  3. -c:v libx265 \
  4. bunny_1080p_60fps_h265.mp4