LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-11-2006, 08:35 AM   #1
bamsesbilledbog
LQ Newbie
 
Registered: Apr 2005
Posts: 20

Rep: Reputation: 0
need program to output vidcaps (can mplayer do it?)


I am in the process of making a program/script that is indexing my dvd's and cd's. Normal features such as adding comments and genres to files is no problem implementing. But i also want it to be able to add information automatically about each file. Specifically I want vidcaps/still pictures from media-files.

I would prefer if mplayer have this ability. But I haven't found it in the manual. Does anyone have a solution to this problem? I simply need a program that outputs a set of pictures given a video-file and some options.
 
Old 03-11-2006, 09:35 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683
You can use mplayer with the -vo jpeg option. See the documentation for more details, or more output formats such as -vo png.
 
Old 03-11-2006, 10:23 AM   #3
bamsesbilledbog
LQ Newbie
 
Registered: Apr 2005
Posts: 20

Original Poster
Rep: Reputation: 0
The mplayer -vo jpeg <file> works well. Almost too well:-) It outputs the entire video as jpg-pictures. The -sstep displays one frame every <sec> seconds.

"Useful for slideshows. Since MPlayer can only seek to the next keyframe this may be inexact. Most formats have one keyframe every <sec> and <sec>+20 seconds."

There is no output since apparantly the keyframe is inexact. Does anyone have a solution for this?
 
  


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
C function to execute a program and return the output of the program ryan.n Programming 4 08-14-2004 10:11 PM
mplayer to output stream eantoranz Linux - Software 0 05-17-2004 02:47 PM
MPlayer output boomer Linux - Software 2 08-09-2003 05:52 AM
mplayer?? video output killi Slackware 11 05-17-2003 07:10 AM
mplayer video output vank Linux - Software 1 01-14-2003 01:08 PM

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

All times are GMT -5. The time now is 05:56 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