Started by puckluck, February 18, 2022, 12:33:44 AM
Quote from: puckluck on February 18, 2022, 12:33:44 AMHowever, encoding videos using the same codec no longer works on v2.8 including nightly builds as it'll race right through the process, instantaneously resulting in an extremely small file size. Any idea what might be causing this?
[printLavError] 00:56:05-721 Error -542398533 encoding video (Generic error in an external library) [encode] 00:56:05-721 [ffvtenc] Error -542398533 encoding video [saveLoop] 00:56:05-721 [FF] Wrote 0 frames, nb audio streams 1
Quote from: eumagga0x2a on February 20, 2022, 01:41:05 AMThank you for the log file. It looks like VideoToolbox doesn't like when input width or height is too small. The lower limit seems to be 640 x 352. The main difference is that in my case the setup of the encoder fails (I get an error message), but in your case it deceitfully succeeds and only the encoding itself fails:Code Select Expand [printLavError] 00:56:05-721 Error -542398533 encoding video (Generic error in an external library) [encode] 00:56:05-721 [ffvtenc] Error -542398533 encoding video [saveLoop] 00:56:05-721 [FF] Wrote 0 frames, nb audio streams 1Does VideoToolbox H.264 encoder fail for you also with usual 720p sources?
Quote from: eumagga0x2a on February 21, 2022, 06:07:37 AMWould you have disk space and patience to build x86_64 Avidemux on your M1 Mac from source? I have no idea whether it will work, but you will need Homebrew for Intelhttps://www.wisdomgeek.com/development/installing-intel-based-packages-using-homebrew-on-the-m1-mac/then follow macOS build instructions on https://github.com/mean00/avidemux2
Quote from: eumagga0x2a on February 18, 2022, 07:27:44 AMThe problem might be related either to some specific properties of the input or to Rosetta 2 / M1 as Avidemux for macOS is x86_64-only.
Quote from: eumagga0x2a on April 20, 2022, 09:38:51 PMShould be fixed by [ffmpeg/patches] Add upstream patch to fix VideoToolbox encoder broken if B-frames were disabled, thank you very much for your report.
Quote from: puckluck on April 26, 2022, 12:19:30 AMcan you tell me how to apply the patch?