We figured out the issue (turned out to be a buffer management
issue).  

  -Robert


-----Original Message-----
From: Robert Chen 
Sent: Tuesday, June 16, 2009 6:34 AM
To: '[email protected]'
Subject: Re: DM6467 - Encoding in 1080i with DMAI


This is a follow-up to Marcelo's e-mail on this subject from 3/2/2009.

In subsequent discussion with TI we confirmed that the likely reason this 
didn't work was that the codec itself did not support 1080i encode.  For this 
reason, there are checks in the demo code that make sure > 720p is not allowed.

We did verify that Mahendra's changes do enable 1080i capture on our setup 
(thank you very much, Mahendra!).  Now we are running into a different issue -- 
it seems that the 1080i capture is running no faster than 15fps (even though 
the encoder we are running it with does run at > 15fps for 1080i).

We are in the process of trying to figure out if this is something inherent in 
the video driver or maybe something in the way the demo works.  Before diving 
into the ioctl code in davincihd_capture.c in the drivers directory, I thought 
I'd check to see if anyone else has run into this issue (or, alternately, were 
you able to get 30fps through these changes?).  

We are using DVSDK 2.00.01.15 for HD DaVinci (and the DMAI 1.18.00.01 that 
comes with it). 

If anyone has any thoughts / can shed some light on this, please let me know.  
Thank you!


     Sincerely,

     Robert Chen


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

Re: DM6467 - Encoding in 1080i with DMAI Marcelo Guedes Silva Mon, 02 Mar 2009 
11:29:13 -0800

Hi, it didn“t work.
I ran the new loadmodules.sh and received this message:

[email protected]:/opt/dvsdk# ./loadmodules.sh
> ioremap_nocache(0x87800000, 69206016)=0xc8080000 allocated heap buffer 
> 0xc8080000 of size 0x239000 cmem initialized 5 pools between 
> 0x87800000 and 0x8ba00000 DSPLINK Module (1.50) created on Date: Jan
> 3 2008 Time: 13:16:55
>

Seems to be right, but when I tried to run the encode program (with the 
modified capture.c), I received this error:

[email protected]:/opt/dvsdk# ./encode -a audio.aac -v video.264
> Encode demo started.
> Error: Failed to create h264 video encoder


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

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

Reply via email to