Hi Niko,

?? Thanks for your help! After going through the demo code I see what's going 
on. So we have to find the syncing solution by ourselves. My config now is NTSC 
so its giving 30fps output. However many video files have 25fps, 23.7fps and 
many other fps so we need to implement a solution to play these files correctly 
based on timestamp data in the video/audio streams. Does anyone know how to get 
DTS, PTS data from the decoder?

-Andrew

-----Original Message-----
From: Schoenemann, Nikolaus <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]; [email protected]
Sent: Tue, 1 Apr 2008 3:14 pm
Subject: RE: AV Sync?



Hi Andrew

?

AV Sync isn't done at all in the demos. Audio and video streams are handled 
independently. For displaying the video frames, a function called 
'waitForVsynch' does the vertical buffer syncing for the display thread. You'll 
find that function in display.c.?Regarding the frame rate, what format did you 
configure your board to? NTSC (30 fps) or PAL (25 fps)? Can you please 
recheck?your bootargs (and S3 switch) and verify that you?configured your?board 
to PAL.

?

Cheers,

?

Niko?


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, April 01, 2008 6:13 AM
To: [email protected]
Subject: AV Sync?




Hi,

???? I was wondering how you guys were doing your Audio Video syncing? I've try 
using the decode demo to play some streams I extracted from a video, but the 
video plays too fast (@30fps, should be 25fps). Anyone run into this problem 
before?

-Andrew 
Planning your summer road trip? Check out AOL Travel Guides. 

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to