Commit ·
ab990ca
1
Parent(s): a43cd6d
add stderr
Browse files- hls_download.py +1 -0
hls_download.py
CHANGED
|
@@ -37,6 +37,7 @@ def download_clips(stream_url, out_dir, start_time, end_time, resize=True, use_6
|
|
| 37 |
except subprocess.CalledProcessError as e:
|
| 38 |
print(f"Error occurred: {e}")
|
| 39 |
print(f"ffmpeg output: {e.output}")
|
|
|
|
| 40 |
return output_file
|
| 41 |
# else:
|
| 42 |
# os.rename(tmp_file, output_file)
|
|
|
|
| 37 |
except subprocess.CalledProcessError as e:
|
| 38 |
print(f"Error occurred: {e}")
|
| 39 |
print(f"ffmpeg output: {e.output}")
|
| 40 |
+
print(f"ffmpeg stderr: {e.stderr}")
|
| 41 |
return output_file
|
| 42 |
# else:
|
| 43 |
# os.rename(tmp_file, output_file)
|