Skip to content
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

渲染失败 #6

Open
w-flower opened this issue Oct 1, 2023 · 0 comments
Open

渲染失败 #6

w-flower opened this issue Oct 1, 2023 · 0 comments

Comments

@w-flower
Copy link

w-flower commented Oct 1, 2023

第一次渲染时候卡顿,之后退出重进软件,再次渲染时候报错

Child process exited abnormally (Some(1))

[src\render.rs:175] &ffmpeg = "ffmpeg"
thread 'tokio-runtime-worker' panicked at 'macroquad does not support waking futures, please use coroutines, otherwise your pending future will block until the next frame', C:\Users\runneradmin.cargo\git\checkouts\prpr-macroquad-34ad6757d053bc13\19119d6\src\exec.rs:52:9
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
thread 'tokio-runtime-worker' panicked at 'macroquad does not support waking futures, please use coroutines, otherwise your pending future will block until the next frame', C:\Users\runneradmin.cargo\git\checkouts\prpr-macroquad-34ad6757d053bc13\19119d6\src\exec.rs:52:9
thread 'tokio-runtime-worker' panicked at 'macroquad does not support waking futures, please use coroutines, otherwise your pending future will block until the next frame', C:\Users\runneradmin.cargo\git\checkouts\prpr-macroquad-34ad6757d053bc13\19119d6\src\exec.rs:52:9
ffmpeg version 2021-04-14-git-c5ca18fd1b-full_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 10.2.0 (Rev6, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libglslang --enable-vulkan --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil 56. 72.100 / 56. 72.100
libavcodec 58.136.101 / 58.136.101
libavformat 58. 78.100 / 58. 78.100
libavdevice 58. 14.100 / 58. 14.100
libavfilter 7.111.100 / 7.111.100
libswscale 5. 10.100 / 5. 10.100
libswresample 3. 10.100 / 3. 10.100
libpostproc 55. 10.100 / 55. 10.100
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, f32le, from 'pipe:':
Duration: N/A, bitrate: 2822 kb/s
Stream #0:0: Audio: pcm_f32le, 44100 Hz, stereo, flt, 2822 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (pcm_f32le (native) -> mp3 (libmp3lame))
Output #0, mp3, to 'C:\Users\feilong\AppData\Local\Temp.tmph5r9Qw':
Metadata:
TSSE : Lavf58.78.100
Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp
Metadata:
encoder : Lavc58.136.101 libmp3lame
size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x
size= 256kB time=00:00:22.67 bitrate= 92.5kbits/s speed=45.3x
size= 512kB time=00:00:43.86 bitrate= 95.6kbits/s speed=43.8x
size= 768kB time=00:01:04.31 bitrate= 97.8kbits/s speed=42.8x
size= 1280kB time=00:01:24.16 bitrate= 124.6kbits/s speed= 42x
size= 1536kB time=00:01:43.49 bitrate= 121.6kbits/s speed=41.4x
size= 1792kB time=00:02:03.69 bitrate= 118.7kbits/s speed=41.2x
size= 2048kB time=00:02:25.29 bitrate= 115.5kbits/s speed=41.5x
size= 2560kB time=00:02:46.08 bitrate= 126.3kbits/s speed=41.5x
size= 2737kB time=00:02:55.15 bitrate= 128.0kbits/s speed=41.9x
video:0kB audio:2737kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.009027%
thread 'tokio-runtime-worker' panicked at 'macroquad does not support waking futures, please use coroutines, otherwise your pending future will block until the next frame', C:\Users\runneradmin.cargo\git\checkouts\prpr-macroquad-34ad6757d053bc13\19119d6\src\exec.rs:52:9
thread 'tokio-runtime-worker' panicked at 'macroquad does not support waking futures, please use coroutines, otherwise your pending future will block until the next frame', C:\Users\runneradmin.cargo\git\checkouts\prpr-macroquad-34ad6757d053bc13\19119d6\src\exec.rs:52:9
ffmpeg version 2021-04-14-git-c5ca18fd1b-full_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 10.2.0 (Rev6, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libglslang --enable-vulkan --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil 56. 72.100 / 56. 72.100
libavcodec 58.136.101 / 58.136.101
libavformat 58. 78.100 / 58. 78.100
libavdevice 58. 14.100 / 58. 14.100
libavfilter 7.111.100 / 7.111.100
libswscale 5. 10.100 / 5. 10.100
libswresample 3. 10.100 / 3. 10.100
libpostproc 55. 10.100 / 55. 10.100
Input #0, rawvideo, from 'pipe:':
Duration: N/A, start: 0.000000, bitrate: 3686400 kb/s
Stream #0:0: Video: rawvideo (RGBA / 0x41424752), rgba, 1600x1200, 3686400 kb/s, 60 tbr, 60 tbn, 60 tbc
Input #1, mp3, from 'C:\Users\feilong\AppData\Local\Temp.tmph5r9Qw':
Metadata:
encoder : Lavf58.78.100
Duration: 00:02:55.18, start: 0.025057, bitrate: 128 kb/s
Stream #1:0: Audio: mp3, 44100 Hz, stereo, fltp, 128 kb/s
Metadata:
encoder : Lavc58.13
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (h264_nvenc))
Stream #1:0 -> #0:1 (copy)
[h264_nvenc @ 0000025a0d919a00] Cannot load nvcuda.dll
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Conversion failed!
管道已结束。 (os error 109)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant