Skip to content
This repository has been archived by the owner on Jul 21, 2019. It is now read-only.

vampy/university-AVDP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

university-AVDP

Build Status

Project for audio-video data processing http://www.cs.ubbcluj.ro/~forest/pdav/

Build

You need to have at least Qt 5.5 installed and configured.

Qt Creator

  1. Open the avdp.pro file with Qt Creator.
  2. You can specify the type of build targets if you click on Details.
  3. Create a new build directory.
  4. For Debug and Release build use the new created build directory.
  5. Click on Configure Project.
  6. Start hacking.
  7. [Optional] If you want to use multiple cores/threads when building your project you can do this by going to the left tab called Projects, and under Build Steps on the line that says Make: make in.... click on Details and in the field Make arguments: put -j <number_of_threads> (an example with 4 threads -j 4).

Terminal with qmake

  1. Create a build directory mkdir build and cd build.
  2. Run qmake qmake -Wall ../avdp.pro CONFIG+=debug for debug builds or qmake -Wall ../avdp.pro CONFIG+=release for release builds.
  3. Compile with make -j $(nproc) (bash shell) or make -j (nproc) (fish shell).
  4. The executable will be in ./src/avdp.

Running

Server

Simply run the executable to run the server.

./avdp

Once a client connects it will save the images inside the directory screenshots_network.

Convert images

ffmpeg -i "screenshots_network/%06d.jpg" -c:v libx264 -r 25 -crf 25 -start_number 0 -pix_fmt yuv420p out.mp4

The out.mp4 file is your final video recorded on the client.

Client

The default screen will be 0 and FPS will be 25.

Specify -g to run the client.

./avdp -g

To change the screen specify -s <screen_number>. The default screen size will be the whole screen and position will 0, 0 on that screen.

For more options specify run with --help.

TODO

About

Project for processing audio-video data.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published