ofAVFoundationVideoPlayer sample audio track from video?


#1

Just curious if anybody has successfully sampled the audio from a video player via the ofAVFoundationVideoPlayer? It looks like loadWithURL in ofAVFoundationVideoPlayer never initializes an AVAssetTrack for the audio by default and I see

	// do not sample audio by default
	// we are lacking interfaces for audiodata
	bSampleAudio = NO;

in the init method there. When I set that to YES things go wrong fast so it’s looking like that’s not ready as currently implemented. I thought I’d ask here before diving deeper.