Open nevolua opened 2 months ago
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.
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 audio_codec='pcm_32le'
replace 32 with bit depth of saved wav audio from your video
@Dodeedoo @eulisan @nevolua Hi my friends
just released an update that fix this problem, let me know if it works
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
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.