Mplayer-svn with dvdnav patch - testers needed

This was getting a bit OT here, so here's a new thread.
I've added the dvdnav patch, which provides support for DVD menus, to the existing mplayer-svn PKGBUILD. It compiles successfully, but I don't have a DVD drive, so I can't test it. Here's the PKGBUILD:
<edit>
Added unset CFLAGS, as advised by kth5.
# Contributor: lucke <lucke>
# Contributor: Tom K <tomk>
pkgname=mplayer-svn
pkgver=18699
pkgrel=1
pkgdesc="A movie player for linux"
depends=('libmad' 'libungif' 'cdparanoia' 'gtk2' 'codecs' 'sdl' 'xvidcore'
'libjpeg' 'lame' 'libtheora' 'esd' 'faad2' 'ttf-bitstream-vera'
'libxxf86dga' 'fontconfig' 'libxinerama' 'libxv' 'libpng' 'libxxf86vm')
makedepends=('subversion')
source=(ftp://ftp.mplayerhq.hu/MPlayer/Skin/Blue-1.5.tar.bz2
http://www.freeweb.hu/dcxx/mplayer/20060612/mplayer-dvdnav-patch.tar.gz)
md5sums=('371fa9457f0f23295ddaa93b57d862a0' 'cd75eb8942b2f15c653188d2df216e57')
conflicts=('mplayer')
provides=('mplayer')
url="http://www.mplayerhq.hu/"
license="GPL"
_svntrunk=svn://svn.mplayerhq.hu/mplayer/trunk/
_svnmod=mplayer
build() {
cd $startdir/src
msg "Connecting to mplayer SVN ...."
svn co $_svntrunk/ $_svnmod --config-dir ./ -r $pkgver
msg "Copying files to build directory ...."
cp -r $_svnmod $_svnmod-build
cd $_svnmod-build
# Apply files and patches for dvdnav
cp ../mplayer-dvdnav-patch/mplayer-add/libmpdemux/* libmpdemux
cp ../mplayer-dvdnav-patch/mplayer-add/libmpcodecs/* libmpcodecs
cp -r ../mplayer-dvdnav-patch/mplayer-add/libmpdvdnav .
patch -Np0 -i ../mplayer-dvdnav-patch/navmplayer.patch || return 1
patch -Np0 -i ../mplayer-dvdnav-patch/navgui.patch || return 1
unset CFLAGS
./configure --prefix=/usr --enable-gui --disable-arts --disable-smb
--enable-sdl --enable-x11 --enable-theora --confdir=/etc/mplayer
--with-win32libdir=/usr/lib/win32 --enable-external-faad --enable-menu
--enable-tv-v4l --enable-tv-v4l2 --disable-liblzo --enable-largefiles
--disable-libdv --disable-aa --enable-xvid --disable-divx4linux
--enable-dvdnav
make || return 1
make DESTDIR=$startdir/pkg install
cp etc/{codecs.conf,input.conf,example.conf} $startdir/pkg/usr/share/mplayer
ln -s /usr/share/fonts/TTF/Vera.ttf $startdir/pkg/usr/share/mplayer/subfont.ttf
rm -rf $startdir/pkg/usr/share/mplayer/font
mv $startdir/src/Blue $startdir/pkg/usr/share/mplayer/skins/default
rm -rf ../$_svnmod-build
<edit> Supplied package removed, as it was too specific to the build machine.
The link above gives full details of what this patch can and cannot do.
I'll run the package here to make sure existing functionality is OK, but I'd be grateful if others could try out the DVD stuff and report back. If it's good enough, I'll include it in the AUR package.
Thanks.

MAC!EK wrote:
tomk wrote:MAC!EK - every mplayer config option, including directfb, is autodetected, so if it's there, mplayer will use it - if it's not, it won't. That does not mean mplayer depends on them. This PKGBUILD provides a package that is identical to the stock Arch package, apart from functionality that is only available in the newer code, so the options that are specifically enabled are the ones chosen for that package.
OK but...
$ sudo pacman -R directfb
removing directfb... done.
$ mplayer Batman.wmv
mplayer: error while loading shared libraries: libdirectfb-0.9.so.24: cannot open shared object file: No such file or directory
Mayby I didn't understood somethin fro myour post, but this doesn't look like autodetection.
I guess he meant autodetcted by the configure-script before compiling...

Similar Messages

  • Any AUR mplayer build with dvdnav support , but no-gui option...?

    Is there any mplayer build in the AUR that will install mplayer without its GUI but with dvd menu support...? - I am planning to install SMPlayer as the GUI interface, instead of the default GUI.
    I looked into mplayer-mt-nogui-svn, but when I modify the configure options with --enable-dvdnav, it errors out on compiling, so obviously more modification of one of those numerous PKGBUILDs in the AUR is needed, but I am not too savvy in these things to be able to figure it out myself.
    Thanks.

    If you don't want a gui, I suggest you use the following options in the configure line: --disable-gui --enable-menu.
    dvdread and dvdnav should automatically get checked out from svn when checking out mplayer and doesn't require any further steps. Just look closely to the summary mplayer gives you after executing the ./configure [..] command. It should say something in the nature of "using internal dvdread and dvdnav enabled".
    Last edited by Nepherte (2009-05-14 10:15:58)

  • Mplayer-svn stops with videos

    Hi, I have an arch installation in a notebook Acer 5750-6_br821, with Intel HD 3000 Graphics, and, I have an mplayer-svn compilation, but, it always stops when I want watch vieos.
    I have 4GB memory, ad an i5 sandy brigde too.
    My mplayer.conf:
    font=/usr/share/fonts/TTF/Eunjin.ttf
    vo=gl:nomanyfmts
    ao=alsa
    [extension.mkv]
    demuxer=mkv
    lavdopts="threads=4"
    My xorg.conf:
    Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
    EndSection
    Section "Files"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/OTF/"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/100dpi/"
        FontPath     "/usr/share/fonts/75dpi/"
    EndSection
    Section "Module"
        Load  "glx"
        Load  "extmod"
        Load  "record"
        Load  "dri2"
        Load  "dbe"
        Load  "dri"
    EndSection
    Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
    EndSection
    Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option        "Protocol" "auto"
        Option        "Device" "/dev/input/mice"
        Option        "ZAxisMapping" "4 5 6 7"
    EndSection
    Section "Monitor"
        #DisplaySize      440   250    # mm
        Identifier   "Monitor0"
        VendorName   "AOC"
        ModelName    "2040"
        HorizSync    30.0 - 83.0
        VertRefresh  50.0 - 75.0
        Option        "DPMS"
    EndSection
    Section "ServerFlags"
        Option           "BlankTime" "180"
        Option           "StandbyTime" "180"
        Option           "SuspendTime" "180"
        Option           "OffTime" "180"
    EndSection
    Section "Device"
            ### Available Driver options are:-
            ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
            ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
            ### <percent>: "<f>%"
            ### [arg]: arg optional
            #Option     "DRI"                    # [<bool>]
            #Option     "ColorKey"               # <i>
            #Option     "VideoKey"               # <i>
            #Option     "FallbackDebug"          # [<bool>]
            #Option     "Tiling"                 # [<bool>]
            #Option     "LinearFramebuffer"      # [<bool>]
            #Option     "Shadow"                 # [<bool>]
            #Option     "SwapbuffersWait"        # [<bool>]
            #Option     "XvMC"                   # [<bool>]
            #Option     "XvPreferOverlay"        # [<bool>]
            #Option     "DebugFlushBatches"      # [<bool>]
            #Option     "DebugFlushCaches"       # [<bool>]
            #Option     "DebugWait"              # [<bool>]
            #Option     "HotPlug"                # [<bool>]
            #Option     "RelaxedFencing"         # [<bool>]
        Identifier  "Card0"
        Driver      "intel"
        BusID       "PCI:0:2:0"
    EndSection
    Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
            Viewport   0 0
            Depth     1
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     4
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     8
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     15
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     16
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     24
        EndSubSection
    EndSection
    mplayer parammeters compilation:
    --prefix=/usr --confdir=/etc/mplayer --language=all --disable-arts --enable-gl --enable-gif --enable-ass --enable-ass-internal --disable-smb --disable-apple-ir --disable-apple-remote --disable-joystick --disable-lircc --disable-vdpau --disable-lirc --enable-mencoder
    What I can do for it?
    sorry my bad english, I'm brasilian XD

    piussj2,
    welcome to the forums.
    Just an advice: Please use [ code ] tags around your listings instead of [ quote ] ones (without the interfering blanks of course). This will make them more readable and put them into scrollable windows.

  • [svn] 3406: Tweaks to ZipCodeValidator to ensure error messages are consistent with pre-patch behavior .

    Revision: 3406
    Author: [email protected]
    Date: 2008-09-29 13:25:10 -0700 (Mon, 29 Sep 2008)
    Log Message:
    Tweaks to ZipCodeValidator to ensure error messages are consistent with pre-patch behavior. Mustella tests pass (verified via cyclone).
    Reviewer: Deepa
    QA: Yes
    Localization: Yes ***
    Modified Paths:
    flex/sdk/branches/3.0.x/frameworks/projects/framework/bundles/en_US/src/validators.proper ties
    flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/validators/ZipCodeValidator. as

    Hi,
    Found a note explaining the significance of these errors.
    It says:
    "NZE-28862: SSL connection failed
    Cause: This error occurred because the peer closed the connection.
    Action: Enable Oracle Net tracing on both sides and examine the trace output. Contact Oracle Customer support with the trace output."
    For further details you may refer the Note: 244527.1 - Explanation of "SSL call to NZ function nzos_Handshake failed" error codes
    Thanks & Regards,
    Sindhiya V.

  • Compiz - GL_EXT_x11_sync_object support: testers needed

    Please see post below for details.
    Last edited by Chazza (2014-06-23 08:10:32)

    Okay. I fill in the details, since i am using this patch, have talked with it's author [from nvidia] and have also been in touch with some of the involved compiz devs
    Backstory: For months there has been a patch floating around for compiz that implements the GL_EXT_x11_sync_object extension [OpenGL] into compiz. This patch is intended to fix the nvidia refresh issue / possibly other rendering bugs experienced by nvidia users. [although, if using another driver that supports  GL_EXT_x11_sync_object, you would likely benefit too. It adds the ability to use X11 synchronization fences/objects in Compiz [ and nvidia supports this extension ]. The support is about "deep pipelining" not parallelism, the idea is that you have X number of syncs and by the time we fold back to the beginning Y number of syncs should be flushed and thus 'ready', which should avoid any stalling in compiz. As an aside; the mutter devs have also ported this to their framework.
    http://www.opengl.org/registry/specs/EX … object.txt
    OpenGL Specification wrote:
    Synchronization objects added the ability to better coordinate operations between multiple GL command streams. However, it is desirable to have the same level of coordination between GL command streams and external rendering APIs. This extension introduces two new concepts to build upon the synchronization infrastructure provided by ARB_sync:
    1) A means to import an X Synchronization Fence object into the GL and use it as a sync object.
    2) The concept of a reusable sync object.
    The latter is necessary because the import operation is expensive and performing it every time a synchronization point was reached would make the synchronization prohibitively slow.
    This extension stops short of allowing the GL to change the state of imported/reusable sync objects, but does not add any language that would prohibit such functionality from being added in a subsequent extension.
    Original LP bug report; https://bugs.launchpad.net/compiz/+bug/269904 ...
    Why hasn't this patch been integrated into Compiz???
    1). Nvidia released the code as MIT, But Canonical requires CLA for contributions [copyright assignment]. Nvidia wouldn't accept those terms.
    2). because of #1 - the patch hasn't really had a whole lot of testng / exposure, aside from a single ppa
    Now, since we are on Arch - the CLA/Ubuntu thing is not our problem, thus it would be nice to see to get this code into people's hands and tested. We can then report back issues, [hopefully] get any problems sorted out and possibly be able to carry/use the patch, regardless of Canonical not including it in Compiz. [although, having it tested might help it get into compiz/apply some pressure]. So that all being said, we need some testers
    TESTING:
    I'll provide a compiz package, based on compiz-core-bzr in AUR. Found here; https://www.dropbox.com/s/xryiqlozviwya … src.tar.gz (updated link/package)
    There are a few things tester will need to note: First, you will need to start compiz from the commandline for testing [ie: 'compiz --replace ccp' in terminal]
    1). I have debug/logging for this patch enabled by default. We need to be able to see if the patch is working or having problems. * but the logging may degrade performance. That being said, you can rebuild the package, without debugging, by commenting/uncommenting the correct patch;
    # msg "applying compiz-nvidia-refresh"
    # patch -Np1 -i "$srcdir/compiz-nvidia-refresh.patch"
    msg "applying compiz-nvidia-refresh_debug.patch - ** DEBUG BUILD - may degrade performance"
    patch -Np1 -i "$srcdir/compiz-nvidia-refresh_debug.patch"
    2). The number of x11 sync fences/objects is arbitrary, so it is possible, depending on setup that you may require more syncs. I have also dealt with this in the pkgbuild, via line 88;
    sed -i 's#NUM_X11_SYNCS = 10#NUM_X11_SYNCS = 16#' "${srcdir}/compiz-nvidia-refresh.patch"
    ...in the patch the default is 10. I have up'd it to 16. [so has the compiz dev in his package]. So, if you happen to get messages like this;
    compiz (opengl) - Info: Initializing sync objects
    compiz (opengl) - Warn: We should never wait for a sync -- add more syncs?
    compiz (opengl) - Error: Timed out waiting for sync object.
    compiz (opengl) - Info: Destroying sync objects
    compiz (opengl) - Info: Initializing sync objects
    compiz (opengl) - Error: glClientWaitSync failed
    compiz (opengl) - Error: Timed out waiting for sync object.
    compiz (opengl) - Info: Destroying sync objects
    ... then you could try increasing the NUM_X11_SYNCS value. Myself, I had to increase them + disable some logging before the patch stabilized for me.
    3). You should also open CCSM and do two things; Navigate to "General  Options"->"Focus and Raise Behavior" and disable "auto-raise" [it was causing problems for me/with this patch]. Next, Navigate to "Workarounds" section and disable "force synchronization between X and GLX" [and make sure that "OpenGL" section in CCSM has "X11 Sync Objects" enabled.]
    Reporting tests:  You can report back your findings in this thread, but if you are on Launchpad - you can also report back in a couple of places;
    nvidia refresh bug - https://bugs.launchpad.net/compiz/+bug/269904
    or file a bug against and/or contact Chris from this branch on LP; https://launchpad.net/~townsend/+archiv … fresh-test
    otherwise, any issues reported here - I will take to the concerned parties, personally.
    If this patched-compiz is stable for you - then you can rebuild it for 'production', rebuilding with the non-debug compiz nvidia-refresh.patch
    ** but please make sure to report back, before disabling logging.
    cheerz
    EDIT: Note the below bunch of comments were myself and a user working out some initial issues [one in my packaging], then the next getting compiz + config working for him. My PKGBUILD should be fine now for testing and i have updated the link/instructions/pkgbuild. - sorry for any inconvenience.
    Last edited by triplesquarednine (2014-06-24 00:30:59)

  • Looking for a site that shows problems with windows patches or updates.

    Looking for a site that shows problems with windows patches or updates...so I know what not to install.
    Plenty of sites list and summarize individual patches, I want one that consolidates problems and complaints so I can better assess the risk. Currently I'm waiting to install patches several days and doing google searches. That works, but I'd rather find a place
    that does it with expertise.
    Which forums would be best to look for such problems.
    Thanks in and advance for suggestions

    Hi,
    I agreed with Cyber and Rick.
    Windows update helps to keep your PC safer—and your software current—by fetching the latest security and feature updates from Microsoft via the Internet.
    Although there might be some problems when installing it, Windows update is not the one to blame.
    For troubleshooting Windows updates, if needed:
    Fix Microsoft Windows Update Issues
    http://support2.microsoft.com/gp/windows-update-issues
    Best regards
    Michael Shao
    TechNet Community Support

  • Reading the EDI X12 file not working with the patch 8233048

    Hi
    I have installed the latest path 8233048 on my windowsXP system, now I am not able to see the File being polled and processed.
    In b2b.log I can see the last message as "oracle.tip.adapter.b2b.data.MsgListener:run start listening on message" after that no log.
    In b2b_dc_transport.log, I can see only
    2009.02.07 at 20:35:45:236: B2BStarter thread: (DEBUG) TransportProperties.TransportProperties():http.receiver.registry_port=5110;smtp.receiver.protocol=imap;PROTOCOL_ENDPOINT=null;file.receiver.polling_interval=30;polling_interval=30;http.receiver.instance_name=IP;
    2009.02.07 at 20:35:45:266: B2BStarter thread: (DEBUG) initialize TransportReceiver: [IRIS_Transport_Server < file > < IRIS >]
    2009.02.07 at 20:35:45:266: B2BStarter thread: (DEBUG) FileReceiver.init() started ....
    2009.02.07 at 20:35:45:287: B2BStarter thread: (DEBUG) FileReceiver.init() completed.
    Could you please tell me if I need to do any changes.
    This is working on b2b with only patch: 5907304 which is installed in another windows XP system.
    The same configuration with the latest patch is not working.
    Edited by: Praveena Paruchuru on Mar 7, 2009 7:56 AM

    Hi Dheeraj,
    I have restarted my system many times, not only B2B.
    I have taken the print out of both the tip.properties and compared line by line and wanted to check out which line was making it not to function.
    I added the mismatching lines one by one by one, it was working for all teh updates. Finally I changed it to my new tip.properties.
    Then surprisingly it is working.

  • SCCM report says 17 patches are needed, but they are not needed

    Another weird one. I've had this before with just 1 patch needed but never figured it out. But now I have a Server 2012 box (SCCM 2012 R2 CU4) that report "Compliance 5 - Specific computer" says need 17 patches. Software Center on the box says
    none are needed. Patches are downloaded and installing on other computers. In Windows Update\View Update History, it says all 17 patches successfully installed ON THE SAME DAY. So I think something happened with the patch run on that day and Software Center
    and Update History say they finished but somewhere in the db it thinks they haven't. Cache purges, reboots, and running all actions on the actions tab haven't helped.
    Patches that have come up as needed after that day install and report as completed just fine.
    Any ideas?
    Ben JohnsonWY

    why that works: what can happen is that occasionally, somewhere between a client and the MP, the MP processing, and processing into the database, statemessages might become corrupt or somehow else 'lost'.  normally not a big deal; but for software updates
    to get a client to re-report "current" state of all software updates currently known about at the client, that little snippet needs to be re-run.
    In my environment about 2x a year I have all my clients re-submit their software updates state (enable a deployment for a while, then disable it).  I don't know how many clients "might be" in a misreporting state, but it gives me the warm
    fuzzy that I'm doing my best to reduce the possibility that computers might be listing they are missing an update, when they aren't.
    Standardize. Simplify. Automate.

  • Downloaded Reader XI and started to recieve error 40000015, found the fourm with the patch to the registery fix, now it tells me unable to connect to the server. To many bugs with the reader, how do reinstall an older version?

    downloaded Reader XI and started to recieve error 40000015, found the fourm with the patch to the registery fix, now it tells me unable to connect to the server. To many bugs with the reader, how do reinstall an older version?
    I click on the launcher and nothing happens, 15 min later it will tell cant connect to the server.
    My computer is a windows 8.1; 64 bit operating system. I am stationed in South Korea, but that should not affect the program. Help please.
    John

    Hi johnd83157268,
    Sorry for the inconvenience that has caused to you.
    Could you please let me know what changes have you made in the registry.
    You might need to uninstall Adobe Reader from Control Panel and try install it again from the following link:
    Adobe Reader Install for all versions
    Please ensure that you are logged in as administrator and anti-virus is disabled as that might interrupt installation.
    Try again and then let me know.
    Regards,
    Anubha

  • Building mplayer-svn using internal ffmpeg-svn libraries [SOLVED]

    Yeah,
    I know that a bunch of us are having errors building mplayer-svn against ffmpeg-svn internal libraries.
    The error:
    libvo/vo_yuv4mpeg.o: In function `flip_page':
    vo_yuv4mpeg.c:(.text+0x694): undefined reference to `rgb24toyv12'
    vo_yuv4mpeg.c:(.text+0x6f0): undefined reference to `rgb24toyv12'
    vo_yuv4mpeg.c:(.text+0x848): undefined reference to `rgb24toyv12'
    libmpcodecs/vf_palette.o: In function `put_image':
    vf_palette.c:(.text+0x3ee): undefined reference to `palette8topacked32'
    vf_palette.c:(.text+0x431): undefined reference to `palette8topacked24'
    vf_palette.c:(.text+0x453): undefined reference to `palette8torgb16'
    vf_palette.c:(.text+0x473): undefined reference to `palette8torgb15'
    vf_palette.c:(.text+0x489): undefined reference to `palette8tobgr16'
    vf_palette.c:(.text+0x4a1): undefined reference to `palette8tobgr15'
    vf_palette.c:(.text+0x50a): undefined reference to `palette8topacked32'
    vf_palette.c:(.text+0x55e): undefined reference to `palette8torgb15'
    vf_palette.c:(.text+0x5b3): undefined reference to `palette8torgb16'
    vf_palette.c:(.text+0x5d0): undefined reference to `palette8topacked24'
    vf_palette.c:(.text+0x5ed): undefined reference to `palette8tobgr15'
    vf_palette.c:(.text+0x60a): undefined reference to `palette8tobgr16'
    libmpcodecs/vf_rgb2bgr.o: In function `put_image':
    vf_rgb2bgr.c:(.text+0x1d7): undefined reference to `rgb24tobgr24'
    vf_rgb2bgr.c:(.text+0x20a): undefined reference to `rgb32tobgr32'
    vf_rgb2bgr.c:(.text+0x274): undefined reference to `rgb24tobgr24'
    vf_rgb2bgr.c:(.text+0x290): undefined reference to `rgb32tobgr32'
    libmpcodecs/vf_yuy2.o: In function `put_image':
    vf_yuy2.c:(.text+0xf7): undefined reference to `yv12toyuy2'
    vf_yuy2.c:(.text+0x154): undefined reference to `yuv422ptoyuy2'
    collect2: ld returned 1 exit status
    make: *** [mplayer] Error 1
    All of this is coming from swscale. Enabling Mplayer's internal swscale fixes the build for me, but it's hardly a solution seeing that there is no difference at all in between the code bases.
    The question:
    Why are Archers seeing this and yet there's no traces that I can find anywhere on the web? I ask because I don't know if it's a Mplayer bug, a FFmpeg bug, or one of the core libraries in Arch? In short, I don't know who to file a bug report with.
    What I know:
    1) The build fails in different places on different architectures.
    2) Mplayer seems to not be able to find yasm even though x264 and FFmpeg find it fine, even with the configure flag --yasm=YASM.
    3) FFmpeg is not installing any swscale header file other than libswscale/swscale.h and force installing it does not help.
        a) There is no difference at all in the Makefile between the two code bases.

    wonder wrote:to be fair i don't think you can build mplayer-svn against ffmpeg-svn. you can only with mplayer-mt-git against ffmpeg-mt-git or something like that.
    I've been doing it daily for well over a year. Maybe even two.
    -- Edit--
    If anyone cares, it's because of how Mplayer deals with FFmpeg's header files. For instance, Mplayer is looking for yuv2rgb.h, but FFmpeg now produces yuv2rgb_mmx.h at runtime on my system. It looks as if libswscale's build files are being generated per architecture for usage of ASM code. Mplayer isn't looking at things quite right anymore.

  • "true" surround in mplayer/gstreamer with alsa?

    Hi
    I have a 5.1 sound system connected to my onboard sound card:
    00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2)
    It has only three jacks for Line in/out, mic and speakers but can be configured in the mixer for 6-Channel mode.
    Stereo sound is automatically upmixed and put out on all speakers. (I like that)
    I set my default soundcard with asoundconf (from AUR) but tested it also after deleting ~/.asoundrc* with same results.
    When I test the surround with
    speaker-test -c 6 -D surround51 -t wav
    it works well and I get "true" surround.
    I found a good ac3 test file:
    http://www.lynnepublishing.com/surround … d_test.ac3
    When playing in VLC I can set the audio device to 5.1 and get the right surround sound too. So it actually does work.
    But when I try the file in mplayer it only is stereo upmixed to all channels.
    I tried mplayer with -channels 6 but got an error:
    ~ % mplayer -channels 6 Desktop/www_lynnemusic_com_surround_test.ac3
    MPlayer SVN-r31027-4.5.0 (C) 2000-2010 MPlayer Team
    150 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 Desktop/www_lynnemusic_com_surround_test.ac3.
    libavformat file format detected.
    [ac3 @ 0x9c231e0]max_analyze_duration reached
    [ac3 @ 0x9c231e0]Estimating duration from bitrate, this may be inaccurate
    [lavf] Audio stream found, -aid 0
    ==========================================================================
    Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
    AUDIO: 48000 Hz, 6 ch, s16le, 448.0 kbit/9.72% (ratio: 56000->576000)
    Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
    ==========================================================================
    [AO_ALSA] alsa-lib: pcm_hw.c:448:(snd_pcm_hw_sw_params) SNDRV_PCM_IOCTL_SW_PARAMS failed (-22): Invalid argument
    [AO_ALSA] Unable to get sw-parameters: Invalid argument
    Failed to initialize audio driver 'alsa'
    Could not open/initialize audio device -> no sound.
    Audio: no sound
    Video: no video
    Exiting... (End of file)
    I wonder if VLC is not using alsa directly for surround sound because there it works...
    When I use mplayer with -ao sdl it is a bit better with the front channels but the center sound is very scratchy and the center also plays with the rear speakers.
    I also tried totem with 5.1 Audio output set in the preferences. It has no effect and sounds exactly the same like 2.0. I guess it does fallback when 5.1 is not working... (I don't get error output on commandline)
    So is there a way to get VLC's behaviour in all programs or do I have to create a surround device in the asoundrc (I don't like this)?
    Last edited by Cdh (2010-05-26 21:48:40)

    Next edit:
    I found a step to the solution here:
    http://alsa.opensrc.org/index.php/Dmix# … ound_sound
    </home/chris/.asoundrc.asoundconf>
    pcm.!default {
    type plug
    slave.pcm "duplex"
    pcm.snd_card {
    type hw
    card 0 # change to your cards number or name
    # 6 channel dmix:
    pcm.dmix6 {
    type dmix
    ipc_key 1024
    ipc_key_add_uid false # let multiple users share
    ipc_perm 0660 # IPC permissions (octal, default 0600)
    slave {
    pcm snd_card # see below
    rate 48000
    channels 6
    pcm.duplex {
    type asym
    playback.pcm "dmix6" # just pass to 6 channel dmix
    capture.pcm "snd_card"
    Then it works in mplayer with channels=6 with dmix.
    Unfortunately in totem it is still upmixed stereo and in Flash I have no sound at all so this is no solution.
    Last edited by Cdh (2010-05-26 21:50:35)

  • Please help!... with keyboard patches!!

    Hi, I am new to Logic and I need to create an environment with the patches of my synth Roland RS-9 (previous Cubase SX user). what is the easiest way to do it? Should I used the OSX beta version of SoundDiver?? Can I find the RS-9 environment already created online??

    SoundDiver is best for this. Logic will integrate pretty well for the editor aspect (use environment and a bunch of custom faders-and maybe an older version of Logic) but the librarian aspect should be handled by a librarian unless you want to do silliness with a sequencer. Fewest headaches would suggest SoundDiver to me. Be aware that SoundDiver was never fully moved over to OS X. That is why it remains BETA. Most of it is there, some things (like autolink) do not exist. I would assume the reason for it not moving over is demand is low (softsynths are quite popular these days) and other apps (like Logic) demand more attention by the user base. I used SD all the time, loved it, but that was mostly ca. V2.
    Cheers

  • Patched WIM Needs Same Patches After Imaging

    I'm trying apply offline patches to a Windows 7 WIM I created in September.  But after applying several patches and deploying to a test machine, Windows Update shows it
    still needs the same set of patches I applied offline.
    Ten-Thousand Foot Patching Overview:
    Image machine
    Determine necessary patches
    Acquire patches from catalog.update.microsoft.com
    Place all msu's in the same directory
    Mount WIM & patch, pointing to the directory above
    Commit, unmount & commit
    Import WIM into MDT
    Update OSD Task Sequence to use updated WIM
    Image a test workstation using the updated Task Sequence which is laying down the updated WIM.
    Run Windows Update
    The unchecked & highlighted updates in the image below (also on my OneDrive here:http://1drv.ms/1Jdu6DT) are the updates I applied offline, yet are still required:
    Please check my OneDrive here http://1drv.ms/1ulS2yh for just about everything you might want to review:
    Detailed patching process (in a text document): http://1drv.ms/1BFBR5i
    Logs of *every* DISM operation: http://1drv.ms/1ulS2yh
    Redirected output (stdout & stderr) of *every* DISM operation: http://1drv.ms/1ulS2yh
    CBS.LOG and WindowsUpdate.log after OSD (but before actually installing the same updates): http://1drv.ms/1ulS2yh
    Deployment logs are available upon request.
    DISM version is 6.3.9600.17031
    WIM patched on a Windows 8.1 Enterprise laptop

    Its the amazing Keith Garner! <bow>
    First of all, appreciate your time & efforts here.  I did find your post by the way and that script is great.  Still wrapping my head around how to properly leverage pscustomobecjts but it gets the job done nicely.  Thank you for that.
    I spend a lot of time trying to understand what was going on with this issue.  I too found that article post you linked, and noticed this at the very bottom:
    Limitations
    When you are installing a package in an offline image, the package state is “install pending” because of pending online actions. In other words, the package will be installed when the image is booted and the online actions are processed. If subsequent
    actions are requested, they cannot be processed until the previous pending online action is completed. You can use the /PreventPending option when you add a package with /AddPackage to skip the installation
    of a package when there are pending online actions.
    Some packages require other packages to be installed first. You should not assume that dependencies will be satisfied. If there are dependency requirements, you should use an answer file to install the necessary packages. By passing an answer file
    to DISM, multiple packages can be installed in the correct order. This is the preferred method for installing multiple packages. For more information, see Add
    or Remove Packages Offline Using DISM.
    Packages are installed in the order that they are listed in the command line.
    When using DISM to list the optional components in a Windows PE image, the optional components will always be listed as pending even when the servicing operation was successful. This is by design and requires no additional action from you.
    Ok, so fair enough, its in a pending state.  Still, the OS should process it once it comes online, yes?  (For what its worth, I also considered using a dism answer file, but didn't find much on that subject - I was just too focused on this
    problem.)
    So, some time has passed and I have some new and potentially critical information:
    The Windows Update task sequence step is setup to continue on error.  I unchecked that and it tanked.  Turns out it was an
    obscure bug you
    found.  With that fix in place, it was at least running through the downloads.  (And we can reproduce the error at will.)
    However, prior to implementing that fix, I created a new DeploymentShare, copied over the task sequence from the production DS and imported the same WIM file.  For whatever reason, it worked: It
    only installed the updates needed after having patched the WIM offline.  (again, that was
    before applying the fix to ZTIWindowsUpdate)
    To be candid, the latter step (which was performed prior to posting) was what blew me away and prompted me to get some help.
    When I joined this organization last year, I inherited that production DS which was still MDT 2010.  We eventually upgraded it to 2013, and I've always wondered if that somehow was the source of some of the problems we're having.  (Yea, that may
    be a shot in the dark - but its all we've got: why else would DeploymentShare A behave strangely but the same Task Sequences and Applications in DeploymentShare B work fine?)
    Re hard core MDT users: Good to know.  We've been asked to periodically patch the WIM to help keep imaging time to a minimum.
    What's so bad with offline patching a WIM every so often?  (Doesn't SCCM's Scheduled Updates essentially do the same thing?)

  • I PAD 2 TESTERS NEEDED; IS THIS FOR REAL?

    IS ALL THIS I PAD 2 TESTERS NEEDED FOR REAL?

    Umm, little more information please?  Testing of what (an app, a case, a cover, a mobile solar charger - what are you being asked to test)?  By whom?  Who sent you the request to test something, or where did you see it?
    P.S. If it is Apple asking you to help them beta test some software, they do email people (using the email address registered with their AppleID) and the email will be pretty self explanatory.

  • Applying Patch - Guidance needed

    Below are my db & OS versions:
    DB- 11g Enterprise Edition Release 11.2.0.2.0
    OS- AIX 6.1
    I have not done patching before. My client has asked me to apply patch 13004894 on one of the databases.
    Presently I don’t have access to metalink as I am new to the team. But very soon I will have it. So till then can you please help me with below –
    Step by step document to apply patch on 11.2.0.2.0 (Would be great if it is for particularly patch# 13004894  )
    Any pre-checks/validation to be done before patching?
    Any post patching steps to perform?
    I would appreciate if you can provide any other info also which will be helpful for a beginner like me.
    Thanks in advance! 

    user13762767 wrote:
    Thanks for the answer!
    Will the readme file contain all the steps? or do I have to do anything apart from that?
    Also how will I know if the patch suggested by client is correct patch for my current database version along with patches already installed? (I mean it should not cause any conflict with current db version & patches)
    Should I need to take backup of anything like database or ORACLE_HOME before pstarting patching?
    Thanks in advance
    Every patch comes with complete instructions for applying that specific patch.
    Taking a backup of the database is always a good idea.  Whether or not it is needed for a specific patch will be addressed in the README.txt that comes with said patch.

Maybe you are looking for