LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-17-2017, 12:03 AM   #1
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,963

Rep: Reputation: 271Reputation: 271Reputation: 271
Console app to display animated GIFs


I encountered an animated GIF, https://static01.nyt.com/science/gifs/Suppl.3.gif (an odd wave propagating over the atmosphere of Venus) . I can view it in X but I'd like to view it in not-X.
 
Old 01-17-2017, 08:11 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
I just tested it in mplayer and mplayer displayed it.
 
Old 01-17-2017, 10:41 PM   #3
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,963

Original Poster
Rep: Reputation: 271Reputation: 271Reputation: 271
In non-X? I get errors, the first set complaining that it can't open the X11 display, the second complaining that it can't initialize the video driver.t
 
Old 01-29-2017, 08:12 PM   #4
Gary987
Member
 
Registered: Oct 2003
Distribution: Gentoo, Mint, Ubuntu, Vector
Posts: 174

Rep: Reputation: 17
Mplayer is defaulting to an X display

mplayer -vo help should give you a list like this..

vdpau VDPAU with X11
xv X11/Xv
gl_nosw OpenGL no software rendering
x11 X11 ( XImage/Shm )
xover General X11 driver for overlay capable video output drivers
sdl SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
gl OpenGL
gl_tiled X11 (OpenGL) - multiple textures version
dga DGA ( Direct Graphic Access V2.0 )
matrixview MatrixView (OpenGL)
v4l2 V4L2 MPEG Video Decoder Output
directfb Direct Framebuffer Device
dfbmga DirectFB / Matrox G200/G400/G450/G550
null Null video output
mpegpes MPEG-PES to DVB card
png PNG file
jpeg JPEG file
gif89a animated GIF output
mng MNG file


mplayer -vo <insertdisplayhere> filename

try dga, directfb, libcaca (caca.zoy.org/wiki/libcaca)

You could also try mplayer -vm filename (It will try to choose the best driver)

Last edited by Gary987; 01-29-2017 at 08:13 PM. Reason: typo
 
Old 01-30-2017, 03:21 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by Gary987 View Post
mplayer -vo help should give you a list like this..
-vo aa
-vo caca
-vo fbdev2

worked for me on animated gifs.

however, the results were... less than desirable.

what also worked:
Code:
mpv -vo caca *gif
mpv -vo drm *gif
the last one was the only one that gave a good result.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to add freely-licensed animated GIFs to Facebook and Twitter using Riffsy LXer Syndicated Linux News 0 08-08-2016 08:23 AM
[SOLVED] Iceweasel problem with animated gifs qrange Linux - Software 11 06-25-2011 02:48 PM
How to Block Animated .Gifs from making there way onto my Linux Server pbyrne Linux - Server 3 12-01-2010 04:42 AM
animated gifs in digikam ? efi360 Linux - Software 2 03-30-2008 03:58 PM
Animated gifs under linux help tuxfood Linux - Software 7 07-17-2004 01:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration