Jens Hanowell | 1 Jun 17:58 2008
Picon

Re: memory leak on input file change

> On Sat, Apr 19, 2008 at 06:11:25AM +0200, Jens Hanowell wrote:
> > Problem: Whenever mplayer switches to another movie, about 50..100kB 
> > system memory is lost. Normally I won't care about this looking at
> > dvd's, but in a continuously running presentation environment this
> > is a real issue.
> 
> Not reproducible here, try with -nocache -nosound. If you are using
> slave mode interface, see if the problem also happens if you specify all
> names on the command line.
> Unless you can tell us how to reproduce this problem, you will have to
> find the problem yourself, e.g. with valgrind --leak-check=full
> 
OK, after some 30 hours I found the bug:
Every time an audio stream starts, that uses ad_liba52.c, a buffer of about
12 kB will be allocated and never freed. This may affect ad_hwac3.c as well,
I didn't dive in. My presentation system still uses mplayer-0.90 so I fixed 
the bug there [free buffer "a52_samples" in uninit() and 4 other places]. 

In the current release 1.0RC2 many things related to this driver have changed 
and therefore the fix cannot be ported that easy. But the problem itself of 
never calling a52_decode_end() or a52_free() still exists.

Another memory leak in release 0.90 is a not freed stream instance while
the demuxer tries to find the best video codec. Again I fixed this in 
release 0.90 only - maybe this has been done in 1.0RC2, I didn't look.

What has to be done now with this problem?

Greetings, Jens
(Continue reading)

bond | 1 Jun 18:40 2008
Picon
Picon

<at> diego - cygwin error in dhahelper

Hi

I tried to compile mplayer with an uptodate cygwin on windows xp today and i got the following errors:

vidix/sysdep/libdha_win32.c:82: error: `dhahelper_t' undeclared (first use in th
is function)
vidix/sysdep/libdha_win32.c:82: error: (Each undeclared identifier is reported o
nly once
vidix/sysdep/libdha_win32.c:82: error: for each function it appears in.)
vidix/sysdep/libdha_win32.c:82: error: parse error before "dhahelper_priv"
vidix/sysdep/libdha_win32.c:84: error: `dhahelper_priv' undeclared (first use in
 this function)
vidix/sysdep/libdha_win32.c:87: error: `IOCTL_DHAHELPER_MAPPHYSTOLIN' undeclared
 (first use in this function)
vidix/sysdep/libdha_win32.c: In function `unmap_phys_mem':
vidix/sysdep/libdha_win32.c:97: error: `dhahelper_t' undeclared (first use in th
is function)
vidix/sysdep/libdha_win32.c:97: error: parse error before "dhahelper_priv"
vidix/sysdep/libdha_win32.c:99: error: `dhahelper_priv' undeclared (first use in
 this function)
vidix/sysdep/libdha_win32.c:100: error: `IOCTL_DHAHELPER_UNMAPPHYSADDR' undeclar
ed (first use in this function)
make: *** [vidix/dha.o] Error 1

maybe those are caused by the recent changes in dhahelper?
Jan-Benedict Glaw | 1 Jun 17:39 2008
Picon

Re: Using mplayer with NX

On Sat, 2008-05-31 12:19:10 -0400, John A. Sullivan III <jsullivan <at> opensourcedevel.com> wrote:
> Hello, all.  We are attempting to use mplayer with NoMachine's NX
> product.  Video output is wonderfully fine but video input is proving
> problematic.  For example, we would like to be able to use mplayer to
> view on the virtual desktop the webcam attached to the physical desktop.
> The webcam needs to be activated and de-activated by the application
> (e.g., mplayer) on the virtual desktop.  How does one do this?

I must admit I don't even understand your setup. You have a NX server,
a NX client and a webcam. Where's the webcam connected to?

MfG, JBG

--

-- 
      Jan-Benedict Glaw      jbglaw <at> lug-owl.de              +49-172-7608481
Signature of: 23:53 < <at> jbglaw> So, ich kletter' jetzt mal ins Bett.
the second  : 23:57 < <at> jever2> .oO( kletter ..., hat er noch Gitter vorm Bett, wie früher meine Kinder?)
              00:00 < <at> jbglaw> jever2: *patsch*
              00:01 < <at> jever2> *aua*, wofür, Gedanken sind frei!
              00:02 < <at> jbglaw> Nee, freie Gedanken, die sind seit 1984 doch aus!
              00:03 < <at> jever2> 1984? ich bin erst seit 1985 verheiratet!
_______________________________________________
MPlayer-users mailing list
MPlayer-users <at> mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
Ryan Steele | 2 Jun 01:02 2008
Picon

Jerky video when using -demuxer lavf

Hi all,

I'm trying to play back a ripped HD-DVD using the latest SVN of
mplayer. The video is fine when it's using the default demuxer, but if
I try to use the lavf demuxer the video is jerky. (I've got another
copy of mplayer patched with E-AC3 support which requires the lavf
demuxer, which is why I need to use it, but I'm having the same
problem with my unpatched copy.) I'm running Ubuntu Hardy Heron x86_64
on a Core 2 Duo E8400, using the Intel GMA X3500 integrated graphics
on my motherboard.

Output of "mplayer -v -demuxer lavf -nosound
/home/ryan/Desktop/HVDVD_TS/FEATURE_1.EVO": http://pastebin.ca/1036248

Output of "mplayer -v -nosound
/home/ryan/Desktop/HVDVD_TS/FEATURE_1.EVO": http://pastebin.ca/1036272

I've tried viewing the sample.evo from the FTP and I'm seeing the same
issue, so it's not the file.

Let me know if you need any more info.

--

-- 
Ryan Steele - rgsteele <at> gmail.com
casty | 2 Jun 01:23 2008

Trying to compile for different CPU.

Hello,

I have an small console linux distro running with pxe, and I'm trying to
build an mplayer for it. The machine is a pentium-mmx and I'm using
mplayer-1.0rc2.

I'm trying to cross-build it from a core 2 duo.

These are my configure options:

--enable-directfb --enable-fbdev (vbe.h was not included and I couldn't
use vesa)

--target=pentium --enable-mmx (Is this how I have to ask for a pentium
build?)

--disable-dvdnav --disable-dvdread (I had several problems with those 3...
--disable-dvdread-internal         ...although I edited netinet/in.h file
--disable-vstream                  ...to avoid them (see 1))

--enable-static (my distro lacked a lot of libs)
--disable-xv --diable-gl     (but all those libs had problems with...
--disable-fontconfig --disable-sdl  ...static linking)

--disable-sse --disable-cmov (I don't understand why do I need this as I
claimed for a pentium build, but they was still marked on config.mak)

Finally it compiled but crashed in the target platform due to an 'illegal
instruction' even with -vo null -ao null so I still left something to do
concerning the CPU, but I don't know what
(Continue reading)

Jon Zeeff | 2 Jun 04:14 2008

ICC profiles and color calibration

I've gotten used to the nearly perfect colors I get
with a calibrated monitor (I use a Monaco Optix).  I'm
now using mplayer with a NTSC/composite video camera
and would like to have similarly accurate colors.

Can mplayer use ICC profiles to adjust colors?  This
is "the right way".   If not, is their a way to
determine best settings of brightness, contrast,
gamma, etc?
Art | 2 Jun 08:48 2008
Picon

encoding at faster speed

I would like to encode a video lecture downloaded from the web to play
at about 1.5 times the speed. The device I playback on has no way to
change the speed of playback, as with mplayer -speed, which works
perfectly for fast playback on my work desktop. Is there a way to do
this with mencoder? Or other software? These lectures are painful to
watch at regular speed.

Can someone also tell me how to increase the coding volume? I am new
to this. The below is the encoding command I use:

mencoder -quiet -vf scale=320:240 $1 -o $2 -of avi -ofps 15 -ovc lavc
-oac mp3lame -lavcopts
vcodec=mpeg4:vbitrate=230:acodec=mp3:abitrate=64

Thanks,
Art.
Nico Sabbi | 2 Jun 09:10 2008
Picon

Re: encoding at faster speed

Il Monday 02 June 2008 08:48:57 Art ha scritto:
> I would like to encode a video lecture downloaded from the web to play
> at about 1.5 times the speed. The device I playback on has no way to
> change the speed of playback, as with mplayer -speed, which works
> perfectly for fast playback on my work desktop. Is there a way to do
> this with mencoder? Or other software? These lectures are painful to
> watch at regular speed.

mencoder -ofps N -af lavcresample=M ...
when N = fps*speed and M=original samplerate * speed
but be aware that basically very few  audio codecs accept
arbitrary sample rates (pcm being the only one I can think of)

> 
> Can someone also tell me how to increase the coding volume? I am new
> to this. The below is the encoding command I use:
> 
> mencoder -quiet -vf scale=320:240 $1 -o $2 -of avi -ofps 15 -ovc lavc
> -oac mp3lame -lavcopts
> vcodec=mpeg4:vbitrate=230:acodec=mp3:abitrate=64
> 
> Thanks,
> Art.

test -af volume=
John A. Sullivan III | 2 Jun 12:17 2008

Re: Using mplayer with NX

On Sun, 2008-06-01 at 17:39 +0200, Jan-Benedict Glaw wrote:
> On Sat, 2008-05-31 12:19:10 -0400, John A. Sullivan III <jsullivan <at> opensourcedevel.com> wrote:
> > Hello, all.  We are attempting to use mplayer with NoMachine's NX
> > product.  Video output is wonderfully fine but video input is proving
> > problematic.  For example, we would like to be able to use mplayer to
> > view on the virtual desktop the webcam attached to the physical desktop.
> > The webcam needs to be activated and de-activated by the application
> > (e.g., mplayer) on the virtual desktop.  How does one do this?
> 
> I must admit I don't even understand your setup. You have a NX server,
> a NX client and a webcam. Where's the webcam connected to?
> 
> MfG, JBG
<snip>
Sorry for not being more clear.  The web cam is connected to the
physical desktop.  The user on the physical desktop is using NX client
to view the virtual desktop running NX server on a different physical
device.  The user is using mplayer on the virtual desktop and needs to
be able to control (start, stop, pause, etc.) and view the input of the
web cam using mplayer on the virtual desktop.  Thanks - John

            user                                   mplayer
              |                                        |
CAM______physical desktop-----------------------virtual desktop
             |                                          |
             |                                          |
          NXClient----------SMB share----------------NXServer
--

-- 
John A. Sullivan III
Open Source Development Corporation
(Continue reading)

Andras Barna | 2 Jun 18:00 2008
Picon

Latest SVN compile problem

gcc -Wdisabled-optimization -Wdeclaration-after-statement -I. -W -Wall
-O2 -march=athlon-xp -mtune=athlon-xp -pipe -g3  -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H
-I/usr/X11/include -I/usr/include/SDL  -D_REENTRANT
-I/usr/gnu/include/freetype2 -I/usr/gnu/include   -c -o
libmpcodecs/vf_filmdint.o libmpcodecs/vf_filmdint.c
libmpcodecs/vf_filmdint.c: In function `get_metrics_fast_c':
libmpcodecs/vf_filmdint.c:181: internal compiler error: Segmentation Fault

gcc (GCC) 3.4.3 (csl-sol210-3_4-20050802)

--

-- 
Andy
http://blog.sartek.net

Gmane