PDA

View Full Version : Viewing DVD's, pictures, and ps/pdf without X


JMJ_coder
06-11-2008, 08:20 PM
Hello,

1. Is there a program out there that will play a DVD without having to have X installed?

2. Also, is there one to view pictures without X (i.e., jpg, gif, png, etc.)?

3. Also, is there one to view ps/pdf files without X?

TerryP
06-11-2008, 08:49 PM
you can convert ps/pdf files to text output and view in an editor.

As far as the rest goes, not sure if it's possible on FreeBSD because it would likley require a virtual framebuffer and supporting software to run in it.

anomie
06-11-2008, 08:50 PM
1. aaxine (should be part of xine package) will show you ascii art video. I don't remember if I've ever used it to play a dvd.
3. One option is to convert the pdf to html using pdftohtml and then view it with lynx. ;)

kazcor
06-11-2008, 09:27 PM
At least on FreeBSD you can use mplayer with a vidix supported card to play almost every movie on the console. It's also fun to use this with an endless-loop video to have sort of a background image :p
The same goes for almost every program supporting SDL output (including mplayer as well) as you can compile SDL with libvgl support, set SDL_VIDEODRIVER=vgl and as a result see the graphical output directly on your console. Besides this mplayer supports aalib too, of course ;)

richardpl
06-12-2008, 01:43 AM
You have zgv for displaying images in console (by default you will need root permissions)

If your OS of choice doesnt have framebuffer support (Linux, FreeBSD, DragonFlyBSD does have framebuffer support) you can use asciiview (install graphics/aview) for viewing images in ascii.

If your OS of choice support color terminals, try also cacaview for viewing images.

Also links have svga support, no need to browse internet inside Xorg.

You even can play games, like doom using cacalib, aalib, svga in console.

JMJ_coder
06-14-2008, 01:40 PM
Hello,

I think of DVD's and pictures in ASCII more of a novelty thing than a serious option. Also, it's not a question of reading mere text from the ps/pdf - a lot of my files have a lot of graphics, if not purely graphical (i.e., musical scores).

Cacaview only supports bmp files (or so the error messages tell me).

richardpl
06-17-2008, 03:43 PM
I dont know what is on your machine, but mine cacaview and asciiview works with bmp, jpg, png files without problems.

About ascii limitation in cacaview: You can zoom in/out image to make output looks more familiar to you :)
Zooming comes very handy when reading pdf documents via cacaview. (use pdftoppm for converting pdf to images - comes with xpdf)

For ps/pdf/dvi you can convert pages to images (specify DPI for custom resolution) and then view images via zgv, or if your OS doesnt have framebuffer via cacaview.

If that doesnt help you, you still can print pdf/dvi/ps documents and read them once they come out from printer :)

Maybe I will switch from kpdf+X11 to pdftoppm+cacaview/zgv after this post ...