LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 07-13-2017, 10:01 AM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
Man page for ffmpeg?


Hi: There is on the Internet a man page, but it is HTML file, directly visible through there page. Can there be an ASCII man page?
 
Old 07-13-2017, 10:06 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,350

Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
Man pages are a funny format. Slackware provides one. Don't know about your distro, because you didn't mention what it is.

Also, ffmpeg --help is fairly good.
 
Old 07-13-2017, 10:07 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,659

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by stf92 View Post
Hi: There is on the Internet a man page, but it is HTML file, directly visible through there page. Can there be an ASCII man page?
Don't know what to tell you; I can type "man ffmpeg" and I get a man page on openSUSE.
 
Old 07-13-2017, 12:54 PM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
You can pipe the output of the --help or the man page to a file and view the file, and you can also view the HTML version in a browser and Save As a text file and then read the text file.
 
Old 07-13-2017, 04:41 PM   #5
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by business_kid View Post
Man pages are a funny format. Slackware provides one. Don't know about your distro, because you didn't mention what it is.

Also, ffmpeg --help is fairly good.
The distro is Slackware 14.1, but the man page format is universal in Linux. Anyway, I suppose I can read the HTML version, though I should have to start X.
 
Old 07-13-2017, 04:49 PM   #6
justmy2cents
Member
 
Registered: May 2017
Location: U.S.
Distribution: Un*x
Posts: 237
Blog Entries: 2

Rep: Reputation: Disabled
Not sure if this will help you but you can man manpage | col -b -x > somefile (this will save the manpage to somefile; the col -b -x fixes formatting issues)
 
Old 07-13-2017, 05:58 PM   #7
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Thanks, someone from the Slackware subforum, some years ago gave me a little script that converted HTML to plain ASCII text but I don't have it here this moment. And it did very decently well.
 
Old 07-13-2017, 08:42 PM   #8
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,339
Blog Entries: 28

Rep: Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145
This website led me to this Wikipedia article that says man pages are written in a "typesetting" format called groff, based on a Unix format called troff.

See man groff and man troff for more.

If you have ffmpeg installed, you should also have a man page for ffmpeg.

Last edited by frankbell; 07-13-2017 at 08:45 PM.
 
Old 07-13-2017, 10:57 PM   #9
justmy2cents
Member
 
Registered: May 2017
Location: U.S.
Distribution: Un*x
Posts: 237
Blog Entries: 2

Rep: Reputation: Disabled
The poppler-utils package has a html to text converter as one of it's dependencies, I think it was called htmltotext.
 
Old 07-14-2017, 06:18 AM   #10
Laserbeak
Member
 
Registered: Jan 2017
Location: Manhattan, NYC NY
Distribution: Mac OS X, iOS, Solaris
Posts: 508

Rep: Reputation: 143Reputation: 143
If you installed it from the source, it should have installed the man pages, you may just have to add them to your $MANPATH variable in your .bash_profile or .bashrc or whatever is the appropriate file.
 
Old 07-19-2017, 09:23 AM   #11
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Thanks a lot, Laserbeak. By the way, I have this in /etc/profile:
Code:
# Set the values for some environment variables:
export MINICOM="-c on"
export MANPATH=/usr/local/man:/usr/man
export HOSTNAME="`cat /etc/HOSTNAME`"
export LESSOPEN="|lesspipe.sh %s"
export LESS="-M -i -z21 -S"
export VISUAL=vim
But somewhere after the system adds ':/usr/share/texmf/man'. Where can that be? I'd prefer to add ffmpeg man path there.
 
Old 07-19-2017, 11:17 AM   #12
Laserbeak
Member
 
Registered: Jan 2017
Location: Manhattan, NYC NY
Distribution: Mac OS X, iOS, Solaris
Posts: 508

Rep: Reputation: 143Reputation: 143
If you want to add it there, then change:

Code:
export MANPATH=/usr/local/man:/usr/man
to

Code:
export MANPATH=/usr/local/man:/usr/man:/usr/share/texmf/man
If that's the correct path to the new man directory.
 
Old 07-19-2017, 01:15 PM   #13
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,235

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
Originally Posted by stf92 View Post
The distro is Slackware 14.1, but the man page format is universal in Linux. Anyway, I suppose I can read the HTML version, though I should have to start X.
Dude, use links. Slackware includes it in a stock install. It's a lifesaver when you need to access text-based resources without using X.

Last edited by dugan; 07-19-2017 at 01:21 PM.
 
Old 07-19-2017, 03:09 PM   #14
Laserbeak
Member
 
Registered: Jan 2017
Location: Manhattan, NYC NY
Distribution: Mac OS X, iOS, Solaris
Posts: 508

Rep: Reputation: 143Reputation: 143
Quote:
Originally Posted by dugan View Post
Dude, use links. Slackware includes it in a stock install. It's a lifesaver when you need to access text-based resources without using X.
I think you mean lynx.
 
Old 07-19-2017, 03:10 PM   #15
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,235

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
Originally Posted by Laserbeak View Post
I think you mean lynx.
Definitely not.

I meant links

http://ftp.oregonstate.edu/pub/slack....14-i586-2.txt

Not Lynx

http://ftp.oregonstate.edu/pub/slack...l.2-i586-3.txt

Although Lynx is indeed available and an option if you prefer it for some reason.

Links had better support for the latest HTML standards last time I checked.

Last edited by dugan; 07-19-2017 at 03:12 PM.
 
  


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
man page is not found although $MANPATH and man.conf changed Abbraxas Linux - Newbie 3 09-05-2011 06:40 PM
ffmpeg.SlackBuild: line 194: cd: /tmp/SBo/package-ffmpeg/usr/man: No such file or dir darkstarbyte Linux - Software 7 12-29-2010 05:45 PM
About Man Page Actionscript3 Linux - Newbie 5 10-27-2010 03:26 AM
svn ffmpeg: No man file?? andrew.46 Slackware 6 02-23-2008 06:04 PM
man alsamixer not showing the man page nosaku Slackware 1 12-20-2004 08:52 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 05:42 PM.

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