Closed Bug 1618603 Opened 4 years ago Closed 3 years ago

Youtube audio distortion

Categories

(Core :: Audio/Video: Playback, defect)

defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: jhnmlkvch9, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0

Steps to reproduce:

  1. Play youtube video
  2. Audio is fine
  3. Increase playback speed to 1.5x or 2x
  4. Audio is distorted

(Happens on Nightly as well as Preview versions of the app)

Actual results:

Audio distorted at non-normal youtube playback speeds

Expected results:

Audio should speedup without distortion

Component: Audio/Video → Audio/Video: Playback
Product: Firefox for Android → Core

Can you please the distorted sound you heard by launching the Firefox with environment variable MOZ_DUMP_AUDIO is set:

MOZ_DUMP_AUDIO=1 <command-to-launch-firefox>

For example, I can use MOZ_DUMP_AUDIO=1 /Applications/Firefox\ Nightly.app/Contents/MacOS/firefox to launch the Firefox Nightly in my Mac OSX.

By doing so, Firefox will dump the audio file from the web page with the name like AudioStream-*.wav in your current location/path. Before running this command, please set security.sandbox.content.level to 0 so the firefox has the right to write the file to the system. After running the command, please reset the security.sandbox.content.level to its default value (3 in my case) so Firefox can keep being your online security guard.

If it's possible, please use Firefox Nightly since a similar bug (bug 1427267) has been addressed in Nightly. It's helpful to see if the problem reported is different or not.

Flags: needinfo?(jhnmlkvch9)
See Also: → 1427267, 1383363

How do I do this on Android? I don't know why the product was changed from Android to Core on this report, but I'm seeing this on Android.

Flags: needinfo?(jhnmlkvch9)

It was moved because this is likely a Gecko bug. You would need to use https://wiki.mozilla.org/Mobile/Fennec/Android/AdvancedTopics#Arguments_and_Environment_Variables to record the file. The commands will need some tweaking depending on the version of Firefox you are using to record the file.

Flags: needinfo?(jhnmlkvch9)

Jonny,

Does this only happen on some particular Android device? or you can reproduce this on every Android device you have?

@C.M.Chang, I've only tried this on Pixel devices, which are the only android devices I have access to. It happens on at least 2 pixel phones.

Flags: needinfo?(jhnmlkvch9)

Maybe it would be worth it to record a video on one from the other one, or something, so we can try to characterize the problem, if that's possible ?

Flags: needinfo?(jhnmlkvch9)

Video or logs never were added.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Flags: needinfo?(jhnmlkvch9)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.