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
  Search this Thread
Old 07-22-2010, 06:38 AM   #1
RudraB
Member
 
Registered: Mar 2007
Distribution: Fedora
Posts: 262

Rep: Reputation: 23
mplayer no video


while running some file (this is just an example) i am facing the problem:
Quote:
$ mplayer Thank\ You\ for\ Smoking.avi.part
MPlayer SVN-r31061-4.4.3 (C) 2000-2010 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing Thank You for Smoking.avi.part.
Seek failed
libavformat file format detected.
[mp3 @ 0x9fb8e40]Header missing
[mp3 @ 0x9fb7ca0]MAX_READ_SIZE:5000000 reached
[mp3 @ 0x9fb7ca0]Estimating duration from bitrate, this may be inaccurate
[lavf] Audio stream found, -aid 0
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
big_values too large!
AUDIO: 22050 Hz, 2 ch, s16le, 40.0 kbit/5.67% (ratio: 5000->88200)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [pulse] 22050Hz 2ch s16le (2 bytes per sample)
Video: no video
while totem can run the files.
So two question:
1. Is this a codec problem?(or something wrong in mplayer)
2. How to solve this type of problem?
 
Old 07-22-2010, 10:12 AM   #2
yooy
Senior Member
 
Registered: Dec 2009
Posts: 1,387

Rep: Reputation: 173Reputation: 173
Quote:
Playing Thank You for Smoking.avi.part.
your file didn't download completly. what do you want to do?
 
0 members found this post helpful.
Old 07-22-2010, 11:27 AM   #3
RudraB
Member
 
Registered: Mar 2007
Distribution: Fedora
Posts: 262

Original Poster
Rep: Reputation: 23
As i said, its just an example.....it happens for correctly downloaded file as well
 
Old 07-22-2010, 05:03 PM   #4
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 2,324
Blog Entries: 1

Rep: Reputation: 447Reputation: 447Reputation: 447Reputation: 447Reputation: 447
you might try -nocache and -idx or even -forceidx options.

It seems to be related to partially downloaded content.
 
Old 07-22-2010, 05:10 PM   #5
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 2,324
Blog Entries: 1

Rep: Reputation: 447Reputation: 447Reputation: 447Reputation: 447Reputation: 447
Depending on the download method, it might be missing headers on the front or end of the file and otherwise wont play in mplayer until those parts are downloaded. With .AVI the front portion needs content before it can play. For .MP4 type content the back portion. At least that's my experience. Although normally if it can't be played in mplayer, most other apps also fail. You might try -cache 2048 or similar and see if that helps, to load more of the file before trying to figure the file out. You could also have an outdated version, or old .DLL's for codec stuff. VLC might play it, ffplay might play it, and other things depending on versioning.

Code:
mplayer -monitoraspect 1.6 -ao alsa -vo xv -alang en -geometry 0:0:0:0 -lavdopts skiploopfilter=all <media>
Tis what I currently use most of the time. +/- -cache # / -nocache or -vf scale,pp=al -zoom -x # -y # or -idx / -forceidx and other options depending on how hosed my media is, versus my video driver, versus whatever other limits (resolution / cpu / ???).
 
  


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
Question about RTD VFG7350,Compressed video capture,Mplayer,Cat video dxj Linux - Hardware 1 01-10-2010 06:32 AM
Question about RTD VFG7350,Compressed video capture,Mplayer,Cat video dxj Linux - Software 0 01-10-2010 02:49 AM
Playing video in MPlayer embedded video player and Mozilla fc6_user Linux - Desktop 22 04-02-2007 01:59 PM
mplayer plays sound but NOT video of a .ogg video file minike Linux - Software 5 03-14-2007 09:51 AM
Drivers for gma950 video? (Integrated i945) + slow video in mplayer ivanatora Linux - Hardware 1 01-14-2007 02:19 PM


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