Linspire/Freespire This Forum is for the discussion of Linspire and Freespire. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-03-2008, 07:54 AM
|
#1
|
LQ Newbie
Registered: Jun 2007
Posts: 15
Rep:
|
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.
|
|
|
04-03-2008, 09:01 AM
|
#2
|
Member
Registered: Sep 2004
Location: India
Distribution: Kubuntu, Archlinux, Suse, Gentoo, Mandrake
Posts: 371
Rep:
|
When you tried mplayer, could you give me the whole output? (I suppose here that you used command line)
|
|
|
04-03-2008, 02:14 PM
|
#3
|
LQ Newbie
Registered: Jun 2007
Posts: 15
Original Poster
Rep:
|
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
|
|
|
04-04-2008, 01:57 AM
|
#4
|
Member
Registered: Sep 2004
Location: India
Distribution: Kubuntu, Archlinux, Suse, Gentoo, Mandrake
Posts: 371
Rep:
|
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
|
|
|
04-04-2008, 05:32 AM
|
#5
|
Member
Registered: May 2006
Distribution: Fedora Core, FreeSpire, PC-BSD, NetBSD
Posts: 96
Rep:
|
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.
|
|
|
04-04-2008, 01:50 PM
|
#6
|
LQ Newbie
Registered: Jun 2007
Posts: 15
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 09:43 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|