Hi guys,
I have a issue about encoding video & audio at the same time.
when capturing & encoding video or audio singly,every thing is good.
but ,capturing & encoding video within capturing & encoding audio ,the audio capture reports:downstream handlers cannot handle the data packet at time,and then dropping occurs.
video: H264,1080p,25FPS 2M bitrate
audio:44100 samplerate,16bit,128K bitrate.
I have Measured the frequence of hardware aic3x's(audio cap) rate is corrent,while run encoding video & audio,by Oscilloscope.
and I think,the problem is the EDMA module.maybe there is conflict about video & audio trans.
Now,I can find the audio driver src code,in dvsdk/psp/linux-2-kernel/sound/soc/davinci .and i can reporting the DMA channel and TC queue used in audio cap.
but i can't find ,where is the video capture src code,and don't know how to report the DMA channel and TC queue used in video cap.
So,my question is:
1,Is my thinking corrent? the reason of dropping of samples is the DMA channel / TC queue confict .
2,if not,anyone knonws how to solve this problem?
thanks.