After being away from the DM365 for a while and coming back I'm having problems with H.264. Here's the lowdown....
I had H.264 encoding, streaming RTP, and playing back live streaming video with VideoLan Client when using the 2.10.00.13 DVSDK.
Now I am using the 2.10.01.18 DVSDK and I cannot get Venc1_create call to succeed. Using DMAI_DEBUG=2 I see the call fails with a XDM_SETPARAMS error status.
The original code that ran unde the 2.10.00.13 sdk now fails after recompiling for the 2.10.01.18 sdk. If I hadn't already had this working I would be thinking it'solely my stupidity, but something must be up. It was pretty easy getting this working the first time because I just took the encodedecode demo and gave it a workover for H.264 and added RTP/RTSP.
What's got me wondering is that the doc for the H.264 encoder uses a IH264VENC_Params and IH264VENC_DynamicParams, where the demo and my initial version uses VIDENC1_Params and VIDENC1_DynamicParams. Now I wonder which is the correct data structure to use? I've switched to using the IH264VENC specific structures and loaded them with the appropriate defaults, but I still get the same XDM_SETPARAMS error. So my two questions are....
1) Should I continue to use the generic VIDENC1_xxx structures or use the codec specific ones in the call to Venc1_xxxx? I do have to cast them as the generic version for the compile to succeed.
2) Is there anything that is common knowledge as to why code that works from 2.10.00.13 would now fail under 2.10.01.18.
Thanks, John