LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linspire/Freespire
User Name
Password
Linspire/Freespire This Forum is for the discussion of Linspire and Freespire.

Notices


Reply
  Search this Thread
Old 04-03-2008, 07:54 AM   #1
tsv
LQ Newbie
 
Registered: Jun 2007
Posts: 15

Rep: Reputation: 0
Playing AVI Files


Hi

I want to watch a TV show I missed (Underbelly) and downloaded the file which was in AVI format.

I've tried playing the file with about 6 different players (Kaffeine, Mplayer, Kplayer, VLC etc) and they all play perfectly .... for 4 seconds and then abruptly stop. Why?

Thanks in advance guys.
 
Old 04-03-2008, 09:01 AM   #2
anupamsr
Member
 
Registered: Sep 2004
Location: India
Distribution: Kubuntu, Archlinux, Suse, Gentoo, Mandrake
Posts: 371

Rep: Reputation: 30
When you tried mplayer, could you give me the whole output? (I suppose here that you used command line)
 
Old 04-03-2008, 02:14 PM   #3
tsv
LQ Newbie
 
Registered: Jun 2007
Posts: 15

Original Poster
Rep: Reputation: 0
Here is the output;

file:///home/vmelville/Documents/Movies/Underbelly.S01E06.HDTV.XviD-BiA.a

V.XviD-BiA.avi
MPlayer 2:1.0~rc1-0ubuntu9.1 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (Family: 15, Model: 4, Stepping: 1)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
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 /home/vmelville/Documents/Movies/Underbelly.S01E06.HDTV.XviD-BiA.avi.
AVI file format detected.
VIDEO: [XVID] 624x352 12bpp 25.000 fps 1029.0 kbps (125.6 kbyte/s)
Clip info:
Software: VirtualDubMod 1.5.10.2 (build 2540/release)
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] Can't open /dev/fb0: Permission denied.
[VO_3DFX] Unable to open /dev/3dfx.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Forced audio codec: mad
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3)
==========================================================================
Could not open/initialize audio device -> no sound.
Audio: no sound
Starting playback...
VDec: vo config request - 624 x 352 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.77:1 - prescaling to correct movie aspect.
VO: [xv] 624x352 => 624x352 Planar YV12
Seek failed4/124 21% 0% 0.0% 0 0
V: 4.9 124/124 21% 0% 0.0% 0 0

Exiting... (End of file)

The sound problem is new, was working fine before and still is other players, eg Kaffeine

I managed to fix the permission problem opening the fb0 directory with chmod oug=rw

Last edited by tsv; 04-03-2008 at 02:27 PM. Reason: Extra information
 
Old 04-04-2008, 01:57 AM   #4
anupamsr
Member
 
Registered: Sep 2004
Location: India
Distribution: Kubuntu, Archlinux, Suse, Gentoo, Mandrake
Posts: 371

Rep: Reputation: 30
hmm... I really don't understand the problem here

Normally I would suggest that you play the file using this command:
$mplayer -identify filename

Try this, btw (using wine, or if you have access to MS Windows):

http://www.divx-digest.com/software/avifix.html
 
Old 04-04-2008, 05:32 AM   #5
nhydra
Member
 
Registered: May 2006
Distribution: Fedora Core, FreeSpire, PC-BSD, NetBSD
Posts: 96

Rep: Reputation: 15
I think I know where the problem is. For some reason I have the same problem but I never solved it. So, here you are simple solution: When the video stops then just press "pause or play button" again. This will start the video where it stopped.
I hope it works for you, because it works for me perfectly.
 
Old 04-04-2008, 01:50 PM   #6
tsv
LQ Newbie
 
Registered: Jun 2007
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks for the suggestions guys.

Here is the output from mplayer -identify filename

vmelville@tpcc:~/Documents/Movies$ mplayer -identify Underbelly.1x07.Wise_Monkeys.HDTV_XviD-FoV.avi
MPlayer 2:1.0~rc1-0ubuntu9.1 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (Family: 15, Model: 4, Stepping: 1)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
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 Underbelly.1x07.Wise_Monkeys.HDTV_XviD-FoV.avi.
AVI file format detected.
ID_VIDEO_ID=0
ID_AUDIO_ID=1
VIDEO: [XVID] 640x368 16bpp 25.000 fps 969.2 kbps (118.3 kbyte/s)
Clip info:
Software: Nandub v1.0rc2
ID_CLIP_INFO_NAME0=Software
ID_CLIP_INFO_VALUE0=Nandub v1.0rc2
ID_CLIP_INFO_N=1
ID_FILENAME=Underbelly.1x07.Wise_Monkeys.HDTV_XviD-FoV.avi
ID_DEMUXER=avi
ID_VIDEO_FORMAT=XVID
ID_VIDEO_BITRATE=969192
ID_VIDEO_WIDTH=640
ID_VIDEO_HEIGHT=368
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=85
ID_AUDIO_BITRATE=132152
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_LENGTH=2666.48
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] Can't open /dev/fb0: Permission denied.
[VO_3DFX] Unable to open /dev/3dfx.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
ID_VIDEO_CODEC=ffodivx
==========================================================================
Forced audio codec: mad
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
ID_AUDIO_BITRATE=128000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3)
==========================================================================
Could not open/initialize audio device -> no sound.
Audio: no sound
Starting playback...
VDec: vo config request - 640 x 368 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.74:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.7391
VO: [xv] 640x368 => 640x368 Planar YV12
V: 1.4 36/ 36 49% 0% 0.0% 0 0

Exiting... (End of file)


Pausing doesn't work. If I hit play it just starts again.

BTW my mplayer doesn't actually have an interface. It is just a box with the word "mplayer" written inside. The only way to use it is to right click on the box which brings up a menu. From there I can open files, at least momentarily. Is this normal?

For some reason it is having permission trouble opening /dev/fb0 again. Can't understand this either, I changed the permissions yesterday!

Last edited by tsv; 04-04-2008 at 01:56 PM.
 
  


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
I have problem playing .avi files bala21 Linux - Software 4 12-21-2007 06:41 AM
playing .avi files in ubuntu? greythorne Ubuntu 4 07-17-2005 07:03 AM
Playing avi files David@330 Linux - Newbie 1 08-25-2004 06:44 AM
Playing AVI files on Mandrake matt3333 Linux - Software 3 04-20-2003 12:39 AM
playing video files - avi for example pekuekfir Linux - Newbie 8 01-09-2002 04:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linspire/Freespire

All times are GMT -5. The time now is 02:37 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
Open Source Consulting | Domain Registration