MPlayer-svn questions

I've heard though the grapevine the MPlayer-svn will play a whole bunch of WM stuff natively. So, here are my questions:
In AUR there's a package build. What do people think of it so far? Is the MPlayer plug-in working with that build? Has anyone here successfully got it to run on Arch 64?
For the last question: the Subversion package build won't compile on Arch 64. I may see if I can find a solution if MPlayer-svn is worth the time.

skottish wrote:Is the MPlayer plug-in working with that build?
Yup, works fine here.

Similar Messages

  • 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.

  • Mplayer-svn disables features?

    I just installed mplayer-svn through the AUR. For some reason, opengl is on the list of disabled video outputs.
    I have a pretty nice nVidia 8800GT, which definitely supports opengl. Am I just mistaken and mplayer-svn is still "allowed" to use opengl2 through gl2, or is it completely ignoring opengl in all of its variations?
    It's also possible that I'm asking a dumb question =-)

    Both any2dvd and tovid have been trying to do something like this:
    (this one is from any2dvd, which seems to be a little nicer)
    transcode -H0 -i "1.avi" -x mplayer="-mc 0",mplayer -f 29.970 -g 1280x720 -n 0x1 -e 44100,16,2 -y ffmpeg -F mpeg2 -Z 720x480 --export_asr 3 -D0 -N 0x2000 -E 48000,16,2 -b 384 -m "tmp_any2dvd/1.ac3" -o "tmp_any2dvd/1.m2v" -w 5000
    I tried to rename the file to .avi in case that was the problem, but it didn't help. The filetype is actually mp4 (and trying it with that extension didn't go anywhere).

  • 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...

  • Mplayer-svn dependencies

    mplayer-svn 22796-1 needs libmpcdec and libjack but they not in dependencies list ??

    mplayer-svn 22915-1 is now in unstable. Thanks for letting me know.

  • 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.

  • Compiling MPlayer-SVN on Arch64

    Has anyone successfully built the Subversion package on Arch64?

    Thanks. I hadn't started to dig into the problem yet, but the compile error was blah..blah..blah.. libtool.... ccache...
    This is great. I'm itching to try out MPlayer-cvs.
    ------->>>EDIT
    It worked. A minute or so later, Subversion compiles. A minute after that, MPlayer-svn didn't. I guess that's a talk for this new and improved thread!
    It seems that the compiler is not finding avutil.h (possibly from the ffmpeg library [/libavcodec/avcodec.h]).

  • [SOLVED] mplayer-svn won't compile

    Wanted to try one application that needs svn version of mplayer to run. Well, i'm not able to compile it
    liba52/imdct_3dnow.h:289: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
    liba52/imdct_3dnow.h:257: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
    liba52/imdct_3dnow.h:117: error: 'asm' operand has impossible constraints
    liba52/imdct_3dnow.h:283: error: 'asm' operand has impossible constraints
    liba52/imdct.c: In function 'ifft16':
    liba52/imdct.c:294: warning: array subscript is below array bounds
    liba52/imdct.c: In function 'ifft64_c':
    liba52/imdct.c:310: warning: array subscript is below array bounds
    liba52/imdct.c: In function 'ifft128_c':
    liba52/imdct.c:318: warning: array subscript is below array bounds
    liba52/imdct.c:322: warning: array subscript is below array bounds
    make: *** [liba52/imdct.o] Error 1
    Google found something: http://gcc.gnu.org/ml/gcc-bugs/2009-05/msg00633.html
    So is there any chance i could compile it? Need to downgrade gcc?
    Last edited by Dzaro (2009-05-09 09:30:58)

    Oh, didn't know that
    Thank you
    Edit: yes, it's working now
    Last edited by Dzaro (2009-05-09 09:30:36)

  • [Solved] Cant install mplayer-svn

    Maybe I am missing something, but I am trying to install the svn for mplayer and getting this error asking me which file to patch.
    Any suggestions:
    100%[=====================================>] 222,567 86.6K/s in 2.5s
    2009-04-18 20:52:37 (86.6 KB/s) - `Blue-1.7.tar.bz2.part' saved [222567/222567]
    -> Found no_segfault_configure.patch in build dir
    ==> Validating source files with md5sums...
    Blue-1.7.tar.bz2 ... Passed
    no_segfault_configure.patch ... Passed
    ==> Extracting Sources...
    -> bsdtar -x -f Blue-1.7.tar.bz2
    ==> Entering fakeroot environment...
    ==> Determining latest svn revision...
    svn: Can't connect to host 'svn.mplayerhq.hu': Connection refused
    ==> Starting build()...
    svn: Can't connect to host 'svn.mplayerhq.hu': Connection refused
    ==> SVN checkout done or server timeout
    ==> Starting make...
    cp: cannot stat `mplayer': No such file or directory
    ./PKGBUILD: line 38: cd: mplayer-build: No such file or directory
    can't find file to patch at input line 3
    Perhaps you used the wrong -p or --strip option?
    The text leading up to this was:
    |--- a/configure.old 2008-11-15 23:27:59.000000000 +0100
    |+++ b/configure 2008-11-15 23:28:26.000000000 +0100
    File to patch:
    Last edited by banshee28 (2009-04-19 17:59:08)

    banshee28 wrote:1) Is it normal for some of these AUR packages to take 2-5 mins to install? They go through thousands of lines and many pages of commands which seems like quite a long time to install a rather small media player?
    The mplayer subversion tree as of right now has 2752 files, so the initial download will take a little while. It tries to optimize the code based on your current processor and it does a bit of linking. It does take a while to compile.
    banshee28 wrote:2) Whats the best way to maintain this and keep it up-to-date? Will it update with -Syu or do I need to install it again? Not sure about the svn setup?
    Assuming that you didn't delete the build folder, the package will only pull down new files in the build tree, so it won't take as long to download next time. Although, it's pulling in FFmpeg which changes very quickly. The compile times will probably stay roughly the same.

  • Mplayer-svn PKGBUILD in [unstable] ----- Source Broken Link

    Wrong Link:
    source=(ftp://ftp.mplayerhq.hu/MPlayer/Skin/Blue-1.7.tar.bz2)
    Right Link
    source=(ftp://ftp.mplayerhq.hu/MPlayer/skins/Blue-1.7.tar.bz2)

    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...

  • [SOLVED] Can't play H.264 (720P) on Mplayer

    The title says it all.
    This is the output of mplayer (using umplayer/smplayer)
    /usr/bin/mplayer2 -noquiet -v -nofs -nomouseinput -vc coreserve, -lavdopts skiploopfilter=all -sub-fuzziness 1 -identify -slave -vo gl:yuv=2:force-pbo -ao alsa -nokeepaspect -framedrop -dr -double -input nodefault-bindings:conf=/dev/null -nostop-xscreensaver -wid 35651627 -monitorpixelaspect 1 -noass -subfont-autoscale 3 -subfont-text-scale 2.5 -subcp enca:es:ISO-8859-9 -subpos 100 -volume 16 -cache 2048 -osdlevel 0 -idx -vf-add yadif=1 -vf-add pp -autoq 6 -vf-add screenshot -noslices -channels 2 -af scaletempo -softvol -softvol-max 110 -aspect 4:3 /files/Video/Movies/Mean.Girls.2004.BluRay.720p.H264.mp4
    MPlayer SVN-r36285-4.8.0 (C) 2000-2013 MPlayer Team
    CPU vendor name: GenuineIntel max cpuid level: 13
    CPU: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz (Family: 6, Model: 58, Stepping: 9)
    extended cpuid-level: 8
    extended cache-info: 16801856
    Detected cache-line size is 64 bytes
    CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSE3: 1 SSSE3: 1 SSE4: 1 SSE4.2: 1 AVX: 1
    Compiled with runtime CPU detection.
    get_path('codecs.conf') -> '/home/axelectrik/.mplayer/codecs.conf'
    Reading optional codecs config file /home/axelectrik/.mplayer/codecs.conf: No such file or directory
    Reading optional codecs config file /etc/mplayer/codecs.conf: 205 audio & 424 video codecs
    init_freetype
    Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
    get_path('fonts') -> '/home/axelectrik/.mplayer/fonts'
    Configuration: --prefix=/usr --enable-runtime-cpudetection --disable-gui --disable-arts --disable-liblzo --disable-speex --disable-openal --disable-libdv --disable-musepack --disable-esd --disable-mga --disable-ass-internal --disable-cdparanoia --enable-xvmc --enable-radio --enable-radio-capture --language=all --confdir=/etc/mplayer
    CommandLine: '-noquiet' '-v' '-nofs' '-nomouseinput' '-vc' 'coreserve,' '-lavdopts' 'skiploopfilter=all' '-sub-fuzziness' '1' '-identify' '-slave' '-vo' 'gl:yuv=2:force-pbo' '-ao' 'alsa' '-nokeepaspect' '-framedrop' '-dr' '-double' '-input' 'nodefault-bindings:conf=/dev/null' '-nostop-xscreensaver' '-wid' '35651627' '-monitorpixelaspect' '1' '-noass' '-subfont-autoscale' '3' '-subfont-text-scale' '2.5' '-subcp' 'enca:es:ISO-8859-9' '-subpos' '100' '-volume' '16' '-cache' '2048' '-osdlevel' '0' '-idx' '-vf-add' 'yadif=1' '-vf-add' 'pp' '-autoq' '6' '-vf-add' 'screenshot' '-noslices' '-channels' '2' '-af' 'scaletempo' '-softvol' '-softvol-max' '110' '-aspect' '4:3' '' '/files/Video/Movies/Mean.Girls.2004.BluRay.720p.H264.mp4'
    Using nanosleep() timing
    Terminal type `unknown' is not defined.
    Parsing input config file /dev/null
    Input config file /dev/null parsed: 0 binds
    Setting up LIRC support...
    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.
    get_path('.conf') -> '/home/axelectrik/.mplayer/.conf'
    Playing .
    get_path('sub/') -> '/home/axelectrik/.mplayer/sub/'
    File not found: ''
    Failed to open .
    get_path('Mean.Girls.2004.BluRay.720p.H264.mp4.conf') -> '/home/axelectrik/.mplayer/Mean.Girls.2004.BluRay.720p.H264.mp4.conf'
    Playing /files/Video/Movies/Mean.Girls.2004.BluRay.720p.H264.mp4.
    get_path('sub/') -> '/home/axelectrik/.mplayer/sub/'
    [file] File size is 875863037 bytes
    STREAM: [file] /files/Video/Movies/Mean.Girls.2004.BluRay.720p.H264.mp4
    STREAM: Description: File
    STREAM: Author: Albeu
    STREAM: Comment: based on the code from ??? (probably Arpi)
    CACHE_PRE_INIT: 0 [0] 0 pre:419430 eof:0
    Cache fill: 0.00% (0 bytes)
    libavformat version 55.7.100 (internal)
    Configuration: --enable-gpl --enable-postproc
    LAVF_check: QuickTime / MOV
    libavformat file format detected.
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f4745215900]ISO: File Type Major Brand: M4A
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f4745215900]File position before avformat_find_stream_info() is 875863037
    [h264 @ 0x7f4745223040]no picture
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f4745215900]All info found
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f4745215900]File position after avformat_find_stream_info() is 2773137
    ==> Found audio stream: 0
    ID_AUDIO_ID=0
    ======= WAVE Format =======
    Format Tag: 20557 (0x504D)
    Channels: 2
    Samplerate: 48000
    avg byte/sec: 8069
    Block align: 1
    bits/sample: 16
    cbSize: 5
    Unknown extra header dump: [11] [90] [56] [e5] [0]
    ==========================================================================
    [lavf] stream 0: audio (aac), -aid 0, -alang und
    ==> Found video stream: 1
    ID_VIDEO_ID=0
    ======= VIDEO Format ======
    biSize 201
    biWidth 1280
    biHeight 720
    biPlanes 1
    biBitCount 24
    biCompression 875967048='H264'
    biSizeImage 2764800
    Unknown extra header dump: [1] [64] [0] [29] [fe] [e1] [0] [18] [67] [64] [0] [29] [ac] [d9] [80] [50] [5] [bb] [1] [10] [0] [19] [74] [f0] [4] [c4] [b4] [8] [f1] [83] [19] [a0] [1] [0] [7e] [68] [e9] [7b] [cf] [8] [47] [10] [a3] [84] [44] [85] [6] [d] [5] [10] [61] [8] [8] [82] [2] [14] [28] [14] [85] [41] [50] [50] [2a] [4] [68] [8] [4] [41] [a2] [88] [51] [6] [9c] [20] [63] [85] [21] [a8] [50] [90] [c0] [81] [23] [6] [46] [82] [40] [a0] [54] [16] [41] [63] [15] [31] [48] [4e] [29] [a6] [85] [15] [59] [11] [51] [a] [c8] [63] [cd] [3c] [c9] [90] [c7] [2a] [21] [84] [44] [9c] [40] [c1] [2] [46] [84] [2] [10] [88] [50] [60] [d0] [c4] [3d] [88] [91] [a4] [ad] [24] [da] [4a] [da] [49] [36] [c8] [91] [25] [6c] [84] [21] [a] [52] [98] [84] [94] [a6] [21] [a] [51] [6] [9c] [60] [81] [21] [8] [4b]
    ===========================
    [lavf] stream 1: video (h264), -vid 0
    LAVF: 1 audio and 1 video streams found
    LAVF: build 3606372
    VIDEO: [H264] 1280x720 24bpp 23.976 fps 1175.4 kbps (143.5 kbyte/s)
    [V] filefmt:44 fourcc:0x34363248 size:1280x720 fps:23.976 ftime:=0.0417
    Clip info:
    major_brand: M4A
    ID_CLIP_INFO_NAME0=major_brand
    ID_CLIP_INFO_VALUE0=M4A
    minor_version: 0
    ID_CLIP_INFO_NAME1=minor_version
    ID_CLIP_INFO_VALUE1=0
    compatible_brands: isomavc1M4A mp42
    ID_CLIP_INFO_NAME2=compatible_brands
    ID_CLIP_INFO_VALUE2=isomavc1M4A mp42
    creation_time: 2012-04-17 19:31:49
    ID_CLIP_INFO_NAME3=creation_time
    ID_CLIP_INFO_VALUE3=2012-04-17 19:31:49
    ID_CLIP_INFO_N=4
    Load subtitles in /files/Video/Movies/
    get_path('sub/') -> '/home/axelectrik/.mplayer/sub/'
    [file] File size is 127642 bytes
    STREAM: [file] /files/Video/Movies/Mean.Girls.2004.BluRay.720p.H264.eng.srt
    STREAM: Description: File
    STREAM: Author: Albeu
    STREAM: Comment: based on the code from ??? (probably Arpi)
    SUB: Detected subtitle file format: subviewer
    ENCA supported languages: be bg cs et hr hu lt lv pl ru sk sl uk zh __
    ENCA detection failed: fallback to ISO-8859-9
    SUB: opened iconv descriptor.
    SUB: closed iconv descriptor.
    SUB: Read 1642 subtitles, 0 bad line(s).
    ID_FILE_SUB_ID=0
    ID_FILE_SUB_FILENAME=/files/Video/Movies/Mean.Girls.2004.BluRay.720p.H264.eng.srt
    SUB: Added subtitle file (1): /files/Video/Movies/Mean.Girls.2004.BluRay.720p.H264.eng.srt
    ID_FILENAME=/files/Video/Movies/Mean.Girls.2004.BluRay.720p.H264.mp4
    ID_DEMUXER=lavfpref
    ID_VIDEO_FORMAT=H264
    ID_VIDEO_BITRATE=1175392
    ID_VIDEO_WIDTH=1280
    ID_VIDEO_HEIGHT=720
    ID_VIDEO_FPS=23.976
    ID_VIDEO_ASPECT=1.7778
    ID_START_TIME=0.08
    ID_LENGTH=5633.11
    ID_SEEKABLE=1
    ID_CHAPTERS=0
    Could not find a UTF-8 locale, some keys will not be handled.
    X11 opening display: :0.0
    vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
    vo: X11 running at 1366x768 with depth 24 and 32 bpp (":0.0" => local display)
    [x11] Current fstype setting doesn't honour any X atoms
    [gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
    [gl] Using 0 as slice height (0 means image height).
    Opening video filter: [screenshot]
    Opening video filter: [pp]
    [screenshot] query(Planar YV12) -> 3
    pp: de
    pp: de::de
    pp: hb::hb
    pp: option: a
    pp: vb::vb
    pp: option: a
    pp: dr::dr
    pp: option: a
    pp: lumMode=0, chromMode=0
    pp: de
    pp: de::de
    pp: hb::hb
    pp: option: a
    pp: vb::vb
    pp: option: a
    pp: dr::dr
    pp: option: a
    pp: lumMode=2, chromMode=0
    pp: de
    pp: de::de
    pp: hb::hb
    pp: option: a
    pp: vb::vb
    pp: option: a
    pp: dr::dr
    pp: option: a
    pp: lumMode=3, chromMode=0
    pp: de
    pp: de::de
    pp: hb::hb
    pp: option: a
    pp: vb::vb
    pp: option: a
    pp: dr::dr
    pp: option: a
    pp: lumMode=3, chromMode=2
    pp: de
    pp: de::de
    pp: hb::hb
    pp: option: a
    pp: vb::vb
    pp: option: a
    pp: dr::dr
    pp: option: a
    pp: lumMode=3, chromMode=3
    pp: de
    pp: de::de
    pp: hb::hb
    pp: option: a
    pp: vb::vb
    pp: option: a
    pp: dr::dr
    pp: option: a
    pp: lumMode=7, chromMode=3
    pp: de
    pp: de::de
    pp: hb::hb
    pp: option: a
    pp: vb::vb
    pp: option: a
    pp: dr::dr
    pp: option: a
    pp: lumMode=7, chromMode=7
    Opening video filter: [yadif=1]
    Opening video filter: [hqdn3d]
    Opening video filter: [pp=de]
    [hqdn3d] query(Planar YV12) -> 3
    pp: de
    pp: de::de
    pp: hb::hb
    pp: option: a
    pp: vb::vb
    pp: option: a
    pp: dr::dr
    pp: option: a
    pp: lumMode=0, chromMode=0
    pp: de
    pp: de::de
    pp: hb::hb
    pp: option: a
    pp: vb::vb
    pp: option: a
    pp: dr::dr
    pp: option: a
    pp: lumMode=2, chromMode=0
    pp: de
    pp: de::de
    pp: hb::hb
    pp: option: a
    pp: vb::vb
    pp: option: a
    pp: dr::dr
    pp: option: a
    pp: lumMode=3, chromMode=0
    pp: de
    pp: de::de
    pp: hb::hb
    pp: option: a
    pp: vb::vb
    pp: option: a
    pp: dr::dr
    pp: option: a
    pp: lumMode=3, chromMode=2
    pp: de
    pp: de::de
    pp: hb::hb
    pp: option: a
    pp: vb::vb
    pp: option: a
    pp: dr::dr
    pp: option: a
    pp: lumMode=3, chromMode=3
    pp: de
    pp: de::de
    pp: hb::hb
    pp: option: a
    pp: vb::vb
    pp: option: a
    pp: dr::dr
    pp: option: a
    pp: lumMode=7, chromMode=3
    pp: de
    pp: de::de
    pp: hb::hb
    pp: option: a
    pp: vb::vb
    pp: option: a
    pp: dr::dr
    pp: option: a
    pp: lumMode=7, chromMode=7
    ==========================================================================
    Forced video codec: coreserve
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    libavcodec version 55.12.100 (internal)
    Configuration: --enable-gpl --enable-postproc
    INFO: libavcodec init OK!
    Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
    ==========================================================================
    ID_VIDEO_CODEC=ffh264
    [PP] Using external postprocessing filter, max q = 6.
    AutoQ: setting quality to 6.
    Audio: no sound
    Freeing 0 unused audio chunks.
    Starting playback...
    [ffmpeg] aspect_ratio: 0.000000
    [ffmpeg] aspect_ratio: 0.000000
    [h264 @ 0x7f4745223040]no picture
    ds_fill_buffer: EOF reached (stream: video)
    [ffmpeg] aspect_ratio: 1.777778
    VDec: vo config request - 1280 x 720 (preferred colorspace: Planar YV12)
    [PP] Using external postprocessing filter, max q = 6.
    Trying filter chain: pp hqdn3d yadif pp screenshot vo
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
    ID_VIDEO_ASPECT=1.3333
    VO Config (1280x720->1280x960,flags=4,'MPlayer',0x32315659)
    REQ: flags=0x6CB7 req=0x0
    REQ: flags=0x6CB7 req=0x0
    REQ: flags=0x6CB7 req=0x0
    REQ: flags=0x64B7 req=0x0
    SwScaler: reducing / aligning filtersize 1 -> 4
    SwScaler: reducing / aligning filtersize 1 -> 4
    SwScaler: reducing / aligning filtersize 5 -> 4
    SwScaler: reducing / aligning filtersize 5 -> 4
    [swscaler @ 0x7f4745232a00]BICUBIC scaler, from yuv420p to rgb24 using MMXEXT
    [swscaler @ 0x7f4745232a00]1280x720 -> 1280x960
    [swscaler @ 0x7f4745232a00]lum srcW=1280 srcH=720 dstW=1280 dstH=960 xInc=65536 yInc=49152
    [swscaler @ 0x7f4745232a00]chr srcW=640 srcH=360 dstW=640 dstH=960 xInc=65536 yInc=24576
    REQ: flags=0x64B7 req=0x0
    VO: [gl] 1280x720 => 1280x960 Planar YV12 [zoom]
    VO: Description: OpenGL
    VO: Author: Reimar Doeffinger <[email protected]>
    [gl] GLX chose visual with ID 0x97
    X11 error: BadMatch (invalid parameter attributes)
    Type: 0, display: 0x7f4746d59fa0, resourceid: 5000001, serial: 2f
    Error code: 8, request code: 2, minor code: 0
    [gl] Settings after autodetection: ati-hack = 0, force-pbo = 1, rectangle = 0, yuv = 2, ycbcr = 0
    [gl] Creating 2048x1024 texture...
    [gl] Resize: 1078x606
    *** [pp] Exporting mp_image_t, 1280x720x12bpp YUV planar, 1382400 bytes
    *** [hqdn3d] Allocating mp_image_t, 1280x720x12bpp YUV planar, 1382400 bytes
    [postproc @ 0x7f4745210ae0]using npp filters 0x7/0x7
    *** [yadif] Allocating mp_image_t, 1280x720x12bpp YUV planar, 1382400 bytes
    ds_fill_buffer: EOF reached (stream: video)
    ds_fill_buffer: EOF reached (stream: video)
    ds_fill_buffer: EOF reached (stream: video)
    ds_fill_buffer: EOF reached (stream: video)
    ds_fill_buffer: EOF reached (stream: video)
    ds_fill_buffer: EOF reached (stream: video)
    ds_fill_buffer: EOF reached (stream: video)
    ds_fill_buffer: EOF reached (stream: video)
    EOF code: 1
    Uninit video: ffmpeg
    Drawn 0 frames, 0 using DR, DR refused 0
    vo: uninit ...
    Exiting... (End of file)
    ID_EXIT=EOF
    It works fine with VLC using the codec avc1 , so the fix might be to use coreavc codec with mplayer, unfortunately mplayer-coreavc-svn from AUR does not compile :S
    Thank you
    Last edited by axelectrik (2013-06-09 22:00:22)

    It actually worked!
    Can't see what was the problem with mplayer but now it plays perfectly
    Thank you!

  • Little troubles with DVB-S2 via MPlayer

    Hi,
    I use the MPlayer already for quite a while to stream DVB-S and DVB-S2 with it. But for approximately two weeks something changed while watching HD-channels: the video track lags every few seconds; the audio track is quiet normal. However, the non-HD channels hide the problem.
    E.g. while watching a German HD-channel, I find following terminal outputs:
    [h264 @ 0xf2b820]mmco: unref short failure
    [h264 @ 0xf2b820]reference picture missing during reorder
    [h264 @ 0xf2b820]Missing reference picture
    [h264 @ 0xf2b820]Increasing reorder buffer to 2
    h264 @ 0xf2b820]Increasing reorder buffer to 3
    [h264 @ 0xf2b820]Increasing reorder buffer to 4
    [mpegts @ 0xeb3080]PES packet size mismatch
    **** Your system is too SLOW to play this! ****
    Specially this message I can't understand, because I'm using a CPU AMD Phenom II X4 955 3,2 GHz, 8 GB Corsair XMS3 DDR3 RAM and the graphic card ASUS GTX 460 Top GDDR5 PCIe 1024 MB. But, let's continue with the outputs:
    [h264 @ 0xf2b820]concealing 880 DC, 880 AC, 880 MV errors
    [h264 @ 0xf2b820]mmco: unref short failure
    [h264 @ 0xf2b820]number of reference frames (0+6) exceeds max (5; probably corrupt input), discarding one
    [h264 @ 0xf2b820]illegal short term buffer state detected
    Furthermore I'm using two HHD WD20EARS, which are connected to RAID1 via 3ware 9650SE-2LP, and the DVB hardware decoder card Hauppauge WinTV-NOVA-HD-S2. My desktop environment is KDE SC 4.8.
    For starting the DVB-S2 streaming I use szap-s2 -r -p -S 1 -c ~/.mplayer/hdchannels.conf "NAME-OF-THE-HD-CHANNEL" in one terminal and mplayer /dev/dvb/adapter0/dvr0 -demuxer lavf -cache 8192 in a second terminal.
    I just mention all this stuff because I've absolutly no idea, what could be the reason. Before this troubles started, two weeks ago, everything worked flawlessly. Checking the /etc/log/pacman.log I can find out, that the Linux kernel was upgraded from 3.2.6-2 to 3.2.7-1 on 24th February. I'm not sure, but maybe since that time these failures appears. Presently I'm using Linux 3.2.8-1.
    Has anyone an idea what might just be the cause? (Perhaps it could be a option to try the LTS-kernel?)
    Last edited by maik-hro (2012-04-13 10:39:59)

    So, today I just made some small tests. First of all I tried to start a HD-channel with WinTV7 on Windows 7: The channel was streamed correctly for almost one minute and than it was lost - and I had no possibilty to get it back.
    After that I tried again to start the same HD-channel on Linux. I apologize in advance to the large amount of text but following is the terminal output of the first minute (finally canceled by STRG + C):
    MPlayer SVN-r34799-4.6.3 (C) 2000-2012 MPlayer Team
    183 audio & 398 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 /dev/dvb/adapter0/dvr0.
    Cache fill: 17.97% (1507328 bytes)
    libavformat version 54.2.100 (internal)
    libavformat file format detected.
    [NULL @ 0xf50700]non-existing SPS 10 referenced in buffering period
    [NULL @ 0xf50700]non-existing PPS referenced
    [h264 @ 0xf50700]non-existing SPS 10 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS 0 referenced
    [h264 @ 0xf50700]decode_slice_header error
    [h264 @ 0xf50700]no frame!
    [h264 @ 0xf50700]non-existing SPS 11 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS referenced
    [h264 @ 0xf50700]non-existing SPS 11 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS 0 referenced
    [h264 @ 0xf50700]decode_slice_header error
    [h264 @ 0xf50700]no frame!
    [h264 @ 0xf50700]non-existing SPS 12 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS referenced
    [h264 @ 0xf50700]non-existing SPS 12 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS 0 referenced
    [h264 @ 0xf50700]decode_slice_header error
    [h264 @ 0xf50700]no frame!
    [h264 @ 0xf50700]non-existing SPS 13 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS referenced
    [h264 @ 0xf50700]non-existing SPS 13 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS 0 referenced
    [h264 @ 0xf50700]decode_slice_header error
    [h264 @ 0xf50700]no frame!
    [h264 @ 0xf50700]non-existing SPS 14 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS referenced
    [h264 @ 0xf50700]non-existing SPS 14 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS 0 referenced
    [h264 @ 0xf50700]decode_slice_header error
    [h264 @ 0xf50700]no frame!
    [h264 @ 0xf50700]non-existing SPS 3 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS referenced
    [h264 @ 0xf50700]non-existing SPS 3 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS 0 referenced
    [h264 @ 0xf50700]decode_slice_header error
    [h264 @ 0xf50700]no frame!
    [h264 @ 0xf50700]non-existing SPS 3 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS referenced
    [h264 @ 0xf50700]non-existing SPS 3 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS 0 referenced
    [h264 @ 0xf50700]decode_slice_header error
    [h264 @ 0xf50700]no frame!
    [h264 @ 0xf50700]non-existing SPS 3 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS referenced
    [h264 @ 0xf50700]non-existing SPS 3 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS 0 referenced
    [h264 @ 0xf50700]decode_slice_header error
    [h264 @ 0xf50700]no frame!
    [h264 @ 0xf50700]non-existing SPS 3 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS referenced
    [h264 @ 0xf50700]non-existing SPS 3 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS 0 referenced
    [h264 @ 0xf50700]decode_slice_header error
    [h264 @ 0xf50700]no frame!
    [h264 @ 0xf50700]non-existing SPS 4 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS referenced
    [h264 @ 0xf50700]non-existing SPS 4 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS 0 referenced
    [h264 @ 0xf50700]decode_slice_header error
    [h264 @ 0xf50700]no frame!
    [h264 @ 0xf50700]non-existing SPS 4 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS referenced
    [h264 @ 0xf50700]non-existing SPS 4 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS 0 referenced
    [h264 @ 0xf50700]decode_slice_header error
    [h264 @ 0xf50700]no frame!
    [h264 @ 0xf50700]non-existing SPS 4 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS referenced
    [h264 @ 0xf50700]non-existing SPS 4 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS 0 referenced
    [h264 @ 0xf50700]decode_slice_header error
    [h264 @ 0xf50700]no frame!
    [h264 @ 0xf50700]non-existing SPS 4 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS referenced
    [h264 @ 0xf50700]non-existing SPS 4 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS 0 referenced
    [h264 @ 0xf50700]decode_slice_header error
    [h264 @ 0xf50700]no frame!
    [h264 @ 0xf50700]non-existing SPS 5 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS referenced
    [h264 @ 0xf50700]non-existing SPS 5 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS 0 referenced
    [h264 @ 0xf50700]decode_slice_header error
    [h264 @ 0xf50700]no frame!
    [h264 @ 0xf50700]non-existing SPS 5 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS referenced
    [h264 @ 0xf50700]non-existing SPS 5 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS 0 referenced
    [h264 @ 0xf50700]decode_slice_header error
    [h264 @ 0xf50700]no frame!
    [h264 @ 0xf50700]non-existing SPS 5 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS referenced
    [h264 @ 0xf50700]non-existing SPS 5 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS 0 referenced
    [h264 @ 0xf50700]decode_slice_header error
    [h264 @ 0xf50700]no frame!
    [h264 @ 0xf50700]non-existing SPS 5 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS referenced
    [h264 @ 0xf50700]non-existing SPS 5 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS 0 referenced
    [h264 @ 0xf50700]decode_slice_header error
    [h264 @ 0xf50700]no frame!
    [h264 @ 0xf50700]non-existing SPS 6 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS referenced
    [h264 @ 0xf50700]non-existing SPS 6 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS 0 referenced
    [h264 @ 0xf50700]decode_slice_header error
    [h264 @ 0xf50700]no frame!
    [h264 @ 0xf50700]non-existing SPS 6 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS referenced
    [h264 @ 0xf50700]non-existing SPS 6 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS 0 referenced
    [h264 @ 0xf50700]decode_slice_header error
    [h264 @ 0xf50700]no frame!
    [h264 @ 0xf50700]non-existing SPS 6 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS referenced
    [h264 @ 0xf50700]non-existing SPS 6 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS 0 referenced
    [h264 @ 0xf50700]decode_slice_header error
    [h264 @ 0xf50700]no frame!
    [h264 @ 0xf50700]non-existing SPS 6 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS referenced
    [h264 @ 0xf50700]non-existing SPS 6 referenced in buffering period
    [h264 @ 0xf50700]non-existing PPS 0 referenced
    [h264 @ 0xf50700]decode_slice_header error
    [h264 @ 0xf50700]no frame!
    [h264 @ 0xf50700]mmco: unref short failure
    [h264 @ 0xf50700]mmco: unref short failure
    [h264 @ 0xf50700]Increasing reorder buffer to 1
    [h264 @ 0xf50700]Increasing reorder buffer to 2
    [h264 @ 0xf50700]Increasing reorder buffer to 3
    [h264 @ 0xf50700]Increasing reorder buffer to 4
    [h264 @ 0xf50700]mmco: unref short failure
    [mpegts @ 0xed4800]Estimating duration from bitrate, this may be inaccurate
    [lavf] stream 0: video (h264), -vid 0
    [lavf] stream 1: audio (mp2), -aid 0
    LAVF: Program 11100
    LAVF: Program 11110
    LAVF: Program 11120
    VIDEO: [H264] 1280x720 0bpp 50.000 fps 0.0 kbps ( 0.0 kbyte/s)
    Load subtitles in /dev/dvb/adapter0/
    Cache not responding! [performance issue]
    Cache not responding! [performance issue]
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    libavcodec version 54.8.100 (internal)
    Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
    ==========================================================================
    ==========================================================================
    Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
    AUDIO: 48000 Hz, 2 ch, s16le, 256.0 kbit/16.67% (ratio: 32000->192000)
    Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III)
    ==========================================================================
    [AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
    AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
    Starting playback...
    Unsupported PixelFormat 61
    Unsupported PixelFormat 53
    Unsupported PixelFormat 81
    [h264 @ 0xf50700]Missing reference picture
    [h264 @ 0xf50700]decode_slice_header error
    [h264 @ 0xf50700]concealing 3600 DC, 3600 AC, 3600 MV errors
    [h264 @ 0xf50700]Missing reference picture
    [h264 @ 0xf50700]decode_slice_header error
    [h264 @ 0xf50700]concealing 3600 DC, 3600 AC, 3600 MV errors
    [h264 @ 0xf50700]Missing reference picture
    [h264 @ 0xf50700]decode_slice_header error
    [h264 @ 0xf50700]concealing 3600 DC, 3600 AC, 3600 MV errors
    [h264 @ 0xf50700]Increasing reorder buffer to 1
    Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
    VO: [vdpau] 1280x720 => 1280x720 Planar YV12
    A:61580.2 V:61580.9 A-V: -0.639 ct: 0.000 0/ 0 ??% ??% ??,?% 0 0 50%
    [h264 @ 0xf50700]reference picture missing during reorder
    [h264 @ 0xf50700]Missing reference picture
    [h264 @ 0xf50700]mmco: unref short failure
    A:61580.3 V:61581.1 A-V: -0.742 ct: -0.004 0/ 0 ??% ??% ??,?% 2 0 50%
    [h264 @ 0xf50700]Increasing reorder buffer to 2
    [h264 @ 0xf50700]Increasing reorder buffer to 3
    [h264 @ 0xf50700]Increasing reorder buffer to 4
    [h264 @ 0xf50700]mmco: unref short failure
    A:61585.5 V:61586.0 A-V: -0.430 ct: -0.490 0/ 0 86% 7% 0.7% 125 0 50%
    [mpegts @ 0xed4800]PES packet size mismatch
    A:61585.9 V:61586.3 A-V: -0.400 ct: -0.520 0/ 0 85% 7% 0.7% 125 0 50%
    **** Your system is too SLOW to play this! ****
    Possible reasons, problems, workarounds:
    - Most common: broken/buggy _audio_ driver
    - Try -ao sdl or use the OSS emulation of ALSA.
    - Experiment with different values for -autosync, 30 is a good start.
    - Slow video output
    - Try a different -vo driver (-vo help for a list) or try -framedrop!
    - Slow CPU
    - Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts,
    e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
    - Broken file
    - Try various combinations of -nobps -ni -forceidx -mc 0.
    - Slow media (NFS/SMB mounts, DVD, VCD etc)
    - Try -cache 8192.
    - Are you using -cache to play a non-interleaved AVI file?
    - Try -nocache.
    Read DOCS/HTML/en/video.html for tuning/speedup tips.
    If none of this helps you, read DOCS/HTML/en/bugreports.html.
    A:61589.5 V:61587.1 A-V: 2.333 ct: -0.432 0/ 0 83% 7% 0.8% 125 0 50%
    [h264 @ 0xf50700]number of reference frames (0+6) exceeds max (5; probably corrupt input), discarding one
    A:61589.5 V:61587.2 A-V: 2.334 ct: -0.430 0/ 0 83% 7% 0.8% 125 0 50%
    [h264 @ 0xf50700]number of reference frames (0+6) exceeds max (5; probably corrupt input), discarding one
    A:61589.5 V:61587.2 A-V: 2.332 ct: -0.428 0/ 0 83% 7% 0.8% 125 0 50%
    [h264 @ 0xf50700]number of reference frames (0+6) exceeds max (5; probably corrupt input), discarding one
    A:61592.2 V:61589.9 A-V: 2.242 ct: -0.422 0/ 0 58% 5% 0.9% 125 0 50%
    [h264 @ 0xf50700]mmco: unref short failure
    A:61592.6 V:61590.2 A-V: 2.438 ct: -0.396 0/ 0 61% 5% 0.9% 131 0 50%
    [h264 @ 0xf50700]number of reference frames (0+6) exceeds max (5; probably corrupt input), discarding one
    A:61646.7 V:61646.7 A-V: 0.000 ct: 1.818 0/ 0 62% 6% 0.8% 724 0 50%
    MPlayer interrupted by signal 2 in module: decode video
    MPlayer interrupted by signal 2 in module: enable_cache
    A:61646.7 V:61646.7 A-V: 0.000 ct: 1.818 0/ 0 62% 6% 0.8% 724 0 50%
    Exiting... (Quit)
    Starting the same channel in SD I get these feedback:
    MPlayer SVN-r34799-4.6.3 (C) 2000-2012 MPlayer Team
    183 audio & 398 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 dvb://ARD.
    dvb_tune Freq: 11836000
    Cache fill: 17.58% (368640 bytes)
    TS file format detected.
    VIDEO MPEG2(pid=101) AUDIO MPA(pid=102) NO SUBS (yet)! PROGRAM N. 0
    VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 15000.0 kbps (1875.0 kbyte/s)
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    libavcodec version 54.8.100 (internal)
    Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
    ==========================================================================
    ==========================================================================
    Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
    AUDIO: 48000 Hz, 2 ch, s16le, 256.0 kbit/16.67% (ratio: 32000->192000)
    Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III)
    ==========================================================================
    [AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
    AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
    Starting playback...
    [VD_FFMPEG] Trying pixfmt=0.
    Could not find matching colorspace - retrying with -vf scale...
    Opening video filter: [scale]
    The selected video_out device is incompatible with this codec.
    Try appending the scale filter to your filter list,
    e.g. -vf spp,scale instead of -vf spp.
    [VD_FFMPEG] Trying pixfmt=1.
    Could not find matching colorspace - retrying with -vf scale...
    Opening video filter: [scale]
    The selected video_out device is incompatible with this codec.
    Try appending the scale filter to your filter list,
    e.g. -vf spp,scale instead of -vf spp.
    [VD_FFMPEG] Trying pixfmt=2.
    Could not find matching colorspace - retrying with -vf scale...
    Opening video filter: [scale]
    The selected video_out device is incompatible with this codec.
    Try appending the scale filter to your filter list,
    e.g. -vf spp,scale instead of -vf spp.
    Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
    VO: [vdpau] 720x576 => 1024x576 Planar YV12
    A:36766.2 V:36766.2 A-V: -0.001 ct: -0.332 19241/19241 14% 2% 0.7% 9 0 49%
    I will not get rid of the feeling that it might actually be due to faulty input signals. May something's wrong with the satellite system (LNB, multi switch, something else)?

  • Mplayer doesn't play video in text console

    I am trying to use mplayer in my text-based console/terminal without the X window system. When I play a video, the sound is fine but the video output just shows a few text characters moving and that's it, no video. Is there something I must type after the mplayer command or set a certain preference for graphics/video?
    My xorg.conf file has:
    Driver "intel"
    VendorName "Intel Corporation"
    BoardName "82810E DC-133 (CGC) Chipset Graphics Controller"
    And the output for mplayer -vo help is:
    MPlayer SVN-r30526-4.4.3 (C) 2000-2010 MPlayer Team
    Available video output drivers:
    vdpau VDPAU with X11
    xv X11/Xv
    x11 X11 ( XImage/Shm )
    xover General X11 driver for overlay capable video output drivers
    gl X11 (OpenGL)
    gl2 X11 (OpenGL) - multiple textures version
    matrixview MatrixView (OpenGL)
    dga DGA ( Direct Graphic Access V2.0 )
    sdl SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
    fbdev Framebuffer Device
    fbdev2 Framebuffer Device
    aa AAlib
    caca libcaca
    v4l2 V4L2 MPEG Video Decoder Output
    xvidix X11 (VIDIX)
    cvidix console VIDIX
    null Null video output
    xvmc XVideo Motion Compensation
    mpegpes MPEG-PES to DVB card
    yuv4mpeg yuv4mpeg output for mjpegtools
    png PNG file
    jpeg JPEG file
    gif89a animated GIF output
    tga Targa output
    pnm PPM/PGM/PGMYUV file
    md5sum md5sum of each frame
    142 audio & 332 video codecs
    Does anyone know what I should do?
    Last edited by ih23 (2010-02-13 17:39:38)

    Here is the output for "mplayer -v -vo fbdev":
    CPU vendor name: GenuineIntel max cpuid level: 2
    CPU: Intel(R) Celeron(TM) CPU 1400MHz (Family: 6, Model: 11, Stepping: 1)
    extended cpuid-level: 4
    Detected cache-line size is 32 bytes
    Testing OS support for SSE... yes.
    Tests of OS support for SSE passed.
    CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 0 SSSE3: 0
    Compiled with runtime CPU detection.
    get_path('codecs.conf') -> '/home/isaias/.mplayer/codecs.conf'
    Reading /home/isaias/.mplayer/codecs.conf: Can't open '/home/isaias/.mplayer/codecs.conf': No such file or directory
    Reading /etc/mplayer/codecs.conf: 142 audio & 332 video codecs
    Configuration: --prefix=/usr --enable-runtime-cpudetection --disable-gui --disable-arts --disable-liblzo --disable-speex --disable-openal --disable-fribidi --disable-libdv --disable-musepack --disable-esd --disable-mga --enable-xvmc --language=all --confdir=/etc/mplayer --extra-cflags=-fno-strict-aliasing
    CommandLine: '-v' '-vo' 'fbdev' 'Gods and Generals CD 01 of 02.avi'
    init_freetype
    Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
    get_path('fonts') -> '/home/isaias/.mplayer/fonts'
    Using nanosleep() timing
    get_path('input.conf') -> '/home/isaias/.mplayer/input.conf'
    Can't open input config file /home/isaias/.mplayer/input.conf: No such file or directory
    Parsing input config file /etc/mplayer/input.conf
    Input config file /etc/mplayer/input.conf parsed: 90 binds
    Setting up LIRC support...
    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.
    get_path('Gods and Generals CD 01 of 02.avi.conf') -> '/home/isaias/.mplayer/Gods and Generals CD 01 of 02.avi.conf'
    Playing Gods and Generals CD 01 of 02.avi.
    get_path('sub/') -> '/home/isaias/.mplayer/sub/'
    [file] File size is 1342103508 bytes
    STREAM: [file] Gods and Generals CD 01 of 02.avi
    STREAM: Description: File
    STREAM: Author: Albeu
    STREAM: Comment: based on the code from ??? (probably Arpi)
    LAVF_check: AVI format
    AVI file format detected.
    list_end=0x228A
    ======= AVI Header =======
    us/frame: 33366 (fps=29.971)
    max bytes/sec: 0
    padding: 0
    MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
    frames total: 202520 initial: 0
    streams: 2
    Suggested BufferSize: 1048576
    Size: 640 x 360
    ==========================
    list_end=0x10F0
    ==> Found video stream: 0
    [aviheader] Video stream found, -vid 0
    ====== STREAM Header =====
    Type: vids FCC: XVID (44495658)
    Flags: 0
    Priority: 0 Language: 0
    InitialFrames: 0
    Rate: 30000/1001 = 29.970
    Start: 0 Len: 202520
    Suggested BufferSize: 1048576
    Quality -1
    Sample size: 0
    ==========================
    Found 'bih', 40 bytes of 40
    ======= VIDEO Format ======
    biSize 40
    biWidth 640
    biHeight 360
    biPlanes 1
    biBitCount 24
    biCompression 1145656920='XVID'
    biSizeImage 691200
    ===========================
    Regenerating keyframe table for MPEG-4 video.
    list_end=0x217E
    ==> Found audio stream: 1
    [aviheader] Audio stream found, -aid 1
    ====== STREAM Header =====
    Type: auds FCC: (1)
    Flags: 0
    Priority: 0 Language: 0
    InitialFrames: 0
    Rate: 1225/32 = 38.281
    Start: 0 Len: 258684
    Suggested BufferSize: 12288
    Quality -1
    Sample size: 0
    ==========================
    Found 'wf', 30 bytes of 18
    ======= WAVE Format =======
    Format Tag: 85 (0x55)
    Channels: 2
    Samplerate: 44100
    avg byte/sec: 16000
    Block align: 1152
    bits/sample: 0
    cbSize: 12
    mp3.wID=1
    mp3.fdwFlags=0x2
    mp3.nBlockSize=1152
    mp3.nFramesPerBlock=1
    mp3.nCodecDelay=1393
    ==========================================================================
    list_end=0x4F8E468C
    Found movie at 0x2296 - 0x4F8E468C
    Reading INDEX block, 461204 chunks for 202520 frames (fpos=1334724244).
    AVI index offset: 0x2292 (movi=0x2296 idx0=0x4 idx1=0xA22)
    Auto-selected AVI video ID = 0
    Auto-selected AVI audio ID = 1
    AVI: Searching for audio stream (id:1)
    XXX initial v_pts=0.100 a_pos=0 (0.000)
    AVI video size=1222794219 (202520) audio size=108119353 (258684)
    VIDEO: [XVID] 640x360 24bpp 29.970 fps 1447.6 kbps (176.7 kbyte/s)
    Auto-selected AVI audio ID = 1
    [V] filefmt:3 fourcc:0x44495658 size:640x360 fps:29.970 ftime:=0.0334
    get_path('sub/') -> '/home/isaias/.mplayer/sub/'
    using /dev/fb0
    Can't open /dev/fb0: No such file or directory
    Error opening/initializing the selected video_out (-vo) device.
    ==========================================================================
    Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
    dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
    mp3lib: using SSE optimized decore!
    MP3lib: init layer2&3 finished, tables done
    MPEG 1.0, Layer III, 44100 Hz 128 kbit Joint-Stereo, BPF: 417
    Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
    AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
    Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
    ==========================================================================
    Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
    [libaf] Adding filter dummy
    [dummy] Was reinitialized: 44100Hz/2ch/s16le
    [dummy] Was reinitialized: 44100Hz/2ch/s16le
    Trying every known audio driver...
    ao2: 44100 Hz 2 chans s16le
    audio_setup: using '/dev/dsp' dsp device
    audio_setup: using '/dev/mixer' mixer device
    audio_setup: using 'pcm' mixer device
    audio_setup: sample format: s16le (requested: s16le)
    audio_setup: using 2 channels (requested: 2)
    audio_setup: using 44100 Hz samplerate (requested: 44100)
    audio_setup: frags: 16/16 (4096 bytes/frag) free: 65536
    AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
    AO: Description: OSS/ioctl audio output
    AO: Author: A'rpi
    Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
    [dummy] Was reinitialized: 44100Hz/2ch/s16le
    [dummy] Was reinitialized: 44100Hz/2ch/s16le
    Video: no video
    Freeing 3 unused video chunks.
    Starting playback...
    Increasing filtered audio buffer size from 0 to 65536
    Uninit audio filters...9.7 (23:10:19.7) 1.0%
    [libaf] Removing filter dummy
    Uninit audio: mp3lib
    vo: x11 uninit called but X11 not initialized..

  • [ps3mediaserver][pms-svn][AUR] No sound while using external subtitles

    Greetings everyone,
    I am experiencing some weird behavior while using External Subtitles, e.g. Playing an AVI file with PS3MediaServer works fine but playing the very same AVI file with external subtitles gives me the video with subtitles and no sound.
    My Server configuration is as follows :
    Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz
    RAM :2048 Mo
    OS : Archlinux 2.6.37-ARCH #1 SMP PREEMPT Tue Mar 8 08:34:35 CET 2011 x86_64
    Target : Playstation 3 Slim, firmware 3.60
    Here are the various Sofware versions I use :
    PMS version I am using is PS3 Media Server 1.21.0 (built from AUR, PKG: pms-svn)
    Java version is Java: 1.6.0_22-Sun Microsystems Inc.
    MPlayer version is "MPlayer SVN-r32792-4.5.2 (C) 2000-2011 MPlayer Team" and so is "MEncoder SVN-r32792-4.5.2 (C) 2000-2011 MPlayer Team"
    TSMuxer version is "1.10.6-10"
    FFMpeg version is "FFmpeg version git-2611e52"
    The network configuration of the server is : 192.168.0.20, netmask 255.255.255.0 ; 100MBits Full Duplex (Wired)
    The network configuration of the Playstation 3 is : 192.168.0.15, netmask 255.255.255.0 ; Auto (Wired, no WiFi !)
    Both are linked on a 100MBits Switch : Playstation 3 <--> Switch 100 Mbits <--> PS3 Media Server
    My PMS.conf is :
    thumbnails = true
    language =
    prevents_sleep_mode = true
    folders = \/srv\/shares
    network_interface = eth0
    hide_empty_folders = true
    hide_media_library_folder = true
    hide_transcode_folder = true
    hide_enginenames = true
    enable_archive_browsing = false
    audio_thumbnails_method = 2
    mencoder_subfribidi = false
    mencoder_disablesubs = false
    autoloadsrt = true
    hostname =
    port = 5001
    thumbnail_seek_pos = 10
    nbcores = 4
    turbomode = true
    minimized = false
    hidevideosettings = false
    charsetencoding = 850
    engines = mencoder,avsmencoder,tsmuxer,mplayeraudio,ffmpegaudio,tsmuxeraudio,mencoderwebvideo,mplayervideodump,mplayerwebaudio,ffmpegdvrmsremux
    avisynth_convertfps = true
    avisynth_script = #AviSynth script is now fully customisable
    transcode_block_multiple_connections = false
    tsmuxer_forcefps = true
    tsmuxer_preremux_pcm = false
    tsmuxer_preremux_ac3 = false
    audiochannels = 2
    audiobitrate = 384
    maximumbitrate = 0
    skiploopfilter = false
    mencoder_fontconfig = false
    mencoder_font =
    mencoder_forcefps = false
    mencoder_usepcm = false
    mencoder_intelligent_sync = true
    mencoder_decode =
    mencoder_encode = keyint=1:vqscale=1:vqmin=2
    mencoder_nooutofsync = true
    # mencoder_audiolangs = fre,eng
    # mencoder_sublangs = fre,off;fr,off;eng,off;en,off
    mencoder_audiosublangs = fre,off;fr,off;eng,off;en,off
    mencoder_ass_scale = 1.0
    mencoder_ass_margin = 10
    mencoder_ass_outline = 1
    mencoder_ass_shadow = 1
    mencoder_noass_scale = 3
    mencoder_noass_subpos = 2
    mencoder_noass_blur = 1
    mencoder_noass_outline = 1
    mencoder_subcp = cp1252
    mencoder_ass = false
    mencoder_yadif = false
    mencoder_scaler = false
    mencoder_scalex = 0
    mencoder_scaley = 0
    ffmpeg = -g 1 -qscale 1 -qmin 2
    # The next value has to be chosen very carefully: to low = possible stuttering if the network is congested, but
    # to high causes the java heap to be to small. Check the -Xmx-setting in /opt/pms/PMS.sh and raise it to 1024M
    # or higher if you see unexplainable Out Of Memory-errors in the debug.log
    maxvideobuffer = 400
    use_mplayer_for_video_thumbs = false
    # The next value sorts your media files. 0 (default) = A-Z while 1 = Z-A
    sort_method =
    usecache = true
    forcetranscode=
    Here are the tests I have run :
    MediaInfo output
    General
    Complete name : test without subs.avi
    Format : AVI
    Format/Info : Audio Video Interleave
    File size : 350 MiB
    Duration : 42mn 24s
    Overall bit rate : 1 153 Kbps
    Writing application : transcode-1.0.6
    Video
    ID : 0
    Format : MPEG-4 Visual
    Format profile : Advanced Simple@L5
    Format settings, BVOP : 2
    Format settings, QPel : No
    Format settings, GMC : No warppoints
    Format settings, Matrix : Default (H.263)
    Codec ID : XVID
    Codec ID/Hint : XviD
    Duration : 42mn 24s
    Bit rate : 978 Kbps
    Width : 624 pixels
    Height : 352 pixels
    Display aspect ratio : 16:9
    Frame rate : 23.976 fps
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Compression mode : Lossy
    Bits/(Pixel*Frame) : 0.186
    Stream size : 296 MiB (85%)
    Writing library : XviD 1.2.1 (UTC 2008-12-04)
    Audio
    ID : 1
    Format : MPEG Audio
    Format version : Version 1
    Format profile : Layer 3
    Mode : Joint stereo
    Codec ID : 55
    Codec ID/Hint : MP3
    Duration : 42mn 23s
    Bit rate mode : Variable
    Bit rate : 160 Kbps
    Channel(s) : 2 channels
    Sampling rate : 48.0 KHz
    Compression mode : Lossy
    Stream size : 49.4 MiB (14%)
    Alignment : Aligned on interleaves
    Interleave, duration : 24 ms (0.58 video frame)
    Writing library : LAME3.90.
    Encoding settings : -m j -V 4 -q 2 -lowpass 18 --abr 160
    And its very same but with external subtitles :
    -rw-r--r-- 1 svc-pms svc-pms 77159 Oct 12 12:57 test with subs.srt
    -rw-rw-r-- 1 svc-pms svc-pms 366711578 Oct 23 10:50 test with subs.avi
    MediaInfo output, just to acknowledge it is the same file, but with a different name
    General
    Complete name : test with subs.avi
    Format : AVI
    Format/Info : Audio Video Interleave
    File size : 350 MiB
    Duration : 42mn 24s
    Overall bit rate : 1 153 Kbps
    Writing application : transcode-1.0.6
    Video
    ID : 0
    Format : MPEG-4 Visual
    Format profile : Advanced Simple@L5
    Format settings, BVOP : 2
    Format settings, QPel : No
    Format settings, GMC : No warppoints
    Format settings, Matrix : Default (H.263)
    Codec ID : XVID
    Codec ID/Hint : XviD
    Duration : 42mn 24s
    Bit rate : 978 Kbps
    Width : 624 pixels
    Height : 352 pixels
    Display aspect ratio : 16:9
    Frame rate : 23.976 fps
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Compression mode : Lossy
    Bits/(Pixel*Frame) : 0.186
    Stream size : 296 MiB (85%)
    Writing library : XviD 1.2.1 (UTC 2008-12-04)
    Audio
    ID : 1
    Format : MPEG Audio
    Format version : Version 1
    Format profile : Layer 3
    Mode : Joint stereo
    Codec ID : 55
    Codec ID/Hint : MP3
    Duration : 42mn 23s
    Bit rate mode : Variable
    Bit rate : 160 Kbps
    Channel(s) : 2 channels
    Sampling rate : 48.0 KHz
    Compression mode : Lossy
    Stream size : 49.4 MiB (14%)
    Alignment : Aligned on interleaves
    Interleave, duration : 24 ms (0.58 video frame)
    Writing library : LAME3.90.
    Encoding settings : -m j -V 4 -q 2 -lowpass 18 --abr 160
    A- I tried playing the AVI file without external subtitles and it is working fine. 
    /var/log/pms.log :
    GUI environment not available
    Switching to console mode
    [main] TRACE 06:17:02.228 Starting PS3 Media Server 1.21.0
    [main] TRACE 06:17:02.237 by shagrath / 2008-2011
    [main] TRACE 06:17:02.237 http://ps3mediaserver.org
    [main] TRACE 06:17:02.237 http://ps3mediaserver.blogspot.com
    [main] TRACE 06:17:02.238 http://code.google.com/p/ps3mediaserver
    [main] TRACE 06:17:02.238
    [main] TRACE 06:17:02.238 Java: 1.6.0_22-Sun Microsystems Inc.
    [main] TRACE 06:17:02.238 OS: Linux amd64 2.6.37-ARCH
    [main] TRACE 06:17:02.238 Encoding: UTF-8
    [main] TRACE 06:17:02.238 PMS.conf: /filers/fvEXT3-01/_applications_/opt/pms/PMS.conf
    [main] TRACE 06:17:02.238 Working directory: /filers/fvEXT3-01/_applications_/opt/pms
    [main] TRACE 06:17:02.245 Temp folder: /tmp/ps3mediaserver
    [main] TRACE 06:17:02.652 Loading configuration file: FreeboxHD.conf
    [main] TRACE 06:17:02.662 Loading configuration file: XBMC.conf
    [main] TRACE 06:17:02.666 Loading configuration file: FreecomMusicPal.conf
    [main] TRACE 06:17:02.669 Loading configuration file: XBOX360.conf
    [main] TRACE 06:17:02.685 Loading configuration file: PS3.conf
    [main] TRACE 06:17:02.705 Loading configuration file: Streamium.conf
    [main] TRACE 06:17:02.708 Loading configuration file: WDTVLive.conf
    [main] TRACE 06:17:02.710 Loading configuration file: N900.conf
    [main] TRACE 06:17:02.712 Loading configuration file: Philips.conf
    [main] TRACE 06:17:02.715 Loading configuration file: Bravia4500.conf
    [main] TRACE 06:17:02.718 Loading configuration file: WMP.conf
    [main] TRACE 06:17:02.720 Loading configuration file: Samsung.conf
    [main] TRACE 06:17:02.722 Loading configuration file: Bravia5500.conf
    [main] TRACE 06:17:02.724 Loading configuration file: Realtek.conf
    [main] TRACE 06:17:02.726 Loading configuration file: Kuro.conf
    [main] TRACE 06:17:02.729 Loading configuration file: Android.conf
    [main] TRACE 06:17:02.731 Loading configuration file: BraviaEX.conf
    [main] TRACE 06:17:02.734 Loading configuration file: PopcornHour.conf
    [main] TRACE 06:17:02.736 Checking font cache... launching simple instance of MPlayer... You may have to wait 60 seconds!
    [main] TRACE 06:17:04.173 Done!
    [main] TRACE 06:17:04.210 Loading plugins from /filers/fvEXT3-01/_applications_/opt/pms/plugins
    [main] TRACE 06:17:04.227 No plugins found
    [main] TRACE 06:17:04.257 Registering transcoding engine FFmpeg Audio
    [main] TRACE 06:17:04.300 Registering transcoding engine MEncoder
    [main] TRACE 06:17:04.300 Registering transcoding engine MPlayer Audio
    [main] TRACE 06:17:04.301 Registering transcoding engine MEncoder Web
    [main] TRACE 06:17:04.301 Registering transcoding engine MPlayer Video Dump
    [main] TRACE 06:17:04.301 Registering transcoding engine MPlayer Web
    [main] TRACE 06:17:04.303 Registering transcoding engine TsMuxer
    [main] TRACE 06:17:04.303 Registering transcoding engine Audio High Fidelity
    [main] TRACE 06:17:04.303 Registering transcoding engine VLC Audio Streaming
    [main] TRACE 06:17:04.304 Registering transcoding engine VLC Video Streaming
    [main] TRACE 06:17:04.304 Registering transcoding engine Raws Thumbnailer
    [main] TRACE 06:17:04.401 Scanning network interface eth0 / eth0
    [main] TRACE 06:17:04.403 Using address /192.168.0.20 found on network interface: name:eth0 (eth0) index: 2 addresses: /192.168.0.20;
    [main] TRACE 06:17:04.403 Created socket: /192.168.0.20:5001
    [main] TRACE 06:17:04.548 Using database located at : /filers/fvEXT3-01/_applications_/opt/pms/database
    [main] TRACE 06:17:04.930 A tiny media library admin interface is available at: http://192.168.0.20:5001/console/home
    [main] TRACE 06:17:05.001 Using the following UUID: d83f2e45-d8b8-3db7-b0ff-a6fc95ce046c
    [New I/O server worker #1-1] TRACE 06:17:08.787 Renderer Playstation 3 found on this address: /192.168.0.15
    [main] TRACE 06:17:09.902 It's ready! You should see the server appear on the XMB
    [New I/O server worker #1-1] TRACE 06:17:10.794 Renderer Playstation 3 has an estimated network speed of: 93 Mb/s
    /opt/pms/debug.log :
    available at : http://dpaste.org/774i/
    B - I tried playing the AVI file with external subtitles (SRT) and the file is playing with subtitles but no sound :-(
    /var/log/pms.log :
    GUI environment not available
    Switching to console mode
    [main] TRACE 06:20:24.967 Starting PS3 Media Server 1.21.0
    [main] TRACE 06:20:24.968 by shagrath / 2008-2011
    [main] TRACE 06:20:24.968 http://ps3mediaserver.org
    [main] TRACE 06:20:24.968 http://ps3mediaserver.blogspot.com
    [main] TRACE 06:20:24.968 http://code.google.com/p/ps3mediaserver
    [main] TRACE 06:20:24.969
    [main] TRACE 06:20:24.969 Java: 1.6.0_22-Sun Microsystems Inc.
    [main] TRACE 06:20:24.969 OS: Linux amd64 2.6.37-ARCH
    [main] TRACE 06:20:24.969 Encoding: UTF-8
    [main] TRACE 06:20:24.969 PMS.conf: /filers/fvEXT3-01/_applications_/opt/pms/PMS.conf
    [main] TRACE 06:20:24.969 Working directory: /filers/fvEXT3-01/_applications_/opt/pms
    [main] TRACE 06:20:24.973 Temp folder: /tmp/ps3mediaserver
    [main] TRACE 06:20:25.038 Loading configuration file: FreeboxHD.conf
    [main] TRACE 06:20:25.040 Loading configuration file: XBMC.conf
    [main] TRACE 06:20:25.041 Loading configuration file: FreecomMusicPal.conf
    [main] TRACE 06:20:25.044 Loading configuration file: XBOX360.conf
    [main] TRACE 06:20:25.047 Loading configuration file: PS3.conf
    [main] TRACE 06:20:25.055 Loading configuration file: Streamium.conf
    [main] TRACE 06:20:25.057 Loading configuration file: WDTVLive.conf
    [main] TRACE 06:20:25.059 Loading configuration file: N900.conf
    [main] TRACE 06:20:25.061 Loading configuration file: Philips.conf
    [main] TRACE 06:20:25.063 Loading configuration file: Bravia4500.conf
    [main] TRACE 06:20:25.065 Loading configuration file: WMP.conf
    [main] TRACE 06:20:25.068 Loading configuration file: Samsung.conf
    [main] TRACE 06:20:25.069 Loading configuration file: Bravia5500.conf
    [main] TRACE 06:20:25.071 Loading configuration file: Realtek.conf
    [main] TRACE 06:20:25.073 Loading configuration file: Kuro.conf
    [main] TRACE 06:20:25.076 Loading configuration file: Android.conf
    [main] TRACE 06:20:25.077 Loading configuration file: BraviaEX.conf
    [main] TRACE 06:20:25.080 Loading configuration file: PopcornHour.conf
    [main] TRACE 06:20:25.082 Checking font cache... launching simple instance of MPlayer... You may have to wait 60 seconds!
    [main] TRACE 06:20:25.144 Done!
    [main] TRACE 06:20:25.153 Loading plugins from /filers/fvEXT3-01/_applications_/opt/pms/plugins
    [main] TRACE 06:20:25.153 No plugins found
    [main] TRACE 06:20:25.160 Registering transcoding engine FFmpeg Audio
    [main] TRACE 06:20:25.166 Registering transcoding engine MEncoder
    [main] TRACE 06:20:25.167 Registering transcoding engine MPlayer Audio
    [main] TRACE 06:20:25.167 Registering transcoding engine MEncoder Web
    [main] TRACE 06:20:25.167 Registering transcoding engine MPlayer Video Dump
    [main] TRACE 06:20:25.168 Registering transcoding engine MPlayer Web
    [main] TRACE 06:20:25.169 Registering transcoding engine TsMuxer
    [main] TRACE 06:20:25.169 Registering transcoding engine Audio High Fidelity
    [main] TRACE 06:20:25.170 Registering transcoding engine VLC Audio Streaming
    [main] TRACE 06:20:25.170 Registering transcoding engine VLC Video Streaming
    [main] TRACE 06:20:25.170 Registering transcoding engine Raws Thumbnailer
    [main] TRACE 06:20:25.223 Scanning network interface eth0 / eth0
    [main] TRACE 06:20:25.224 Using address /192.168.0.20 found on network interface: name:eth0 (eth0) index: 2 addresses: /192.168.0.20;
    [main] TRACE 06:20:25.224 Created socket: /192.168.0.20:5001
    [main] TRACE 06:20:25.279 Using database located at : /filers/fvEXT3-01/_applications_/opt/pms/database
    [main] TRACE 06:20:26.010 A tiny media library admin interface is available at: http://192.168.0.20:5001/console/home
    [main] TRACE 06:20:26.017 Using the following UUID: d83f2e45-d8b8-3db7-b0ff-a6fc95ce046c
    [New I/O server worker #1-1] TRACE 06:20:28.867 Renderer Playstation 3 found on this address: /192.168.0.15
    [New I/O server worker #1-1] TRACE 06:20:30.872 Renderer Playstation 3 has an estimated network speed of: 93 Mb/s
    [main] TRACE 06:20:32.488 It's ready! You should see the server appear on the XMB
    [New I/O server worker #1-6] TRACE 06:20:56.875 Starting transcode/remux of test with subs.avi
    So, obviously here, the only thing which changes from before was that, this time, the PS3 Media Server did a transcode/remux of the file (for the subtitles to be streamed)
    /opt/pms/debug.log :
    available at : http://dpaste.org/6XMI/
    I have pasted the complete debug.log but I believe the problem is around this :
    [New I/O server worker #1-6] DEBUG 06:20:56.874 Opened request handler on socket /192.168.0.15:64494 // Playstation 3
    [New I/O server worker #1-6] DEBUG 06:20:56.874 Request: HTTP/1.0 : HEAD : get/0$0$4$0/test+with+subs.avi
    [New I/O server worker #1-6] DEBUG 06:20:56.874 Received on socket: Accept-Encoding: identity
    [New I/O server worker #1-6] DEBUG 06:20:56.874 Received on socket: Cache-Control: no-cache
    [New I/O server worker #1-6] DEBUG 06:20:56.874 Received on socket: Connection: close
    [New I/O server worker #1-6] DEBUG 06:20:56.874 Received on socket: Host: 192.168.0.20:5001
    [New I/O server worker #1-6] DEBUG 06:20:56.874 Received on socket: User-Agent: PLAYSTATION 3
    [New I/O server worker #1-6] INFO 06:20:56.874 HTTP: get/0$0$4$0/test+with+subs.avi / 0-0
    [New I/O server worker #1-6] DEBUG 06:20:56.874 Searching for objectId: 0$0$4$0 with children option: false
    [New I/O server worker #1-6] DEBUG 06:20:56.875 Asked stream chunk [0-0] timeseek: 0.0 of test with subs.avi and player MEncoder
    [New I/O server worker #1-6] TRACE 06:20:56.875 Starting transcode/remux of test with subs.avi
    [New I/O server worker #1-6] DEBUG 06:20:56.875 Looking for an audio track with lang: eng
    [New I/O server worker #1-6] DEBUG 06:20:56.883 Looking for an audio track with lang: fre
    [New I/O server worker #1-6] DEBUG 06:20:56.884 Looking for an audio track with lang: jpn
    [New I/O server worker #1-6] DEBUG 06:20:56.886 Looking for an audio track with lang: ger
    [New I/O server worker #1-6] DEBUG 06:20:56.887 Looking for an audio track with lang: und
    [New I/O server worker #1-6] DEBUG 06:20:56.888 Matched audio track: Audio: MP3 / lang: und / ID: 1
    [New I/O server worker #1-6] DEBUG 06:20:56.888 Search a match for: und with fre and off
    [New I/O server worker #1-6] DEBUG 06:20:56.889 Search a match for: und with fr and off
    [New I/O server worker #1-6] DEBUG 06:20:56.889 Search a match for: und with eng and off
    [New I/O server worker #1-6] DEBUG 06:20:56.890 Search a match for: und with en and off
    [New I/O server worker #1-6] DEBUG 06:20:56.891 Found subtitles track: Sub: SubRip / lang: und / ID: 100 / FILE: /srv/shares/test_with_sub/test with subs.srt
    [New I/O server worker #1-6] DEBUG 06:20:56.891 Found external file: /srv/shares/test_with_sub/test with subs.srt
    [New I/O server worker #1-6] DEBUG 06:20:56.892 channels=2
    [mkfifo] INFO 06:20:56.979 Starting mkfifo --mode=777 /tmp/ps3mediaserver/mencoder1300252856978
    [mkfifo] INFO 06:20:56.995 Unix process ID (mkfifo): 4390
    [mencoder] INFO 06:20:57.029 Starting mencoder -ss 0 -quiet /srv/shares/test_with_sub/test with subs.avi -quiet -quiet -oac lavc -of mpeg -quiet -quiet -mpegopts format=mpeg2:muxrate=500000:vbuf_size=1194:abuf_size=64 -ovc lavc -channels 2 -lavdopts debug=0:threads=4 -lavcopts autoaspect=1:vcodec=mpeg2video:acodec=ac3:abitrate=256:threads=4:keyint=1:vqscale=1:vqmin=2 -spuaa 3 -subfont-text-scale 3 -subfont-outline 1 -subfont-blur 1 -subpos 98 -quiet -quiet -sid 100 -quiet -quiet -ofps 24000/1001 -sub /srv/shares/test_with_sub/test with subs.srt -utf8 -mc 0 -noskip -af lavcresample=48000 -srate 48000 -o /tmp/ps3mediaserver/mencoder1300252856978
    [mencoder] INFO 06:20:57.048 Reading pipe: /tmp/ps3mediaserver/mencoder1300252856978
    [mencoder] DEBUG 06:20:57.049 Opening file /tmp/ps3mediaserver/mencoder1300252856978 for reading...
    [New I/O server worker #1-6] DEBUG 06:20:57.129 Sleeping for 6000 milliseconds
    [mencoder] INFO 06:20:57.395 Attaching thread: mencoder
    [Timer-1] DEBUG 06:20:57.396 Buffered Space: 0 bytes / inputs: 0
    [mencoder] INFO 06:20:57.396 Unix process ID (mencoder): 4395
    [Thread-30] DEBUG 06:20:57.396 MEncoder SVN-r32792-4.5.2 (C) 2000-2011 MPlayer Team
    [Thread-30] DEBUG 06:20:57.397 161 audio & 351 video codecs
    [Thread-30] DEBUG 06:20:57.397 success: format: 0 data: 0x0 - 0x15db931a
    [Thread-30] DEBUG 06:20:57.397 AVI file format detected.
    [Thread-30] DEBUG 06:20:57.397 [aviheader] Video stream found, -vid 0
    [Thread-30] DEBUG 06:20:57.397 [aviheader] Audio stream found, -aid 1
    [Thread-30] DEBUG 06:20:57.397 VIDEO: [XVID] 624x352 24bpp 23.976 fps 977.5 kbps (119.3 kbyte/s)
    [Thread-30] DEBUG 06:20:57.397 [V] filefmt:3 fourcc:0x44495658 size:624x352 fps:23.976 ftime:=0.0417
    [Thread-30] DEBUG 06:20:57.397 ==========================================================================
    [Thread-30] DEBUG 06:20:57.397 Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
    [Thread-30] DEBUG 06:20:57.397 AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
    [Thread-30] DEBUG 06:20:57.397 Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
    [Thread-30] DEBUG 06:20:57.397 ==========================================================================
    [Thread-30] DEBUG 06:20:57.397 PACKET SIZE: 2048 bytes, deltascr: 884
    [Thread-30] DEBUG 06:20:57.397 Opening video filter: [expand osd=1]
    [Thread-30] DEBUG 06:20:57.397 Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
    [Thread-30] DEBUG 06:20:57.397 ==========================================================================
    [Thread-30] DEBUG 06:20:57.397 Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    [Thread-30] DEBUG 06:20:57.403 Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
    [Thread-30] DEBUG 06:20:57.403 ==========================================================================
    [Thread-27] DEBUG 06:20:57.403 [ac3 @ 0xd37ca0]No channel layout specified. The encoder will guess the layout, but it might be incorrect.
    [Thread-27] DEBUG 06:20:57.437 Limiting audio preload to 0.4s.
    [Thread-27] DEBUG 06:20:57.437 Increasing audio density to 4.
    [Thread-30] DEBUG 06:20:57.463 Movie-Aspect is 1.77:1 - prescaling to correct movie aspect.
    [Thread-30] DEBUG 06:20:57.463 videocodec: libavcodec (624x352 fourcc=3267706d [mpg2])
    [Thread-30] DEBUG 06:20:57.463 [VE_LAVC] Using constant qscale = 1.000000 (VBR).
    [Thread-30] DEBUG 06:20:57.617 Writing header...
    [Timer-1] DEBUG 06:20:59.396 Buffered Space: 26595328 bytes / inputs: 0
    [Thread-28] DEBUG 06:21:01.227 freeMemory: 25791584
    [Thread-28] DEBUG 06:21:01.227 totalMemory: 81592320
    [Thread-28] DEBUG 06:21:01.228 maxMemory: 715849728
    [Thread-28] DEBUG 06:21:01.228 Extending buffer to 419430400
    [Timer-1] DEBUG 06:21:01.397 Buffered Space: 49999872 bytes / inputs: 0
    [Thread-28] DEBUG 06:21:01.726 Done extending
    Thing is, I do not have the same issue with files that are not (yet) MP3-Audio powered, for instance :
    General
    Complete name : /srv/shares/media03/directories/toto.avi
    Format : AVI
    Format/Info : Audio Video Interleave
    Format profile : OpenDML
    Format settings : rec
    File size : 1.59 GiB
    Duration : 1h 46mn
    Overall bit rate : 2 140 Kbps
    Writing application : AVI-Mux GUI 1.17.8.3, Feb 16 201019:42:50
    Video
    ID : 0
    Format : MPEG-4 Visual
    Format profile : Advanced Simple@L5
    Format settings, BVOP : 2
    Format settings, QPel : Yes
    Format settings, GMC : No warppoints
    Format settings, Matrix : Default (H.263)
    Codec ID : XVID
    Codec ID/Hint : XviD
    Duration : 1h 46mn
    Bit rate : 1 620 Kbps
    Width : 1 280 pixels
    Height : 544 pixels
    Display aspect ratio : 2.35:1
    Frame rate : 23.976 fps
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Compression mode : Lossy
    Bits/(Pixel*Frame) : 0.097
    Stream size : 1.20 GiB (76%)
    Writing library : XviD 1.2.1 (UTC 2008-12-04)
    Audio #1
    ID : 1
    Format : AC-3
    Format/Info : Audio Coding 3
    Mode extension : CM (complete main)
    Codec ID : 2000
    Duration : 1h 46mn
    Bit rate mode : Constant
    Bit rate : 384 Kbps
    Channel(s) : 6 channels
    Channel positions : Front: L C R, Side: L R, LFE
    Sampling rate : 48.0 KHz
    Bit depth : 16 bits
    Compression mode : Lossy
    Stream size : 292 MiB (18%)
    Alignment : Aligned on interleaves
    Interleave, duration : 64 ms (1.53 video frames)
    Interleave, preload duration : 192 ms
    Title : UW 6ch audio
    Audio #2
    ID : 2
    Format : AC-3
    Format/Info : Audio Coding 3
    Mode extension : CM (complete main)
    Codec ID : 2000
    Duration : 1h 46mn
    Bit rate mode : Constant
    Bit rate : 128 Kbps
    Channel(s) : 2 channels
    Channel positions : Front: L R
    Sampling rate : 48.0 KHz
    Bit depth : 16 bits
    Compression mode : Lossy
    Stream size : 97.4 MiB (6%)
    Alignment : Aligned on interleaves
    Interleave, duration : 64 ms (1.53 video frames)
    Interleave, preload duration : 192 ms
    Title : UW 2ch audio
    This file is well played by PS3 Media Server.
    I am quite confused with this issue ; did anyone experienced the same thing ?
    Best Regards,

    Having the same problem. I'm watching all of my movies without subs now, because transcoding kills the 5.1 audio (no problems with 2 channel audio). A workaround is posted in the comments of the pms-svn package.
    I will post the URL to this thread to another thread with probably the same problem (mplayer/x264). I have not yet seen a real solution to this, and I'm not really familiar with the bugzilla's from both projects.
    Other threads with similar problems:
    https://bbs.archlinux.org/viewtopic.php?id=112219 (devede also uses mplayer and x264)
    https://bugs.archlinux.org/task/22654 (related bug in Archlinux)
    http://bugzilla.mplayerhq.hu/show_bug.cgi?id=1865 (related bug in mplayer)
    https://bbs.archlinux.org/viewtopic.php?id=115165 (this thread)
    Another workaround might be to trick pms into using ffmpeg or vlc rather than mencoder. I'm also streaming to a ps3 - I didn't try it, but it could be as easy as temporarily changing settings inside the profile for a ps3-client.
    Last edited by zenlord (2011-03-22 16:15:38)

  • Running mplayer at boot with systemctl. fails with alsa-lib error

    I am running Arch ARM on a raspberry pi and would like to use it as a headless music player.
    I am trying to run mplayer in slave mode at start up and have in read from a fifo pipe which I could write to over SSH.
    I have written this mplayer.service file:
    [Unit]
    Description='mplayer service'
    [Service]
    ExecStart=/usr/bin/tmux new-session -d -s mplayer 'mplayer -idle -input file=/systemdservice/mplayerfifo /systemdservice/1.mp3 &> /systemdservice/mplayererror.log'
    User=user
    Type=forking
    [Install]
    WantedBy=multi-user.target
    When I start this service with 'sudo systemctl start mplayer.service' I get the following output:
    MPlayer SVN-r36285-4.8.1 (C) 2000-2013 MPlayer Team
    Cannot test OS support for SSE, disabling to be safe.
    205 audio & 424 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 /systemdservice/1.mp3.
    libavformat version 55.7.100 (internal)
    Audio only file format detected.
    Load subtitles in /systemdservice/
    ==========================================================================
    Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
    AUDIO: 44100 Hz, 2 ch, s16le, 32.0 kbit/2.27% (ratio: 4000->176400)
    Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III)
    ==========================================================================
    [AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
    [AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card '1'
    [AO_ALSA] alsa-lib: conf.c:4248:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
    [AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings
    [AO_ALSA] alsa-lib: conf.c:4248:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
    [AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer) error evaluating name
    [AO_ALSA] alsa-lib: conf.c:4248:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
    [AO_ALSA] alsa-lib: conf.c:4727:(snd_config_expand) Evaluate error: No such file or directory
    [AO_ALSA] alsa-lib: pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM sysdefault
    [AO_ALSA] Playback open error: No such file or directory
    AO: [pulse] Init failed: Connection refused
    [JACK] cannot open server
    [AO SDL] Samplerate: 44100Hz Channels: Stereo Format s16le
    [AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card '1'
    [AO_ALSA] alsa-lib: conf.c:4248:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
    [AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings
    [AO_ALSA] alsa-lib: conf.c:4248:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
    [AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer) error evaluating name
    [AO_ALSA] alsa-lib: conf.c:4248:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
    [AO_ALSA] alsa-lib: conf.c:4727:(snd_config_expand) Evaluate error: No such file or directory
    [AO_ALSA] alsa-lib: pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM sysdefault
    [AO SDL] Unable to open audio: No available audio device
    DVB card number must be between 1 and 4
    AO: [null] 44100Hz 2ch s16le (2 bytes per sample)
    Video: no video
    Starting playback...
    A: 0.1 (00.0) of 1567.0 (26:07.0) ??,?% [J
    A: 0.1 (00.0) of 1567.0 (26:07.0) ??,?% [J
    MPlayer interrupted by signal 2 in module: play_audio
    A: 4.5 (04.5) of 315.0 (05:15.0) 1.7% [J
    Exiting... (Quit)
    mplayer starts within a tmux window but I don't get any sound and have to stop mplayer from within tmux with CTRL+C which ends the process.
    interestingly  when as user I run:
    /usr/bin/tmux new-session -d -s mplayer 'mplayer -idle -input file=/systemdservice/mplayerfifo /systemdservice/1.mp3 &> /systemdservice/mplayererror.log'
    it works perfectly.
    If in mplayer.service I change the user  to root it also works perfectly.
    user is a member of audio group.
    I am confused as to what is causing this problem which appears due to a limit of users audio group privilages when a process is started via systemd.
    Any help appreciated.
    Thanks in advance.
    Last edited by epoynton (2013-10-30 21:44:43)

    Have you tried setting the audio output driver for mplayer explicitly? See:
    mplayer -ao help
    I would try
    -ao alsa
    ALSA doesn't use /dev/dsp anymore I don't think. On a Pi you will also need to make sure the mixer is set with amixer like:
    amixer cset #
    You can use
    aplay -l
    to see the available device IDs etc.
    Hope this helps.
    Last edited by Minsc (2013-11-11 17:02:08)

Maybe you are looking for

  • Problem with return true and if statement

    I'm making a ship shooter game and I have a problem with the collision detection for the corners of the stage. When you hold down two of the arrows to move the ship into the corners of the screen, the ship will go past it. The function bellow is what

  • Can't pair iPhone Remote App in 3.0

    After updating to 3.0 I now can't pair my iPhone Remote App with my ATV. I had it paired at one point in the past. Since I've done a factory reset of the ATV and today upgraded to 3.0. The option to even add an iPhone in ATV is greyed out and the opt

  • How to send mass texts on iPhone 4

    I recently got an iPhone 4 on Verizon and send a text to various friends at once except some of them don't get the message or some of them just get it as an MMS message that doesn't say anything. I've heard that you can go to the settings and messagi

  • One Last Question

    I dont think my applet needs to write to any target machine all I want it to do is read from a file on the server. Dows this fall into the same category as applet security and signed applets????? Thanks for helping me

  • I bought Downton Abbey on iTunes, but I have forgotten how to get into it.

    I bought Downton Abbey on iTunes some time ago, but I have been traveling and have forgotten how to get into it?