Goodmorning,
I tried to modify encodedecode example (in dvsdk 2.02) to handle mpeg4 codec, to do this I modified also the dvsdk combo server loopbackCombo adding in cfg file the codec and getting the scratch area two times bigger. I followed more or less the cfg files of encode and decode servers in dvsdk combos folder. The chain in my modified encodedecode is this:
I recive raw bayer data from a cmos sensor, i pass this thru the ccd and then from memory i do the previewing task, then the original encodedecode encodes ycbcr data and decodes it before sending video to output. The problem there is that in video output I see an image that is purple and seems like there is no keyfreme(more or less everything purple with no motion and an image purple but that seems true when there is motion), what can be the mistake? The same encodedecode with h264 codec works well with no problems. I tried also this experiment:
I modified my encodedecode to write the output from previewer to a file and then encode/decode it manually with the videoenc1/videodec2 example in dmai folder(with mpeg4 coding), the resulting raw ycbcr video seems good because i'm sure the first frame it's right (i opened it with a raw ycbcr wiever).
Thanks a lot for the help!