You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue: When attempting to convert a video, I do not get any errors, however I always get a 0 byte output file.
Expected result: if a conversion fails, the user is shown an error message so they can easily troubleshoot the issue, file a bug report, etc.
Conditions to close: Error messages are displayed to the user
Here's an example of me attempting to convert a video. First, we have the settings (I tried many different settings, all with the same result):
After clicking the WEBM button, it appears to be working:
However, that conversion screen goes away after just a couple seconds and an empty file appears.
I expected that I would find some errors in the logs, indicating what went wrong. I logged in as an administrator, went to the Settings page from the drop down menu in the top right, clicked on the Logging section. There are no errors related to Video Converter, just messages about themingDefaults which predate the installation of Video Converter. Still, I will paste them here for reference (in case the problem causing that is also causing issues with Video Converter):
OCP\AppFramework\QueryException: Could not resolve themingDefaults! Class themingDefaults does not exist
After SSHing into the server:
/var/log/syslog contains nothing of interest
journalctl -e doesn't show anything
/var/log/apache2/nextcloud_error.log didn't have anything relevant
/var/log/apache2/error.log finally turned up some clues!
So it appears that ffmpeg is trying to convert from ac3 to Opus and libopus can't handle 5.1 channel audio. This is a pretty significant limitation, but I don't have any options to change the audio codecs, so at this point this would be a feature request (and there's a similar one already open #12).
This ticket isn't about getting the conversion to work, it's about the fact that no error messages were displayed.
But what if we remove that 5.1 channel audio track? Would Video Converter be able to do the job then? Well, it turns out the answer is yes. Yes it can. To reproduce, manually run the command I put in #64 to remove the audio. Upload the silent video to Nextcloud, attempt to convert it to a WEBM file, and it will work just fine.
My setup:
Debian 10
NC 20.0.2 (installed from apt repo)
PHP 7.3.29
MySQL 10.3.29
Video Converter 1.0.2
The text was updated successfully, but these errors were encountered:
Issue: When attempting to convert a video, I do not get any errors, however I always get a 0 byte output file.
Expected result: if a conversion fails, the user is shown an error message so they can easily troubleshoot the issue, file a bug report, etc.
Conditions to close: Error messages are displayed to the user
Here's an example of me attempting to convert a video. First, we have the settings (I tried many different settings, all with the same result):
After clicking the WEBM button, it appears to be working:
However, that conversion screen goes away after just a couple seconds and an empty file appears.
I expected that I would find some errors in the logs, indicating what went wrong. I logged in as an administrator, went to the Settings page from the drop down menu in the top right, clicked on the Logging section. There are no errors related to Video Converter, just messages about themingDefaults which predate the installation of Video Converter. Still, I will paste them here for reference (in case the problem causing that is also causing issues with Video Converter):
After SSHing into the server:
/var/log/syslog
contains nothing of interestjournalctl -e
doesn't show anything/var/log/apache2/nextcloud_error.log
didn't have anything relevant/var/log/apache2/error.log
finally turned up some clues!The relevant bits of
/var/log/apache2/error.log
:So it appears that ffmpeg is trying to convert from ac3 to Opus and libopus can't handle 5.1 channel audio. This is a pretty significant limitation, but I don't have any options to change the audio codecs, so at this point this would be a feature request (and there's a similar one already open #12).
This ticket isn't about getting the conversion to work, it's about the fact that no error messages were displayed.
But what if we remove that 5.1 channel audio track? Would Video Converter be able to do the job then? Well, it turns out the answer is yes. Yes it can. To reproduce, manually run the command I put in #64 to remove the audio. Upload the silent video to Nextcloud, attempt to convert it to a WEBM file, and it will work just fine.
My setup:
The text was updated successfully, but these errors were encountered: