Home | History | Annotate | Download | only in data
      1 # Sample output from the video_quality_measurment program, included only for
      2 # reference. Geneate your own by running with the --python flag and then change
      3 # the filenames in main.py
      4 
      5 test_configuration = [{'name': 'name',                      'value': 'VP8 hardware test'},
      6 {'name': 'description',               'value': ''},
      7 {'name': 'test_number',               'value': '0'},
      8 {'name': 'input_filename',            'value': 'foreman_cif.yuv'},
      9 {'name': 'output_filename',           'value': 'foreman_cif_out.yuv'},
     10 {'name': 'output_dir',                'value': '.'},
     11 {'name': 'packet_size_in_bytes',      'value': '1500'},
     12 {'name': 'max_payload_size_in_bytes', 'value': '1440'},
     13 {'name': 'packet_loss_mode',          'value': 'Uniform'},
     14 {'name': 'packet_loss_probability',   'value': '0.000000'},
     15 {'name': 'packet_loss_burst_length',  'value': '1'},
     16 {'name': 'exclude_frame_types',       'value': 'ExcludeOnlyFirstKeyFrame'},
     17 {'name': 'frame_length_in_bytes',     'value': '152064'},
     18 {'name': 'use_single_core',           'value': 'False'},
     19 {'name': 'keyframe_interval;',        'value': '0'},
     20 {'name': 'video_codec_type',          'value': 'VP8'},
     21 {'name': 'width',                     'value': '352'},
     22 {'name': 'height',                    'value': '288'},
     23 {'name': 'bit_rate_in_kbps',          'value': '500'},
     24 ]
     25 frame_data_types = {'frame_number': ('number', 'Frame number'),
     26 'encoding_successful': ('boolean', 'Encoding successful?'),
     27 'decoding_successful': ('boolean', 'Decoding successful?'),
     28 'encode_time': ('number', 'Encode time (us)'),
     29 'decode_time': ('number', 'Decode time (us)'),
     30 'encode_return_code': ('number', 'Encode return code'),
     31 'decode_return_code': ('number', 'Decode return code'),
     32 'bit_rate': ('number', 'Bit rate (kbps)'),
     33 'encoded_frame_length': ('number', 'Encoded frame length (bytes)'),
     34 'frame_type': ('string', 'Frame type'),
     35 'packets_dropped': ('number', 'Packets dropped'),
     36 'total_packets': ('number', 'Total packets'),
     37 'ssim': ('number', 'SSIM'),
     38 'psnr': ('number', 'PSNR (dB)'),
     39 }
     40 frame_data = [{'frame_number': 0, 'encoding_successful': True , 'decoding_successful': True , 'encode_time': 94676, 'decode_time': 37942, 'encode_return_code': 0, 'decode_return_code': 0, 'bit_rate': 1098, 'encoded_frame_length': 4579, 'frame_type': 'Other', 'packets_dropped': 0, 'total_packets': 4, 'ssim': 0.910364, 'psnr': 35.067258},
     41 {'frame_number': 1, 'encoding_successful': True , 'decoding_successful': True , 'encode_time': 244007, 'decode_time': 39421, 'encode_return_code': 0, 'decode_return_code': 0, 'bit_rate': 306, 'encoded_frame_length': 1277, 'frame_type': 'Delta', 'packets_dropped': 0, 'total_packets': 1, 'ssim': 0.911859, 'psnr': 35.115193},
     42 {'frame_number': 2, 'encoding_successful': True , 'decoding_successful': True , 'encode_time': 240508, 'decode_time': 38918, 'encode_return_code': 0, 'decode_return_code': 0, 'bit_rate': 330, 'encoded_frame_length': 1379, 'frame_type': 'Delta', 'packets_dropped': 0, 'total_packets': 1, 'ssim': 0.913597, 'psnr': 35.181604},
     43 {'frame_number': 3, 'encoding_successful': True , 'decoding_successful': True , 'encode_time': 243449, 'decode_time': 39664, 'encode_return_code': 0, 'decode_return_code': 0, 'bit_rate': 298, 'encoded_frame_length': 1242, 'frame_type': 'Delta', 'packets_dropped': 0, 'total_packets': 1, 'ssim': 0.912378, 'psnr': 35.164710},
     44 {'frame_number': 4, 'encoding_successful': True , 'decoding_successful': True , 'encode_time': 248024, 'decode_time': 39115, 'encode_return_code': 0, 'decode_return_code': 0, 'bit_rate': 332, 'encoded_frame_length': 1385, 'frame_type': 'Delta', 'packets_dropped': 0, 'total_packets': 1, 'ssim': 0.911471, 'psnr': 35.109488},
     45 {'frame_number': 5, 'encoding_successful': True , 'decoding_successful': True , 'encode_time': 246910, 'decode_time': 39146, 'encode_return_code': 0, 'decode_return_code': 0, 'bit_rate': 416, 'encoded_frame_length': 1734, 'frame_type': 'Delta', 'packets_dropped': 0, 'total_packets': 2, 'ssim': 0.915231, 'psnr': 35.392300},
     46 {'frame_number': 6, 'encoding_successful': True , 'decoding_successful': True , 'encode_time': 242953, 'decode_time': 38827, 'encode_return_code': 0, 'decode_return_code': 0, 'bit_rate': 279, 'encoded_frame_length': 1165, 'frame_type': 'Delta', 'packets_dropped': 0, 'total_packets': 1, 'ssim': 0.916130, 'psnr': 35.452889},
     47 {'frame_number': 7, 'encoding_successful': True , 'decoding_successful': True , 'encode_time': 247343, 'decode_time': 41429, 'encode_return_code': 0, 'decode_return_code': 0, 'bit_rate': 393, 'encoded_frame_length': 1639, 'frame_type': 'Delta', 'packets_dropped': 0, 'total_packets': 2, 'ssim': 0.919356, 'psnr': 35.647128},
     48 {'frame_number': 8, 'encoding_successful': True , 'decoding_successful': True , 'encode_time': 249529, 'decode_time': 40329, 'encode_return_code': 0, 'decode_return_code': 0, 'bit_rate': 487, 'encoded_frame_length': 2033, 'frame_type': 'Delta', 'packets_dropped': 0, 'total_packets': 2, 'ssim': 0.924705, 'psnr': 36.179837},
     49 {'frame_number': 9, 'encoding_successful': True , 'decoding_successful': True , 'encode_time': 249408, 'decode_time': 41716, 'encode_return_code': 0, 'decode_return_code': 0, 'bit_rate': 583, 'encoded_frame_length': 2433, 'frame_type': 'Delta', 'packets_dropped': 0, 'total_packets': 2, 'ssim': 0.928433, 'psnr': 36.589875},
     50 ]
     51