The scope of this post is, like almost all of the past ones in this blog, is to make easier to get the command to convert the video before upload to Odysee-Lbry platforms.
Please keep in mind that those platforms could already change this command recommended by them, so it might not be useful for the time you read this post.
lost spent already time enough uploading my videos with error, trying it again, and finally found the command that Odysee-Lbry propose to convert video to their requirements. Now that I write this post I did not lose time uploading video, but yes looking for the command. So I write this note-post to get it as fast as possible. (Because I look into my blog-notebook)
ffmpeg -i input.avi -c:v libx264 -crf 21 -preset faster -pix_fmt yuv420p -maxrate 5000K -bufsize 5000K -vf 'scale=if(gte(iw\,ih)\,min(1920\,iw)\,-2):if(lt(iw\,ih)\,min(1920\,ih)\,-2)' -movflags +faststart -c:a aac -b:a 160k output.mp4
So if you found this information here and you saved time, glad for you, my secondary goal writing this was accomplished thanks to you.