-
Notifications
You must be signed in to change notification settings - Fork 156
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
Upscaling doesnt work, gives me this error, how do i fix this? (input file is .mp4 and everything looks fine) #104
Comments
Hi my friend, you need the newer version of ffmpeg.
|
Does not work for me, getting the same error with newest ffmpeg. But when i delete the audiofile from the "working" directory where also the frames and scaled images are stored, it works. Seems it cant process the audio into the video for me. |
you are correct, it is an issue with incorrect audio codec being used to save the video add |
Uhm, well. I used RealScaler which did extract the audio and had the same error. But i think it used external FFMPEG and i didnt had exiftool in the Asset Directory. Now i placed FFMPEG and EXIFTOOL in the Asset Directory and using the 3.10 Qualityscaler it does work, but without audio. Means, i wont extract the audio.wav But Realscaler 3.9 now works for me, lol. |
Exiftool only extract original file metadata (so it's not about audio) With QualityScaler 3.10 the app does not extract the audio as file, but use FFMPEG to copy the audio from original video to upscaled video. This function is called Audio Passthrough |
[QualityScaler] Preference file exist
Loading AI model
Upscaling from scrach
Frames supported simultaneously by GPU: 47
Error [Errno 22] Invalid argument
MoviePy error: FFMPEG encountered the following error while writing file C:/Users/Ben/Downloads/test_RealESR_Gx4_Resize-100_Interpolation-Low.mp4:
b'[mp4 @ 000001deccbcdc00] Could not find tag for codec pcm_s16le in stream #1, codec not currently supported in container\r\nCould not write header for output file #0 (incorrect codec parameters ?): Invalid argument\r\nError initializing output stream 0:0 -- \r\n'
The video export failed, possibly because the codec specified for the video (libx264) is not compatible with the given extension (mp4). Please specify a valid 'codec' argument in write_videofile. This would be 'libx264' or 'mpeg4' for mp4, 'libtheora' for ogv, 'libvpx for webm. Another possible reason is that the audio codec was not compatible with the video codec. For instance the video extensions 'ogv' and 'webm' only allow 'libvorbis' (default) as avideo codec.
The text was updated successfully, but these errors were encountered: