Class: Google::Cloud::Video::Transcoder::V1::PreprocessingConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Video::Transcoder::V1::PreprocessingConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/video/transcoder/v1/resources.rb
Overview
Preprocessing configurations.
Defined Under Namespace
Classes: Audio, Color, Crop, Deblock, Deinterlace, Denoise, Pad
Instance Attribute Summary collapse
-
#audio ⇒ ::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Audio
Audio preprocessing configuration.
-
#color ⇒ ::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Color
Color preprocessing configuration.
-
#crop ⇒ ::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Crop
Specify the video cropping configuration.
-
#deblock ⇒ ::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Deblock
Deblock preprocessing configuration.
-
#deinterlace ⇒ ::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Deinterlace
Specify the video deinterlace configuration.
-
#denoise ⇒ ::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Denoise
Denoise preprocessing configuration.
-
#pad ⇒ ::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Pad
Specify the video pad filter configuration.
Instance Attribute Details
#audio ⇒ ::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Audio
Returns Audio preprocessing configuration.
643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 |
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 643 class PreprocessingConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Color preprocessing configuration. # # **Note:** This configuration is not supported. # @!attribute [rw] saturation # @return [::Float] # Control color saturation of the video. Enter a value between -1 and 1, # where -1 is fully desaturated and 1 is maximum saturation. 0 is no # change. The default is 0. # @!attribute [rw] contrast # @return [::Float] # Control black and white contrast of the video. Enter a value between -1 # and 1, where -1 is minimum contrast and 1 is maximum contrast. 0 is no # change. The default is 0. # @!attribute [rw] brightness # @return [::Float] # Control brightness of the video. Enter a value between -1 and 1, where -1 # is minimum brightness and 1 is maximum brightness. 0 is no change. The # default is 0. class Color include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Denoise preprocessing configuration. # # **Note:** This configuration is not supported. # @!attribute [rw] strength # @return [::Float] # Set strength of the denoise. Enter a value between 0 and 1. The higher # the value, the smoother the image. 0 is no denoising. The default is 0. # @!attribute [rw] tune # @return [::String] # Set the denoiser mode. The default is `standard`. # # Supported denoiser modes: # # - `standard` # - `grain` class Denoise include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Deblock preprocessing configuration. # # **Note:** This configuration is not supported. # @!attribute [rw] strength # @return [::Float] # Set strength of the deblocker. Enter a value between 0 and 1. The higher # the value, the stronger the block removal. 0 is no deblocking. The # default is 0. # @!attribute [rw] enabled # @return [::Boolean] # Enable deblocker. The default is `false`. class Deblock include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Audio preprocessing configuration. # @!attribute [rw] lufs # @return [::Float] # Specify audio loudness normalization in loudness units relative to full # scale (LUFS). Enter a value between -24 and 0 (the default), where: # # * -24 is the Advanced Television Systems Committee (ATSC A/85) standard # * -23 is the EU R128 broadcast standard # * -19 is the prior standard for online mono audio # * -18 is the ReplayGain standard # * -16 is the prior standard for stereo audio # * -14 is the new online audio standard recommended by Spotify, as well # as Amazon Echo # * 0 disables normalization # @!attribute [rw] high_boost # @return [::Boolean] # Enable boosting high frequency components. The default is `false`. # # **Note:** This field is not supported. # @!attribute [rw] low_boost # @return [::Boolean] # Enable boosting low frequency components. The default is `false`. # # **Note:** This field is not supported. class Audio include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Video cropping configuration for the input video. The cropped input video # is scaled to match the output resolution. # @!attribute [rw] top_pixels # @return [::Integer] # The number of pixels to crop from the top. The default is 0. # @!attribute [rw] bottom_pixels # @return [::Integer] # The number of pixels to crop from the bottom. The default is 0. # @!attribute [rw] left_pixels # @return [::Integer] # The number of pixels to crop from the left. The default is 0. # @!attribute [rw] right_pixels # @return [::Integer] # The number of pixels to crop from the right. The default is 0. class Crop include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Pad filter configuration for the input video. The padded input video # is scaled after padding with black to match the output resolution. # @!attribute [rw] top_pixels # @return [::Integer] # The number of pixels to add to the top. The default is 0. # @!attribute [rw] bottom_pixels # @return [::Integer] # The number of pixels to add to the bottom. The default is 0. # @!attribute [rw] left_pixels # @return [::Integer] # The number of pixels to add to the left. The default is 0. # @!attribute [rw] right_pixels # @return [::Integer] # The number of pixels to add to the right. The default is 0. class Pad include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Deinterlace configuration for input video. # @!attribute [rw] yadif # @return [::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Deinterlace::YadifConfig] # Specifies the Yet Another Deinterlacing Filter Configuration. # @!attribute [rw] bwdif # @return [::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Deinterlace::BwdifConfig] # Specifies the Bob Weaver Deinterlacing Filter Configuration. class Deinterlace include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Yet Another Deinterlacing Filter Configuration. # @!attribute [rw] mode # @return [::String] # Specifies the deinterlacing mode to adopt. # The default is `send_frame`. # Supported values: # # - `send_frame`: Output one frame for each frame # - `send_field`: Output one frame for each field # @!attribute [rw] disable_spatial_interlacing # @return [::Boolean] # Disable spacial interlacing. # The default is `false`. # @!attribute [rw] parity # @return [::String] # The picture field parity assumed for the input interlaced video. # The default is `auto`. # Supported values: # # - `tff`: Assume the top field is first # - `bff`: Assume the bottom field is first # - `auto`: Enable automatic detection of field parity # @!attribute [rw] deinterlace_all_frames # @return [::Boolean] # Deinterlace all frames rather than just the frames identified as # interlaced. The default is `false`. class YadifConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Bob Weaver Deinterlacing Filter Configuration. # @!attribute [rw] mode # @return [::String] # Specifies the deinterlacing mode to adopt. # The default is `send_frame`. # Supported values: # # - `send_frame`: Output one frame for each frame # - `send_field`: Output one frame for each field # @!attribute [rw] parity # @return [::String] # The picture field parity assumed for the input interlaced video. # The default is `auto`. # Supported values: # # - `tff`: Assume the top field is first # - `bff`: Assume the bottom field is first # - `auto`: Enable automatic detection of field parity # @!attribute [rw] deinterlace_all_frames # @return [::Boolean] # Deinterlace all frames rather than just the frames identified as # interlaced. The default is `false`. class BwdifConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end |
#color ⇒ ::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Color
Returns Color preprocessing configuration.
643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 |
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 643 class PreprocessingConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Color preprocessing configuration. # # **Note:** This configuration is not supported. # @!attribute [rw] saturation # @return [::Float] # Control color saturation of the video. Enter a value between -1 and 1, # where -1 is fully desaturated and 1 is maximum saturation. 0 is no # change. The default is 0. # @!attribute [rw] contrast # @return [::Float] # Control black and white contrast of the video. Enter a value between -1 # and 1, where -1 is minimum contrast and 1 is maximum contrast. 0 is no # change. The default is 0. # @!attribute [rw] brightness # @return [::Float] # Control brightness of the video. Enter a value between -1 and 1, where -1 # is minimum brightness and 1 is maximum brightness. 0 is no change. The # default is 0. class Color include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Denoise preprocessing configuration. # # **Note:** This configuration is not supported. # @!attribute [rw] strength # @return [::Float] # Set strength of the denoise. Enter a value between 0 and 1. The higher # the value, the smoother the image. 0 is no denoising. The default is 0. # @!attribute [rw] tune # @return [::String] # Set the denoiser mode. The default is `standard`. # # Supported denoiser modes: # # - `standard` # - `grain` class Denoise include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Deblock preprocessing configuration. # # **Note:** This configuration is not supported. # @!attribute [rw] strength # @return [::Float] # Set strength of the deblocker. Enter a value between 0 and 1. The higher # the value, the stronger the block removal. 0 is no deblocking. The # default is 0. # @!attribute [rw] enabled # @return [::Boolean] # Enable deblocker. The default is `false`. class Deblock include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Audio preprocessing configuration. # @!attribute [rw] lufs # @return [::Float] # Specify audio loudness normalization in loudness units relative to full # scale (LUFS). Enter a value between -24 and 0 (the default), where: # # * -24 is the Advanced Television Systems Committee (ATSC A/85) standard # * -23 is the EU R128 broadcast standard # * -19 is the prior standard for online mono audio # * -18 is the ReplayGain standard # * -16 is the prior standard for stereo audio # * -14 is the new online audio standard recommended by Spotify, as well # as Amazon Echo # * 0 disables normalization # @!attribute [rw] high_boost # @return [::Boolean] # Enable boosting high frequency components. The default is `false`. # # **Note:** This field is not supported. # @!attribute [rw] low_boost # @return [::Boolean] # Enable boosting low frequency components. The default is `false`. # # **Note:** This field is not supported. class Audio include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Video cropping configuration for the input video. The cropped input video # is scaled to match the output resolution. # @!attribute [rw] top_pixels # @return [::Integer] # The number of pixels to crop from the top. The default is 0. # @!attribute [rw] bottom_pixels # @return [::Integer] # The number of pixels to crop from the bottom. The default is 0. # @!attribute [rw] left_pixels # @return [::Integer] # The number of pixels to crop from the left. The default is 0. # @!attribute [rw] right_pixels # @return [::Integer] # The number of pixels to crop from the right. The default is 0. class Crop include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Pad filter configuration for the input video. The padded input video # is scaled after padding with black to match the output resolution. # @!attribute [rw] top_pixels # @return [::Integer] # The number of pixels to add to the top. The default is 0. # @!attribute [rw] bottom_pixels # @return [::Integer] # The number of pixels to add to the bottom. The default is 0. # @!attribute [rw] left_pixels # @return [::Integer] # The number of pixels to add to the left. The default is 0. # @!attribute [rw] right_pixels # @return [::Integer] # The number of pixels to add to the right. The default is 0. class Pad include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Deinterlace configuration for input video. # @!attribute [rw] yadif # @return [::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Deinterlace::YadifConfig] # Specifies the Yet Another Deinterlacing Filter Configuration. # @!attribute [rw] bwdif # @return [::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Deinterlace::BwdifConfig] # Specifies the Bob Weaver Deinterlacing Filter Configuration. class Deinterlace include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Yet Another Deinterlacing Filter Configuration. # @!attribute [rw] mode # @return [::String] # Specifies the deinterlacing mode to adopt. # The default is `send_frame`. # Supported values: # # - `send_frame`: Output one frame for each frame # - `send_field`: Output one frame for each field # @!attribute [rw] disable_spatial_interlacing # @return [::Boolean] # Disable spacial interlacing. # The default is `false`. # @!attribute [rw] parity # @return [::String] # The picture field parity assumed for the input interlaced video. # The default is `auto`. # Supported values: # # - `tff`: Assume the top field is first # - `bff`: Assume the bottom field is first # - `auto`: Enable automatic detection of field parity # @!attribute [rw] deinterlace_all_frames # @return [::Boolean] # Deinterlace all frames rather than just the frames identified as # interlaced. The default is `false`. class YadifConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Bob Weaver Deinterlacing Filter Configuration. # @!attribute [rw] mode # @return [::String] # Specifies the deinterlacing mode to adopt. # The default is `send_frame`. # Supported values: # # - `send_frame`: Output one frame for each frame # - `send_field`: Output one frame for each field # @!attribute [rw] parity # @return [::String] # The picture field parity assumed for the input interlaced video. # The default is `auto`. # Supported values: # # - `tff`: Assume the top field is first # - `bff`: Assume the bottom field is first # - `auto`: Enable automatic detection of field parity # @!attribute [rw] deinterlace_all_frames # @return [::Boolean] # Deinterlace all frames rather than just the frames identified as # interlaced. The default is `false`. class BwdifConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end |
#crop ⇒ ::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Crop
Returns Specify the video cropping configuration.
643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 |
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 643 class PreprocessingConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Color preprocessing configuration. # # **Note:** This configuration is not supported. # @!attribute [rw] saturation # @return [::Float] # Control color saturation of the video. Enter a value between -1 and 1, # where -1 is fully desaturated and 1 is maximum saturation. 0 is no # change. The default is 0. # @!attribute [rw] contrast # @return [::Float] # Control black and white contrast of the video. Enter a value between -1 # and 1, where -1 is minimum contrast and 1 is maximum contrast. 0 is no # change. The default is 0. # @!attribute [rw] brightness # @return [::Float] # Control brightness of the video. Enter a value between -1 and 1, where -1 # is minimum brightness and 1 is maximum brightness. 0 is no change. The # default is 0. class Color include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Denoise preprocessing configuration. # # **Note:** This configuration is not supported. # @!attribute [rw] strength # @return [::Float] # Set strength of the denoise. Enter a value between 0 and 1. The higher # the value, the smoother the image. 0 is no denoising. The default is 0. # @!attribute [rw] tune # @return [::String] # Set the denoiser mode. The default is `standard`. # # Supported denoiser modes: # # - `standard` # - `grain` class Denoise include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Deblock preprocessing configuration. # # **Note:** This configuration is not supported. # @!attribute [rw] strength # @return [::Float] # Set strength of the deblocker. Enter a value between 0 and 1. The higher # the value, the stronger the block removal. 0 is no deblocking. The # default is 0. # @!attribute [rw] enabled # @return [::Boolean] # Enable deblocker. The default is `false`. class Deblock include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Audio preprocessing configuration. # @!attribute [rw] lufs # @return [::Float] # Specify audio loudness normalization in loudness units relative to full # scale (LUFS). Enter a value between -24 and 0 (the default), where: # # * -24 is the Advanced Television Systems Committee (ATSC A/85) standard # * -23 is the EU R128 broadcast standard # * -19 is the prior standard for online mono audio # * -18 is the ReplayGain standard # * -16 is the prior standard for stereo audio # * -14 is the new online audio standard recommended by Spotify, as well # as Amazon Echo # * 0 disables normalization # @!attribute [rw] high_boost # @return [::Boolean] # Enable boosting high frequency components. The default is `false`. # # **Note:** This field is not supported. # @!attribute [rw] low_boost # @return [::Boolean] # Enable boosting low frequency components. The default is `false`. # # **Note:** This field is not supported. class Audio include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Video cropping configuration for the input video. The cropped input video # is scaled to match the output resolution. # @!attribute [rw] top_pixels # @return [::Integer] # The number of pixels to crop from the top. The default is 0. # @!attribute [rw] bottom_pixels # @return [::Integer] # The number of pixels to crop from the bottom. The default is 0. # @!attribute [rw] left_pixels # @return [::Integer] # The number of pixels to crop from the left. The default is 0. # @!attribute [rw] right_pixels # @return [::Integer] # The number of pixels to crop from the right. The default is 0. class Crop include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Pad filter configuration for the input video. The padded input video # is scaled after padding with black to match the output resolution. # @!attribute [rw] top_pixels # @return [::Integer] # The number of pixels to add to the top. The default is 0. # @!attribute [rw] bottom_pixels # @return [::Integer] # The number of pixels to add to the bottom. The default is 0. # @!attribute [rw] left_pixels # @return [::Integer] # The number of pixels to add to the left. The default is 0. # @!attribute [rw] right_pixels # @return [::Integer] # The number of pixels to add to the right. The default is 0. class Pad include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Deinterlace configuration for input video. # @!attribute [rw] yadif # @return [::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Deinterlace::YadifConfig] # Specifies the Yet Another Deinterlacing Filter Configuration. # @!attribute [rw] bwdif # @return [::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Deinterlace::BwdifConfig] # Specifies the Bob Weaver Deinterlacing Filter Configuration. class Deinterlace include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Yet Another Deinterlacing Filter Configuration. # @!attribute [rw] mode # @return [::String] # Specifies the deinterlacing mode to adopt. # The default is `send_frame`. # Supported values: # # - `send_frame`: Output one frame for each frame # - `send_field`: Output one frame for each field # @!attribute [rw] disable_spatial_interlacing # @return [::Boolean] # Disable spacial interlacing. # The default is `false`. # @!attribute [rw] parity # @return [::String] # The picture field parity assumed for the input interlaced video. # The default is `auto`. # Supported values: # # - `tff`: Assume the top field is first # - `bff`: Assume the bottom field is first # - `auto`: Enable automatic detection of field parity # @!attribute [rw] deinterlace_all_frames # @return [::Boolean] # Deinterlace all frames rather than just the frames identified as # interlaced. The default is `false`. class YadifConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Bob Weaver Deinterlacing Filter Configuration. # @!attribute [rw] mode # @return [::String] # Specifies the deinterlacing mode to adopt. # The default is `send_frame`. # Supported values: # # - `send_frame`: Output one frame for each frame # - `send_field`: Output one frame for each field # @!attribute [rw] parity # @return [::String] # The picture field parity assumed for the input interlaced video. # The default is `auto`. # Supported values: # # - `tff`: Assume the top field is first # - `bff`: Assume the bottom field is first # - `auto`: Enable automatic detection of field parity # @!attribute [rw] deinterlace_all_frames # @return [::Boolean] # Deinterlace all frames rather than just the frames identified as # interlaced. The default is `false`. class BwdifConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end |
#deblock ⇒ ::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Deblock
Returns Deblock preprocessing configuration.
643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 |
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 643 class PreprocessingConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Color preprocessing configuration. # # **Note:** This configuration is not supported. # @!attribute [rw] saturation # @return [::Float] # Control color saturation of the video. Enter a value between -1 and 1, # where -1 is fully desaturated and 1 is maximum saturation. 0 is no # change. The default is 0. # @!attribute [rw] contrast # @return [::Float] # Control black and white contrast of the video. Enter a value between -1 # and 1, where -1 is minimum contrast and 1 is maximum contrast. 0 is no # change. The default is 0. # @!attribute [rw] brightness # @return [::Float] # Control brightness of the video. Enter a value between -1 and 1, where -1 # is minimum brightness and 1 is maximum brightness. 0 is no change. The # default is 0. class Color include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Denoise preprocessing configuration. # # **Note:** This configuration is not supported. # @!attribute [rw] strength # @return [::Float] # Set strength of the denoise. Enter a value between 0 and 1. The higher # the value, the smoother the image. 0 is no denoising. The default is 0. # @!attribute [rw] tune # @return [::String] # Set the denoiser mode. The default is `standard`. # # Supported denoiser modes: # # - `standard` # - `grain` class Denoise include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Deblock preprocessing configuration. # # **Note:** This configuration is not supported. # @!attribute [rw] strength # @return [::Float] # Set strength of the deblocker. Enter a value between 0 and 1. The higher # the value, the stronger the block removal. 0 is no deblocking. The # default is 0. # @!attribute [rw] enabled # @return [::Boolean] # Enable deblocker. The default is `false`. class Deblock include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Audio preprocessing configuration. # @!attribute [rw] lufs # @return [::Float] # Specify audio loudness normalization in loudness units relative to full # scale (LUFS). Enter a value between -24 and 0 (the default), where: # # * -24 is the Advanced Television Systems Committee (ATSC A/85) standard # * -23 is the EU R128 broadcast standard # * -19 is the prior standard for online mono audio # * -18 is the ReplayGain standard # * -16 is the prior standard for stereo audio # * -14 is the new online audio standard recommended by Spotify, as well # as Amazon Echo # * 0 disables normalization # @!attribute [rw] high_boost # @return [::Boolean] # Enable boosting high frequency components. The default is `false`. # # **Note:** This field is not supported. # @!attribute [rw] low_boost # @return [::Boolean] # Enable boosting low frequency components. The default is `false`. # # **Note:** This field is not supported. class Audio include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Video cropping configuration for the input video. The cropped input video # is scaled to match the output resolution. # @!attribute [rw] top_pixels # @return [::Integer] # The number of pixels to crop from the top. The default is 0. # @!attribute [rw] bottom_pixels # @return [::Integer] # The number of pixels to crop from the bottom. The default is 0. # @!attribute [rw] left_pixels # @return [::Integer] # The number of pixels to crop from the left. The default is 0. # @!attribute [rw] right_pixels # @return [::Integer] # The number of pixels to crop from the right. The default is 0. class Crop include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Pad filter configuration for the input video. The padded input video # is scaled after padding with black to match the output resolution. # @!attribute [rw] top_pixels # @return [::Integer] # The number of pixels to add to the top. The default is 0. # @!attribute [rw] bottom_pixels # @return [::Integer] # The number of pixels to add to the bottom. The default is 0. # @!attribute [rw] left_pixels # @return [::Integer] # The number of pixels to add to the left. The default is 0. # @!attribute [rw] right_pixels # @return [::Integer] # The number of pixels to add to the right. The default is 0. class Pad include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Deinterlace configuration for input video. # @!attribute [rw] yadif # @return [::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Deinterlace::YadifConfig] # Specifies the Yet Another Deinterlacing Filter Configuration. # @!attribute [rw] bwdif # @return [::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Deinterlace::BwdifConfig] # Specifies the Bob Weaver Deinterlacing Filter Configuration. class Deinterlace include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Yet Another Deinterlacing Filter Configuration. # @!attribute [rw] mode # @return [::String] # Specifies the deinterlacing mode to adopt. # The default is `send_frame`. # Supported values: # # - `send_frame`: Output one frame for each frame # - `send_field`: Output one frame for each field # @!attribute [rw] disable_spatial_interlacing # @return [::Boolean] # Disable spacial interlacing. # The default is `false`. # @!attribute [rw] parity # @return [::String] # The picture field parity assumed for the input interlaced video. # The default is `auto`. # Supported values: # # - `tff`: Assume the top field is first # - `bff`: Assume the bottom field is first # - `auto`: Enable automatic detection of field parity # @!attribute [rw] deinterlace_all_frames # @return [::Boolean] # Deinterlace all frames rather than just the frames identified as # interlaced. The default is `false`. class YadifConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Bob Weaver Deinterlacing Filter Configuration. # @!attribute [rw] mode # @return [::String] # Specifies the deinterlacing mode to adopt. # The default is `send_frame`. # Supported values: # # - `send_frame`: Output one frame for each frame # - `send_field`: Output one frame for each field # @!attribute [rw] parity # @return [::String] # The picture field parity assumed for the input interlaced video. # The default is `auto`. # Supported values: # # - `tff`: Assume the top field is first # - `bff`: Assume the bottom field is first # - `auto`: Enable automatic detection of field parity # @!attribute [rw] deinterlace_all_frames # @return [::Boolean] # Deinterlace all frames rather than just the frames identified as # interlaced. The default is `false`. class BwdifConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end |
#deinterlace ⇒ ::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Deinterlace
Returns Specify the video deinterlace configuration.
643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 |
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 643 class PreprocessingConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Color preprocessing configuration. # # **Note:** This configuration is not supported. # @!attribute [rw] saturation # @return [::Float] # Control color saturation of the video. Enter a value between -1 and 1, # where -1 is fully desaturated and 1 is maximum saturation. 0 is no # change. The default is 0. # @!attribute [rw] contrast # @return [::Float] # Control black and white contrast of the video. Enter a value between -1 # and 1, where -1 is minimum contrast and 1 is maximum contrast. 0 is no # change. The default is 0. # @!attribute [rw] brightness # @return [::Float] # Control brightness of the video. Enter a value between -1 and 1, where -1 # is minimum brightness and 1 is maximum brightness. 0 is no change. The # default is 0. class Color include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Denoise preprocessing configuration. # # **Note:** This configuration is not supported. # @!attribute [rw] strength # @return [::Float] # Set strength of the denoise. Enter a value between 0 and 1. The higher # the value, the smoother the image. 0 is no denoising. The default is 0. # @!attribute [rw] tune # @return [::String] # Set the denoiser mode. The default is `standard`. # # Supported denoiser modes: # # - `standard` # - `grain` class Denoise include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Deblock preprocessing configuration. # # **Note:** This configuration is not supported. # @!attribute [rw] strength # @return [::Float] # Set strength of the deblocker. Enter a value between 0 and 1. The higher # the value, the stronger the block removal. 0 is no deblocking. The # default is 0. # @!attribute [rw] enabled # @return [::Boolean] # Enable deblocker. The default is `false`. class Deblock include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Audio preprocessing configuration. # @!attribute [rw] lufs # @return [::Float] # Specify audio loudness normalization in loudness units relative to full # scale (LUFS). Enter a value between -24 and 0 (the default), where: # # * -24 is the Advanced Television Systems Committee (ATSC A/85) standard # * -23 is the EU R128 broadcast standard # * -19 is the prior standard for online mono audio # * -18 is the ReplayGain standard # * -16 is the prior standard for stereo audio # * -14 is the new online audio standard recommended by Spotify, as well # as Amazon Echo # * 0 disables normalization # @!attribute [rw] high_boost # @return [::Boolean] # Enable boosting high frequency components. The default is `false`. # # **Note:** This field is not supported. # @!attribute [rw] low_boost # @return [::Boolean] # Enable boosting low frequency components. The default is `false`. # # **Note:** This field is not supported. class Audio include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Video cropping configuration for the input video. The cropped input video # is scaled to match the output resolution. # @!attribute [rw] top_pixels # @return [::Integer] # The number of pixels to crop from the top. The default is 0. # @!attribute [rw] bottom_pixels # @return [::Integer] # The number of pixels to crop from the bottom. The default is 0. # @!attribute [rw] left_pixels # @return [::Integer] # The number of pixels to crop from the left. The default is 0. # @!attribute [rw] right_pixels # @return [::Integer] # The number of pixels to crop from the right. The default is 0. class Crop include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Pad filter configuration for the input video. The padded input video # is scaled after padding with black to match the output resolution. # @!attribute [rw] top_pixels # @return [::Integer] # The number of pixels to add to the top. The default is 0. # @!attribute [rw] bottom_pixels # @return [::Integer] # The number of pixels to add to the bottom. The default is 0. # @!attribute [rw] left_pixels # @return [::Integer] # The number of pixels to add to the left. The default is 0. # @!attribute [rw] right_pixels # @return [::Integer] # The number of pixels to add to the right. The default is 0. class Pad include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Deinterlace configuration for input video. # @!attribute [rw] yadif # @return [::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Deinterlace::YadifConfig] # Specifies the Yet Another Deinterlacing Filter Configuration. # @!attribute [rw] bwdif # @return [::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Deinterlace::BwdifConfig] # Specifies the Bob Weaver Deinterlacing Filter Configuration. class Deinterlace include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Yet Another Deinterlacing Filter Configuration. # @!attribute [rw] mode # @return [::String] # Specifies the deinterlacing mode to adopt. # The default is `send_frame`. # Supported values: # # - `send_frame`: Output one frame for each frame # - `send_field`: Output one frame for each field # @!attribute [rw] disable_spatial_interlacing # @return [::Boolean] # Disable spacial interlacing. # The default is `false`. # @!attribute [rw] parity # @return [::String] # The picture field parity assumed for the input interlaced video. # The default is `auto`. # Supported values: # # - `tff`: Assume the top field is first # - `bff`: Assume the bottom field is first # - `auto`: Enable automatic detection of field parity # @!attribute [rw] deinterlace_all_frames # @return [::Boolean] # Deinterlace all frames rather than just the frames identified as # interlaced. The default is `false`. class YadifConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Bob Weaver Deinterlacing Filter Configuration. # @!attribute [rw] mode # @return [::String] # Specifies the deinterlacing mode to adopt. # The default is `send_frame`. # Supported values: # # - `send_frame`: Output one frame for each frame # - `send_field`: Output one frame for each field # @!attribute [rw] parity # @return [::String] # The picture field parity assumed for the input interlaced video. # The default is `auto`. # Supported values: # # - `tff`: Assume the top field is first # - `bff`: Assume the bottom field is first # - `auto`: Enable automatic detection of field parity # @!attribute [rw] deinterlace_all_frames # @return [::Boolean] # Deinterlace all frames rather than just the frames identified as # interlaced. The default is `false`. class BwdifConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end |
#denoise ⇒ ::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Denoise
Returns Denoise preprocessing configuration.
643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 |
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 643 class PreprocessingConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Color preprocessing configuration. # # **Note:** This configuration is not supported. # @!attribute [rw] saturation # @return [::Float] # Control color saturation of the video. Enter a value between -1 and 1, # where -1 is fully desaturated and 1 is maximum saturation. 0 is no # change. The default is 0. # @!attribute [rw] contrast # @return [::Float] # Control black and white contrast of the video. Enter a value between -1 # and 1, where -1 is minimum contrast and 1 is maximum contrast. 0 is no # change. The default is 0. # @!attribute [rw] brightness # @return [::Float] # Control brightness of the video. Enter a value between -1 and 1, where -1 # is minimum brightness and 1 is maximum brightness. 0 is no change. The # default is 0. class Color include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Denoise preprocessing configuration. # # **Note:** This configuration is not supported. # @!attribute [rw] strength # @return [::Float] # Set strength of the denoise. Enter a value between 0 and 1. The higher # the value, the smoother the image. 0 is no denoising. The default is 0. # @!attribute [rw] tune # @return [::String] # Set the denoiser mode. The default is `standard`. # # Supported denoiser modes: # # - `standard` # - `grain` class Denoise include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Deblock preprocessing configuration. # # **Note:** This configuration is not supported. # @!attribute [rw] strength # @return [::Float] # Set strength of the deblocker. Enter a value between 0 and 1. The higher # the value, the stronger the block removal. 0 is no deblocking. The # default is 0. # @!attribute [rw] enabled # @return [::Boolean] # Enable deblocker. The default is `false`. class Deblock include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Audio preprocessing configuration. # @!attribute [rw] lufs # @return [::Float] # Specify audio loudness normalization in loudness units relative to full # scale (LUFS). Enter a value between -24 and 0 (the default), where: # # * -24 is the Advanced Television Systems Committee (ATSC A/85) standard # * -23 is the EU R128 broadcast standard # * -19 is the prior standard for online mono audio # * -18 is the ReplayGain standard # * -16 is the prior standard for stereo audio # * -14 is the new online audio standard recommended by Spotify, as well # as Amazon Echo # * 0 disables normalization # @!attribute [rw] high_boost # @return [::Boolean] # Enable boosting high frequency components. The default is `false`. # # **Note:** This field is not supported. # @!attribute [rw] low_boost # @return [::Boolean] # Enable boosting low frequency components. The default is `false`. # # **Note:** This field is not supported. class Audio include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Video cropping configuration for the input video. The cropped input video # is scaled to match the output resolution. # @!attribute [rw] top_pixels # @return [::Integer] # The number of pixels to crop from the top. The default is 0. # @!attribute [rw] bottom_pixels # @return [::Integer] # The number of pixels to crop from the bottom. The default is 0. # @!attribute [rw] left_pixels # @return [::Integer] # The number of pixels to crop from the left. The default is 0. # @!attribute [rw] right_pixels # @return [::Integer] # The number of pixels to crop from the right. The default is 0. class Crop include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Pad filter configuration for the input video. The padded input video # is scaled after padding with black to match the output resolution. # @!attribute [rw] top_pixels # @return [::Integer] # The number of pixels to add to the top. The default is 0. # @!attribute [rw] bottom_pixels # @return [::Integer] # The number of pixels to add to the bottom. The default is 0. # @!attribute [rw] left_pixels # @return [::Integer] # The number of pixels to add to the left. The default is 0. # @!attribute [rw] right_pixels # @return [::Integer] # The number of pixels to add to the right. The default is 0. class Pad include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Deinterlace configuration for input video. # @!attribute [rw] yadif # @return [::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Deinterlace::YadifConfig] # Specifies the Yet Another Deinterlacing Filter Configuration. # @!attribute [rw] bwdif # @return [::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Deinterlace::BwdifConfig] # Specifies the Bob Weaver Deinterlacing Filter Configuration. class Deinterlace include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Yet Another Deinterlacing Filter Configuration. # @!attribute [rw] mode # @return [::String] # Specifies the deinterlacing mode to adopt. # The default is `send_frame`. # Supported values: # # - `send_frame`: Output one frame for each frame # - `send_field`: Output one frame for each field # @!attribute [rw] disable_spatial_interlacing # @return [::Boolean] # Disable spacial interlacing. # The default is `false`. # @!attribute [rw] parity # @return [::String] # The picture field parity assumed for the input interlaced video. # The default is `auto`. # Supported values: # # - `tff`: Assume the top field is first # - `bff`: Assume the bottom field is first # - `auto`: Enable automatic detection of field parity # @!attribute [rw] deinterlace_all_frames # @return [::Boolean] # Deinterlace all frames rather than just the frames identified as # interlaced. The default is `false`. class YadifConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Bob Weaver Deinterlacing Filter Configuration. # @!attribute [rw] mode # @return [::String] # Specifies the deinterlacing mode to adopt. # The default is `send_frame`. # Supported values: # # - `send_frame`: Output one frame for each frame # - `send_field`: Output one frame for each field # @!attribute [rw] parity # @return [::String] # The picture field parity assumed for the input interlaced video. # The default is `auto`. # Supported values: # # - `tff`: Assume the top field is first # - `bff`: Assume the bottom field is first # - `auto`: Enable automatic detection of field parity # @!attribute [rw] deinterlace_all_frames # @return [::Boolean] # Deinterlace all frames rather than just the frames identified as # interlaced. The default is `false`. class BwdifConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end |
#pad ⇒ ::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Pad
Returns Specify the video pad filter configuration.
643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 |
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 643 class PreprocessingConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Color preprocessing configuration. # # **Note:** This configuration is not supported. # @!attribute [rw] saturation # @return [::Float] # Control color saturation of the video. Enter a value between -1 and 1, # where -1 is fully desaturated and 1 is maximum saturation. 0 is no # change. The default is 0. # @!attribute [rw] contrast # @return [::Float] # Control black and white contrast of the video. Enter a value between -1 # and 1, where -1 is minimum contrast and 1 is maximum contrast. 0 is no # change. The default is 0. # @!attribute [rw] brightness # @return [::Float] # Control brightness of the video. Enter a value between -1 and 1, where -1 # is minimum brightness and 1 is maximum brightness. 0 is no change. The # default is 0. class Color include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Denoise preprocessing configuration. # # **Note:** This configuration is not supported. # @!attribute [rw] strength # @return [::Float] # Set strength of the denoise. Enter a value between 0 and 1. The higher # the value, the smoother the image. 0 is no denoising. The default is 0. # @!attribute [rw] tune # @return [::String] # Set the denoiser mode. The default is `standard`. # # Supported denoiser modes: # # - `standard` # - `grain` class Denoise include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Deblock preprocessing configuration. # # **Note:** This configuration is not supported. # @!attribute [rw] strength # @return [::Float] # Set strength of the deblocker. Enter a value between 0 and 1. The higher # the value, the stronger the block removal. 0 is no deblocking. The # default is 0. # @!attribute [rw] enabled # @return [::Boolean] # Enable deblocker. The default is `false`. class Deblock include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Audio preprocessing configuration. # @!attribute [rw] lufs # @return [::Float] # Specify audio loudness normalization in loudness units relative to full # scale (LUFS). Enter a value between -24 and 0 (the default), where: # # * -24 is the Advanced Television Systems Committee (ATSC A/85) standard # * -23 is the EU R128 broadcast standard # * -19 is the prior standard for online mono audio # * -18 is the ReplayGain standard # * -16 is the prior standard for stereo audio # * -14 is the new online audio standard recommended by Spotify, as well # as Amazon Echo # * 0 disables normalization # @!attribute [rw] high_boost # @return [::Boolean] # Enable boosting high frequency components. The default is `false`. # # **Note:** This field is not supported. # @!attribute [rw] low_boost # @return [::Boolean] # Enable boosting low frequency components. The default is `false`. # # **Note:** This field is not supported. class Audio include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Video cropping configuration for the input video. The cropped input video # is scaled to match the output resolution. # @!attribute [rw] top_pixels # @return [::Integer] # The number of pixels to crop from the top. The default is 0. # @!attribute [rw] bottom_pixels # @return [::Integer] # The number of pixels to crop from the bottom. The default is 0. # @!attribute [rw] left_pixels # @return [::Integer] # The number of pixels to crop from the left. The default is 0. # @!attribute [rw] right_pixels # @return [::Integer] # The number of pixels to crop from the right. The default is 0. class Crop include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Pad filter configuration for the input video. The padded input video # is scaled after padding with black to match the output resolution. # @!attribute [rw] top_pixels # @return [::Integer] # The number of pixels to add to the top. The default is 0. # @!attribute [rw] bottom_pixels # @return [::Integer] # The number of pixels to add to the bottom. The default is 0. # @!attribute [rw] left_pixels # @return [::Integer] # The number of pixels to add to the left. The default is 0. # @!attribute [rw] right_pixels # @return [::Integer] # The number of pixels to add to the right. The default is 0. class Pad include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Deinterlace configuration for input video. # @!attribute [rw] yadif # @return [::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Deinterlace::YadifConfig] # Specifies the Yet Another Deinterlacing Filter Configuration. # @!attribute [rw] bwdif # @return [::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Deinterlace::BwdifConfig] # Specifies the Bob Weaver Deinterlacing Filter Configuration. class Deinterlace include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Yet Another Deinterlacing Filter Configuration. # @!attribute [rw] mode # @return [::String] # Specifies the deinterlacing mode to adopt. # The default is `send_frame`. # Supported values: # # - `send_frame`: Output one frame for each frame # - `send_field`: Output one frame for each field # @!attribute [rw] disable_spatial_interlacing # @return [::Boolean] # Disable spacial interlacing. # The default is `false`. # @!attribute [rw] parity # @return [::String] # The picture field parity assumed for the input interlaced video. # The default is `auto`. # Supported values: # # - `tff`: Assume the top field is first # - `bff`: Assume the bottom field is first # - `auto`: Enable automatic detection of field parity # @!attribute [rw] deinterlace_all_frames # @return [::Boolean] # Deinterlace all frames rather than just the frames identified as # interlaced. The default is `false`. class YadifConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Bob Weaver Deinterlacing Filter Configuration. # @!attribute [rw] mode # @return [::String] # Specifies the deinterlacing mode to adopt. # The default is `send_frame`. # Supported values: # # - `send_frame`: Output one frame for each frame # - `send_field`: Output one frame for each field # @!attribute [rw] parity # @return [::String] # The picture field parity assumed for the input interlaced video. # The default is `auto`. # Supported values: # # - `tff`: Assume the top field is first # - `bff`: Assume the bottom field is first # - `auto`: Enable automatic detection of field parity # @!attribute [rw] deinterlace_all_frames # @return [::Boolean] # Deinterlace all frames rather than just the frames identified as # interlaced. The default is `false`. class BwdifConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end |