androidx / androidx/media

Transforming 59.9 fps results in variable frame

Open
#2,599 8 comments 0 reactions 2 assignees View on GitHub

@snow2405 is already working on this.

Since Sep 2, 2026.

bug editing
Dominant language
Java
Stars
3k
Forks
955
Avg merge
12d 14h
Merged PRs (30d)
2

Description

Version

Media3 pre-release (alpha, beta or RC not in this list)

More version details

1.8.0-beta01

Devices that reproduce the issue

Pixel 8 Pro / Android 16

Devices that do not reproduce the issue

No response

Reproducible in the demo app?

Not tested

Reproduction steps
  1. download https://www.steelbytes.com/temp/GoPro10_29.9_raw.mp4 and https://www.steelbytes.com/temp/GoPro10_59.9_raw.mp4 (unmodified from gopro)
  2. compile install simple test https://github.com/steelbytes/media3test (or read source https://github.com/steelbytes/media3test/blob/master/app/src/main/java/com/steelbytes/media3test/ActBug2.kt)
  3. run test app and transform both each file using button "transfdorm -> variable" (2nd button on screen)
  4. check video track info in each in and each out file using https://mediaarea.net/en/MediaInfo/Download
  5. output from 29.9 results in a constant frame rate. good.
  6. output from 59.9 results in a variable frame rate. This upsets video editing software such as kdenlive.
Expected result

constant frame rate out and the same speed as in for all frame rates

Actual result

variable frame rate for 59.9 source

Media

https://www.steelbytes.com/temp/GoPro10_29.9_raw.mp4
https://www.steelbytes.com/temp/GoPro10_59.9_raw.mp4

Bug Report
  • You will email the zip file produced by adb bugreport to android-media-github@google.com after filing this issue.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.