LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
  Search this Thread
Old 12-02-2009, 06:22 AM   #1
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908
Blog Entries: 26

Rep: Reputation: 49
Could not initialize SDL - No available video device


Hi
i am using Red Hat.I installed ffmpeg after installing SDL-1.2.14.tar.gz so that during './configure ' it said ffplay 'YES'.After installing I ran ffmpeg -i file.mp4 file.mpg.Conversion occured.When I ran that mpg or mp4 file using ffplay the output was

Could not initialize SDL - No available video device

What am I missing?

Last edited by sumeet inani; 12-04-2009 at 04:09 AM.
 
Old 12-03-2009, 02:48 PM   #2
jaydot
LQ Newbie
 
Registered: Jan 2007
Distribution: PCLinuxOS 2009.2
Posts: 5

Rep: Reputation: 0
you probably restarted the x server. did you?
 
Old 12-03-2009, 05:58 PM   #3
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
type at the terminal:
export SDL_VIDEODRIVER=X11
then try again from the same terminal
 
Old 12-05-2009, 03:44 AM   #4
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
error prevails

Quote:
Originally Posted by smeezekitty View Post
type at the terminal:
export SDL_VIDEODRIVER=X11
then try again from the same terminal
I did as you said but still same error crops up.
I looked at SDL website suggesting in FAQ

try in bash:- DISPLAY=:0 ; export DISPLAY
try running xhost + localhost
make sure that you have the X11 development libraries installed.

But still error prevails.I think I don't have x11 development libraries.What should I get?
 
Old 12-14-2009, 03:23 AM   #5
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
The solution is
Code:
For ubuntu users first install xorg-dev
that is
#apt-get install xorg-dev
Can anybody suggest what tarball needs to be installed for Red Hat users?

Last edited by sumeet inani; 12-18-2009 at 12:44 AM.
 
  


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
Could not initialize SDL Video subsystem: farslayer Debian 9 04-27-2009 03:37 AM
could not initialize SDL: No available video device greenkernel Linux - Games 1 10-15-2008 04:47 PM
Parallel Graphics SDL MPI: No available video device amroz Programming 0 06-16-2008 05:50 AM
HELP! Couldn't initialize SDL: No available video device orktes Linux - Software 6 03-24-2004 03:04 PM
SDL: Could not initialize video zot Linux - Hardware 0 06-24-2003 10:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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