Specific Twitter video encoded with Twitter-vork muxer has inconsistent duration meta #789

Open
opened 2025-11-09 09:58:30 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @Saafo on GitHub (Apr 10, 2025).

bug description

I found a twitter video encoded with Twitter-vork muxer that has inconsistent duration meta:

  • Presentation Duration: 0:00:14
  • Duration: 0:01:22

Image

Using macOS Preview or QuickTime Player to play the video, the player display total duration using presentation duration(0:00:14). But using IINA or Twitter web, the total duration is 0:01:22.

remuxing it fixes it by ffmpeg -i video.mp4 -map 0 -c copy out.mp4

I've found a historical issue: #172 , but it seems differ from this issue, and that bug had already fixed by twitter.

I wonder this is a specific problem, or the twitter muxer has bugs again this time. Does anyone met similar issue recently? And how to feedback this issue to twitter?

reproduction steps

  1. Download the above video using cobalt
  2. Play it using macOS Preview or QuickTime Player
  3. Inspect the duration info using MP4Box.js

screenshots

No response


platform information

macOS 15.1

additional context

No response

Originally created by @Saafo on GitHub (Apr 10, 2025). ### bug description I found a [twitter video](https://x.com/IntuitMachine/status/1909969919111843851) encoded with `Twitter-vork muxer` that has inconsistent duration meta: - Presentation Duration: 0:00:14 - Duration: 0:01:22 ![Image](https://github.com/user-attachments/assets/a5b302e9-967c-45d7-870e-5d38a8aefa54) Using macOS Preview or QuickTime Player to play the video, the player display total duration using presentation duration(0:00:14). But using IINA or Twitter web, the total duration is 0:01:22. remuxing it fixes it by `ffmpeg -i video.mp4 -map 0 -c copy out.mp4` I've found a historical issue: #172 , but it seems differ from this issue, and that bug had already fixed by twitter. I wonder this is a specific problem, or the twitter muxer has bugs again this time. Does anyone met similar issue recently? And how to feedback this issue to twitter? ### reproduction steps 1. Download the above video using cobalt 2. Play it using macOS Preview or QuickTime Player 3. Inspect the duration info using [`MP4Box.js`](https://gpac.github.io/mp4box.js/test/filereader.html) ### screenshots _No response_ ### links ```shell ``` ### platform information macOS 15.1 ### additional context _No response_
GiteaMirror added the bug label 2025-11-09 09:58:30 -06:00
Sign in to join this conversation.