Comments (9)
Your target directory should be stream_capture_19gEHNEkakM
not stream_capture_19gEHNEkakM{19gEHNEkakM}
.
from livestream_saver.
Still i am getting error
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
2021-11-11 18:05:32,474 - ERROR - livestream_saver.merge - Exception while tryin
g to load metadata.json: [Errno 2] No such file or directory: 'C:\Users\USER\
Downloads\livestream_saver-main\livestream_saver-main\stream_capture_19gEHNEk
akM\metadata.json'
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\m
etadata.json'
2021-11-11 18:05:32,490 - ERROR - livestream_saver - 'id'
Traceback (most recent call last):
File "livestream_saver.py", line 655, in main
error = args["func"](config, args)
File "livestream_saver.py", line 441, in merge_mode
written_file = merge(
File "C:\Users\USER\Downloads\livestream_saver-main\livestream_saver-main\live
stream_saver\merge.py", line 207, in merge
logger = logging.getLogger("download" + "." + info['id'])
KeyError: 'id'
from livestream_saver.
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.
from livestream_saver.
I TRIED ANOTHER FILE BUT ITS DIFFERENT ERROR
C:\Users\USER\Downloads\livestream_saver-main\livestream_saver-main>python livestream_saver.py merge C:\Users\USER\Downloads\livestream_saver-main\livestream_saver-main\stream_capture_PP0S1T1uvWA
2021-11-11 18:25:35,254 - WARNING - download.PP0S1T1uvWA - Number of audio and video segments do not match.
2021-11-11 18:25:35,271 - ERROR - livestream_saver - [WinError 2] The system can not find the file specified
Traceback (most recent call last):
File "livestream_saver.py", line 655, in main
error = args["func"](config, args)
File "livestream_saver.py", line 441, in merge_mode
written_file = merge(
File "C:\Users\USER\Downloads\livestream_saver-main\livestream_saver-main\live
stream_saver\merge.py", line 241, in merge
vid_props = probe(video_files[0])
File "C:\Users\USER\Downloads\livestream_saver-main\livestream_saver-main\live
stream_saver\merge.py", line 171, in probe
probeproc = subprocess.run(probecmd, capture_output=True, text=True)
File "C:\ProgramData\Anaconda3\lib\subprocess.py", line 489, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\ProgramData\Anaconda3\lib\subprocess.py", line 854, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\ProgramData\Anaconda3\lib\subprocess.py", line 1307, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
C:\Users\USER\Downloads\livestream_saver-main\livestream_saver-main>python livestream_saver.py merge C:\Users\USER\Downloads\livestream_saver-main\livestream_saver-main\stream_capture_19gEHNEkakM
2021-11-11 18:25:51,208 - ERROR - livestream_saver - [WinError 2] The system cannot find the file specified
Traceback (most recent call last):
File "livestream_saver.py", line 655, in main
error = args["func"](config, args)
File "livestream_saver.py", line 441, in merge_mode
written_file = merge(
File "C:\Users\USER\Downloads\livestream_saver-main\livestream_saver-main\live
stream_saver\merge.py", line 241, in merge
vid_props = probe(video_files[0])
File "C:\Users\USER\Downloads\livestream_saver-main\livestream_saver-main\live
stream_saver\merge.py", line 171, in probe
probeproc = subprocess.run(probecmd, capture_output=True, text=True)
File "C:\ProgramData\Anaconda3\lib\subprocess.py", line 489, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\ProgramData\Anaconda3\lib\subprocess.py", line 854, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\ProgramData\Anaconda3\lib\subprocess.py", line 1307, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
from livestream_saver.
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.
from livestream_saver.
If for whatever reason you cannot use ffprobe, I just pushed commit 122bc5e which should ignore the error and complete the merge process anyway.
It should also ignore the missing metadata.json file error.
Let me know if you get other errors.
from livestream_saver.
the video file got merged but audio is not merged it shows error
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
2021-11-11 21:25:49,260 - ERROR - download.19gEHNEkakM - Failed to use ffprobe:
[WinError 2] The system cannot find the file specified.
2021-11-11 21:25:49,284 - ERROR - download.19gEHNEkakM - Failed to use ffprobe:
[WinError 2] The system cannot find the file specified.
2021-11-11 21:25:49,285 - INFO - download.19gEHNEkakM - Trying concatenation met
hod: "concat".
2021-11-11 21:26:04,074 - ERROR - livestream_saver - [WinError 2] The system can
not find the file specified
Traceback (most recent call last):
File "livestream_saver.py", line 655, in main
error = args["func"](config, args)
File "livestream_saver.py", line 441, in merge_mode
written_file = merge(
File "C:\Users\USER\Downloads\livestream_saver-main\livestream_saver-main\live
stream_saver\merge.py", line 260, in merge
ffmpeg_output_path_video = concat(
File "C:\Users\USER\Downloads\livestream_saver-main\livestream_saver-main\live
stream_saver\merge.py", line 135, in concat
cproc = subprocess.run(
File "C:\ProgramData\Anaconda3\lib\subprocess.py", line 489, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\ProgramData\Anaconda3\lib\subprocess.py", line 854, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\ProgramData\Anaconda3\lib\subprocess.py", line 1307, in _execute_chil
d
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
from livestream_saver.
You need to make sure ffmpeg is in installed, and the path to the program is your PATH.
I'll push a patch to show a more explicit message whenever ffmpeg cannot be found. Commit: 673ad17
from livestream_saver.
Thanks i downloaded ffmeg and files got merged
from livestream_saver.
Related Issues (20)
- ffmpeg takes forever to read the concatenated ts HOT 4
- livestream_saver does not handle age-restricted videos correctly HOT 14
- New Youtube UI update, Livestreams moved to new tab HOT 3
- Missing Videos tab endpoint data for Livestream VODS HOT 2
- Cannot monitor or download (public videos = 0) HOT 1
- Streams no longer using Videos/Community tab to list live stream. HOT 2
- having trouble downloading streaming video. HTTP Error 404: Not Found HOT 2
- Unable to start livestream_saver on Ubuntu HOT 9
- Support monitoring multiple channels in one instance of the script HOT 4
- Could not find ffmpeg or ffprobe. HOT 1
- Unhandled exception: Missing streamingData key in json causing downloads to be interrupted HOT 4
- Exception while accessing title of video (possibly a pytube issue) HOT 1
- I think the latest change broke something HOT 2
- "The following content is not available on this app." errors HOT 8
- Help getting yt-dlp to spawn on events? HOT 4
- Cookie HOT 2
- Outdated client error. Retrying shortly... HOT 1
- SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] HOT 2
- How to install? HOT 4
- No module named 'yt_dlp' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from livestream_saver.