CameraITS: Hide the ffmpeg output from terminal.

Bug:228877544

Test: test_video_aspect_ratio_and_crop on Pixel device.
Change-Id: I88b20801e9302b718d8e7919099dc9bd5c2e21fc
diff --git a/apps/CameraITS/utils/video_processing_utils.py b/apps/CameraITS/utils/video_processing_utils.py
index 210e699..5783cd3 100644
--- a/apps/CameraITS/utils/video_processing_utils.py
+++ b/apps/CameraITS/utils/video_processing_utils.py
@@ -46,6 +46,10 @@
   frame index.All the extracted key frames will be available in  jpeg format
   at the same path as the video file.
 
+  The run time flag '-loglevel quiet' hides the information from terminal.
+  In order to see the detailed output of ffmpeg command change the loglevel
+  option to 'info'.
+
   Args:
     log_path: path for video file directory
     video_file_name: name of the video file.
@@ -66,6 +70,8 @@
          '-frame_pts',
          'true',
          ffmpeg_image_file_path,
+         '-loglevel',
+         'quiet',
         ]
   logging.debug('Extracting key frames from: %s', video_file_name)
   _ = subprocess.call(cmd)
@@ -108,6 +114,10 @@
   extracted key frames will be available in the provided img_format format at
   the same path as the video file.
 
+  The run time flag '-loglevel quiet' hides the information from terminal.
+  In order to see the detailed output of ffmpeg command change the loglevel
+  option to 'info'.
+
   Args:
     log_path: str; path for video file directory
     video_file_name: str; name of the video file.
@@ -123,7 +133,7 @@
       f'{os.path.join(log_path, ffmpeg_image_name)}_%03d.{img_format}')
   cmd = [
       'ffmpeg', '-i', os.path.join(log_path, video_file_name),
-      ffmpeg_image_file_names
+      ffmpeg_image_file_names, '-loglevel', 'quiet'
   ]
   _ = subprocess.call(cmd)