Wow!
I am very excited about how this works incredibly well with the standard settings.
In fact, I don't see any difference in the image quality.
Thanks for that! Very very good job.
In one test, however, there was a "failed".
I saw this in the log:
[mp4 @ 06fad900] Could not find tag for codec pcm_s16le in stream #1, codec not currently supported in container
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
===== ffmpeg exited with code 1 =====
This is a mp4 60fps video.
It does not work with the basic settings H.264 software or H.264 NVENC.
(H.265 doesn't work for me with any video)
May I ask how I can fix this?
Thank you!
__________________________________________
21:32:22.286: ===== Starting mpv ======
21:32:22.286: Command line: E:\SVP4\mpv64\mpv.exe C:/Users/Luc/Desktop/V/aaxyd test.mp4 --o=C:/Users/Luc/Desktop/V/aaxyd test.SVP.temporary.mkv --no-audio --no-sub --no-sub-auto --input-ipc-server=mpvencodepipe --input-media-keys=no --no-msg-color --vf=vapoursynth:[C:\Users\Luc\AppData\Roaming\SVP4\scripts\ffff.py]:4:12 --of=matroska --ovc=libx264 --ovcopts=crf=12,preset=slow,threads=12
21:32:22.319: Warning: option --o is deprecated and might be removed in the future (lack of maintainer).
21:32:22.324: (+) Video --vid=1 (*) (h264 1920x1080 60.000fps)
21:32:22.325: Audio --aid=1 --alang=eng (*) (pcm_s16le 2ch 48000Hz)
21:32:22.649: VO: [lavc] 1920x1080 yuv420p
21:32:22.650: [vo/lavc] Opening encoder: libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [libx264]
21:32:22.650: [ffmpeg] libx264: MB rate (195840000) > level limit (16711680)
21:32:22.671: [encode] Opening output file: C:/Users/Luc/Desktop/V/aaxyd test.SVP.temporary.mkv
21:32:22.672: [encode] Opening muxer: Matroska [matroska]
21:32:22.694: V: 00:00:00 / 00:00:21 (0%) {0.0min 0.0MB}
21:33:22.719: V: 00:00:10 / 00:00:21 (47%) {1.1min 27.4fps 59.9MB}
21:34:22.773: V: 00:00:20 / 00:00:21 (94%) {0.1min 27.6fps 66.3MB}
21:34:31.867: [encode] video: encoded 73483221 bytes
21:34:31.867: [encode] audio: encoded 0 bytes
21:34:31.867: [encode] muxing overhead 27319 bytes
21:34:31.872: Exiting... (End of file)
21:34:31.945: ===== Starting ffmpeg ======
21:34:31.945: Command line: E:\SVP4\utils\ffmpeg.exe -y -i C:/Users/Luc/Desktop/V/aaxyd test.mp4 -i C:/Users/Luc/Desktop/V/aaxyd test.SVP.temporary.mkv -map 1:v -map 0:a? -map 0:s? -vcodec copy -acodec copy -scodec copy C:/Users/Luc/Desktop/V/aaxyd test.SVP.mp4
21:34:32.013: ffmpeg version 4.2.1 Copyright (c) 2000-2019 the FFmpeg developers
21:34:32.013: built with gcc 9.1.1 (GCC) 20190807
21:34:32.013: configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
21:34:32.013: libavutil 56. 31.100 / 56. 31.100
21:34:32.013: libavcodec 58. 54.100 / 58. 54.100
21:34:32.013: libavformat 58. 29.100 / 58. 29.100
21:34:32.013: libavdevice 58. 8.100 / 58. 8.100
21:34:32.013: libavfilter 7. 57.100 / 7. 57.100
21:34:32.013: libswscale 5. 5.100 / 5. 5.100
21:34:32.013: libswresample 3. 5.100 / 3. 5.100
21:34:32.013: libpostproc 55. 5.100 / 55. 5.100
21:34:32.040: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:/Users/Luc/Desktop/V/aaxyd test.mp4':
21:34:32.040: Metadata:
21:34:32.040: major_brand : qt
21:34:32.040: minor_version : 512
21:34:32.040: compatible_brands: qt
21:34:32.040: encoder : Lavf57.25.100
21:34:32.040: Duration: 00:00:21.68, start: 0.000000, bitrate: 28439 kb/s
21:34:32.040: Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(bt709), 1920x1080, 26897 kb/s, SAR 1:1 DAR 16:9, 60 fps, 60 tbr, 15360 tbn, 120 tbc (default)
21:34:32.040: Metadata:
21:34:32.040: handler_name : VideoHandler
21:34:32.040: timecode : 01:00:00:00
21:34:32.040: Stream #0:1(eng): Audio: pcm_s16le (lpcm / 0x6D63706C), 48000 Hz, stereo, s16, 1536 kb/s (default)
21:34:32.040: Metadata:
21:34:32.040: handler_name : SoundHandler
21:34:32.040: Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s
21:34:32.040: Metadata:
21:34:32.040: handler_name : TimeCodeHandler
21:34:32.040: timecode : 01:00:00:00
21:34:32.069: Input #1, matroska,webm, from 'C:/Users/Luc/Desktop/V/aaxyd test.SVP.temporary.mkv':
21:34:32.069: Metadata:
21:34:32.069: COMPATIBLE_BRANDS: qt
21:34:32.069: MAJOR_BRAND : qt
21:34:32.069: MINOR_VERSION : 512
21:34:32.069: ENCODER : Lavf58.29.100
21:34:32.069: Duration: 00:00:21.66, start: 0.000000, bitrate: 27149 kb/s
21:34:32.069: Stream #1:0: Video: h264 (High), yuv420p(tv, bt709/unknown/unknown, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 1k tbr, 1k tbn, 48k tbc (default)
21:34:32.069: Metadata:
21:34:32.069: DURATION : 00:00:21.661000000
21:34:32.070: [mp4 @ 06fad900] Could not find tag for codec pcm_s16le in stream #1, codec not currently supported in container
21:34:32.070: Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
21:34:32.070: Stream mapping:
21:34:32.070: Stream #1:0 -> #0:0 (copy)
21:34:32.070: Stream #0:1 -> #0:1 (copy)
21:34:32.070: Last message repeated 1 times
21:34:32.075: (!!!) Intermediate file (video only): C:\Users\Luc\Desktop\V\aaxyd test.SVP.temporary.mkv
21:34:32.075: ===== ffmpeg exited with code 1 =====