Chien-Yu Chen | 1 Jan 2006 01:23
Picon

cook.so

Hi!

  I have compiled mplayer against uclibc.  However, I can't play real
file since cook.so is not compiled against uclibc.  Is there an
alternative to the cook.so in the codec package?

thanks
chen
Philip Walden | 1 Jan 2006 02:07

msmpeg4v2 does not play with quicktime plugin npqtplugin2.dll

My digital camera produces quicktime movies. I wanted to convert them 
into a more compressed mpeg4 format. I used the following command line

mencoder -ovc lavc -lavcopts vcodec=msmpeg4v2 -o PC290052.mpg PC290052.MOV

This plays fine in realplayer and windows media player. However, 
quicktime says it cannot play it. Both the Since I'd like to use the 
quicktime plugin in mozilla to play it, I am stuck. Any suggestions

Here is the output from mencoder.

$ mencoder -ovc lavc -lavcopts vcodec=msmpeg4v2 -o PC290052.mpg PC290052.MOV
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale

MEncoder dev-CVS-051024-19:56-3.2.2 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon K75 Pluto,Orion (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx

success: format: 0  data: 0x0 - 0x88f7e6
Quicktime/MOV file format detected.
--------------
MOV track #0: 29 chunks, 434 samples
Image size: 320 x 240 (24 bpp)
Display size: 320 x 240
(Continue reading)

Ethan Arnold | 1 Jan 2006 02:30
Picon

Mplayer compile --with-xvmc fails

This is what I did:

cd /usr/src
cvs -z3 -d:pserver:anonymous <at> cvs.xvid.org:/xvid login
cvs -z3 -d:pserver:anonymous <at> cvs.xvid.org:/xvid co xvidcore
cd xvidcore/build/generic
./bootstrap.sh
./configure
make && make install
cd /usr/src
cvs -d:pserver:anonymous <at> mplayerhq.hu:/cvsroot/mplayer login
cvs -z3 -d:pserver:anonymous <at> mplayerhq.hu:/cvsroot/mplayer co -P main
cvs -d:pserver:anonymous <at> mplayerhq.hu:/cvsroot/ffmpeg login
cvs -z3 -d:pserver:anonymous <at> mplayerhq.hu:/cvsroot/ffmpeg co -P ffmpeg
Copied the libavcodec, libavformat and libavutil subdirectories into the
main directory just created from the MPlayer checkout.
download
http://www.openchrome.org/snapshots/mplayer/mplayer-uni-20050926.diff to
/usr/src/mplayer
cd mplayer/main
patch -Np0 < ../mplayer-uni-20050926.diff
./configure --enable-xvmc --with-xvidlibdir=/usr/local/lib/
--with-xvidincdir=../../xvidcore/src/
make

And this is what I got (only the last page of course):

cc -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4 -march=i686
-mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I.
(Continue reading)

Ethan Arnold | 1 Jan 2006 03:25

AW: Mplayer compile --with-xvmc fails

Ok, found the problem myself: There seems to be a typo in the current CVS
version of libavcodec/allcodecs.c. It also causes the patch to complain.

Search for "xxmc" and change it to "xvmc" (best before patching).

Unfortunately I'm still not happy, as mplayer still won't play:

# mplayer -vo xvmc -vc ffmpeg12mc filename.mpeg
MPEG-PS file format detected.
VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  15000.0 kbps (1875.0
kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Error opening/initializing the selected video_out (-vo) device.

Which is the same thing I've been having all week. Sigh. Here is my lsmod:
Module                  Size  Used by
via_agp                 7392  1
via                    46176  0
drm                    68056  1 via
agpgart                29576  2 via_agp,drm
fbcon                  37920  79
font                    7776  1 fbcon
bitblit                 4928  1 fbcon
viafb                 129764  1
ehci_hcd               42792  0
via_rhine              19396  0
(Continue reading)

Ethan Arnold | 1 Jan 2006 03:54

AW: Mplayer compile --with-xvmc fails

Sorry to bug you again with my monologue, but I've gotten a little further
again :-)

# mplayer -vo xvmc -vc ffmpeg12mc -fs file.mpeg

MPEG-PS file format detected.
VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  15000.0 kbps (1875.0
kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo_xvmc: X-Video extension 2.2
vo_xvmc: X-Video MotionCompensation Extension version 1.1
==========================================================================
Forced video codec: ffmpeg12mc
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
vd_ffmpeg: XVMC accelerated codec
Selected video codec: [ffmpeg12mc] vfm: ffmpeg (FFmpeg MPEG-1/2 (XvMC))
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
Starting playback...
vd_ffmpeg: XVMC accelerated MPEG2
trying pixfmt=0
VDec: vo config request - 720 x 576 (preferred colorspace: MPEG1/2 Motion
Compensation and VLD)
VDec: using MPEG1/2 Motion Compensation and VLD as output csp (no 0)
(Continue reading)

Ethan Arnold | 1 Jan 2006 05:21

BadWindow (invalid Window parameter)

Finally got mplayer to play... The first frame, and the first 100ms of
sound, then pauses. A wire frame window appears on the screen, and when I
click to place it, it crashes:

Starting playback...
vd_ffmpeg: XVMC accelerated MPEG2
trying pixfmt=0
VDec: vo config request - 720 x 576 (preferred colorspace: MPEG1/2 Motion
Compensation and VLD)
VDec: using MPEG1/2 Motion Compensation and VLD as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xvmc] 720x576 => 768x576 MPEG1/2 Motion Compensation and VLD  [fs]
vo_xvmc: Port 68 grabed
vo_xvmc: Found matching surface with id=32315659 on 68 port at 0 adapter
vo_xvmc: Allocated Direct Context
vo_xvmc: Motion Compensation context allocated - 8 surfaces
vo_xvmc: idct=0 unsigned_intra=0
vo_xvmc: looking for OSD support
    Subpicture id 0x34344149
vo_xvmc: OSD support by beckend rendering (fast)
vo_xvmc: Pleace send feedback to configrm that it work,otherwise send
bugreport!
X11 error: BadWindow (invalid Window parameter)

MPlayer interrupted by signal 6 in module: decode_video
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't
and
(Continue reading)

Barton Bosch | 1 Jan 2006 06:55
Picon

Re: CVS compile tv-v4l2 input driver not detected/enabled

RC wrote:
> On Tue, 27 Dec 2005 23:31:32 -0800
> Barton Bosch <bartonbosch <at> gmail.com> wrote:
> 
> 
>>Which is strange because the v4l2 headers are right there in the same 
>>kernel source directory 
>>(/lib/modules/2.6.12-1.1381_FC3/build/include/linux) as videodev.h, 
>>which mplayer CVS does find:
> 
> 
> It should be in eg. /usr/include/linux/ or someplace similar, for
> programs such as mplayer to find it.  I suspect you have videodev.h in
> there, and no videodev2.h.  

Yeah, you right.  When I first checked the slocate db for instances of 
videodev*.h I managed to overlook the reference to 
/usr/include/linux/videodev.h.  I would probably still have been stumped 
but it might have given me a clue.

Copying videodev2.h from the kernel dir to /usr/include/linux fixed the 
problem.   So was the reason that the 4/2005 CVS Snapshot detected v4l2 
because mplayer somehow found a videodev2.h that was included with the 
ffmpeg in the snapshot but omitted from the actual cvs source?

Mille grazie,

Barton
Mustafa Abbasi | 1 Jan 2006 08:07
Picon

Re: Mplayer compile --with-xvmc fails

why do you want -vo xvmc. i too have a via chip set.  and i just don't
declare the -vo and it works. try that.
also maybe tell us what mainboard you have.
Aissaoui Hacen | 1 Jan 2006 11:43
Picon
Favicon

Green bars around AVI movie in NTSC TV out mode

 Hello all,

  I have searched through the official documentation and google for a week now but can't seem to find a valid
solution for this:

  Using a the SVIDEO TV out of a VIA EPIA 800 motherboard in NTSC mode  and 800x600 , my AVI files are played
smoothly with the following  comand :

  mplayer -fs -zoom -vo xvidix foo.avi

  The only negative thing are those 2 permanent bars (horizontal and  vertical) around the movie window in
fullscreen. They are green and not  really discrete !

  When I play the same command line under PAL mode, the problem disappears.

  I know this has something to do with the resolution, but I could not find any simple workaround :-( 
  I tried -aspect 4:3, -screenw 800 -screenh 600  without any convincing success.

  I must say I am stuck and would really appreciate any help.
  Thanks
  Hacen

		
---------------------------------
 Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour
appeler la France et l'international.Téléchargez la version beta.
Ethan Arnold | 1 Jan 2006 12:06

AW: Mplayer compile --with-xvmc fails

Mustafa,

I have an Epia SP8000E board with Unichrome Pro (CN400) chipset. If I don't
declare -vo the playback works (at least it did in certain cases before I
upgraded to xorg-7.0) but is very slow, because none of the hardware accel
is used.

Anyway, I think that my current problem (see below) appears to be X or
Unichrome related, not so much mplayer.

X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  2 (X_ChangeWindowAttributes)
  Resource id in failed request:  0xe0000b
  Serial number of failed request:  122
  Current serial number in output stream:  127

Is there any diagnostics/debug/etc. that I can run to get more info from
this error, to track down the problem?

Ethan

-----Ursprüngliche Nachricht-----
Von: mplayer-users-bounces <at> mplayerhq.hu
[mailto:mplayer-users-bounces <at> mplayerhq.hu] Im Auftrag von Mustafa Abbasi
Gesendet: Sonntag, 1. Januar 2006 08:07
An: MPlayer usage questions, feature requests, bug reports
Betreff: Re: [MPlayer-users] Mplayer compile --with-xvmc fails

why do you want -vo xvmc. i too have a via chip set.  and i just don't
declare the -vo and it works. try that.
(Continue reading)


Gmane