How to get PTS from the H264 decoder Module ?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to get PTS from the H264 decoder Module ?

ソリューションへジャンプ
3,508件の閲覧回数
subodh
Contributor III

Hi,

I am trying to write a sample media player on iMX6.

One of the primary objectives is to understand the synchronization between audio and video.

To accomplish this my application needs to get video PTS from decoder and the submit the corresponding

audio data to the AACPlus decoder API.

The VPU documentation does not mention any specifics about the timing information.

I am not sure but from what I understood, Gstreamer maintains its own clock and submits the data accordingly.

Please guide me on this front regarding AV synchronization.

Thanks in advance.

ラベル(4)
0 件の賞賛
返信
1 解決策
2,960件の閲覧回数
igorpadykov
NXP Employee
NXP Employee
0 件の賞賛
返信
3 返答(返信)
2,960件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Subodh

you are correct VPU does not maintain audio synchro

it is done in gstreamer . Please check timestamping API

gstreamer documentation below

GStreamer: Documentation

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/pwg/pwg.pdf

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信
2,960件の閲覧回数
subodh
Contributor III

Hi Igor,

I want to write a native player around the vpu API, in that case what method would you suggest for AV Synchronization.

0 件の賞賛
返信
2,961件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Subodh

I think you can look below and choose what is suitable

http://en.wikipedia.org/wiki/Audio_to_video_synchronization#MPEG:_Presentation_Time_Stamp_.28PTS.29....

Best regards

igor

0 件の賞賛
返信