Weather.com Video Sound Is In Slow Motion

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.
Please direct questions that are Mac or Linux-specific (dealing with installation and OS integration) to the appropriate Linux or Mac board.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only. The main focus here is on Pale Moon on Windows. Please direct your questions that are specific for Linux and Mac to the dedicated boards for those operating systems.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
Locked
radtek

Weather.com Video Sound Is In Slow Motion

Post by radtek » 2016-11-04, 11:50

When watching a video on Weather.com the sound is going so slow motion and is hard to understand what someone is saying yet the video is fine.

YouTube videos and sound work fine.

Weather.com used to have support but it looks like the stopped their support.

OS is Win 7 64 bit, flash player and java are latest versions

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 29243
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Weather.com Video Sound Is In Slow Motion

Post by Moonchild » 2016-11-04, 14:02

Considering the lack of video on weather.com when I visit it (it insist on only giving me a local weather forecast for the capital of Sweden) and the inability to switch region (it reverts to sweden), I can't even verify.
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 29243
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Weather.com Video Sound Is In Slow Motion

Post by Moonchild » 2016-11-04, 14:10

With some web-fu I managed to grab a video.

The problem seems to be that the video they have up is encoded in a way that makes Pale Moon think the sample rate for audio is 22050 Hz, but the actual stream is 44100 Hz. This is probably due to the fact that they have 2 streams with two different bitrates in it.

Code: Select all

Audio
ID                             : 2
Format                         : AAC
Format/Info                    : Advanced Audio Codec
Format profile                 : HE-AAC / LC
Codec ID                       : 40
Duration                       : 51s 734ms
Bit rate mode                  : Variable
Bit rate                       : 64.0 Kbps
Maximum bit rate               : 66.5 Kbps
Channel(s)                     : 2 channels
Channel positions              : Front: L R
Sampling rate                  : 44.1 KHz / 22.05 KHz
Compression mode               : Lossy
Stream size                    : 397 KiB (14%)
Encoded date                   : UTC 2016-09-30 23:43:41
Tagged date                    : UTC 2016-09-30 23:43:41
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

coffeebreak
Moon Magic practitioner
Moon Magic practitioner
Posts: 2599
Joined: 2015-09-26, 04:51
Location: U.S.

Re: Weather.com Video Sound Is In Slow Motion

Post by coffeebreak » 2016-11-04, 14:15

This was solved by Tycho, since the alpha.
Please see this thread: Weather.com sound in videos play at slow speed

Still fixed in Tycho 3. :-)

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 29243
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Weather.com Video Sound Is In Slow Motion

Post by Moonchild » 2016-11-04, 14:20

Further details: looks like the container is reporting the wrong sample rate; especially with HE-AAC (which is used in those videos), with variable bitrates, the actual decoder is the only place where Pale Moon can get the sample rate (from an actually decoded frame). Since this is currently off-loaded in Pale Moon to the operating system back-end, it relies on accurate sample rates being posted in the video container.

In short: weather.com isn't encoding their videos in a web-friendly way.
Plus side is that with our work on the MP4 reader, this will work properly in the new milestone.
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

coffeebreak
Moon Magic practitioner
Moon Magic practitioner
Posts: 2599
Joined: 2015-09-26, 04:51
Location: U.S.

Re: Weather.com Video Sound Is In Slow Motion

Post by coffeebreak » 2016-11-04, 14:28

Moonchild wrote:Plus side is that with our work on the MP4 reader, this will work properly in the new milestone.

Moonchild, I believe it already does. Please see post above yours.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 29243
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Weather.com Video Sound Is In Slow Motion

Post by Moonchild » 2016-11-04, 14:35

coffeebreak wrote:
Moonchild wrote:Plus side is that with our work on the MP4 reader, this will work properly in the new milestone.

Moonchild, I believe it already does. Please see post above yours.
Yes it already does, but the new milestone isn't exactly released yet, now is it? :)
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

Locked