Q: ffmpeg command x265 param option for android device I wanto encode HEVC video to be played on my android phone.
in this page from anroid says that only Lollipop+ will supported HEVC. and the Profile : main, Level 3.
But ffmpeg encoding x265 not supproted profiling. I know some answer of this question, But thats is for Profile main10. I need -x265-param for profile: main, Level : 3.
this option is for Profile Main level 10 :
-x265-params keyint=1:ref=1:no-open-gop=1:weightp=0:weightb=0:cutree=0:rc- 
lookahead=0:bframes=0:scenecut=0:b-adapt=0:repeat-headers=1 <output_filename>

how about for level 3 ?

A: Add level-idc=30 to x265-params for level 3.0. The actual level set may be lower, which is fine. If you use a recent git build or 4.0 release, you can add -profile main to the command for setting profile.
