News for hackers. Stuff that matters.
Re:How to Write a Video Player in Less Than 1000 Lines by Hydraulix989 on Monday March 07, 2016 @04:12AM (#11237882)
Great tutorial, the information on AV syncing is a little out of date. If the audio gets ahead of the video, then the video doesn't instantaneously skip to catch up, it continuously renders frames at full rate.

IIRC, I also don't think their mapping from SDL audio channels to ffmpeg channels is surjective (to say nothing of planar/non-planar audio).

I would suggest reading the ffplay.c example code.

There are no comments on this comment yet.