Here\'s the code:
AVAssetExportSession *exporter = [[AVAssetExportSession alloc] initWithAsset:mixComposition presetName:AVAssetExportPresetHighestQuality];
Usually green lines appear after video cropping, problem is in video renderSize width, it should be multiply of 16.
Here some links about this: apple 1 apple 2