...
Code Block |
---|
|
video_encoder_second_thread_threshold=408950 |
H264 profile-level-id detection
Since build 5.2.1644 a command line tool is available to detect H264 encoder profile-level-id according to encoding parameters:
Code Block |
---|
|
sudo bash /usr/local/FlashphonerWebCallServer/tools/h264_profile_tool.sh --config=codec,resolution,profile,level[,preset] |
Where
codec
- encoder name: OPENH264
or FF
resolution
- resolutionprofile
- encoding profilelevel
- encoding levelpreset
- encoding preset
For example, with the following encoding parameters
Code Block |
---|
|
sudo bash /usr/local/FlashphonerWebCallServer/tools/h264_profile_tool.sh --config="OPENH264,1280x720,66,31,ultrafast" |
the tool will display the following profile-level-id
Code Block |
---|
|
42c01f <= "OPENH264,66,31,ultrafast,1280x720" |
The tool also may generate a full supported profiles list for all encoders
Code Block |
---|
|
sudo bash /usr/local/FlashphonerWebCallServer/tools/h264_profile_tool.sh --catalog --output=catalog.csv |
or for certain encoder
Code Block |
---|
|
sudo bash /usr/local/FlashphonerWebCallServer/tools/h264_profile_tool.sh --catalog --encoders=OPENH264 --output=openH264.csv |
The list is generated as CSV file in the form
Code Block |
---|
|
codec,profile,level,preset,resolution,profile-level-id |
for example
Code Block |
---|
|
FF,0,0,fast,320x180,42c01e
... |
If there is no encoder library in the server distribution, the tool will display the following error while requesting a profile-level-id
Code Block |
---|
|
Unable to create instance of encoder: FF |
and the following error will be displayed while requesting a full supported profiles list
Code Block |
---|
|
Unsupported encoder: FF |
and CSV file of zero length will be created.
Known issues
1. Encoding quality settings cannot be applied if OpenH264 is used
...