"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

VideoPlayback on remote video

Hi,

I'm currently using the VideoPlayback demo code. I have set the EXAMPLE_CODE_REMOTE_FILE macro in order to run this code:

#ifdef EXAMPLE_CODE_REMOTE_FILE

    // Load a remote file for playback

    for (int i = 0; i < NUM_VIDEO_TARGETS; ++i) {

        VideoPlayerHelper* player = [arView getVideoPlayerHelper:i];

        NSLog(@"load remote file");

        [player load:@"http://download.wavetlan.com/SVV/Media/HTTP/H264/Other_Media/H264_test7_voiceclip_mp4_480x360.mp4" playImmediately:NO fromPosition:VIDEO_PLAYBACK_CURRENT_POSITION];

    }

the file is loaded but only the audio is played. Any idea about what could be the problem?

thanks a lot

The video player uses the underlying iOS player, so if this supports the video then great, if not then the codec perhaps is not suitable.

Try playing it with some native code as a test.

 

N