|
794 | 794 | ]),
|
795 | 795 | })
|
796 | 796 | # ---
|
| 797 | +# name: test_ffprobe_file[mp3-with-cover.mp3][mp3-with-cover.mp3] |
| 798 | + dict({ |
| 799 | + 'format': dict({ |
| 800 | + 'bit_rate': '5188433', |
| 801 | + 'duration': 1.044898, |
| 802 | + 'format_long_name': None, |
| 803 | + 'format_name': 'mp3', |
| 804 | + 'nb_programs': 0, |
| 805 | + 'nb_streams': 2, |
| 806 | + 'probe_score': 51, |
| 807 | + 'size': 677673, |
| 808 | + 'start_time': 0.025056, |
| 809 | + 'tags': dict({ |
| 810 | + 'comment': '', |
| 811 | + 'date': '2018', |
| 812 | + 'encoder': 'Lavf60.3.100', |
| 813 | + }), |
| 814 | + }), |
| 815 | + 'streams': list([ |
| 816 | + dict({ |
| 817 | + 'avg_frame_rate': '0/0', |
| 818 | + 'bit_rate': '128000', |
| 819 | + 'bits_per_sample': 0, |
| 820 | + 'channel_layout': 'stereo', |
| 821 | + 'channels': 2, |
| 822 | + 'codec_long_name': 'unknown', |
| 823 | + 'codec_name': 'mp3', |
| 824 | + 'codec_tag': '0x0000', |
| 825 | + 'codec_tag_string': '[0][0][0][0]', |
| 826 | + 'codec_time_base': '1/44100', |
| 827 | + 'codec_type': 'audio', |
| 828 | + 'disposition': dict({ |
| 829 | + 'attached_pic': 0, |
| 830 | + 'clean_effects': 0, |
| 831 | + 'comment': 0, |
| 832 | + 'default': 0, |
| 833 | + 'dub': 0, |
| 834 | + 'forced': 0, |
| 835 | + 'hearing_impaired': 0, |
| 836 | + 'karaoke': 0, |
| 837 | + 'lyrics': 0, |
| 838 | + 'original': 0, |
| 839 | + 'timed_thumbnails': 0, |
| 840 | + 'visual_impaired': 0, |
| 841 | + }), |
| 842 | + 'duration': '1.044898', |
| 843 | + 'duration_ts': 14745600, |
| 844 | + 'height': None, |
| 845 | + 'index': 0, |
| 846 | + 'pix_fmt': None, |
| 847 | + 'profile': None, |
| 848 | + 'r_frame_rate': '0/0', |
| 849 | + 'sample_fmt': 'fltp', |
| 850 | + 'sample_rate': '44100', |
| 851 | + 'start_pts': 353600, |
| 852 | + 'start_time': '0.025057', |
| 853 | + 'tags': dict({ |
| 854 | + 'encoder': 'Lavc60.3.', |
| 855 | + 'rotate': 0, |
| 856 | + }), |
| 857 | + 'time_base': '1/14112000', |
| 858 | + 'width': None, |
| 859 | + }), |
| 860 | + dict({ |
| 861 | + 'avg_frame_rate': '0/0', |
| 862 | + 'codec_long_name': 'unknown', |
| 863 | + 'codec_name': 'png', |
| 864 | + 'codec_tag': '0x0000', |
| 865 | + 'codec_tag_string': '[0][0][0][0]', |
| 866 | + 'codec_time_base': '0/1', |
| 867 | + 'codec_type': 'video', |
| 868 | + 'coded_height': 500, |
| 869 | + 'coded_width': 888, |
| 870 | + 'color_range': 'pc', |
| 871 | + 'display_aspect_ratio': '222:125', |
| 872 | + 'disposition': dict({ |
| 873 | + 'attached_pic': 1, |
| 874 | + 'clean_effects': 0, |
| 875 | + 'comment': 0, |
| 876 | + 'default': 0, |
| 877 | + 'dub': 0, |
| 878 | + 'forced': 0, |
| 879 | + 'hearing_impaired': 0, |
| 880 | + 'karaoke': 0, |
| 881 | + 'lyrics': 0, |
| 882 | + 'original': 0, |
| 883 | + 'timed_thumbnails': 0, |
| 884 | + 'visual_impaired': 0, |
| 885 | + }), |
| 886 | + 'duration': '1.044900', |
| 887 | + 'duration_ts': 94041, |
| 888 | + 'has_b_frames': 0, |
| 889 | + 'height': 500, |
| 890 | + 'index': 1, |
| 891 | + 'level': -99, |
| 892 | + 'pix_fmt': 'rgb24', |
| 893 | + 'profile': None, |
| 894 | + 'r_frame_rate': '90000/1', |
| 895 | + 'refs': 1, |
| 896 | + 'sample_aspect_ratio': '1:1', |
| 897 | + 'start_pts': 2255, |
| 898 | + 'start_time': '0.025056', |
| 899 | + 'tags': dict({ |
| 900 | + 'comment': "32x32 pixels 'file icon'", |
| 901 | + 'rotate': 0, |
| 902 | + }), |
| 903 | + 'time_base': '1/90000', |
| 904 | + 'width': 888, |
| 905 | + }), |
| 906 | + ]), |
| 907 | + }) |
| 908 | +# --- |
797 | 909 | # name: test_ffprobe_file[overlay.png][overlay.png]
|
798 | 910 | dict({
|
799 | 911 | 'format': dict({
|
|
0 commit comments