Closed Bug 1839450 Opened 2 years ago Closed 2 years ago

Some videos can't loop

Categories

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

Firefox 116
defect

Tracking

()

RESOLVED DUPLICATE of bug 1844772

People

(Reporter: tgnff242, Assigned: alwu)

References

(Regression, )

Details

(Keywords: nightly-community, regression)

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

Steps to reproduce:

This is the same bug/STR as Bug 1789103 with a different regressor.

You can use the video in Bug 1789103#comment 12, but make sure its sound is on.

Actual results:

No loop.

Expected results:

https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=4dfcb6e877c9ec1a9560db06777ee984891908d4&tochange=1d0656c6185de116bb9cbffbcbb92319b1c07e28

Has STR: --- → yes
Regressed by: 1262276
See Also: → 1789103

:alwu, since you are the author of the regressor, bug 1262276, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(alwu)

What's the expected behavior here? I can play the video with sound, and once it reaches the end initiate play again.

Flags: needinfo?(tgnff242)

Yes, that is the expected behaviour, however, unless I set media.seamless-looping-video:false, it's not met. The video stops at 00:21, it never reaches the end of 00:22 and it doesn't loop.

Flags: needinfo?(tgnff242)

It doesn't seem to affect the current release channel at v115, but Nightly when was at v115 was affected.

I will take a look at this.

Severity: -- → S3
Flags: needinfo?(alwu)
Priority: -- → P3

I can't reproduce this on Nightly 117 on Windows 11, I suppose this problem might have been fixed by the recent patches I landed for seamless looping. Could you try to use the latest Firefox Nightly to see if this issue still exists on your side? Thank you.

Flags: needinfo?(tgnff242)

Yes, I have reproduced it on Nightly 20230711040652 on both Linux and Win11.

Something I hadn't thought of checking before, is hardware video decoding. Indeed, if I disable it, the video loops as expected (both OSs). That's the reason it didn't reproduce on the Release channel before, since I always test in clean profiles and it's disabled by default on Linux.

So to recap, 1) the sound needs to be turned on and 2) hardware video decoding needs to be supported and enabled.

Flags: needinfo?(tgnff242)

Thanks, I can now reproduce this. Will take a look on this.

Assignee: nobody → alwu
Status: UNCONFIRMED → NEW
Ever confirmed: true

Set release status flags based on info from the regressing bug 1262276

I'm going to fix the issue in bug 1844772.

Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1844772
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.