cdgriffith / FastFlix

FastFlix is a free GUI for H.264, HEVC and AV1 hardware and software encoding!
https://fastflix.org/
MIT License
1.12k stars 55 forks source link

File not found but success Messsage and file exists (Windows) #209

Closed stilicrafter closed 3 years ago

stilicrafter commented 3 years ago

Hi, I have a File i want to convert. It is saved under "C:\Users\Stephan\AppData\Local\Temp\zest\Resolve Export als QuickT DNxHR HQX 10B Nicht Konstant Bitr.mov" If i try to convert it useingFastFlix to conversion doesnt even take a single Second. I think, under Windows it uses the wrong / in the filepath ( / but \ required?)

Attached is a Screenshot of the console output.

flix_conversion_HEVC FastFixResolve Export als QuickT DNxHR HQX 10B Nicht Konstant Bitr-fastflix-aa60_2021-04-03T13.08.18.log

image

If you need any additional information, please let me know.

`PS C:\Users\Stephan\Downloads\Handbrake\FastFlix_4.1.2_win64> C:\Users\Stephan\Downloads\Handbrake\FastFlix_4.1.2_win64\FastFlix.exe WARNING: en is not a supported language, defaulting to eng 2021-04-03 13:07:06 NeuerGamingPC fastflix-core[25272] INFO Starting FastFlix 4.1.2 WARNING: en is not a supported language, defaulting to eng 2021-04-03 13:07:07 NeuerGamingPC fastflix[14760] DEBUG Using config file C:\Users\Stephan\AppData\Roaming\FastFlix\fastflix.yaml 2021-04-03 13:07:08 NeuerGamingPC fastflix[14760] INFO Running command: C:\Users\Stephan\AppData\Roaming\FFmpeg\bin\ffmpeg.exe -version 2021-04-03 13:07:08 NeuerGamingPC fastflix[14760] INFO Running command: C:\Users\Stephan\AppData\Roaming\FFmpeg\bin\ffprobe.exe -version 2021-04-03 13:07:08 NeuerGamingPC fastflix[14760] INFO Running command: C:\Users\Stephan\AppData\Roaming\FFmpeg\bin\ffmpeg.exe -hide_banner -encoders 2021-04-03 13:07:25 NeuerGamingPC fastflix[14760] INFO Running command: C:\Users\Stephan\AppData\Roaming\FFmpeg\bin\ffprobe.exe -v quiet -loglevel panic -print_format json -show_format -show_streams C:/Users/Stephan/AppData/Local/Temp/zest/Resolve Export als QuickT DNxHR HQX 10B Nicht Konstant Bitr.mov 2021-04-03 13:07:26 NeuerGamingPC fastflix[14760] INFO Running command: C:\Users\Stephan\AppData\Roaming\FFmpeg\bin\ffmpeg.exe -hide_banner -i C:/Users/Stephan/AppData/Local/Temp/zest/Resolve Export als QuickT DNxHR HQX 10B Nicht Konstant Bitr.mov -vf idet -frames:v 100 -an -sn -dn -f rawvideo NUL -y 2021-04-03 13:07:29 NeuerGamingPC fastflix[14760] DEBUG 1 video tracks found 2021-04-03 13:07:29 NeuerGamingPC fastflix[14760] DEBUG 1 audio tracks found 2021-04-03 13:07:29 NeuerGamingPC fastflix[14760] DEBUG 1 data tracks found 2021-04-03 13:07:29 NeuerGamingPC fastflix[14760] INFO Generating thumbnail: "C:\Users\Stephan\AppData\Roaming\FFmpeg\bin\ffmpeg.exe" -ss 1.0 -loglevel error -i "C:/Users/Stephan/AppData/Local/Temp/zest/Resolve Export als QuickT DNxHR HQX 10B Nicht Konstant Bitr.mov" -filter_complex "[0:0]zscale=t=linear:npl=100,format=gbrpf32le,zscale=p=bt709,tonemap=tonemap=hable:desat=0,zscale=t=bt709:m=bt709:r=tv,format=yuv420p,scale='min(320\,iw):-8'[v]" -map "[v]" -an -y -map_metadata -1 -map 0:0 -vframes 1 "C:/Users/Stephan/AppData/Roaming/FastFlix/thumbnail_preview.png" 2021-04-03 13:08:01 NeuerGamingPC fastflix[14760] INFO Generating thumbnail: "C:\Users\Stephan\AppData\Roaming\FFmpeg\bin\ffmpeg.exe" -ss 1.0 -loglevel error -i "C:/Users/Stephan/AppData/Local/Temp/zest/Resolve Export als QuickT DNxHR HQX 10B Nicht Konstant Bitr.mov" -filter_complex "[0:0]zscale=t=linear:npl=100,format=gbrpf32le,zscale=p=bt709,tonemap=tonemap=hable:desat=0,zscale=t=bt709:m=bt709:r=tv,format=yuv420p,scale='min(320\,iw):-8'[v]" -map "[v]" -an -y -map_metadata -1 -map 0:0 -vframes 1 "C:/Users/Stephan/AppData/Roaming/FastFlix/thumbnail_preview.png" 2021-04-03 13:08:18 NeuerGamingPC fastflix[14760] DEBUG Starting conversion process 2021-04-03 13:08:18 NeuerGamingPC fastflix-core[25272] DEBUG Adding command to the queue for HEVC FastFixResolve Export als QuickT DNxHR HQX 10B Nicht Konstant Bitr-fastflix-aa60 - "C:/Users/Stephan/AppData/Roaming/FFmpeg/bin/ffmpeg.exe" -y -i "C:/Users/Stephan/AppData/Local/Temp/zest/Resolve Export als QuickT DNxHR HQX 10B Nicht Konstant Bitr.mov" -max_muxing_queue_size 1024 -map 0:0 -c:v libx265 -pix_fmt yuv420p10le -x265-params "aq-mode=2:repeat-headers=1:strong-intra-smoothing=1:bframes=4:b-adapt=2:frame-threads=0:colorprim=bt2020:transfer=smpte2084:colormatrix=bt2020nc:hdr10_opt=1:master-display=G(8500,39850)B(6550,2300)R(35400,14600)WP(15635,16450)L(10000000,1):max-cll=1000,400:hdr10=1" -crf 14 -preset slower -map_metadata -1 -map_chapters 0 -map 0:1 -metadata:s:1 title="" -metadata:s:1 handler="" -metadata:s:1 language=eng -c:1 copy "C:/Users/Stephan/AppData/Local/Temp/zest/HEVC FastFixResolve Export als QuickT DNxHR HQX 10B Nicht Konstant Bitr-fastflix-aa60.mkv" 2021-04-03 13:08:18 NeuerGamingPC fastflix-core[25272] DEBUG No encoding is currently in process, starting encode 2021-04-03 13:08:18 NeuerGamingPC fastflix-core[25272] DEBUG System has been asked to not sleep 2021-04-03 13:08:18 NeuerGamingPC fastflix-core[25272] DEBUG Using work dir: C:\Users\Stephan\AppData\Roaming\FastFlix\temp_78aa1a366d864a3397d9a926 2021-04-03 13:08:18 NeuerGamingPC fastflix-core[25272] DEBUG command output file set to: C:\Users\Stephan\AppData\Roaming\FastFlix\temp_78aa1a366d864a3397d9a926\encoder_output_b558263cca71.log 2021-04-03 13:08:18 NeuerGamingPC fastflix-core[25272] DEBUG command error output file set to: C:\Users\Stephan\AppData\Roaming\FastFlix\temp_78aa1a366d864a3397d9a926\encoder_error_output_b4932c1dde7b.log 2021-04-03 13:08:18 NeuerGamingPC fastflix-core[25272] INFO Running command: "C:/Users/Stephan/AppData/Roaming/FFmpeg/bin/ffmpeg.exe" -y -i "C:/Users/Stephan/AppData/Local/Temp/zest/Resolve Export als QuickT DNxHR HQX 10B Nicht Konstant Bitr.mov" -max_muxing_queue_size 1024 -map 0:0 -c:v libx265 -pix_fmt yuv420p10le -x265-params "aq-mode=2:repeat-headers=1:strong-intra-smoothing=1:bframes=4:b-adapt=2:frame-threads=0:colorprim=bt2020:transfer=smpte2084:colormatrix=bt2020nc:hdr10_opt=1:master-display=G(8500,39850)B(6550,2300)R(35400,14600)WP(15635,16450)L(10000000,1):max-cll=1000,400:hdr10=1" -crf 14 -preset slower -map_metadata -1 -map_chapters 0 -map 0:1 -metadata:s:1 title="" -metadata:s:1 handler="" -metadata:s:1 language=eng -c:1 copy "C:/Users/Stephan/AppData/Local/Temp/zest/HEVC FastFixResolve Export als QuickT DNxHR HQX 10B Nicht Konstant Bitr-fastflix-aa60.mkv" 2021-04-03 13:08:18 NeuerGamingPC fastflix[14760] DEBUG Updating status from command worker: running|040942f5-ba0a-4ac8-94da-3bbfab3725bc|4f665e0c-2e58-41f5-bf0a-839f77a89cd2|2021-04-03T11:08:18.568877+00:00 2021-04-03 13:08:18 NeuerGamingPC fastflix-core[25272] INFO ffmpeg version N-101828-g18bb323da 2021-04-03 13:08:18 NeuerGamingPC fastflix-core[25272] INFO 4 Copyright (c) 2000-2021 the FFmpeg developers 2021-04-03 13:08:18 NeuerGamingPC fastflix-core[25272] INFO built with gcc 9.3-win32 (GCC) 20200320 2021-04-03 13:08:18 NeuerGamingPC fastflix-core[25272] INFO configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug --disable-w32threads --enable-pthreads --enable-iconv --enable-zlib --enable-libxml2 --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-opencl --enable-libvmaf --disable-vulkan --enable-libvorbis --enable-amf --enable-libaom --enable-avisynth --enable-libdav1d --enable-libdavs2 --enable-ffnvcodec --enable-cuda-llvm --disable-libglslang --enable-libgme --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --enable-libvidstab --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-libs=-lgomp 2021-04-03 13:08:18 NeuerGamingPC fastflix-core[25272] INFO libavutil 56. 72.100 / 56. 72.100 2021-04-03 13:08:18 NeuerGamingPC fastflix-core[25272] INFO libavcodec 58.135.100 / 58.135.100 2021-04-03 13:08:18 NeuerGamingPC fastflix-core[25272] INFO 2021-04-03 13:08:18 NeuerGamingPC fastflix-core[25272] INFO libavformat 58. 77.100 / 58. 77.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 C:/Users/Stephan/AppData/Local/Temp/zest/Resolve Export als QuickT DNxHR HQX 10B Nicht Konstant Bitr.mov: No such file or directory

2021-04-03 13:08:18 NeuerGamingPC fastflix-core[25272] INFO Command has completed 2021-04-03 13:08:18 NeuerGamingPC fastflix-core[25272] INFO all conversions complete 2021-04-03 13:08:18 NeuerGamingPC fastflix[14760] DEBUG Updating status from command worker: converted|040942f5-ba0a-4ac8-94da-3bbfab3725bc|4f665e0c-2e58-41f5-bf0a-839f77a89cd2 2021-04-03 13:08:18 NeuerGamingPC fastflix-core[25272] DEBUG System has been allowed to enter sleep mode again`

stilicrafter commented 3 years ago

Hi, i manually altered the ffmpeg command to run it myself in powershell.

This command works : PS C:\Users\Stephan> C:\Users\Stephan\AppData\Roaming\FFmpeg\bin\ffmpeg.exe -y -i 'C:\Users\Stephan\AppData\Local\Temp\zest\Resolve Export als H264 mov.mov' -max_muxing_queue_size 1024 -map 0:0 -c:v libx265 -pix_fmt yuv420p10le -x265-params "aq-mode=2:repeat-headers=1:strong-intra-smoothing=1:bframes=4:b-adapt=2:frame-threads=0:colorprim=bt2020:transfer=smpte2084:colormatrix=bt2020nc:hdr10_opt=1:master-display=G(8500,39850)B(6550,2300)R(35400,14600)WP(15635,16450)L(10000000,1):max-cll=1000,400:hdr10=1" -crf 14 -preset slower -map_metadata -1 -map_chapters 0 -map 0:1 -metadata:s:1 title="" -metadata:s:1 handler="" -metadata:s:1 language=eng -c:1 copy 'C:\Users\Stephan\AppData\Local\Temp\zest\HEVC FastFixResolve Export als QuickT DNxHR HQX 10B Nicht Konstant Bitr-fastflix-aa60.mkv'

image

cdgriffith commented 3 years ago

Sorry you're having issues! FFmpeg accepts unix style strings on Windows, and is generally safer to use (due to backslashes working as escape characters). I am leery of the fact the video file is in a "Temp" directory, and your second command has a different filename, is it possible the file was moved by another program before the conversation started?

stilicrafter commented 3 years ago

Hi, i am sorry if i used in the command another name. I tryed different exported filetypes so in the temp folder are different types of the same Video. Didn't look at the console message first.

I can reproduce the bug in Temp and non Temp folders. See attached Step by Step recording: 2021-04-04 13-42-35.zip 2021-04-04 13-40-02.zip

cdgriffith commented 3 years ago

Thanks for the videos, I am updating the code to see if that really is the problem with some versions of FFmpeg.

Not sure if others can access the build artifacts, but latest one should have the fix https://github.com/cdgriffith/FastFlix/actions/runs/720177036

cdgriffith commented 3 years ago

Oh I should add, you can directly drag and drop onto the interface to open a new video. Don't need to open it via the "Source" button

cdgriffith commented 3 years ago

HA! I think I found the actual issue. The names you have been having trouble with have a double whitespace in them.

However at the end of my code I do a beautification of the FFmpeg command and remove all those. Removing that.

cdgriffith commented 3 years ago

Fixed in 4.2.0 https://github.com/cdgriffith/FastFlix/releases/tag/4.2.0