Following avplay.c example
more