QualityScaler
QualityScaler copied to clipboard
Upscaling doesnt work, gives me this error, how do i fix this? (input file is .mp4 and everything looks fine)
[QualityScaler] Preference file exist Loading AI model Upscaling from scrach
- Extracting video audio Frames supported simultaneously by GPU: 47
- Upscaling video
- Upscaling video (6 threads)
- Upscaling video 5.76% (06s)
- Upscaling video 11.51% (04s)
- Upscaling video 17.27% (03s)
- Upscaling video 23.02% (02s)
- Upscaling video 28.78% (02s)
- Upscaling video 34.53% (02s)
- Upscaling video 40.29% (01s)
- Upscaling video 46.04% (01s)
- Upscaling video 51.80% (01s)
- Upscaling video 57.55% (01s)
- Upscaling video 63.31% (01s)
- Upscaling video 69.06% (01s)
- Processing upscaled video 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.