i atteched my first attempet.
2 channel video player.
Obligatory player -- All commands should be used using SDL events .(implemented like menu )
1. Start with simpele player like dranger player. Take as argument screen size to open the windows to.
2. Catch W command to move to B&W. This is done using two memset commands!
3. Catch RGB to move to R, G and B colouring. Create another active object to handle it.
4. The player should now take 2 video files as arguments and support concurrent playback of 2 videos on 2*2 matrix.
One video should be displayed in the back and one in the top left corner. ON TOP OF THE OTHER.
5. Capture 1,2 keys as commands to switch audio channels between videos
Capture O for one and M for multiple to switch to single video or multiple video with matrix. If you switch to single video – the video that currently playback sounds should be displayed.
6. Support F command Fast video (*2 FPS) and S for slow video (*0.5 fps) (10% each)
7. When clicking X the player should take PPM snapshot of the highest possible quality .
General Instruction
Please send the compiling project in 1 ZIP or tarred gzipped file containing only
should be [login to view URL] or [login to view URL]
To tar and gzip under linux run tar –czvf [login to view URL] ex2 where
i) Tar stands for tape archive is the command you run
ii) -c is for create (-x is for extract)
iii) -z is for zip (-j provides better compression)
iv) -v is for verbose.
v) -f [login to view URL] specify the output fil
vi) ex2 is the directory that you compress
vii) tar –zxvf [login to view URL] extracts
Please ensure “make clean” deletes binary and any cruft.
Please add any additional instructions and comments to [login to view URL] file.
To resolve any doubts, your code should compile with the gcc version that
comes with your VM (Ubuntu 16.04 gcc version 5.3.1) Don’t use other compilers.
it needs to be implemented in c for unix with make file +README