tenacityteam / tenacity-legacy

THIS REPO IS NOT MAINTAINED ANYMORE. Please see https://codeberg.org/tenacityteam/tenacity for Tenacity, which is maintained.
https://tenacityaudio.org
Other
6.8k stars 262 forks source link

ffmpeg export not working #675

Open Userblues opened 2 years ago

Userblues commented 2 years ago

Guidelines

Version/Commit hash

3.0.2-894-g697c0e7

Describe the bug.

Trying to export to OPUS using ffmpeg. GUI error: "FFmpeg: ERROR - encoding frame failed"

19:36:37: Debug: FFmpeg : Audio Output Codec Frame Size: 960 samples. 19:36:37: Debug: Log: [opus @ 0x7f0b05127e80] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.

Expected behavior

This export worked in Audacity with ffmpeg-4.3.x, stopped working after ffmpeg upgrade to 4.4.x. I was hoping Tenacity can handle ffmpeg-4.4. Not yet?

OS

Gentoo testing branch fully up do date, amd64

Additional context

No response

This issue is not a duplicate

TechyShishy commented 2 years ago

https://superuser.com/questions/1649367/ffmpeg-errors-encoding-frame-failed-and-cant-encode-audio-frame-when-attemp#comment2522747_1649367 https://bugs.archlinux.org/task/70694 https://bbs.archlinux.org/viewtopic.php?pid=1975012#p1975012

According to the first link, ffmpeg 4.4 changed their api, which seems to cause this behavior.

I experience it on Windows 11 x64 with ffmpeg 4.4, downgrading to ffmpeg 4.3 solves this issue.

Installed from Tenacity_windows-server-2019-amd64-x64_windows-vs2019_x641356442573.zip/tenacity-win-3.0.4-x64.exe