Open MyraBaba opened 11 months ago
here the error :
Checking requirements...
Running on local URL: http://0.0.0.0:31415
To create a public link, set share=True in launch(). Step 1 _generateScript Step 2 _generateTempAudio Step 3 _speedUpAudio ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers built with gcc 11 (Ubuntu 11.2.0-19ubuntu1) configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared libavutil 56. 70.100 / 56. 70.100 libavcodec 58.134.100 / 58.134.100 libavformat 58. 76.100 / 58. 76.100 libavdevice 58. 13.100 / 58. 13.100 libavfilter 7.110.100 / 7.110.100 libswscale 5. 9.100 / 5. 9.100 libswresample 3. 9.100 / 3. 9.100 libpostproc 55. 9.100 / 55. 9.100 [mp3 @ 0x55617508c680] Estimating duration from bitrate, this may be inaccurate Input #0, mp3, from '.editing_assets/facts_shorts_assets/781d20ae10164a1594e0ff23/temp_audio_path.wav': Duration: 00:01:22.29, start: 0.000000, bitrate: 127 kb/s Stream #0:0: Audio: mp3, 44100 Hz, mono, fltp, 128 kb/s Stream mapping: Stream #0:0 -> #0:0 (mp3 (mp3float) -> pcm_s16le (native)) Press [q] to stop, [?] for help Output #0, wav, to '.editing_assets/facts_shorts_assets/781d20ae10164a1594e0ff23/audio_voice.wav': Metadata: ISFT : Lavf58.76.100 Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, mono, s16, 705 kb/s Metadata: encoder : Lavc58.134.100 pcm_s16le size= 4908kB time=00:00:56.96 bitrate= 705.8kbits/s speed= 399x video:0kB audio:4908kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.001552% Step 4 _timeCaptions Detected language: Turkish 100%|ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| 5698/5698 [00:02<00:00, 2215.57frames/s] Step 5 _generateImageSearchTerms Step 6 _generateImageUrls Search engine queries for images...: 100%|βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| 21/21 [00:10<00:00, 2.06it/s] Step 7 _chooseBackgroundMusic Step 8 _chooseBackgroundVideo Step 9 _prepareBackgroundAssets https://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1695499219/ei/c-8OZZHqGNCB8gO_y7eABg/ip/78.170.113.195/id/22d604eb2d333202/itag/616/source/youtube/requiressl/yes/ratebypass/yes/pfa/1/wft/1/sgovp/clen%3D120909901%3Bdur%3D364.830%3Bgir%3Dyes%3Bitag%3D356%3Blmt%3D1679719935054569/hls_chunk_host/rr3---sn-u0g3uxax3-pnus.googlevideo.com/mh/U5/mm/31,29/mn/sn-u0g3uxax3-pnus,sn-nv47zn7r/ms/au,rdu/mv/m/mvi/3/pl/24/initcwndbps/1077500/vprv/1/playlist_type/DVR/dover/13/txp/443C434/mt/1695477208/fvip/1/short_key/1/keepalive/yes/fexp/24007246/beids/24350017/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,pfa,wft,sgovp,vprv,playlist_type/sig/AOq0QJ8wRgIhAPdZUq9Bn30x3gvbuGdbHNjY1lmM6yARxJQRzXUZgA6DAiEAocIsemXZfWNFP-fwahQA_O2LogwdY6QJkoC13GZSfbg%3D/lsparams/hls_chunk_host,mh,mm,mn,ms,mv,mvi,pl,initcwndbps/lsig/AG3C_xAwRQIhAPvCaNGxcus2y_LgDFsy5bqdOyY65Mr17RHG6H4R96iCAiAAx3SS9gYQUSDSl87wR0QTgJGU_La8XvaMoPWYbag2QA%3D%3D/playlist/index.m3u8 364.83 56.981769 .editing_assets/facts_shorts_assets/781d20ae10164a1594e0ff23/clipped_background.mp4 Error File "/home/bc/Projects/OpenSource/shortgpt/gui/ui_tab_short_automation.py", line 103, in create_short for step_num, step_info in shortEngine.makeContent(): File "/home/bc/Projects/OpenSource/shortgpt/shortGPT/engine/abstract_content_engine.py", line 74, in makeContent self.stepDict[currentStep]() File "/home/bc/Projects/OpenSource/shortgpt/shortGPT/engine/content_short_engine.py", line 109, in _prepareBackgroundAssets self._db_background_trimmed = extract_random_clip_from_video( File "/home/bc/Projects/OpenSource/shortgpt/shortGPT/editing_utils/handle_videos.py", line 55, in extract_random_clip_from_video .input(video_url, ss=start_time, t=clip_duration)
share=True
launch()
Firefox
Linux
3.10.12
latest one from github
vreate short video
Checking requirements... - Requirements : List of requirements and installed version: edge-tts==6.1.8 ffmpeg==1.4 gradio==3.38.0==3.38.0 moviepy==1.0.3==1.0.3 openai==0.28.0 pillow==9.0.0==9.0.0 proglog==0.1.10 progress==1.6 protobuf==3.20.0==3.20.0 python-dotenv==1.0.0 questionary==2.0.1 tiktoken==0.3.3 tinydb==4.8.0 tinymongo==0.2.0 torch==2.0.1 torchaudio==2.0.2 whisper-timestamped==1.12.20 yt-dlp==2023.7.6 Running on local URL: http://0.0.0.0:31415 To create a public link, set `share=True` in `launch()`. Step 1 _generateScript Step 2 _generateTempAudio Step 3 _speedUpAudio ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers built with gcc 11 (Ubuntu 11.2.0-19ubuntu1) configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared libavutil 56. 70.100 / 56. 70.100 libavcodec 58.134.100 / 58.134.100 libavformat 58. 76.100 / 58. 76.100 libavdevice 58. 13.100 / 58. 13.100 libavfilter 7.110.100 / 7.110.100 libswscale 5. 9.100 / 5. 9.100 libswresample 3. 9.100 / 3. 9.100 libpostproc 55. 9.100 / 55. 9.100 [mp3 @ 0x55617508c680] Estimating duration from bitrate, this may be inaccurate Input #0, mp3, from '.editing_assets/facts_shorts_assets/781d20ae10164a1594e0ff23/temp_audio_path.wav': Duration: 00:01:22.29, start: 0.000000, bitrate: 127 kb/s Stream #0:0: Audio: mp3, 44100 Hz, mono, fltp, 128 kb/s Stream mapping: Stream #0:0 -> #0:0 (mp3 (mp3float) -> pcm_s16le (native)) Press [q] to stop, [?] for help Output #0, wav, to '.editing_assets/facts_shorts_assets/781d20ae10164a1594e0ff23/audio_voice.wav': Metadata: ISFT : Lavf58.76.100 Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, mono, s16, 705 kb/s Metadata: encoder : Lavc58.134.100 pcm_s16le size= 4908kB time=00:00:56.96 bitrate= 705.8kbits/s speed= 399x video:0kB audio:4908kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.001552% Step 4 _timeCaptions Detected language: Turkish 100%|ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| 5698/5698 [00:02<00:00, 2215.57frames/s] Step 5 _generateImageSearchTerms Step 6 _generateImageUrls Search engine queries for images...: 100%|βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| 21/21 [00:10<00:00, 2.06it/s] Step 7 _chooseBackgroundMusic Step 8 _chooseBackgroundVideo Step 9 _prepareBackgroundAssets https://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1695499219/ei/c-8OZZHqGNCB8gO_y7eABg/ip/78.170.113.195/id/22d604eb2d333202/itag/616/source/youtube/requiressl/yes/ratebypass/yes/pfa/1/wft/1/sgovp/clen%3D120909901%3Bdur%3D364.830%3Bgir%3Dyes%3Bitag%3D356%3Blmt%3D1679719935054569/hls_chunk_host/rr3---sn-u0g3uxax3-pnus.googlevideo.com/mh/U5/mm/31,29/mn/sn-u0g3uxax3-pnus,sn-nv47zn7r/ms/au,rdu/mv/m/mvi/3/pl/24/initcwndbps/1077500/vprv/1/playlist_type/DVR/dover/13/txp/443C434/mt/1695477208/fvip/1/short_key/1/keepalive/yes/fexp/24007246/beids/24350017/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,pfa,wft,sgovp,vprv,playlist_type/sig/AOq0QJ8wRgIhAPdZUq9Bn30x3gvbuGdbHNjY1lmM6yARxJQRzXUZgA6DAiEAocIsemXZfWNFP-fwahQA_O2LogwdY6QJkoC13GZSfbg%3D/lsparams/hls_chunk_host,mh,mm,mn,ms,mv,mvi,pl,initcwndbps/lsig/AG3C_xAwRQIhAPvCaNGxcus2y_LgDFsy5bqdOyY65Mr17RHG6H4R96iCAiAAx3SS9gYQUSDSl87wR0QTgJGU_La8XvaMoPWYbag2QA%3D%3D/playlist/index.m3u8 364.83 56.981769 .editing_assets/facts_shorts_assets/781d20ae10164a1594e0ff23/clipped_background.mp4 Error File "/home/bc/Projects/OpenSource/shortgpt/gui/ui_tab_short_automation.py", line 103, in create_short for step_num, step_info in shortEngine.makeContent(): File "/home/bc/Projects/OpenSource/shortgpt/shortGPT/engine/abstract_content_engine.py", line 74, in makeContent self.stepDict[currentStep]() File "/home/bc/Projects/OpenSource/shortgpt/shortGPT/engine/content_short_engine.py", line 109, in _prepareBackgroundAssets self._db_background_trimmed = extract_random_clip_from_video( File "/home/bc/Projects/OpenSource/shortgpt/shortGPT/editing_utils/handle_videos.py", line 55, in extract_random_clip_from_video .input(video_url, ss=start_time, t=clip_duration)
No response
@deftio
What happened?
here the error :
Checking requirements...
Running on local URL: http://0.0.0.0:31415
To create a public link, set
share=True
inlaunch()
. Step 1 _generateScript Step 2 _generateTempAudio Step 3 _speedUpAudio ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers built with gcc 11 (Ubuntu 11.2.0-19ubuntu1) configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared libavutil 56. 70.100 / 56. 70.100 libavcodec 58.134.100 / 58.134.100 libavformat 58. 76.100 / 58. 76.100 libavdevice 58. 13.100 / 58. 13.100 libavfilter 7.110.100 / 7.110.100 libswscale 5. 9.100 / 5. 9.100 libswresample 3. 9.100 / 3. 9.100 libpostproc 55. 9.100 / 55. 9.100 [mp3 @ 0x55617508c680] Estimating duration from bitrate, this may be inaccurate Input #0, mp3, from '.editing_assets/facts_shorts_assets/781d20ae10164a1594e0ff23/temp_audio_path.wav': Duration: 00:01:22.29, start: 0.000000, bitrate: 127 kb/s Stream #0:0: Audio: mp3, 44100 Hz, mono, fltp, 128 kb/s Stream mapping: Stream #0:0 -> #0:0 (mp3 (mp3float) -> pcm_s16le (native)) Press [q] to stop, [?] for help Output #0, wav, to '.editing_assets/facts_shorts_assets/781d20ae10164a1594e0ff23/audio_voice.wav': Metadata: ISFT : Lavf58.76.100 Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, mono, s16, 705 kb/s Metadata: encoder : Lavc58.134.100 pcm_s16le size= 4908kB time=00:00:56.96 bitrate= 705.8kbits/s speed= 399x video:0kB audio:4908kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.001552% Step 4 _timeCaptions Detected language: Turkish 100%|ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| 5698/5698 [00:02<00:00, 2215.57frames/s] Step 5 _generateImageSearchTerms Step 6 _generateImageUrls Search engine queries for images...: 100%|βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| 21/21 [00:10<00:00, 2.06it/s] Step 7 _chooseBackgroundMusic Step 8 _chooseBackgroundVideo Step 9 _prepareBackgroundAssets https://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1695499219/ei/c-8OZZHqGNCB8gO_y7eABg/ip/78.170.113.195/id/22d604eb2d333202/itag/616/source/youtube/requiressl/yes/ratebypass/yes/pfa/1/wft/1/sgovp/clen%3D120909901%3Bdur%3D364.830%3Bgir%3Dyes%3Bitag%3D356%3Blmt%3D1679719935054569/hls_chunk_host/rr3---sn-u0g3uxax3-pnus.googlevideo.com/mh/U5/mm/31,29/mn/sn-u0g3uxax3-pnus,sn-nv47zn7r/ms/au,rdu/mv/m/mvi/3/pl/24/initcwndbps/1077500/vprv/1/playlist_type/DVR/dover/13/txp/443C434/mt/1695477208/fvip/1/short_key/1/keepalive/yes/fexp/24007246/beids/24350017/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,pfa,wft,sgovp,vprv,playlist_type/sig/AOq0QJ8wRgIhAPdZUq9Bn30x3gvbuGdbHNjY1lmM6yARxJQRzXUZgA6DAiEAocIsemXZfWNFP-fwahQA_O2LogwdY6QJkoC13GZSfbg%3D/lsparams/hls_chunk_host,mh,mm,mn,ms,mv,mvi,pl,initcwndbps/lsig/AG3C_xAwRQIhAPvCaNGxcus2y_LgDFsy5bqdOyY65Mr17RHG6H4R96iCAiAAx3SS9gYQUSDSl87wR0QTgJGU_La8XvaMoPWYbag2QA%3D%3D/playlist/index.m3u8 364.83 56.981769 .editing_assets/facts_shorts_assets/781d20ae10164a1594e0ff23/clipped_background.mp4 Error File "/home/bc/Projects/OpenSource/shortgpt/gui/ui_tab_short_automation.py", line 103, in create_short for step_num, step_info in shortEngine.makeContent(): File "/home/bc/Projects/OpenSource/shortgpt/shortGPT/engine/abstract_content_engine.py", line 74, in makeContent self.stepDict[currentStep]() File "/home/bc/Projects/OpenSource/shortgpt/shortGPT/engine/content_short_engine.py", line 109, in _prepareBackgroundAssets self._db_background_trimmed = extract_random_clip_from_video( File "/home/bc/Projects/OpenSource/shortgpt/shortGPT/editing_utils/handle_videos.py", line 55, in extract_random_clip_from_video .input(video_url, ss=start_time, t=clip_duration)What type of browser are you seeing the problem on?
Firefox
What type of Operating System are you seeing the problem on?
Linux
Python Version
3.10.12
Application Version
latest one from github
Expected Behavior
vreate short video
Error Message
Code to produce this issue.
No response
Screenshots/Assets/Relevant links
No response