openframeworks / openframeworks/openFrameworks

AVFoundationPlayer - Error Spew (asks me to open the video in texture only mode?)

Open
#3,462 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

macOS section-video
Dominant language
C++
Stars
10.4k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
9

Description

With the current master branch, I'm getting a lot of error spew from this video:

http://christopherbaker.net/dropbox/BBB_720.mov

2014-12-03 17:13:37.501 kibioDebug[28040:387476] CoreVideo pixel buffer is 1280 x 720 while self reports size of 1248 x 702. This is most likely caused by a non-square pixel video format such as HDV. Open this video in texture only mode to view it at the appropriate size.
2014-12-03 17:13:37.553 kibioDebug[28040:387476] CoreVideo pixel buffer is 1280 x 720 while self reports size of 1248 x 702. This is most likely caused by a non-square pixel video format such as HDV. Open this video in texture only mode to view it at the appropriate size.
2014-12-03 17:13:37.586 kibioDebug[28040:387476] CoreVideo pixel buffer is 1280 x 720 while self reports size of 1248 x 702. This is most likely caused by a non-square pixel video format such as HDV. Open this video in texture only mode to view it at the appropriate size.
2014-12-03 17:13:37.641 kibioDebug[28040:387476] CoreVideo pixel buffer is 1280 x 720 while self reports size of 1248 x 702. This is most likely caused by a non-square pixel video format such as HDV. Open this video in texture only mode to view it at the appropriate size.
2014-12-03 17:13:37.670 kibioDebug[28040:387476] CoreVideo pixel buffer is 1280 x 720 while self reports size of 1248 x 702. This is most likely caused by a non-square pixel video format such as HDV. Open this video in texture only mode to view it at the appropriate size.

One solution is to simply re-encode, but the project I'm working on requires the ability to open a broad spectrum of videos of various codecs. Unlike the former ofQTKitPlayer I can't seem to figure out how to set it up to use a texture exclusively.

Anyway, I'm not sure if this is a bug or a feature request ... so I'll just leave it here for conversation @obviousjim @arturoc

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.

Research direction

Reproduce the report with BBB_720.mov and inspect the AVFoundationPlayer path, comparing it with the former ofQTKitPlayer texture-only behavior. Done means the video can be opened without repeated size-mismatch errors and renders at the appropriate dimensions.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, macos
Domain
computer-graphics, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.