Advanced encoding settings

Terakhir diperbaharui: Kamis, 25 Agustus 2016 pukul 15:12
Tautan: http://darto.id/44

Recommended bitrates, codecs, and resolutions, and more

Container: .mp4

  • No Edit Lists (or you may lose AV sync)
  • moov atom at the front of the file (Fast Start)

Audio Codec: AAC-LC

  • Channels: Stereo or Stereo + 5.1
  • Sample rate 96khz or 48 khz

Video Codec: H.264

  • Progressive scan (no interlacing)
  • High Profile
  • 2 consecutive B frames
  • Closed GOP. GOP of half the frame rate.
  • CABAC
  • Variable bitrate. No bitrate limit required, though we offer recommended bit rates below for reference
  • Color Space: 4.2.0

Frame rates

Frame rates should match the source material. For example, content shot in 24fps should be encoded and uploaded at 24fps. Content recorded at 30fps should be uploaded at 30fps. Content shot in 720p60, should be uploaded at 720p60. Content at 1080i 60, should be deinterlaced, going from 60 interlaced fields per second to 30 progressive frames per second before uploading.

Bitrates

Standard quality uploads

Type Video Bitrate Mono Audio Bitrate Stereo Audio Bitrate 5.1 Audio Bitrate
2160p (4k) 35-45 Mbps 128 kbps 384 kbps 512 kbps
1440p (2k) 10 Mbps 128 kbps 384 kbps 512 kbps
1080p 8,000 kbps 128 kbps 384 kbps 512 kbps
720p 5,000 kbps 128 kbps 384 kbps 512 kbps
480p 2,500 kbps 64 kbps 128 kbps 196 kbps
360p 1,000 kbps 64 kbps 128 kbps 196 kbps

High quality uploads for creators with enterprise quality internet connections

Type Video Bitrate Mono Audio Bitrate Stereo Audio Bitrate 5.1 Audio Bitrate
1080p 50,000 kbps 128 kbps 384 kbps 512 kbps
720p 30,000 kbps 128 kbps 384 kbps 512 kbps
480p 15,000 kbps 128 kbps 384 kbps 512 kbps
360p 5,000 kbps 128 kbps 384 kbps 512 kbps

Resolutions

YouTube uses 16:9 aspect ratio players. If you are uploading a non-16:9 file, it will be processed and displayed correctly as well, with pillar boxes (black bars on the left and right) or letter boxes (black bars at the top and bottom) provided by the player. If you want to fit the player perfectly, encode at these resolutions:

  • 2160p: 3840×2160
  • 1440p: 2560×1440
  • 1080p: 1920×1080
  • 720p: 1280×720
  • 480p: 854×480
  • 360p: 640×360
  • 240p: 426×240

The YouTube player automatically adds black bars so that videos are displayed correctly without cropping or stretching, no matter the size of the video or the player.

For example, the player will automatically add pillarboxing to 4:3 videos in the new 16:9 widescreen player size. If the player is re-sized (i.e. when embedded on another website), the same process takes place so that 16:9 videos are letterboxed when the player is sized to 4:3. Similarly, anamorphic videos will be automatically letterboxed when shown in either 16:9 or 4:3 sized players. The player can only do this if the native aspect ratio of the video is maintained.

 

source: Youtube

Mac OS X Mavericks Screenshot Doesn’t Work

Terakhir diperbaharui: Kamis, 25 Agustus 2016 pukul 15:12
Tautan: http://darto.id/45

After several days try to figure out why Mac OS X Mavericks screenshot doesn’t work anymore. Is it not working or just it’s the location replaced to another folder? Tried with keyboard shortcut Control + Command + Shift + 4 or Control + Command + Shift + 3, but still not working even I heard sound like camera clicks, tried to find the file but there’s no file. I tried everything but still not any result. I gave up.

But there is still the last waty how to take screenshot on Mac. Open Preview app and go to menu File >> Take Screen Shot.

preview

Audio Player: Responsive and Touch-Friendly

Terakhir diperbaharui: Kamis, 25 Agustus 2016 pukul 15:12
Tautan: http://darto.id/47

A jQuery audio player plugin that is responsive and touch-friendly. The UI is css-only, no images used. a jQuery plugin that replaces <audio> element with a little of custom HTML code. By adding some CSS you get a whole new player which looks the way you want and has the same functionality as the default player. There is no direct way to style the element. But the HTML5 DOM has methods, properties, and events for the element and thus makes it quite easily manipulable.

Tested the player and it works fine on the latest Safari, Chrome, Firefox, Opera both Mac and Windows versions. The player works well on Internet Explorer 9, 10 and gracefully degrades to mini mode on earlier versions. I have also been lucky with iOS 6, Windows Phone 7 and Android 4.2 default browsers. However, the earlier Android versions does not support “audio” nor “embed” elements, so the player won’t work there at all.