LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 03-25-2009, 08:30 AM   #1
sumeet inani
Member
 
Registered: Oct 2008
Posts: 869
Blog Entries: 26

Rep: Reputation: 47
from where can I get ffplay


I am using openSUSE 10.3.I successfully installed ffmpeg from tarball.I came to know that ffplay can use ffmpeg codecs to play audio & video files but did not find any link to tarball of ffplay.
NOTE
I have tried --enable-ffplay during configure of ffmpeg but still on running 'ffplay' says command not found.
 
Old 03-25-2009, 08:48 AM   #2
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266
ffplay is built by default, so there's no need to pass an option to it when configuring. Maybe it wasn't installed properly, maybe it's not in your $PATH.
 
Old 03-25-2009, 04:04 PM   #3
JaksoDebr
Member
 
Registered: Mar 2009
Distribution: Fedora, Slackware
Posts: 104

Rep: Reputation: 21
A common location for ffplay is '/usr/bin/ffplay'. To find your ffplay just run 'which ffplay'. If it's in your $PATH, then it will show up. Otherwise you need to run a 'make install' from your unpacked and built tarball directory.

Linux Archive

Last edited by JaksoDebr; 04-02-2009 at 05:04 AM.
 
Old 03-28-2009, 12:19 AM   #4
sumeet inani
Member
 
Registered: Oct 2008
Posts: 869
Blog Entries: 26

Original Poster
Rep: Reputation: 47
I found ffmpeg & ffserver in /usr/local/bin but not ffplay.
Has anybody used ffplay then please provide the link of tarball and any other thing to keep in mind excluding './configure','make' and 'make install.'
 
Old 03-28-2009, 04:53 AM   #5
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266
Either get the fullcheckout tarball or version 0.5 from here:
http://www.ffmpeg.org/download.html

Here's the way I configured my ffmpeg:
Code:
--prefix=/usr --enable-static --enable-shared --enable-gpl --enable-nonfree --enable-postproc --enable-avfilter --enable-avfilter-lavf --enable-pthreads --enable-x11grab --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid
 
Old 04-23-2009, 12:51 AM   #6
sumeet inani
Member
 
Registered: Oct 2008
Posts: 869
Blog Entries: 26

Original Poster
Rep: Reputation: 47
ASKING EVERYBODY
I unpacked ffmpeg-checkout-2009-03-03 in /home/lxuser
then ran following command as normal user
$./configure --enable-static --enable-shared --enable-gpl --enable-nonfree --enable-postproc --enable-avfilter --enable-avfilter-lavf --enable-pthreads --enable-x11grab --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libxvid
$make
Then as superuser
make install
I got ffmpeg,ffserver in /usr/local/bin & ffmvforce,fftest,ffset,ffcfstress in /usr/bin but no ffplay.
Where I am going wrong?
 
Old 04-23-2009, 07:06 AM   #7
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266
Does it say anything while you configure it with respect to ffplay ?
 
Old 04-24-2009, 07:04 AM   #8
sumeet inani
Member
 
Registered: Oct 2008
Posts: 869
Blog Entries: 26

Original Poster
Rep: Reputation: 47
To H_TeXMeX_H,
Actually everyone says that ffplay is enabled by default & if you want to disable its building then there is an option called --disable-ffplay.
TO EVERYBODY
Is there anybody who has used ffplay if YES then please tell the version of ffmpeg tarball which you used and what commands you gave to compile & run it.
 
Old 04-24-2009, 07:16 AM   #9
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,029

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
Maybe you lack some library needed by ffplay. I know that it needs sdl, for example, which I think the rest of ffmpeg doesn't need for anything. Just a wild guess.

Code:
$ grep SDL\.h *
configure:    if check_lib2 SDL.h SDL_Init; then
configure:#include <SDL.h>
ffplay.c:#include <SDL.h>
 
Old 04-26-2009, 08:23 AM   #10
sumeet inani
Member
 
Registered: Oct 2008
Posts: 869
Blog Entries: 26

Original Poster
Rep: Reputation: 47
as i92guboj told,
i installed sdl-devel of 29MB from openSUSE 10.3 dvd and then general installation of ffmpeg also gave ffplay command to play video files.
QUESTION
I have noticed that few videos in mplayer & ffplay appear black & white and little colour.Does anyone know why?
QUESTION
Can anybody guide me to link which explains how to use FFMPEG,MENCODER to cut clips from video & convert to other format though I read doc which gave info but their is no man page for ffmpeg & illustration with example would be useful.
 
Old 04-26-2009, 08:23 AM   #11
sumeet inani
Member
 
Registered: Oct 2008
Posts: 869
Blog Entries: 26

Original Poster
Rep: Reputation: 47
as i92guboj told,
i installed sdl-devel of 29MB from openSUSE 10.3 dvd and then general installation of ffmpeg also gave ffplay command to play video files.
QUESTION
I have noticed that few videos in mplayer & ffplay appear black & white and little colour.Does anyone know why?
QUESTION
Can anybody guide me to link which explains how to use FFMPEG,MENCODER to cut clips from video & convert to other format though I read doc which gave info but their is no man page for ffmpeg & illustration with example would be useful.
 
Old 04-26-2009, 08:59 AM   #12
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266
See the documentation:
http://www.ffmpeg.org/documentation.html
http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html
http://www.mplayerhq.hu/DOCS/HTML/en/index.html
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off



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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration