LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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: 895
Blog Entries: 26

Rep: Reputation: 48
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,330

Rep: Reputation: 227Reputation: 227Reputation: 227
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: 895
Blog Entries: 26

Original Poster
Rep: Reputation: 48
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: 895
Blog Entries: 26

Original Poster
Rep: Reputation: 48
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


All times are GMT -5. The time now is 02:28 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration