I am looking to have playlists of mixed media(GIF, MP4, etc) for an artistic showcase of different animations from several collaborators and VLC is the clear first choice since it supports ordered playlists and we would like to be able to order these animations.

Unfortunately by default VLC does not play GIF format, however it does have the capability according to this post:


As an end user of VLC, Is there a way that I can

"Comment out the GIF89a entry in the formats table in modules/demux/image.c"

Or will i need to modify source code and compile an altered libvlc? This would be very unideal.

As an aside, if anyone knows of an alternative media player which can handle gif and mp4 in the same playlist in a user ordered fashion, that would also be great. My current fallback is windows photos app with renaming items in a folder to play in a certain order, but this requires a person to be present to advance to the next item



mpv supports animated GIF and playlists:

mpv --playlist=<filename>

Or point it to a directory:

mpv /path/to/files

See man mpv, mpv --help, and the online documentation for more info on playlists.


You can get VLC to play an animated GIF:

vlc --demux=avformat input.gif

Or as playlist:

vlc --demux=avformat,any <playlist file or a directory>
  • This looks perfect for what i need, thank you so much (at first glance, MPV does seem to be doing exactly what i want it to do) – Jody Sowald Jan 20 '19 at 16:48
  • 1
    I did end up using mpv and do to this to this day. It took a few minutes to learn the shortcuts, but i've never found a better, smoother, or faster video player than mpv – Jody Sowald Mar 5 at 19:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.