Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Updated:

質問

Question :

How to specify the parameters such as resolution to covert MP4 of live video by ADAM_MP4Rec_Start()

...


回答

解像度、ビットレート、フレームレートはi-PROカメラの設定に従います。

i-PROカメラのライブ配信で使用している映像データをMP4化しているため、解像度、ビットレート、フレームレートは、それぞれストリーム(1)~(4)の設定パラメータに従います。
そのため、MP4ファイルのパラメータを変更したい場合は、i-PROカメラ本体の設定を変更ください。

i-PROカメラ本体の設定変更は、カメラの取扱説明書をご参照ください。

Note

ビットレートと指定時間により1ファイルのサイズが決定しますが、サイズが大きすぎる場合はファイルの生成に失敗します。
1ファイル30MB程度(4Mbpsで60秒)を目安に設定いただくと、ファイル生成失敗を防ぐことができます。

...

Answer

Resolution, Bitrate, and framerate are followed by camera setting.

Because live video of i-PRO camera is converted to MP4, Resolution, Bitrate, and framerate are followed by each stream(1) - (4) parameters of camera.
Therefore, please change camera setting if you want to change MP4 file parameter.

Please refer to the Operating Instruction for camera setting. You can get Operating Instruction from below link.
https://i-pro.com/global/en/surveillance/training-support/documentation-database-list

Note

File size depends on bitrate and specified time, but if the size is too big, it leads to file generation failure.
As a rough indication, approximately 30MB (4Mbps/60sec) is better for one file.

 AdamAPI for Python

  • adam_mp4rec_start()