Standard Definition
NB: OBE-VoD can only encode to AVC currently. MPEG-2 support is in development.
These settings create generic transport stream types. View the CableLabs or DVB sections for specific information on how to setup these stream types.
Before starting this guide you should be aware of any restrictions (or lack thereof) on AVC Profile and Level. A common restriction is Main Profile at Level 3.0. However, many providers will allow High Profile, which usually provides increased quality.
Note: The settings here are for two pass encodes. If there are time constraints it is possible to not run the first command and delete the "--pass 2" switch in the second encode. It is also not necessary to add any Audio or Muxing options to the first pass. Top Field First is assumed. If you require Bottom Field First replace --tff with:
--bff
Some streams may require a custom SAR. To set SAR add the following option:
--sar X:X
NTSC
480p23.98
obe-vod INPUT.FILE --preset XXXXX --tune XXXXX --fps 24000/1001 --profile main --level 3.0 --pulldown 32 --no-interlaced --nal-hrd fakevbr --vbv-maxrate XXXXX --vbv-bufsize XXXXX --bitrate XXXXX --keyint 15 --weightp 1 --open-gop normal --colorprim "smpte170m" --transfer "smpte170m" --colormatrix "smpte170m" --pass 1 -o NUL obe-vod INPUT.FILE --preset XXXXX --tune XXXXX --fps 24000/1001 --profile main --level 3.0 --pulldown 32 --no-interlaced --nal-hrd fakevbr --vbv-maxrate XXXXX --vbv-bufsize XXXXX --bitrate XXXXX --keyint 15 --weightp 1 --open-gop normal --colorprim "smpte170m" --transfer "smpte170m" --colormatrix "smpte170m" --pass 2 -o out.ts
480p29.97
obe-vod INPUT.FILE --preset XXXXX --tune XXXXX --fps 30000/1001 --profile main --level 3.0 --pulldown 22 --fake-interlaced --no-interlaced --nal-hrd fakevbr --vbv-maxrate XXXXX --vbv-bufsize XXXXX --bitrate XXXXX --keyint 15 --weightp 1 --open-gop normal --colorprim "smpte170m" --transfer "smpte170m" --colormatrix "smpte170m" --pass 1 -o NUL obe-vod INPUT.FILE --preset XXXXX --tune XXXXX --fps 30000/1001 --profile main --level 3.0 --pulldown 22 --fake-interlaced --no-interlaced --nal-hrd fakevbr --vbv-maxrate XXXXX --vbv-bufsize XXXXX --bitrate XXXXX --keyint 15 --weightp 1 --open-gop normal --colorprim "smpte170m" --transfer "smpte170m" --colormatrix "smpte170m" --pass 2 -o out.ts
480i60
obe-vod INPUT.FILE --preset XXXXX --tune XXXXX --fps 30000/1001 --profile main --level 3.0 --tff --nal-hrd fakevbr --vbv-maxrate XXXXX --vbv-bufsize XXXXX --bitrate XXXXX --keyint 12 --weightp 1 --open-gop normal --colorprim "smpte170m" --transfer "smpte170m" --colormatrix "smpte170m" --pass 1 -o NUL obe-vod INPUT.FILE --preset XXXXX --tune XXXXX --fps 30000/1001 --profile main --level 3.0 --tff --nal-hrd fakevbr --vbv-maxrate XXXXX --vbv-bufsize XXXXX --bitrate XXXXX --keyint 12 --weightp 1 --open-gop normal --colorprim "smpte170m" --transfer "smpte170m" --colormatrix "smpte170m" --pass 2 -o out.ts
PAL
576p25
If the entire stream is 25p you can gain significant compression benefits by using fake-interlaced mode. This flags the stream as interlaced, yet encodes it progressively.
obe-vod INPUT.FILE --preset XXXXX --tune XXXXX --fps 25/1 --profile main --level 3.0 --pulldown 22 --fake-interlaced --no-interlaced --nal-hrd fakevbr --vbv-maxrate XXXXX --vbv-bufsize XXXXX --bitrate XXXXX --keyint 12 --weightp 1 --open-gop normal --colorprim "bt470bg" --transfer "bt470bg" --colormatrix "bt470bg" --pass 1 -o NUL obe-vod INPUT.FILE --preset XXXXX --tune XXXXX --fps 25/1 --profile main --level 3.0 --pulldown 22 --fake-interlaced --no-interlaced --nal-hrd fakevbr --vbv-maxrate XXXXX --vbv-bufsize XXXXX --bitrate XXXXX --keyint 12 --weightp 1 --open-gop normal --colorprim "bt470bg" --transfer "bt470bg" --colormatrix "bt470bg" --pass 2 -o out.ts
576i50
obe-vod INPUT.FILE --preset XXXXX --tune XXXXX --fps 25/1 --profile main --level 3.0 --tff --nal-hrd fakevbr --vbv-maxrate XXXXX --vbv-bufsize XXXXX --bitrate XXXXX --keyint 12 --weightp 1 --open-gop normal --colorprim "bt470bg" --transfer "bt470bg" --colormatrix "bt470bg" --pass 1 -o NUL obe-vod INPUT.FILE --preset XXXXX --tune XXXXX --fps 25/1 --profile main --level 3.0 --tff --nal-hrd fakevbr --vbv-maxrate XXXXX --vbv-bufsize XXXXX --bitrate XXXXX --keyint 12 --weightp 1 --open-gop normal --colorprim "bt470bg" --transfer "bt470bg" --colormatrix "bt470bg" --pass 2 -o out.ts