Open Bug 1687366 Opened 5 years ago Updated 5 years ago

did not decode the last couple of video samples for a specific file

Categories

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

defect

Tracking

()

People

(Reporter: alwu, Unassigned)

References

Details

STR.

  1. goto https://media.zlongame.com/media/upload/20210112/tdj_2021011201.mp4
  2. set it loop

Expected.
3. when checking the progress bar, you can see that Firefox didn't decode the last couple samples, which make the looping have noticeable visual defect

Actual.
3. all video samples should be decoded and no visual defect occurs
(It played well on Chrome)


Here is the profiled result, you can see the last vdeio sample MDSM received is [1,766,667 : 1,800,000]

But when I use ffprobe to check the file, I do see there are still three video frames in the file.


{
    "codec_type": "video",
    "stream_index": 0,
    "pts": 57000,
    "pts_time": "1.900000",
    "dts": 54000,
    "dts_time": "1.800000",
    "duration": 1000,
    "duration_time": "0.033333",
    "size": "62640",
    "pos": "2549916",
    "flags": "__"
},
{
    "codec_type": "video",
    "stream_index": 0,
    "pts": 55000,
    "pts_time": "1.833333",
    "dts": 55000,
    "dts_time": "1.833333",
    "duration": 1000,
    "duration_time": "0.033333",
    "size": "26292",
    "pos": "2612556",
    "flags": "__"
},
{
    "codec_type": "video",
    "stream_index": 0,
    "pts": 56000,
    "pts_time": "1.866667",
    "dts": 56000,
    "dts_time": "1.866667",
    "duration": 1000,
    "duration_time": "0.033333",
    "size": "26816",
    "pos": "2638848",
    "flags": "__"
},
Hardware: Unspecified → All
OS: Unspecified → All
See Also: → 1687368
You need to log in before you can comment on or make changes to this bug.