elebumm / RedditVideoMakerBot

Create Reddit Videos with justโœจ one command โœจ
GNU General Public License v3.0
6.63k stars 1.86k forks source link

ERROR: Postprocessing: Stream #1:0 -> #0:1 (copy) #502

Closed realairacobra closed 2 years ago

realairacobra commented 2 years ago

karma@l13:~/RedditVideoMakerBot$ python3 main.py

     Thanks for using this tool! Feel free to contribute to this project on GitHub! If you have any questions, feel free to reach out to me on Twitter or submit a GitHub issue.          

[21:35:05] Checking environment variables... main.py:48 [21:35:06] Enviroment Variables are set! Continuing... main.py:90 Video will be: How did you figure out your SO cheated on you? ๐Ÿ‘ [21:35:07] Getting video comments... subreddit.py:61 Received AskReddit threads successfully. โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ โ”‚ Saving Text to MP3 files... โ”‚ โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ Saving... โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ” 0.4 it/s
Saved Text to MP3 files successfully. โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ โ”‚ Downloading Screenshots of Reddit Posts ๐Ÿ“ท โ”‚ โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ Launching Headless Browser... Post is NSFW. You are spicy... Downloading screenshots... โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ” 0.4 it/s
Screenshots downloaded Successfully. โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ โ”‚ We need to download the Minecraft background video. This is fairly large but it's only done once. โ”‚ โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ Downloading the background video... please be patient. [youtube] n_Dv4JMiwK8: Downloading webpage [youtube] n_Dv4JMiwK8: Downloading android player API JSON [info] n_Dv4JMiwK8: Downloading 1 format(s): 308+251 [download] assets/mp4/background.f308.webm has already been downloaded [download] 100% of 5.84GiB [download] assets/mp4/background.f251.webm has already been downloaded [download] 100% of 80.34MiB [Merger] Merging formats into "assets/mp4/background.mp4" ERROR: Postprocessing: Stream #1:0 -> #0:1 (copy) Traceback (most recent call last): File "/home/karma/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 3204, in process_info replace_info_dict(self.post_process(dl_filename, info_dict, files_to_move)) File "/home/karma/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 3374, in post_process info = self.run_all_pps('post_process', info, additional_pps=info.get('postprocessors')) File "/home/karma/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 3361, in run_all_pps info = self.run_pp(pp, info) File "/home/karma/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 3340, in run_pp files_to_delete, infodict = pp.run(infodict) File "/home/karma/.local/lib/python3.8/site-packages/yt_dlp/postprocessor/common.py", line 25, in run ret = func(self, info, *args, **kwargs) File "/home/karma/.local/lib/python3.8/site-packages/yt_dlp/postprocessor/common.py", line 129, in wrapper return func(self, info) File "/home/karma/.local/lib/python3.8/site-packages/yt_dlp/postprocessor/ffmpeg.py", line 827, in run self.run_ffmpeg_multiple_files(info['files_to_merge'], temp_filename, args) File "/home/karma/.local/lib/python3.8/site-packages/yt_dlp/postprocessor/ffmpeg.py", line 282, in run_ffmpeg_multiple_files return self.real_run_ffmpeg( File "/home/karma/.local/lib/python3.8/site-packages/yt_dlp/postprocessor/ffmpeg.py", line 321, in real_run_ffmpeg raise FFmpegPostProcessorError(stderr.split('\n')[-1]) yt_dlp.postprocessor.ffmpeg.FFmpegPostProcessorError: Stream #1:0 -> #0:1 (copy)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "main.py", line 98, in download_background() File "/home/karma/RedditVideoMakerBot/video_creation/background.py", line 35, in download_background ydl.download("https://www.youtube.com/watch?v=n_Dv4JMiwK8") File "/home/karma/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 3254, in download self.download_wrapper(self.extract_info)( File "/home/karma/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 3230, in wrapper res = func(*args, *kwargs) File "/home/karma/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 1386, in extract_info return self.__extract_info(url, self.get_info_extractor(ie_key), download, extra_info, process) File "/home/karma/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 1395, in wrapper return func(self, args, **kwargs) File "/home/karma/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 1479, in extract_info return self.process_ie_result(ie_result, download, extra_info) File "/home/karma/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 1535, in process_ie_result ie_result = self.process_video_result(ie_result, download=download) File "/home/karma/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 2640, in process_video_result self.process_info(new_info) File "/home/karma/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 3206, in process_info self.report_error('Postprocessing: %s' % str(err)) File "/home/karma/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 936, in report_error self.trouble(f'{self._format_err("ERROR:", self.Styles.ERROR)} {message}', *args, **kwargs) File "/home/karma/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 879, in trouble raise DownloadError(message, exc_info) yt_dlp.utils.DownloadError: ERROR: Postprocessing: Stream #1:0 -> #0:1 (copy)

zicjin commented 2 years ago

same issus

roely15mol commented 2 years ago

Same issue over here

roely15mol commented 2 years ago

Looks like ffmpeg is outdated. But dont know how to change it.

comhendrik commented 2 years ago

Take a look on issue #470

realairacobra commented 2 years ago

Looks like ffmpeg is outdated. But dont know how to change it.

tried apt updating it but it told me it was not outdated

realairacobra commented 2 years ago

i am very intelligent i didnt want to close this

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 7 days with no activity. Remove stale label or comment, or this will be closed in 10 days.

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 7 days with no activity. Remove stale label or comment, or this will be closed in 10 days.

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 7 days with no activity. Remove stale label or comment, or this will be closed in 10 days.

github-actions[bot] commented 2 years ago

Issue closed due to being stale. Please reopen if issue persists in latest version.