| # Sample output from the video_quality_measurment program, included only for |
| # reference. Geneate your own by running with the --python flag and then change |
| # the filenames in main.py |
| |
| test_configuration = [{'name': 'name', 'value': 'VP8 software test'}, |
| {'name': 'description', 'value': ''}, |
| {'name': 'test_number', 'value': '0'}, |
| {'name': 'input_filename', 'value': 'foreman_cif.yuv'}, |
| {'name': 'output_filename', 'value': 'foreman_cif_out.yuv'}, |
| {'name': 'output_dir', 'value': '.'}, |
| {'name': 'packet_size_in_bytes', 'value': '1500'}, |
| {'name': 'max_payload_size_in_bytes', 'value': '1440'}, |
| {'name': 'packet_loss_mode', 'value': 'Uniform'}, |
| {'name': 'packet_loss_probability', 'value': '0.000000'}, |
| {'name': 'packet_loss_burst_length', 'value': '1'}, |
| {'name': 'exclude_frame_types', 'value': 'ExcludeOnlyFirstKeyFrame'}, |
| {'name': 'frame_length_in_bytes', 'value': '152064'}, |
| {'name': 'use_single_core', 'value': 'False'}, |
| {'name': 'keyframe_interval;', 'value': '0'}, |
| {'name': 'video_codec_type', 'value': 'VP8'}, |
| {'name': 'width', 'value': '352'}, |
| {'name': 'height', 'value': '288'}, |
| {'name': 'bit_rate_in_kbps', 'value': '500'}, |
| ] |
| frame_data_types = {'frame_number': ('number', 'Frame number'), |
| 'encoding_successful': ('boolean', 'Encoding successful?'), |
| 'decoding_successful': ('boolean', 'Decoding successful?'), |
| 'encode_time': ('number', 'Encode time (us)'), |
| 'decode_time': ('number', 'Decode time (us)'), |
| 'encode_return_code': ('number', 'Encode return code'), |
| 'decode_return_code': ('number', 'Decode return code'), |
| 'bit_rate': ('number', 'Bit rate (kbps)'), |
| 'encoded_frame_length': ('number', 'Encoded frame length (bytes)'), |
| 'frame_type': ('string', 'Frame type'), |
| 'packets_dropped': ('number', 'Packets dropped'), |
| 'total_packets': ('number', 'Total packets'), |
| 'ssim': ('number', 'SSIM'), |
| 'psnr': ('number', 'PSNR (dB)'), |
| } |
| frame_data = [{'frame_number': 0, 'encoding_successful': True , 'decoding_successful': True , 'encode_time': 12427, 'decode_time': 4403, 'encode_return_code': 0, 'decode_return_code': 0, 'bit_rate': 2270, 'encoded_frame_length': 9459, 'frame_type': 'Other', 'packets_dropped': 0, 'total_packets': 7, 'ssim': 0.947050, 'psnr': 38.332820}, |
| {'frame_number': 1, 'encoding_successful': True , 'decoding_successful': True , 'encode_time': 3292, 'decode_time': 821, 'encode_return_code': 0, 'decode_return_code': 0, 'bit_rate': 88, 'encoded_frame_length': 368, 'frame_type': 'Delta', 'packets_dropped': 0, 'total_packets': 1, 'ssim': 0.927272, 'psnr': 35.883510}, |
| {'frame_number': 2, 'encoding_successful': True , 'decoding_successful': True , 'encode_time': 4295, 'decode_time': 902, 'encode_return_code': 0, 'decode_return_code': 0, 'bit_rate': 130, 'encoded_frame_length': 544, 'frame_type': 'Delta', 'packets_dropped': 0, 'total_packets': 1, 'ssim': 0.920539, 'psnr': 35.457107}, |
| {'frame_number': 3, 'encoding_successful': True , 'decoding_successful': True , 'encode_time': 3880, 'decode_time': 767, 'encode_return_code': 0, 'decode_return_code': 0, 'bit_rate': 171, 'encoded_frame_length': 714, 'frame_type': 'Delta', 'packets_dropped': 0, 'total_packets': 1, 'ssim': 0.917434, 'psnr': 35.389298}, |
| {'frame_number': 4, 'encoding_successful': True , 'decoding_successful': True , 'encode_time': 4471, 'decode_time': 909, 'encode_return_code': 0, 'decode_return_code': 0, 'bit_rate': 248, 'encoded_frame_length': 1035, 'frame_type': 'Delta', 'packets_dropped': 0, 'total_packets': 1, 'ssim': 0.918892, 'psnr': 35.570229}, |
| {'frame_number': 5, 'encoding_successful': True , 'decoding_successful': True , 'encode_time': 4447, 'decode_time': 976, 'encode_return_code': 0, 'decode_return_code': 0, 'bit_rate': 269, 'encoded_frame_length': 1123, 'frame_type': 'Delta', 'packets_dropped': 0, 'total_packets': 1, 'ssim': 0.920609, 'psnr': 35.769663}, |
| {'frame_number': 6, 'encoding_successful': True , 'decoding_successful': True , 'encode_time': 4432, 'decode_time': 891, 'encode_return_code': 0, 'decode_return_code': 0, 'bit_rate': 271, 'encoded_frame_length': 1132, 'frame_type': 'Delta', 'packets_dropped': 0, 'total_packets': 1, 'ssim': 0.922672, 'psnr': 35.913519}, |
| {'frame_number': 7, 'encoding_successful': True , 'decoding_successful': True , 'encode_time': 5026, 'decode_time': 1068, 'encode_return_code': 0, 'decode_return_code': 0, 'bit_rate': 366, 'encoded_frame_length': 1529, 'frame_type': 'Delta', 'packets_dropped': 0, 'total_packets': 2, 'ssim': 0.925505, 'psnr': 36.246713}, |
| {'frame_number': 8, 'encoding_successful': True , 'decoding_successful': True , 'encode_time': 4877, 'decode_time': 1051, 'encode_return_code': 0, 'decode_return_code': 0, 'bit_rate': 369, 'encoded_frame_length': 1538, 'frame_type': 'Delta', 'packets_dropped': 0, 'total_packets': 2, 'ssim': 0.926122, 'psnr': 36.305984}, |
| {'frame_number': 9, 'encoding_successful': True , 'decoding_successful': True , 'encode_time': 4712, 'decode_time': 1087, 'encode_return_code': 0, 'decode_return_code': 0, 'bit_rate': 406, 'encoded_frame_length': 1692, 'frame_type': 'Delta', 'packets_dropped': 0, 'total_packets': 2, 'ssim': 0.927183, 'psnr': 36.379735}, |
| ] |