I found how to set ffmpeg encodec

jhsxy2005

Member
before,I ask how set ffmpeg nvenc lossless encodec,but no useful answer
just now,OBS can set parameter like:
cabac=1 / 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=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=0 / threads=6 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=1 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc=cqp / mbtree=0 / qp=0

so,I used:
ffmpeg - h264_nvenc preset=11
because:
h264_nvenc AVOptions:
-preset <int> E..V.... Set the encoding preset (from 0 to 11) (default medium)
default E..V....
slow E..V.... hq 2 passes
medium E..V.... hq 1 pass
fast E..V.... hp 1 pass
hp E..V....
hq E..V....
bd E..V....
ll E..V.... low latency
llhq E..V.... low latency hq
llhp E..V.... low latency hp
lossless E..V....
losslesshp E..V....

now,I can get lossless vedio and audio!
 

Attachments

  • 2017-02-16 22 18 14.png
    2017-02-16 22 18 14.png
    10.7 KB · Views: 115
  • 2017-02-16 22 21 24.png
    2017-02-16 22 21 24.png
    27.6 KB · Views: 110
Top