You are not logged in.

#1 2010-01-24 10:37:42

jai134
Member
Registered: 2008-11-26
Posts: 234

mplayer doesn't play .avi[SOLVED]

Hello. XBMC and MPlayer doesn't play .avi movies. I have the latest updates and are using mplayer 30325-1 from extra and XBMC xbmc 9.11-8 from community. Anyone else having the same problem?

Last edited by jai134 (2010-02-05 12:47:25)

Offline

#2 2010-01-24 10:53:00

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,405
Website

Re: mplayer doesn't play .avi[SOLVED]

What output do you get on the command line?

Offline

#3 2010-01-24 12:04:43

jai134
Member
Registered: 2008-11-26
Posts: 234

Re: mplayer doesn't play .avi[SOLVED]

this is the end of xbmc crashlog:
11:30:41 T:2936028016 M:3260551168  NOTICE:  (VDPAU) Didnt find a Video Surface Available (Total: 0). Creating a new one. TRY #1
11:30:41 T:2936028016 M:3260297216  NOTICE:  (VDPAU) FiniVDPAUOutput
11:30:41 T:2936028016 M:3260297216  NOTICE:  (VDPAU) screenWidth:1360 vidWidth:480
11:30:41 T:2936028016 M:3260297216  NOTICE:  (VDPAU) screenHeight:768 vidHeight:270
11:30:41 T:2936028016 M:3259490304  NOTICE:  (VDPAU) Total Output Surfaces Available: 4 of a max (tmp: 4 const: 4)
11:30:41 T:2936028016 M:3259490304  NOTICE: VDPAU Decoder capabilities:
11:30:41 T:2936028016 M:3259490304  NOTICE: name          level macbs width height
11:30:41 T:2936028016 M:3259490304  NOTICE: ------------------------------------
11:30:41 T:2936028016 M:3259490304  NOTICE: MPEG1             0  8192  2048  2048
11:30:41 T:2936028016 M:3259490304  NOTICE: MPEG2_SIMPLE      3  8192  2048  2048
11:30:41 T:2936028016 M:3259490304  NOTICE: MPEG2_MAIN        3  8192  2048  2048
11:30:41 T:2936028016 M:3259490304  NOTICE: H264_MAIN        41  8190  2032  2048
11:30:41 T:2936028016 M:3259490304  NOTICE: H264_HIGH        41  8190  2032  2048
11:30:41 T:2936028016 M:3259490304  NOTICE: VC1_SIMPLE        1  8190  2048  2048
11:30:41 T:2936028016 M:3259490304  NOTICE: VC1_MAIN          2  8190  2048  2048
11:30:41 T:2936028016 M:3259490304  NOTICE: VC1_ADVANCED      4  8190  2048  2048
11:30:41 T:2936028016 M:3259490304   ERROR:  (VDPAU) Error: An invalid handle value was provided.(3) at VDPAU.cpp:1115
11:30:41 T:2936028016 M:3259490304 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 1696, consumed: 59


############### END LOG FILE ################

############ END XBMC CRASH LOG #############
and this is MPlayer output:
[jan@zotac The Fifth Element (1997)]$ mplayer The\ Fifth\ Element\ \(1997\)\ Bruce\ Willis\ \(Optional\ MULTISUBS\)_Kuth.avi
MPlayer SVN-r30325-4.4.2 (C) 2000-2009 MPlayer Team
142 audio & 332 video codecs
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 The Fifth Element (1997) Bruce Willis (Optional MULTISUBS)_Kuth.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO:  [XVID]  704x288  12bpp  25.000 fps  665.5 kbps (81.2 kbyte/s)
Clip info:
Software: FairUse Wizard - http://fairusewizard.com
==========================================================================
Forced video codec: ffh264vdpau
Forced video codec: ffmpeg12vdpau
Cannot find codec matching selected -vo and video format 0x44495658.
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [ffmp3] afm: ffmpeg (FFmpeg MPEG layer-3 audio)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:  19.1 (19.1) of 45301.6 (12:35:01.5)  2.5%
Exiting... (Quit)

I have search with this line starting "Cannot findcodec matching...."

Offline

#4 2010-01-24 17:01:25

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: mplayer doesn't play .avi[SOLVED]

It looks like Mplayer is trying to decode a Xvid stream with ffh264vdpau. This isn't going to work because Xvid isn't H264.

Offline

#5 2010-01-24 17:21:17

jai134
Member
Registered: 2008-11-26
Posts: 234

Re: mplayer doesn't play .avi[SOLVED]

Yes. I have this in .mplayer/config:
vo=vdpau,xv
vc=ffh264vdpau,ffmpeg12vdpau
When commenting out both of them or only vc option mplayer plays the movie. XBMC crashes with segfaults regardless to commented or not.

Last edited by jai134 (2010-01-24 17:23:35)

Offline

#6 2010-01-24 17:38:55

daneel971
Member
Registered: 2008-03-28
Posts: 197

Re: mplayer doesn't play .avi[SOLVED]

add a comma at the end of the "vc" line:

vc=ffh264vdpau,ffmpeg12vdpau,

This way mplayer will fall back to other coded when the first two fail.

Offline

#7 2010-01-24 17:43:50

jai134
Member
Registered: 2008-11-26
Posts: 234

Re: mplayer doesn't play .avi[SOLVED]

Thankyou!

Offline

#8 2010-01-24 17:56:01

jai134
Member
Registered: 2008-11-26
Posts: 234

Re: mplayer doesn't play .avi[SOLVED]

Still no success with XBMC thou. I had it running perfectly two days ago. It was an update of xbmc and I wonder if it is the new version that has a problem.

Offline

#9 2010-01-25 19:04:40

dholt
Member
Registered: 2008-09-22
Posts: 9

Re: mplayer doesn't play .avi[SOLVED]

I've been having the same problem, avi files play with mplayer but not XBMC.  Last week it was .mkv files hmm

Offline

#10 2010-02-05 12:46:41

jai134
Member
Registered: 2008-11-26
Posts: 234

Re: mplayer doesn't play .avi[SOLVED]

With latest update of xbmc to 9.11.11 it is OK again

Offline

Board footer

Powered by FluxBB