Skip to content

Instantly share code, notes, and snippets.

View joel16's full-sized avatar
:octocat:

Joel joel16

:octocat:
  • Wolverhampton, UK
View GitHub Profile
@joel16
joel16 / ffmpeg_tutorial05.c
Created July 17, 2018 14:44 — forked from MarcoQin/ffmpeg_tutorial05.c
ffmpeg tutorial 05 with SDL2 and audio resampling fix
// tutorial05.c
// A pedagogical video player that really works!
//
// Code based on FFplay, Copyright (c) 2003 Fabrice Bellard,
// and a tutorial by Martin Bohme ([email protected])
// Tested on Gentoo, CVS version 5/01/07 compiled with GCC 4.1.1
// With updates from https://github.com/chelyaev/ffmpeg-tutorial
// Updates tested on:
// LAVC 54.59.100, LAVF 54.29.104, LSWS 2.1.101, SDL 1.2.15
// on GCC 4.7.2 in Debian February 2015