FFMPEG實驗:
H1----S1----H2
Script:

壓縮,並輸出mpegts格式 (compression and output the compressed file in mpegts format)
![]()
解壓縮 (decompression)
![]()
比較PSNR (Obtain the PSNR)
![]()

Experiment 1: Loss=0

在h1端(接收端)

在h2端(傳送端)
![]()

傳送完畢後,在h1按下ctrl+c結束接收 (解壓縮,並對psnr做比較)
![]()
![]()

Experiment 2: Loss=1

Experiment 3: Loss=3

References
https://rwdy15.wordpress.com/2015/02/12/streaming-with-ffmpeg-and-receiving-with-vlc/
https://rwdy15.wordpress.com/2015/01/29/ffmpeg-encoding-x265-and-x264/
http://stackoverflow.com/questions/22202671/converting-a-yuv-file-to-mp4-using-ffmpeg-for-a-beginner