BelledonneCommunications / mediastreamer2

Linphone.org mirror for mediastreamer2 (git://git.linphone.org/mediastreamer2.git)
http://linphone.org
GNU Affero General Public License v3.0
133 stars 104 forks source link

[Bug]: Question enable h264 #36

Closed pergolafabio closed 1 year ago

pergolafabio commented 2 years ago

Context

Hi @fgrisez , sorry for tagging, but i saw you active on this github

I have a simple question, hoping you can help me out... Using Debian 11 , and i want to use the Console version of linphone, so i installed it with:

apt-get install -y git ffmpeg libavcodec-dev libswscale-dev libavutil-dev libx264-dev liblinphone-dev linphone-nogtk I enabled the h264 codec in the linphonerc file:

[video_codec_0]
mime=H264
rate=90000
enabled=1
send_fmtp=profile-level-id=42801F; packetization-mode=0
recv_fmtp=profile-level-id=42801F; packetization-mode=0

[video_codec_1]
mime=H264
rate=90000
enabled=1
send_fmtp=profile-level-id=42801F; packetization-mode=1
recv_fmtp=profile-level-id=42801F; packetization-mode=1

When i start, i get this error below... What do i need to install extra to enable h264 ?

thnx in advance!!

2022-05-31 11:41:55:590 mediastreamer-message-Could not find encoder for H264
2022-05-31 11:41:55:590 liblinphone-warning-Codec H264/90000 read from conf is not supported by mediastreamer2, ignored.
2022-05-31 11:41:55:590 mediastreamer-message-Could not find encoder for H264
2022-05-31 11:41:55:590 liblinphone-warning-Codec H264/90000 read from conf is not supported by mediastreamer2, ignored.

General information

Expected behaviour

Enable h264

To Reproduce

not relevant

Additional context

Add any other context about the problem here.

SDK logs URL

No response