diff --git a/bin/ffx/file_properties.py b/bin/ffx/file_properties.py index b78b6ef..1da0f74 100644 --- a/bin/ffx/file_properties.py +++ b/bin/ffx/file_properties.py @@ -97,12 +97,13 @@ class FileProperties(): } """ + # ffprobe -hide_banner -show_format -of json ffprobeOutput, ffprobeError, returnCode = executeProcess(["ffprobe", "-hide_banner", "-show_format", "-of", "json", - self.__sourcePath], - context = self.context) + self.__sourcePath]) #, + #context = self.context) if 'Invalid data found when processing input' in ffprobeError: raise Exception(f"File {self.__sourcePath} does not contain valid stream data") @@ -156,13 +157,13 @@ class FileProperties(): } """ - + # ffprobe -hide_banner -show_streams -of json ffprobeOutput, ffprobeError, returnCode = executeProcess(["ffprobe", "-hide_banner", "-show_streams", "-of", "json", - self.__sourcePath], - context = self.context) + self.__sourcePath]) #, + #context = self.context) if 'Invalid data found when processing input' in ffprobeError: raise Exception(f"File {self.__sourcePath} does not contain valid stream data")