Page 1 of 1

Use IOS simulator to play video

Posted: 21 Aug 2015 10:39
by kensiu
I have sucessfully built and simulated the VLC on Xcode.
Can I use IOS simulator to play video with VLC?
Where should I put the video source?

Thanks a lot!

Re: Use IOS simulator to play video

Posted: 21 Aug 2015 12:11
by fkuehne
Just drag the video on VLC while it is running in the simulator.

Re: Use IOS simulator to play video

Posted: 26 Aug 2015 11:18
by kensiu
It works. I can add the video to the playlist.
But while I played the video, it stopped at the first frame. More, I cannot insert the .iso file to the simulator.
Please advice. Thank you!

Re: Use IOS simulator to play video

Posted: 26 Aug 2015 12:19
by fkuehne
VLC for iOS does not support .ISO files and most likely never will.

Regarding the "stopped on first frame" issue, this is impossible to answer without knowing the VLC version you compiled.

Re: Use IOS simulator to play video

Posted: 27 Aug 2015 04:15
by kensiu
VLC version is 2.6.4.
I was testing it with ipad simulator.

Re: Use IOS simulator to play video

Posted: 28 Aug 2015 16:46
by kensiu
HI, Felix.
I found that the video is actually playing but not smoothly.
I also found the message as below:

2015-08-28 22:34:34.398 VLC for iOS[1154:6329] this is a cat four device
shader program 1: WARNING: Output of vertex shader 'TexCoord1' not read by fragment shader
WARNING: Output of vertex shader 'TexCoord2' not read by fragment shader

[0000000111f5be68] core vout display error: Failed to set on top
2015-08-28 22:34:36.453 VLC for iOS[1154:6329] Fetching
2015-08-28 22:34:36.453 VLC for iOS[1154:6329] Done
[00000001138198b8] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)


I was using macbook pro to do the simulation, is that my computer is not fast enough?