LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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, 01:03 AM   #1
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,009

Rep: Reputation: 164Reputation: 164
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, 09:11 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 14,185
Blog Entries: 24

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

Original Poster
Rep: Reputation: 164Reputation: 164
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, 09: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 09:13 PM. Reason: typo
 
Old 01-30-2017, 04:21 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 9,957
Blog Entries: 7

Rep: Reputation: 2446Reputation: 2446Reputation: 2446Reputation: 2446Reputation: 2446Reputation: 2446Reputation: 2446Reputation: 2446Reputation: 2446Reputation: 2446Reputation: 2446
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 09:23 AM
[SOLVED] Iceweasel problem with animated gifs qrange Linux - Software 11 06-25-2011 03:48 PM
How to Block Animated .Gifs from making there way onto my Linux Server pbyrne Linux - Server 3 12-01-2010 05:42 AM
animated gifs in digikam ? efi360 Linux - Software 2 03-30-2008 04:58 PM
Animated gifs under linux help tuxfood Linux - Software 7 07-17-2004 02:18 AM

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

All times are GMT -5. The time now is 07:17 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration