File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ ## <u >Progressive Streaming</u >
2+ A simple application that allows the transfer of a video file from the server to the client and upon download, has playback.<br >
3+ A transcoder script has also been introduced which allows the user to encode the given video to a different format.
4+
5+ ### Important Libraries Used
6+ + OpenGL
7+ + GLFW
8+ + ffmpeg
9+ + libavcodec
10+ + libavformat
11+ + libswscale
12+
13+ ### To run the script
14+ Make sure you have a directory named bin in your project home to run the following commands.<br >
15+
16+ For simply playing the video file:
17+ ```
18+ $ cc main_window.cpp decoder.cpp -lstdc++ -lavcodec -lavformat -lavutil -lswresample -lswscale -lglfw -lGL -o bin/player
19+ $ cd bin/
20+ $ ./player <videofilename>
21+ ```
22+
23+ For activating TCP server client transfer:
24+ ```
25+ $ cc tcp_main_window.cpp decoder.cpp tcp_client.c -lstdc++ -lavcodec -lavformat -lavutil -lswresample -lswscale -lglfw -lGL -o bin/tcp_player && cc tcp_server.c -o bin/tcp_server
26+ $ cd bin/
27+ $ ./tcp_server
28+ $ ./tcp_player <videofilename>
29+ ```
30+
31+ For transcoding:
32+ ```
33+ $ cc transcoder.c debug.c -lstdc++ -lavcodec -lavformat -lavutil -lswresample -lswscale -lglfw -lGL -o bin/transcoder
34+ $ cd bin/
35+ $ ./transcoder <inputfilename> <desiredoutputfilecodec>
36+ ```
37+
38+ ### Developed by
39+ [ Aniketh Gireesh] ( https://github.com/Aniketh01 ) <br >
40+ [ Akshay Praveen Nair] ( https://github.com/iammarco11 )
You can’t perform that action at this time.
0 commit comments