width, /height and /fullscreen are command line parameters of GLSL Hacker and are not specific to VPlay demo.īy default, the video is played on a quad with an orthographic camera (a 2D camera). $ vplay /width=1920 /height=1080 /fullscreen /video=\"/home/pi/mykoolvideo.mp4\" You can also force the resolution and fullscreen mode like this: $ vplay /video=\"/home/pi/mykoolvideo.mp4\" $ vplay /video=\"video_file_absolute_path\" Open a terminal in vplay folder and pass the absolute path to the video file: In a word, vplay is a video player based on GLSL Hacker that uses FFmpeg to decode audio-video files, OpenMAX to play the decoded audio buffer and OpenGL ES to display the decoded video frames. ![]() The full source code in Lua is included in the download (in the audio_video/ folder): ![]() vplay is simply GLSL Hacker that has been renamed in vplay. I prepared an archive file for Raspberry Pi with a ready-to-use video player named vplay. The FFmpeg plugin is available with all versions of GLSL Hacker: Windows, Linux, OS X and, of course, Raspberry Pi. Did you know that you can easily code an audio video player with the latest version 0.8.4 of GLSL Hacker ? This is possible thanks to the FFmpeg plugin that can now read audio and video frames and synchronize them.
0 Comments
Leave a Reply. |