Public repo to deliver Practice 1 from Audio and Video Codification Systems
Each .py file has a main inside so it can be run using the following command:
python3 name_of_file.py
-
- To test the rgb to yuv converter use the main.py
-
- See the command_script.sh file and the 320_240_lena.jpeg
-
- See the command_script.sh file and the bw_lena.jpeg. Using the qscale:v 31, we obtain the highest compression, According to ffmpeg documentation https://trac.ffmpeg.org/wiki/Encode/MPEG-4 . We can see that we have a size of 8,8kB instead of 474 kB. The image has clear "squares" from the compression
-
- Run the run_len.py
-
- Run the dct_enc_dec.py
You will need to have the following packages installed:
- pdb
- numpy
- matplotlib
- scipy