-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
merging error #26
Comments
Your target directory should be |
Still i am getting error |
That is normal if you are missing the metadata.json file that should be in the directory. I'll see if I can patch this to allow merging without the metadata file. |
I TRIED ANOTHER FILE BUT ITS DIFFERENT ERROR
|
You need to have ffprobe installed on your system. It should be installed alongside ffmpeg usually. No idea how that works on Windows. You need to make sure ffprobe is in your PATH environment variable. |
If for whatever reason you cannot use ffprobe, I just pushed commit 122bc5e which should ignore the error and complete the merge process anyway. |
the video file got merged but audio is not merged it shows error |
You need to make sure ffmpeg is in installed, and the path to the program is your PATH. |
Thanks i downloaded ffmeg and files got merged |
I have problem in merging please sort out
C:\Users\USER\Downloads\livestream_saver-main\livestream_saver-main>python lives
tream_saver.py merge C:\Users\USER\Downloads\livestream_saver-main\livestream_sa
ver-main\stream_capture_19gEHNEkakM{19gEHNEkakM}
Traceback (most recent call last):
File "C:\Users\USER\Downloads\livestream_saver-main\livestream_saver-main\live
stream_saver\merge.py", line 18, in get_metadata_info
with open(path / "metadata.json", 'r', encoding='utf-8') as fp:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\USER\Downlo
ads\livestream_saver-main\livestream_saver-main\stream_capture_19gEHNEkakM{19
gEHNEkakM}\metadata.json'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "livestream_saver.py", line 655, in main
error = args["func"](config, args)
File "livestream_saver.py", line 440, in merge_mode
info = get_metadata_info(data_path)
File "C:\Users\USER\Downloads\livestream_saver-main\livestream_saver-main\live
stream_saver\merge.py", line 21, in get_metadata_info
logger.exception(f"Exception while trying to load metadata.json: {e}")
File "C:\ProgramData\Anaconda3\lib\logging_init_.py", line 1469, in excepti
on
self.error(msg, *args, exc_info=exc_info, **kwargs)
File "C:\ProgramData\Anaconda3\lib\logging_init_.py", line 1463, in error
self.log(ERROR, msg, args, **kwargs)
File "C:\ProgramData\Anaconda3\lib\logging_init.py", line 1577, in log
self.handle(record)
File "C:\ProgramData\Anaconda3\lib\logging_init.py", line 1587, in handle
self.callHandlers(record)
File "C:\ProgramData\Anaconda3\lib\logging_init_.py", line 1649, in callHan
dlers
hdlr.handle(record)
File "C:\ProgramData\Anaconda3\lib\logging_init_.py", line 950, in handle
self.emit(record)
File "C:\ProgramData\Anaconda3\lib\logging_init_.py", line 1182, in emit
self.stream = self.open()
File "C:\ProgramData\Anaconda3\lib\logging_init.py", line 1172, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding)
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\USER\Downlo
ads\livestream_saver-main\livestream_saver-main\stream_capture_19gEHNEkakM{19
gEHNEkakM}\merge.log'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "livestream_saver.py", line 683, in
exit(main())
File "livestream_saver.py", line 660, in main
logger.exception(e)
File "C:\ProgramData\Anaconda3\lib\logging_init_.py", line 1469, in excepti
on
self.error(msg, *args, exc_info=exc_info, **kwargs)
File "C:\ProgramData\Anaconda3\lib\logging_init_.py", line 1463, in error
self.log(ERROR, msg, args, **kwargs)
File "C:\ProgramData\Anaconda3\lib\logging_init.py", line 1577, in log
self.handle(record)
File "C:\ProgramData\Anaconda3\lib\logging_init.py", line 1587, in handle
self.callHandlers(record)
File "C:\ProgramData\Anaconda3\lib\logging_init_.py", line 1649, in callHan
dlers
hdlr.handle(record)
File "C:\ProgramData\Anaconda3\lib\logging_init_.py", line 950, in handle
self.emit(record)
File "C:\ProgramData\Anaconda3\lib\logging_init_.py", line 1182, in emit
self.stream = self.open()
File "C:\ProgramData\Anaconda3\lib\logging_init.py", line 1172, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding)
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\USER\Downlo
ads\livestream_saver-main\livestream_saver-main\stream_capture_19gEHNEkakM{19
gEHNEkakM}\merge.log'
The text was updated successfully, but these errors were encountered: