Skip to content

Extra audio formats playback sounds chopped off. WAV & MP3 work perfectly. #1561

@Jose-Moreno

Description

@Jose-Moreno

Issue Summary

Under Windows (so far, and probably only on 🙄 ) playing back extra audio formats like AIFF or OGG on a loop and under normal playback will have the audio sound chopped sometimes down to 1/3 of it's original length.

I noticed other AIFF and OGG files do work well, so it's possible these ones have some kind of special metadata or encoding that's getting in the way of Qt's media engine but I didn't check that far, and the only real difference seems to be their total length (healthy samples are lengthier) 🤔

Video or Image Reference

https://streamable.com/3s2w6u

Sample Files

Wilhem Scream + PCLX
extra_formats_playback_sound_issue_samples.zip

Healthy AIFF & OGG Files (that do work under Windows) for comparison
Healthy_Playback_Samples.zip

Expected Results

Considering Pencil2D is converting sounds to WAV internally, I'd expect that the sounds should at least work the same regardless of their initial format, unless of course their quality has been degraded beyond the original, however this doesn't seem to be the case for the sample files.

Steps to reproduce

  1. Load conventionally supported Pencil2D sound formats (WAV, MP3) as reference from the extra formats playback issue samples.
  2. Load extra sound formats (AIFF or OGG) into the Pencil2D timeline at your convenience
  3. Test how extra formats get cut as opposed to conventional formats.

System Information

  • Pencil2D Version:

Development Build Dec 27 2020

Operating System: Windows 10 Version 1909
CPU Architecture: x86_64
Qt Version: 5.14.1

Commit: 414c0a2

Metadata

Metadata

Assignees

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions