Hi Prem, As I said we are using our custom based board & not dvevm. we do not have TVP5146 installed on our board. for this reason DVTB cant run on our board.
On Wed, Jul 21, 2010 at 4:09 PM, JayaKumar, PremKumar <premkuma...@ti.com>wrote: > Yuvraj, > > > > I would suggest you to use the DVTB application that is present in your > DVSDK installation to try out the same usecase. > > You would need to build the application (simple steps mentioned in the > Release notes) for DM6446 platform, copy it to your target environment and > run it with the default videnc1.dvs script provided in the DVTB package > under dvtb_x_xx_xx\packages\ti\sdo\dvtb\scripts\dm6446. > > > > Regards, > > Prem > > > ------------------------------ > > *From:* Yuvraj Pasi [mailto:yuvraj.p...@nextbitcpu.com] > *Sent:* Wednesday, July 21, 2010 4:04 PM > *To:* JayaKumar, PremKumar > > *Subject:* Re: MPEG4 encoder not giving output > > > > Hi Prem, > There is no change if I set captureWidth to 720 or 1440. But when I changed > rateControlPreset to IVIDEO_NONE > the encoder it seems has stopped skipping frames. > Encoded framesize 5569 0 0 829440 > Encoded framesize 3678 1 0 829440 > Encoded framesize 1554 1 0 829440 > Encoded framesize 1322 1 0 829440 > Encoded framesize 1134 1 0 829440 > Encoded framesize 1124 1 0 829440 > Encoded framesize 1034 1 0 829440 > Encoded framesize 1502 1 0 829440 > Encoded framesize 1945 1 0 829440 > Encoded framesize 1867 1 0 829440 > Encoded framesize 1038 1 0 829440 > Encoded framesize 688 1 0 829440 > Encoded framesize 577 1 0 829440 > Encoded framesize 1210 1 0 829440 > Encoded framesize 1563 1 0 829440 > Encoded framesize 1922 1 0 829440 > Encoded framesize 1451 1 0 829440 > Encoded framesize 2271 1 0 829440 > Encoded framesize 2261 1 0 829440 > Encoded framesize 1849 1 0 829440 > Encoded framesize 1104 1 0 829440 > Encoded framesize 1242 1 0 829440 > Encoded framesize 1804 1 0 829440 > Encoded framesize 1902 1 0 829440 > Encoded framesize 1971 1 0 829440 > Encoded framesize 1823 1 0 829440 > Encoded framesize 2282 1 0 829440 > Encoded framesize 1766 1 0 829440 > Encoded framesize 3222 1 0 829440 > Encoded framesize 2721 1 0 829440 > Encoded framesize 5579 0 0 829440 > Encoded framesize 2115 1 0 829440 > > But the output is moving image of white & pink colour blocks. > > On Wed, Jul 21, 2010 at 3:41 PM, JayaKumar, PremKumar <premkuma...@ti.com> > wrote: > > Hi Yuvraj, > > > > Guess we can work one-to-one instead of through davinci-linux-open-source > mailing list. > > What happens when you set the captureWidth explicitly to 720 instead of 0? > > > > Regards, > > Prem > > > ------------------------------ > > *From:* Yuvraj Pasi [mailto:yuvraj.p...@nextbitcpu.com] > *Sent:* Wednesday, July 21, 2010 3:22 PM > *To:* JayaKumar, PremKumar > > > *Cc:* davinci-linux-open-source@linux.davincidsp.com > *Subject:* Re: MPEG4 encoder not giving output > > > > Hi Prem, > Thanks for the reply. when I say that improper output it means it is giving > some data output after every 30 frames. > using following printf i get the output shown below. > printf("Encoded framesize %d %d %d\n", outArgs.bytesGenerated, > outArgs.encodedFrameType, outArgs.inputFrameSkip); > > Encoded framesize 1730 0 0 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 1740 0 0 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 0 0 1 > Encoded framesize 1720 0 0 > > when i feed this 1740 bytes of data to decoder it produce a pink white > output screen & gives no error. > Below is the absolute value of parameters & these same values works > properly for H264 codec. > > > params.size = sizeof(VIDENC1_Params); > params.encodingPreset = XDM_DEFAULT; > params.rateControlPreset = IVIDEO_LOW_DELAY; > params.maxBitRate = 6000000; > params.dataEndianness = XDM_BYTE; > params.maxInterFrameInterval = 1; > params.inputChromaFormat = XDM_YUV_422ILE; > params.inputContentType = IVIDEO_PROGRESSIVE; > params.maxHeight = 576; > params.maxWidth = 720; > params.reconChromaFormat = XDM_CHROMA_NA; > params.maxFrameRate = 30000; > > dynamicParams.size > > = sizeof(VIDENC1_DynamicParams); > dynamicParams.inputHeight = 576; > dynamicParams.inputWidth = 720; > dynamicParams.targetBitRate = 1500000; > dynamicParams.intraFrameInterval = 30; > dynamicParams.generateHeader = XDM_ENCODE_AU; > dynamicParams.captureWidth = 0; > dynamicParams.forceFrame = IVIDEO_NA_FRAME; > dynamicParams.interFrameInterval = 1; > dynamicParams.mbDataFlag = 0; > dynamicParams.targetFrameRate = 25000; > dynamicParams.refFrameRate = 25000; > > > > On Wed, Jul 21, 2010 at 2:52 PM, JayaKumar, PremKumar <premkuma...@ti.com> > wrote: > > Hi Yuvraj, > > > > When you say “not giving proper output”, does that mean that the output is > corrupted? Guess there are no failures observed. > > > > Can you send the absolute values for all the params that you use instead of > variables? > > > > Also, can you try explicitly setting the captureWidth value same as that of > the inputWidth? > > > > Regards, > > Prem > > > ------------------------------ > > *From:* davinci-linux-open-source-boun...@linux.davincidsp.com [mailto: > davinci-linux-open-source-boun...@linux.davincidsp.com] *On Behalf Of *Yuvraj > Pasi > *Sent:* Wednesday, July 21, 2010 2:43 PM > *To:* Jean-Paul Saman > *Cc:* davinci-linux-open-source@linux.davincidsp.com > *Subject:* Re: MPEG4 encoder not giving output > > > > Hi Jean, Thanks for the reply i did what u advised. No difference!!! > any more suggestions. > > On Wed, Jul 21, 2010 at 1:08 PM, Jean-Paul Saman <jean-paul.sa...@m2x.nl> > wrote: > > On 07/21/2010 09:27 AM, Yuvraj Pasi wrote: > > Hi, > > We are using our custom made board based on DM6446 platform. we are > > using dvsdk 2. My problem is that > > MPEG4 encoder is not giving proper output while for same set of > > parameter values it is working properly > > with H264 encoder & giving proper encoded frame which I am able to > decode. > > I am using following settings for the parameter. > > > > params.size = sizeof(VIDENC1_Params); > > params.encodingPreset = XDM_DEFAULT; > > params.rateControlPreset = IVIDEO_LOW_DELAY; > > params.maxBitRate = 6000000; > > params.dataEndianness = XDM_BYTE; > > params.maxInterFrameInterval = 1; > > Try setting params.maxInterFrameInterval = 0; this is needed for some > encoders. > > > > params.inputChromaFormat = XDM_YUV_422ILE; > > params.inputContentType = IVIDEO_PROGRESSIVE; > > params.maxHeight = D1_MAX_HEIGHT; > > params.maxWidth = D1_MAX_WIDTH; > > params.reconChromaFormat = XDM_CHROMA_NA; > > params.maxFrameRate = 30000;//videnc->fps*1000; > > > > dynamicParams.size = sizeof(VIDENC1_DynamicParams); > > dynamicParams.inputHeight = videnc->vsize.height; > > dynamicParams.inputWidth = videnc->vsize.width; > > dynamicParams.targetBitRate = videnc->maxbr; > > dynamicParams.intraFrameInterval = 30; > > dynamicParams.generateHeader = header; > > dynamicParams.captureWidth = 0; > > dynamicParams.forceFrame = IVIDEO_NA_FRAME; > > dynamicParams.interFrameInterval = 1; > > dynamicParams.mbDataFlag = 0; > > dynamicParams.targetFrameRate = videnc->fps*1000; > > dynamicParams.refFrameRate = videnc->fps*1000; > > > > Also when I check the outArgs it show the value of > > outArgs.inputFrameSkip = 1. > > > > What am I missing here?? > > > > > > -- > > Thanks & regards > > yuvraj pasi > > > > > > > > > _______________________________________________ > > Davinci-linux-open-source mailing list > > Davinci-linux-open-source@linux.davincidsp.com > > http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source > > > -- > Kind Regards, > > Jean-Paul Saman > M2X BV > _______________________________________________ > Davinci-linux-open-source mailing list > Davinci-linux-open-source@linux.davincidsp.com > http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source > > > > > -- > Thanks & regards > yuvraj pasi > > > > > -- > Thanks & regards > yuvraj pasi > > > > > -- > Thanks & regards > yuvraj pasi > -- Thanks & regards yuvraj pasi
_______________________________________________ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source