CAVLC Entropy Coding

Archived from the Transloadit support forum. Originally posted on August 23, 2011; details may be outdated, see our docs for current behavior. Original thread

do you know how we have to set the ffmpeg params to get CAVLC Entropy Coding in place?

our template is here https://transloadit.com/templates/view/REDACTED

thanks
Ivo

CAVLC is much worse than than the default CABAC algorithm, but from what I read it’s needed for the baseline profile, right?

Anyway, to disable CABAC and enable CAVLC use: "ffmpeg": {"coder": "0"}

HTH, Felix

thanks. can i still leave the other settings in or are they not nessessary:

`“ffmpeg”: {

    "coder": "0",
    "vcodec": "libx264",
    "f": "mp4",
    "acodec": "libfaac",
    "ab": "64k",
    "ar": "48k",
    "threads": 3,
    "vpre": [
      "slow",
      "baseline"
    ]`

thanks. can i still leave the other settings in or are they not nessessary:

No, you will need all remaining settings.

Btw. are you sure that CAVLC wasn’t working for you so far? The “baseline” vpre setting has coder=0 in it, so you shouldn’t have to set it.

--fg

we got directions from our headquarters to have this settings for baseline
VBR; Baseline Profile; Level 3.0; CAVLC Entropy Coding

our current baseline video output looks like this

Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : [email blocked] Format settings, CABAC : No Format settings, ReFrames : 5 frames Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 24mn 51s Bit rate mode : Variable Bit rate : 96.0 Kbps Width : 416 pixels Height : 312 pixels Display aspect ratio : 4:3 Frame rate mode : Variable Frame rate : 12.501 fps Minimum frame rate : 12.500 fps Maximum frame rate : 25.000 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.059 Stream size : 16.7 MiB (51%) Writing library : x264 core 114 r1913 5fd3dce Encoding settings : cabac=0 / ref=5 / deblock=1:0:0 / analyse=0x1:0x111 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=cbr / mbtree=1 / bitrate=96 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=96 / vbv_bufsize=96 / nal_hrd=none / ip_ratio=1.41 / aq=1:1.00

does cabac=0 means CAVLC then we are fine already i guess

does cabac=0 means CAVLC then we are fine already i guess

Yes, that’s what it means for x264!

--fg