8000 Transforming 59.9 fps results in variable frame · Issue #2599 · androidx/media · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Transforming 59.9 fps results in variable frame #2599
Open
@steelbytes

Description

@steelbytes

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0