[solved] mpv & ffmpeg warning

After a sysupdate
[2014-12-05 18:23] [PACMAN] upgraded ffmpeg (1:2.4.4-1 -> 1:2.5-1)
[2014-12-05 18:23] [PACMAN] upgraded mpv (0.7.0-2 -> 0.7.1-1)
I get
Warning: mpv was compiled against a different version of ffmpeg than the shared
library it is linked against. This can expose subtle ABI compatibility issues
and can lead to misbehavior and crashes.
when using mpv. Apart from the warning seems to work fine so far.
I'm using 32-bit Arch with [testing] repos enabled.
Should I report it in the bug tracker or is it OK?
Edit: Reported: https://bugs.archlinux.org/task/43019
Last edited by karol (2014-12-05 19:52:05)

Thanks :-)
I'm afraid something is not right with my e-mail filters, since it's the second time I've missed an ML tread in just a few weeks.
The previous one that slipped by was https://lists.archlinux.org/pipermail/a … 37827.html -> https://lists.archlinux.org/pipermail/a … 37832.html
I'm going to familiarize myself with the gmane thingy http://dir.gmane.org/search.php?match=gmane.linux.arch and interrogate gmail wrt mislabeled e-mails.
Since I can't really blame Allan for this, I'm going to with 'HALP, I got phracked'.

Similar Messages

  • [SOLVED] [mpv] Fallback to software decode SLOW with vo_vdpau/vaapi

    EDIT 02/01/2014: Since mpv 0.3.0, the opengl renderer, which works perfectly fine with software-decoding, now also works with vaapi/vdpau hardware-decoding, so just setting vo=opengl and hwdec=auto should really be enough to utterly avoid the problems I was having back when I made this post. A lot of the "info" I gave later on in the thread is also actually bogus, I'll tweak that in a second.
    I've been reading the documentation for mpv, and there's something I can't quite figure out.
    My CPU isn't especially powerful, so it's important for me to be able to use hardware acceleration where possible. I'm using the proprietary ATI driver; VLC works fine with VA-API, and since I discovered libvdpau-va-gl I've been able to get mpv to work using VDPAU. Obviously, some files (*cough*, Hi10P, *cough*) can't be hardware-accelerated, and this is where my problem/question comes in.
    In my mpv config file, with
    vo=vdpau
    I'm able to play normal h.264 video effortlessly, but when HWaccel isn't available mpv falls back to software-decoding and software scaling (ffmpeg/swscaler, as per the console output). The problem is, with the CPU already working to decode the Hi10P content, my A-V desync skyrockets, and it's all a bit of a mess.
    If I play the same Hi10P file with
    vo=opengl
    , then it doesn't desync at all. I checked the manpage and it says I can concatenate possible video outputs with a comma, and it will try each in turn. Obviously I'd like the not-hardware-decodable content to be rendered using OpenGL, rather than whatever causes them to get fed to "swscaler". So I set the config line to
    vo=vdpau,opengl
    . However - the opengl option never gets used! The non-HW-decodable files still end up being fed to swscaler, and as a result desync wildly, unless I manually set to opengl for that file.
    Is someone here familiar enough with mpv to be able to explain why I might not be getting the behaviour I expect from listing multiple video outputs in the config file; or even better, how I can configure mpv to do what I actually want?
    If there's somewhere else I should be asking this, please let me know. I couldn't find a dedicated mpv forum or anything (or even an IRC channel for questions), but I could have missed something.
    Addition: Here are some console outputs.
    1) Playing an 8-bit h.264 file with vo=vdpau, works fine
    [cplayer] mpv 0.1.7 (C) 2000-2013 mpv/MPlayer/mplayer2 projects
    built on Fri Sep 20 22:59:56 CEST 2013
    [cplayer] Compiled against libavutil version 52.38.100
    [cplayer] Compiled against libavcodec version 55.18.102
    [cplayer] Compiled against libavformat version 55.12.100
    [cplayer] Compiled against libswscale version 2.3.100
    [cfgparser] Reading config file /etc/mpv/mpv.conf
    [cfgparser] : No such file or directory
    [global] get_path('') -> '/home/adam/.mpv'
    [global] get_path('config') -> '/home/adam/.mpv/config'
    [cfgparser] Reading config file /home/adam/.mpv/config
    [cplayer] Configuration: --prefix=/usr --confdir=/etc/mpv --disable-lircc --disable-joystick --disable-radio --disable-radio-capture --disable-radio-v4l2 --disable-rpath --disable-libbs2b --disable-direct3d --disable-corevideo --disable-cocoa --disable-coreaudio
    [cplayer] Command line: 'La Maison en Petits Cubes [niizk].mkv' '-v'
    [global] get_path('input.conf') -> '/home/adam/.mpv/input.conf'
    [input] Falling back on default (hardcoded) input config
    [global] get_path('fonts') -> '/home/adam/.mpv/fonts'
    [global] get_path('fonts') -> '/home/adam/.mpv/fonts'
    [global] get_path('subfont.ttf') -> '/home/adam/.mpv/subfont.ttf'
    [global] get_path('fonts.conf') -> '/home/adam/.mpv/fonts.conf'
    [ass] [ass] Setting up fonts...
    [ass] [ass] Done.
    [global] get_path('La Maison en Petits Cubes [niizk].mkv.conf') -> '/home/adam/.mpv/La Maison en Petits Cubes [niizk].mkv.conf'
    [global] get_path('watch_later/4A9272824A37BC7D608AAD61487C41D9') -> '/home/adam/.mpv/watch_later/4A9272824A37BC7D608AAD61487C41D9'
    [?1h=[cplayer] Playing La Maison en Petits Cubes [niizk].mkv.
    [open] [file] File size is 251122130 bytes
    [open] [stream] [file] La Maison en Petits Cubes [niizk].mkv
    [demuxer] Trying demuxer: edl (force-level: normal)
    [demuxer] Trying demuxer: cue (force-level: normal)
    [demuxer] Trying demuxer: rawaudio (force-level: normal)
    [demuxer] Trying demuxer: rawvideo (force-level: normal)
    [demuxer] Trying demuxer: tv (force-level: normal)
    [demuxer] Trying demuxer: libass (force-level: normal)
    [demuxer] Trying demuxer: mkv (force-level: normal)
    [demux] [mkv] Found the head...
    [demux] [mkv] + a segment...
    [demux] [mkv] /---- [ parsing seek head ] ---------
    [demux] [mkv] |+ segment information...
    [demux] [mkv] | + timecode scale: 1000000
    [demux] [mkv] | + duration: 726.416s
    [demux] [mkv] | + segment uid 86 10 81 37 4e ac f6 dd 91 4b 19 69 97 03 25 c9
    [demux] [mkv] |+ segment tracks...
    [demux] [mkv] | + a track...
    [demux] [mkv] | + Track number: 1
    [demux] [mkv] | + Name: Tsumiki no Ie - La Maison en Petits Cubes
    [demux] [mkv] | + Track type: Video
    [demux] [mkv] | + Video track
    [demux] [mkv] | + Display width: 853
    [demux] [mkv] | + Display height: 480
    [demux] [mkv] | + Pixel width: 704
    [demux] [mkv] | + Pixel height: 480
    [demux] [mkv] | + Codec ID: V_MPEG4/ISO/AVC
    [demux] [mkv] | + CodecPrivate, length 40
    [demux] [mkv] | + Language: und
    [demux] [mkv] | + Default flag: 1
    [demux] [mkv] | + Default duration: 33.367ms ( = 29.970 fps)
    [demux] [mkv] | + a track...
    [demux] [mkv] | + Track number: 2
    [demux] [mkv] | + Name: 2.0 VORBIS
    [demux] [mkv] | + Track type: Audio
    [demux] [mkv] | + Audio track
    [demux] [mkv] | + Sampling frequency: 48000.000000
    [demux] [mkv] | + Channels: 2
    [demux] [mkv] | + Codec ID: A_VORBIS
    [demux] [mkv] | + CodecPrivate, length 3891
    [demux] [mkv] | + Language: und
    [demux] [mkv] | + Default flag: 1
    [demux] [mkv] /---- [ parsing seek head ] ---------
    [stream] stream_seek: Seek to/past EOF: no buffer preloaded.
    [demux] [mkv] \---- [ parsing seek head ] ---------
    [demux] [mkv] \---- [ parsing seek head ] ---------
    [demux] [mkv] |+ found cluster, headers are parsed completely :)
    [demux] [mkv] Aspect: 1.777083
    [demux] [mkv] Track ID 1: video (V_MPEG4/ISO/AVC) "Tsumiki no Ie - La Maison en Petits Cubes"
    [demux] [mkv] Track ID 2: audio (A_VORBIS) "2.0 VORBIS"
    [demuxer] Detected file format: Matroska
    [global] get_path('subfont.ttf') -> '/home/adam/.mpv/subfont.ttf'
    [global] get_path('fonts.conf') -> '/home/adam/.mpv/fonts.conf'
    [ass] [ass] Setting up fonts...
    [ass] [ass] Done.
    [subreader] Load subtitles in .
    [global] get_path('sub/') -> '/home/adam/.mpv/sub/'
    [cplayer] [stream] Video (+) --vid=0 'Tsumiki no Ie - La Maison en Petits Cubes' (h264)
    [cplayer] [stream] Audio (+) --aid=0 (*) '2.0 VORBIS' (vorbis)
    [cplayer] [V] fourcc:0x31637661 size:704x480 fps:29.970
    [vo] X11 opening display: :0
    [vo] vo: X11 running at 1366x768 (":0" => local display)
    [vo] [x11] Detected wm supports NetWM.
    [vo] [x11] Detected wm supports FULLSCREEN state.
    [vo] [x11] Detected wm supports ABOVE state.
    [vo] [x11] Detected wm supports BELOW state.
    [vo] [x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
    [VS] Software VDPAU backend library initialized
    [decvideo] Codec list:
    [decvideo] lavc:h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
    [decvideo] lavc:h264_vdpau (h264) - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration)
    [decvideo] Opening video decoder lavc:h264
    [decvideo] Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [lavc:h264]
    [vo] Disabling DPMS
    [vo] DPMSDisable stat: 1
    [decaudio] Codec list:
    [decaudio] lavc:vorbis - Vorbis
    [decaudio] lavc:libvorbis (vorbis) - libvorbis
    [decaudio] Opening audio decoder lavc:vorbis
    [decaudio] dec_audio: Allocating 8192 + 65536 = 73728 bytes for output buffer.
    [decaudio] INFO: libavcodec "vorbis" init OK!
    [decaudio] Selected audio codec: Vorbis [lavc:vorbis]
    [decaudio] AUDIO: 48000 Hz, 2 ch, floatle
    [decaudio] Building audio filter chain for 48000Hz stereo 2ch floatle -> 0Hz empty 0ch ??...
    [af] Audio filter chain:
    [af] [in] 48000Hz stereo 2ch floatle
    [af] [out] 48000Hz stereo 2ch floatle
    [af] [ao] 0Hz empty 0ch ??
    [af] Audio filter chain:
    [af] [in] 48000Hz stereo 2ch floatle
    [af] [out] 48000Hz stereo 2ch floatle
    [af] [ao] 0Hz empty 0ch ??
    [cplayer] AO: [pulse] 48000Hz stereo 2ch floatle
    [cplayer] AO: Description: PulseAudio audio output
    AO: Author: Lennart Poettering
    [decaudio] Building audio filter chain for 48000Hz stereo 2ch floatle -> 48000Hz stereo 2ch floatle...
    [af] Audio filter chain:
    [af] [in] 48000Hz stereo 2ch floatle
    [af] [out] 48000Hz stereo 2ch floatle
    [af] [ao] 48000Hz stereo 2ch floatle
    [af] Audio filter chain:
    [af] [in] 48000Hz stereo 2ch floatle
    [af] [out] 48000Hz stereo 2ch floatle
    [af] [ao] 48000Hz stereo 2ch floatle
    [cplayer] Starting playback...
    [decvideo] Pixel formats supported by decoder: vaapi_vld vdpau yuv420p
    [decvideo] Pixel formats supported by decoder: vaapi_vld vdpau yuv420p
    [vo] X11 error: BadRequest (invalid request code or no such operation)
    [vo] Type: 0, display: 0x2c2a190, resourceid: 17, serial: 23
    [vo] Error code: 1, request code: a0, minor code: 1
    [decvideo] [ffmpeg] aspect_ratio: 0.000000
    [decvideo] VIDEO: 704x480 29.970 fps 0.0 kbps ( 0.0 kB/s)
    [decvideo] VDec: vo config request - 704 x 480 (vdpau)
    [vf] Trying filter chain:
    [vf] [vo] ???
    [cplayer] Aspect ratio is 1.78:1 - scaling to correct movie aspect.
    [cplayer] VO Config (704x480->853x480,flags=0,0x45C)
    [cplayer] VO: [vdpau] 704x480 => 853x480 vdpau
    [cplayer] VO: Description: VDPAU with X11
    [cplayer] VO: Author: Rajib Mahapatra <[email protected]> and others
    [vo] [vdpau] Got display refresh rate 60.001 Hz.
    [vdpau] If that value looks wrong give the -vo vdpau:fps=X suboption manually.
    [vo] [vdpau] Updating CSC matrix
    [vo] Window size: 853x480
    [vo] Video source: 704x480 (853x480)
    [vo] Video display: (0, 0) 704x480 -> (0, 0) 853x480
    [vo] Video scale: 1.211648/1.000000
    [vo] OSD borders: l=0 t=0 r=0 b=0
    [vo] Video borders: l=0 t=0 r=0 b=0
    [vo] [vdpau] Updating CSC matrix
    [vf] Video filter chain:
    [vf] [vo] 704x480->853x480 vdpau 0 BT.601 (SD)/TV
    [vo] [vdpau] Updating CSC matrix
    [decaudio] Increasing filtered audio buffer size from 0 to 4096
    [decaudio] Increasing filtered audio buffer size from 4096 to 69632
    [decaudio] Increasing filtered audio buffer size from 69632 to 135168
    [decaudio] Increasing filtered audio buffer size from 135168 to 200704
    [decaudio] Increasing filtered audio buffer size from 200704 to 266240
    [decaudio] Increasing filtered audio buffer size from 266240 to 331776
    [decaudio] Increasing filtered audio buffer size from 331776 to 388096
    [vo] [vdpau] Frame shown too early
    [vo] [vdpau] Frame shown too early
    [vo] [vdpau] Frame shown too early
    [vo] [vdpau] Frame shown too early
    [vo] [vdpau] Frame shown too early
    [vo] [vdpau] Frame shown too early
    [vo] [vdpau] Frame shown too early
    2) Playing a 10-bit file via vo=vdpau, desyncs and ultimately doesn't work properly:
    [cplayer] mpv 0.1.7 (C) 2000-2013 mpv/MPlayer/mplayer2 projects
    built on Fri Sep 20 22:59:56 CEST 2013
    [cplayer] Compiled against libavutil version 52.38.100
    [cplayer] Compiled against libavcodec version 55.18.102
    [cplayer] Compiled against libavformat version 55.12.100
    [cplayer] Compiled against libswscale version 2.3.100
    [cfgparser] Reading config file /etc/mpv/mpv.conf
    [cfgparser] : No such file or directory
    [global] get_path('') -> '/home/adam/.mpv'
    [global] get_path('config') -> '/home/adam/.mpv/config'
    [cfgparser] Reading config file /home/adam/.mpv/config
    [cplayer] Configuration: --prefix=/usr --confdir=/etc/mpv --disable-lircc --disable-joystick --disable-radio --disable-radio-capture --disable-radio-v4l2 --disable-rpath --disable-libbs2b --disable-direct3d --disable-corevideo --disable-cocoa --disable-coreaudio
    [cplayer] Command line: '[ANE] Ore no Imouto ga Konna ni Kawaii Wake ga Nai - Ep01 [BDRip 720p x264 Vorbis].mkv' '-v'
    [global] get_path('input.conf') -> '/home/adam/.mpv/input.conf'
    [input] Falling back on default (hardcoded) input config
    [global] get_path('fonts') -> '/home/adam/.mpv/fonts'
    [global] get_path('fonts') -> '/home/adam/.mpv/fonts'
    [global] get_path('subfont.ttf') -> '/home/adam/.mpv/subfont.ttf'
    [global] get_path('fonts.conf') -> '/home/adam/.mpv/fonts.conf'
    [ass] [ass] Setting up fonts...
    [ass] [ass] Done.
    [global] get_path('[ANE] Ore no Imouto ga Konna ni Kawaii Wake ga Nai - Ep01 [BDRip 720p x264 Vorbis].mkv.conf') -> '/home/adam/.mpv/[ANE] Ore no Imouto ga Konna ni Kawaii Wake ga Nai - Ep01 [BDRip 720p x264 Vorbis].mkv.conf'
    [global] get_path('watch_later/99B3F9726EDC41CCFA709D00925EB623') -> '/home/adam/.mpv/watch_later/99B3F9726EDC41CCFA709D00925EB623'
    [?1h=[cplayer] Playing [ANE] Ore no Imouto ga Konna ni Kawaii Wake ga Nai - Ep01 [BDRip 720p x264 Vorbis].mkv.
    [open] [file] File size is 397296634 bytes
    [open] [stream] [file] [ANE] Ore no Imouto ga Konna ni Kawaii Wake ga Nai - Ep01 [BDRip 720p x264 Vorbis].mkv
    [demuxer] Trying demuxer: edl (force-level: normal)
    [demuxer] Trying demuxer: cue (force-level: normal)
    [demuxer] Trying demuxer: rawaudio (force-level: normal)
    [demuxer] Trying demuxer: rawvideo (force-level: normal)
    [demuxer] Trying demuxer: tv (force-level: normal)
    [demuxer] Trying demuxer: libass (force-level: normal)
    [demuxer] Trying demuxer: mkv (force-level: normal)
    [demux] [mkv] Found the head...
    [demux] [mkv] + a segment...
    [demux] [mkv] /---- [ parsing seek head ] ---------
    [demux] [mkv] |+ segment information...
    [demux] [mkv] | + timecode scale: 1000000
    [demux] [mkv] | + duration: 1633.640s
    [demux] [mkv] | + segment uid b4 28 40 4c 87 1a 0e 65 a1 d8 4c d3 cc c3 96 ef
    [demux] [mkv] |+ segment tracks...
    [demux] [mkv] | + a track...
    [demux] [mkv] | + Track number: 1
    [demux] [mkv] | + Track type: Video
    [demux] [mkv] | + Video track
    [demux] [mkv] | + Display width: 1280
    [demux] [mkv] | + Display height: 720
    [demux] [mkv] | + Pixel width: 1280
    [demux] [mkv] | + Pixel height: 720
    [demux] [mkv] | + Codec ID: V_MPEG4/ISO/AVC
    [demux] [mkv] | + CodecPrivate, length 42
    [demux] [mkv] | + Default duration: 41.708ms ( = 23.976 fps)
    [demux] [mkv] | + a track...
    [demux] [mkv] | + Track number: 2
    [demux] [mkv] | + Track type: Audio
    [demux] [mkv] | + Audio track
    [demux] [mkv] | + Sampling frequency: 48000.000000
    [demux] [mkv] | + Channels: 2
    [demux] [mkv] | + Codec ID: A_VORBIS
    [demux] [mkv] | + CodecPrivate, length 4036
    [demux] [mkv] | + Language: jpn
    [demux] [mkv] | + a track...
    [demux] [mkv] | + Track number: 3
    [demux] [mkv] | + Name: Mazui
    [demux] [mkv] | + Track type: Subtitle
    [demux] [mkv] | + Codec ID: S_TEXT/ASS
    [demux] [mkv] | + CodecPrivate, length 2364
    [demux] [mkv] /---- [ parsing chapters ] ---------
    [demux] [mkv] New edition 0
    [demux] [mkv] Default edition flag: 0
    [demux] [mkv] Chapter 0 from 00:00:00.000 to 00:00:00.000, Prologue
    [demux] [mkv] Chapter 1 from 00:01:29.89000000 to 00:00:00.000, Opening
    [demux] [mkv] Chapter 2 from 00:02:59.179000000 to 00:00:00.000, Part A
    [demux] [mkv] Chapter 3 from 00:13:20.800000000 to 00:00:00.000, Part B
    [demux] [mkv] Chapter 4 from 00:25:37.536000000 to 00:00:00.000, Ending
    [demux] [mkv] Chapter 5 from 00:27:07.626000000 to 00:00:00.000, Preview
    [demux] [mkv] \---- [ parsing chapters ] ---------
    [demux] [mkv] /---- [ parsing attachments ] ---------
    [demux] [mkv] Attachment: arial.ttf, application/x-truetype-font, 774476 bytes
    [demux] [mkv] Attachment: ARIAL_0.TTF, application/x-truetype-font, 774476 bytes
    [demux] [mkv] Attachment: BALZANO.TTF, application/x-truetype-font, 51828 bytes
    [demux] [mkv] Attachment: CronosPro-Capt.otf, application/x-truetype-font, 107976 bytes
    [demux] [mkv] Attachment: NeoSansIntel.ttf, application/x-truetype-font, 63764 bytes
    [demux] [mkv] Attachment: AbyssEPTitleFont.ttf, application/x-truetype-font, 79104 bytes
    [demux] [mkv] Attachment: angeleobardo.ttf, application/x-truetype-font, 93660 bytes
    [demux] [mkv] \---- [ parsing attachments ] ---------
    [demux] [mkv] \---- [ parsing seek head ] ---------
    [demux] [mkv] |+ found cluster, headers are parsed completely :)
    [demux] [mkv] Aspect: 1.777778
    [demux] [mkv] Track ID 1: video (V_MPEG4/ISO/AVC)
    [demux] [mkv] Track ID 2: audio (A_VORBIS)
    [demux] [mkv] Track ID 3: subtitles (S_TEXT/ASS) "Mazui"
    [demuxer] Detected file format: Matroska
    [global] get_path('subfont.ttf') -> '/home/adam/.mpv/subfont.ttf'
    [global] get_path('fonts.conf') -> '/home/adam/.mpv/fonts.conf'
    [ass] [ass] Setting up fonts...
    [ass] [ass] Done.
    [subreader] Load subtitles in .
    [global] get_path('sub/') -> '/home/adam/.mpv/sub/'
    [cplayer] [stream] Video (+) --vid=0 (h264)
    [cplayer] [stream] Audio (+) --aid=0 --alang=jpn (*) (vorbis)
    [cplayer] [stream] Subs (+) --sid=0 --slang=eng (*) 'Mazui' (ass)
    [cplayer] [V] fourcc:0x31637661 size:1280x720 fps:23.976
    [vo] X11 opening display: :0
    [vo] vo: X11 running at 1366x768 (":0" => local display)
    [vo] [x11] Detected wm supports NetWM.
    [vo] [x11] Detected wm supports FULLSCREEN state.
    [vo] [x11] Detected wm supports ABOVE state.
    [vo] [x11] Detected wm supports BELOW state.
    [vo] [x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
    [VS] Software VDPAU backend library initialized
    [decvideo] Codec list:
    [decvideo] lavc:h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
    [decvideo] lavc:h264_vdpau (h264) - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration)
    [decvideo] Opening video decoder lavc:h264
    [decvideo] Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [lavc:h264]
    [vo] Disabling DPMS
    [vo] DPMSDisable stat: 1
    [decaudio] Codec list:
    [decaudio] lavc:vorbis - Vorbis
    [decaudio] lavc:libvorbis (vorbis) - libvorbis
    [decaudio] Opening audio decoder lavc:vorbis
    [decaudio] dec_audio: Allocating 8192 + 65536 = 73728 bytes for output buffer.
    [decaudio] INFO: libavcodec "vorbis" init OK!
    [decaudio] Selected audio codec: Vorbis [lavc:vorbis]
    [decaudio] AUDIO: 48000 Hz, 2 ch, floatle
    [decaudio] Building audio filter chain for 48000Hz stereo 2ch floatle -> 0Hz empty 0ch ??...
    [af] Audio filter chain:
    [af] [in] 48000Hz stereo 2ch floatle
    [af] [out] 48000Hz stereo 2ch floatle
    [af] [ao] 0Hz empty 0ch ??
    [af] Audio filter chain:
    [af] [in] 48000Hz stereo 2ch floatle
    [af] [out] 48000Hz stereo 2ch floatle
    [af] [ao] 0Hz empty 0ch ??
    [cplayer] AO: [pulse] 48000Hz stereo 2ch floatle
    [cplayer] AO: Description: PulseAudio audio output
    AO: Author: Lennart Poettering
    [decaudio] Building audio filter chain for 48000Hz stereo 2ch floatle -> 48000Hz stereo 2ch floatle...
    [af] Audio filter chain:
    [af] [in] 48000Hz stereo 2ch floatle
    [af] [out] 48000Hz stereo 2ch floatle
    [af] [ao] 48000Hz stereo 2ch floatle
    [af] Audio filter chain:
    [af] [in] 48000Hz stereo 2ch floatle
    [af] [out] 48000Hz stereo 2ch floatle
    [af] [ao] 48000Hz stereo 2ch floatle
    [osd] Subtitle filter chain: ass (ass)
    [cplayer] Starting playback...
    [decvideo] [ffmpeg/h264] get_buffer() failed
    [decvideo] [ffmpeg/h264] thread_get_buffer() failed
    [decvideo] [ffmpeg/h264] decode_slice_header error
    [decvideo] [ffmpeg/h264] no frame!
    [decvideo] Error while decoding frame!
    [decvideo] Error using hardware decoding, falling back to software decoding.
    [decvideo] [ffmpeg] aspect_ratio: 0.000000
    [decvideo] VIDEO: 1280x720 23.976 fps 0.0 kbps ( 0.0 kB/s)
    [decvideo] VDec: vo config request - 1280 x 720 (420p10)
    [vf] Trying filter chain:
    [vf] [vo] ???
    [decvideo] Could not find matching colorspace - retrying with -vf scale...
    [vf] Opening video filter: [scale]
    [vf] SwScale params: -1 x -1 (-1=no scaling)
    [vf] Trying filter chain:
    [vf] [scale] ??? -> ???
    [vf] [vo] ???
    [cplayer] VO Config (1280x720->1280x720,flags=0,0x409)
    [global] [ffmpeg/swscaler] using unscaled yuv420p10le -> yuv420p special converter
    [cplayer] VO: [vdpau] 1280x720 => 1280x720 420p
    [cplayer] VO: Description: VDPAU with X11
    [cplayer] VO: Author: Rajib Mahapatra <[email protected]> and others
    [vo] [vdpau] Got display refresh rate 60.001 Hz.
    [vdpau] If that value looks wrong give the -vo vdpau:fps=X suboption manually.
    [vo] [vdpau] Updating CSC matrix
    [vo] Window size: 1280x720
    [vo] Video source: 1280x720 (1280x720)
    [vo] Video display: (0, 0) 1280x720 -> (0, 0) 1280x720
    [vo] Video scale: 1.000000/1.000000
    [vo] OSD borders: l=0 t=0 r=0 b=0
    [vo] Video borders: l=0 t=0 r=0 b=0
    [vo] [vdpau] Updating CSC matrix
    [vf] Video filter chain:
    [vf] [scale] 1280x720 420p10 0 BT.709 (HD)/TV -> 1280x720 420p 0 BT.709 (HD)/TV
    [vf] [vo] 1280x720 420p 0 BT.709 (HD)/TV
    [vo] [vdpau] Updating CSC matrix
    [decaudio] Increasing filtered audio buffer size from 0 to 4096
    [decaudio] Increasing filtered audio buffer size from 4096 to 69632
    [decaudio] Increasing filtered audio buffer size from 69632 to 135168
    [decaudio] Increasing filtered audio buffer size from 135168 to 200704
    [decaudio] Increasing filtered audio buffer size from 200704 to 266240
    [decaudio] Increasing filtered audio buffer size from 266240 to 331776
    [decaudio] Increasing filtered audio buffer size from 331776 to 388096
    [vo] [vdpau] Frame shown too early
    [vo] [vdpau] Frame shown too early
    [vo] [vdpau] Frame shown too early
    [vo] [vdpau] Frame shown too early
    3) Playing a 10-bit file through vo=opengl, works fine
    [cplayer] mpv 0.1.7 (C) 2000-2013 mpv/MPlayer/mplayer2 projects
    built on Fri Sep 20 22:59:56 CEST 2013
    [cplayer] Compiled against libavutil version 52.38.100
    [cplayer] Compiled against libavcodec version 55.18.102
    [cplayer] Compiled against libavformat version 55.12.100
    [cplayer] Compiled against libswscale version 2.3.100
    [cfgparser] Reading config file /etc/mpv/mpv.conf
    [cfgparser] : No such file or directory
    [global] get_path('') -> '/home/adam/.mpv'
    [global] get_path('config') -> '/home/adam/.mpv/config'
    [cfgparser] Reading config file /home/adam/.mpv/config
    [cplayer] Configuration: --prefix=/usr --confdir=/etc/mpv --disable-lircc --disable-joystick --disable-radio --disable-radio-capture --disable-radio-v4l2 --disable-rpath --disable-libbs2b --disable-direct3d --disable-corevideo --disable-cocoa --disable-coreaudio
    [cplayer] Command line: '[ANE] Ore no Imouto ga Konna ni Kawaii Wake ga Nai - Ep01 [BDRip 720p x264 Vorbis].mkv' '-v'
    [global] get_path('input.conf') -> '/home/adam/.mpv/input.conf'
    [input] Falling back on default (hardcoded) input config
    [global] get_path('fonts') -> '/home/adam/.mpv/fonts'
    [global] get_path('fonts') -> '/home/adam/.mpv/fonts'
    [global] get_path('subfont.ttf') -> '/home/adam/.mpv/subfont.ttf'
    [global] get_path('fonts.conf') -> '/home/adam/.mpv/fonts.conf'
    [ass] [ass] Setting up fonts...
    [ass] [ass] Done.
    [global] get_path('[ANE] Ore no Imouto ga Konna ni Kawaii Wake ga Nai - Ep01 [BDRip 720p x264 Vorbis].mkv.conf') -> '/home/adam/.mpv/[ANE] Ore no Imouto ga Konna ni Kawaii Wake ga Nai - Ep01 [BDRip 720p x264 Vorbis].mkv.conf'
    [global] get_path('watch_later/99B3F9726EDC41CCFA709D00925EB623') -> '/home/adam/.mpv/watch_later/99B3F9726EDC41CCFA709D00925EB623'
    [?1h=[cplayer] Playing [ANE] Ore no Imouto ga Konna ni Kawaii Wake ga Nai - Ep01 [BDRip 720p x264 Vorbis].mkv.
    [open] [file] File size is 397296634 bytes
    [open] [stream] [file] [ANE] Ore no Imouto ga Konna ni Kawaii Wake ga Nai - Ep01 [BDRip 720p x264 Vorbis].mkv
    [demuxer] Trying demuxer: edl (force-level: normal)
    [demuxer] Trying demuxer: cue (force-level: normal)
    [demuxer] Trying demuxer: rawaudio (force-level: normal)
    [demuxer] Trying demuxer: rawvideo (force-level: normal)
    [demuxer] Trying demuxer: tv (force-level: normal)
    [demuxer] Trying demuxer: libass (force-level: normal)
    [demuxer] Trying demuxer: mkv (force-level: normal)
    [demux] [mkv] Found the head...
    [demux] [mkv] + a segment...
    [demux] [mkv] /---- [ parsing seek head ] ---------
    [demux] [mkv] |+ segment information...
    [demux] [mkv] | + timecode scale: 1000000
    [demux] [mkv] | + duration: 1633.640s
    [demux] [mkv] | + segment uid b4 28 40 4c 87 1a 0e 65 a1 d8 4c d3 cc c3 96 ef
    [demux] [mkv] |+ segment tracks...
    [demux] [mkv] | + a track...
    [demux] [mkv] | + Track number: 1
    [demux] [mkv] | + Track type: Video
    [demux] [mkv] | + Video track
    [demux] [mkv] | + Display width: 1280
    [demux] [mkv] | + Display height: 720
    [demux] [mkv] | + Pixel width: 1280
    [demux] [mkv] | + Pixel height: 720
    [demux] [mkv] | + Codec ID: V_MPEG4/ISO/AVC
    [demux] [mkv] | + CodecPrivate, length 42
    [demux] [mkv] | + Default duration: 41.708ms ( = 23.976 fps)
    [demux] [mkv] | + a track...
    [demux] [mkv] | + Track number: 2
    [demux] [mkv] | + Track type: Audio
    [demux] [mkv] | + Audio track
    [demux] [mkv] | + Sampling frequency: 48000.000000
    [demux] [mkv] | + Channels: 2
    [demux] [mkv] | + Codec ID: A_VORBIS
    [demux] [mkv] | + CodecPrivate, length 4036
    [demux] [mkv] | + Language: jpn
    [demux] [mkv] | + a track...
    [demux] [mkv] | + Track number: 3
    [demux] [mkv] | + Name: Mazui
    [demux] [mkv] | + Track type: Subtitle
    [demux] [mkv] | + Codec ID: S_TEXT/ASS
    [demux] [mkv] | + CodecPrivate, length 2364
    [demux] [mkv] /---- [ parsing chapters ] ---------
    [demux] [mkv] New edition 0
    [demux] [mkv] Default edition flag: 0
    [demux] [mkv] Chapter 0 from 00:00:00.000 to 00:00:00.000, Prologue
    [demux] [mkv] Chapter 1 from 00:01:29.89000000 to 00:00:00.000, Opening
    [demux] [mkv] Chapter 2 from 00:02:59.179000000 to 00:00:00.000, Part A
    [demux] [mkv] Chapter 3 from 00:13:20.800000000 to 00:00:00.000, Part B
    [demux] [mkv] Chapter 4 from 00:25:37.536000000 to 00:00:00.000, Ending
    [demux] [mkv] Chapter 5 from 00:27:07.626000000 to 00:00:00.000, Preview
    [demux] [mkv] \---- [ parsing chapters ] ---------
    [demux] [mkv] /---- [ parsing attachments ] ---------
    [demux] [mkv] Attachment: arial.ttf, application/x-truetype-font, 774476 bytes
    [demux] [mkv] Attachment: ARIAL_0.TTF, application/x-truetype-font, 774476 bytes
    [demux] [mkv] Attachment: BALZANO.TTF, application/x-truetype-font, 51828 bytes
    [demux] [mkv] Attachment: CronosPro-Capt.otf, application/x-truetype-font, 107976 bytes
    [demux] [mkv] Attachment: NeoSansIntel.ttf, application/x-truetype-font, 63764 bytes
    [demux] [mkv] Attachment: AbyssEPTitleFont.ttf, application/x-truetype-font, 79104 bytes
    [demux] [mkv] Attachment: angeleobardo.ttf, application/x-truetype-font, 93660 bytes
    [demux] [mkv] \---- [ parsing attachments ] ---------
    [demux] [mkv] \---- [ parsing seek head ] ---------
    [demux] [mkv] |+ found cluster, headers are parsed completely :)
    [demux] [mkv] Aspect: 1.777778
    [demux] [mkv] Track ID 1: video (V_MPEG4/ISO/AVC)
    [demux] [mkv] Track ID 2: audio (A_VORBIS)
    [demux] [mkv] Track ID 3: subtitles (S_TEXT/ASS) "Mazui"
    [demuxer] Detected file format: Matroska
    [global] get_path('subfont.ttf') -> '/home/adam/.mpv/subfont.ttf'
    [global] get_path('fonts.conf') -> '/home/adam/.mpv/fonts.conf'
    [ass] [ass] Setting up fonts...
    [ass] [ass] Done.
    [subreader] Load subtitles in .
    [global] get_path('sub/') -> '/home/adam/.mpv/sub/'
    [cplayer] [stream] Video (+) --vid=0 (h264)
    [cplayer] [stream] Audio (+) --aid=0 --alang=jpn (*) (vorbis)
    [cplayer] [stream] Subs (+) --sid=0 --slang=eng (*) 'Mazui' (ass)
    [cplayer] [V] fourcc:0x31637661 size:1280x720 fps:23.976
    [vo] X11 opening display: :0
    [vo] vo: X11 running at 1366x768 (":0" => local display)
    [vo] [x11] Detected wm supports NetWM.
    [vo] [x11] Detected wm supports FULLSCREEN state.
    [vo] [x11] Detected wm supports ABOVE state.
    [vo] [x11] Detected wm supports BELOW state.
    [vo] [x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
    [vo] [gl] GLX chose visual with ID 0x29
    [vo] [gl] Detected OpenGL 3.0.
    [vo] GL_VENDOR='ATI Technologies Inc.'
    [vo] GL_RENDERER='AMD Radeon HD 7340 Graphics'
    [vo] GL_VERSION='3.0.12441 Compatibility Profile Context 13.20.11'
    [vo] GL_SHADING_LANGUAGE_VERSION='4.30'
    [vo] [gl] OpenGL legacy compat. found.
    [vo] [gl] Detected OpenGL features: [Basic OpenGL] [Legacy OpenGL] [OpenGL 2.0] [OpenGL 2.1] [OpenGL 3.0] [Framebuffers] [VAOs] [sRGB textures] [sRGB framebuffers] [Float textures] [RG textures] [NO_SW]
    [vo/opengl] Testing user-set FBO format
    [vo/opengl] Create FBO: 16x16
    [vo/opengl] 8-bit precision: 0x0p+0
    [vo/opengl] 16-bit precision: 0x1.0001p-9
    [vo/opengl] full float: 0x1.01p-9
    [vo/opengl] out of range value (2): 0x1p+0
    [vo/opengl] Display depth: R=8, G=8, B=8
    [vo/opengl] Testing user-set FBO format
    [vo/opengl] Create FBO: 16x16
    [vo/opengl] 8-bit precision: 0x0p+0
    [vo/opengl] 16-bit precision: 0x1.0001p-9
    [vo/opengl] full float: 0x1.01p-9
    [vo/opengl] out of range value (2): 0x1p+0
    [vo/opengl] Reinit rendering.
    [decvideo] Codec list:
    [decvideo] lavc:h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
    [decvideo] lavc:h264_vdpau (h264) - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration)
    [decvideo] Opening video decoder lavc:h264
    [decvideo] Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [lavc:h264]
    [vo] Disabling DPMS
    [vo] DPMSDisable stat: 1
    [decaudio] Codec list:
    [decaudio] lavc:vorbis - Vorbis
    [decaudio] lavc:libvorbis (vorbis) - libvorbis
    [decaudio] Opening audio decoder lavc:vorbis
    [decaudio] dec_audio: Allocating 8192 + 65536 = 73728 bytes for output buffer.
    [decaudio] INFO: libavcodec "vorbis" init OK!
    [decaudio] Selected audio codec: Vorbis [lavc:vorbis]
    [decaudio] AUDIO: 48000 Hz, 2 ch, floatle
    [decaudio] Building audio filter chain for 48000Hz stereo 2ch floatle -> 0Hz empty 0ch ??...
    [af] Audio filter chain:
    [af] [in] 48000Hz stereo 2ch floatle
    [af] [out] 48000Hz stereo 2ch floatle
    [af] [ao] 0Hz empty 0ch ??
    [af] Audio filter chain:
    [af] [in] 48000Hz stereo 2ch floatle
    [af] [out] 48000Hz stereo 2ch floatle
    [af] [ao] 0Hz empty 0ch ??
    [cplayer] AO: [pulse] 48000Hz stereo 2ch floatle
    [cplayer] AO: Description: PulseAudio audio output
    AO: Author: Lennart Poettering
    [decaudio] Building audio filter chain for 48000Hz stereo 2ch floatle -> 48000Hz stereo 2ch floatle...
    [af] Audio filter chain:
    [af] [in] 48000Hz stereo 2ch floatle
    [af] [out] 48000Hz stereo 2ch floatle
    [af] [ao] 48000Hz stereo 2ch floatle
    [af] Audio filter chain:
    [af] [in] 48000Hz stereo 2ch floatle
    [af] [out] 48000Hz stereo 2ch floatle
    [af] [ao] 48000Hz stereo 2ch floatle
    [osd] Subtitle filter chain: ass (ass)
    [cplayer] Starting playback...
    [decvideo] [ffmpeg] aspect_ratio: 0.000000
    [decvideo] VIDEO: 1280x720 23.976 fps 0.0 kbps ( 0.0 kB/s)
    [decvideo] VDec: vo config request - 1280 x 720 (420p10)
    [vf] Trying filter chain:
    [vf] [vo] ???
    [cplayer] VO Config (1280x720->1280x720,flags=0,0x409)
    [cplayer] VO: [opengl] 1280x720 => 1280x720 420p10
    [cplayer] VO: Description: Extended OpenGL Renderer
    [cplayer] VO: Author: Based on vo_gl.c by Reimar Doeffinger
    [vo/opengl] Testing user-set FBO format
    [vo/opengl] Create FBO: 16x16
    [vo/opengl] 8-bit precision: 0x0p+0
    [vo/opengl] 16-bit precision: 0x1.0001p-9
    [vo/opengl] full float: 0x1.01p-9
    [vo/opengl] out of range value (2): 0x1p+0
    [vo/opengl] Texture for plane 0: 1280x720
    [vo/opengl] Texture for plane 1: 640x360
    [vo/opengl] Texture for plane 2: 640x360
    [vo/opengl] Reinit rendering.
    [vo/opengl] compiling shader program 'frag_osd_libass', header:
    [vo/opengl] compiling shader program 'frag_osd_rgba', header:
    [vo/opengl] compiling shader program 'final', header:
    [vo/opengl] [ 1] #define SAMPLE_L sample_bilinear
    [vo/opengl] [ 2] #define USE_CONV CONV_PLANAR
    [vo/opengl] [ 3] #define USE_COLORMATRIX 1
    [vo/opengl] [ 4] #define SAMPLE_C sample_bilinear
    [vo/opengl] Resize: 1280x720
    [vo] Window size: 1280x720
    [vo] Video source: 1280x720 (1280x720)
    [vo] Video display: (0, 0) 1280x720 -> (0, 0) 1280x720
    [vo] Video scale: 1.000000/1.000000
    [vo] OSD borders: l=0 t=0 r=0 b=0
    [vo] Video borders: l=0 t=0 r=0 b=0
    [vf] Video filter chain:
    [vf] [vo] 1280x720 420p10 0 BT.709 (HD)/TV
    [decaudio] Increasing filtered audio buffer size from 0 to 4096
    [decaudio] Increasing filtered audio buffer size from 4096 to 69632
    [decaudio] Increasing filtered audio buffer size from 69632 to 135168
    [decaudio] Increasing filtered audio buffer size from 135168 to 200704
    [decaudio] Increasing filtered audio buffer size from 200704 to 266240
    [decaudio] Increasing filtered audio buffer size from 266240 to 331776
    [decaudio] Increasing filtered audio buffer size from 331776 to 388096
    Last edited by aphirst (2014-01-02 23:20:53)

    So, I had a nice long conversation last night with some of the devs on the IRC channel (that I didn't find first-time-round somehow). I'll summarise this in bullet points:
    >I'm using an ATI card with the proprietary driver
    >I'm exposing VDPAU via a library that uses VA-API underneath
    >the vo_vdpau mode for mpv continues to handle file playback even if the vdpau hardware decoder won't initialise
    >>i.e. vdpau itself calls the software decoder, and then handles the calls to a software renderer
    >because I'm using VDPAU in an indirect "wheels within wheels" library, it's slow as all hell
    Solution:
    UPDATE: READ THE POST BELOW, A BETTER SOLUTION HAS BEEN IMPLEMENTED
    >mpv-git has native VA-API support, vo_vaapi
    >compiling and using this works perfectly
    >the vaapi handler is able to much more efficiently handle the calls to software decoders/renderers
    >8bit h.264 files play fullspeed using hardware decoding
    >10bit h.264 files are automatically handed to software-decoding, and play (almost!) as well as they should (i.e. when directly calling vo_opengl or vo_xv)
    Note that it's still a little slower than using opengl or xv, which is kind of odd. wm4 on IRC mentioned he might be able to do something about this, by implementing the (hackish, apparently) thing that VLC does, so that vo_vaapi doesn't have to use swscale (slow) before rendering; but I'll wait and see if that pans out.
    TL;DR - People using the proprietary ATI driver should compile mpv-git and and use vo=vaapi
    @Roberth: I actually did have that enabled, but whether it was or wasn't enabled didn't affect the problem I was having. After all, the problem was with vo_vdpau calling software decoding in an inefficient, roundabout way. vo_vaapi still isn't as efficient at this as it should be, it seems, but it's better than vo_vdpau was on my setup.
    @kaszak696: As far as I was aware, sws=0 was the default behaviour, but I do recall forcing that at one point with no effect. Either way, my particular problem is solved/worked around now! Well, almost.
    Last edited by aphirst (2013-09-22 23:38:35)

  • [Solved] mpv having a hard time playing a video

    This video used to play fine, but at some point since I last tried it, it stopped working. It's been months, so I can't really pin down an exact time. The behavior is jumpy audio and video, with dropped frames all over the place.
    The video in question is episode 11 of Mahou Shoujo Madoka Magica, subtitled by Meguca. md5sum is 7a8899705a247b372072901889997abb.
    Here's the ffprobe info:
    "streams": [
    "index": 0,
    "codec_name": "h264",
    "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
    "profile": "High 10",
    "codec_type": "video",
    "codec_time_base": "1001/48000",
    "codec_tag_string": "[0][0][0][0]",
    "codec_tag": "0x0000",
    "width": 1920,
    "height": 1080,
    "has_b_frames": 2,
    "sample_aspect_ratio": "1:1",
    "display_aspect_ratio": "16:9",
    "pix_fmt": "yuv420p10le",
    "level": 41,
    "r_frame_rate": "24000/1001",
    "avg_frame_rate": "24000/1001",
    "time_base": "1/1000",
    "start_pts": 0,
    "start_time": "0.000000",
    "disposition": {
    "default": 1,
    "dub": 0,
    "original": 0,
    "comment": 0,
    "lyrics": 0,
    "karaoke": 0,
    "forced": 0,
    "hearing_impaired": 0,
    "visual_impaired": 0,
    "clean_effects": 0,
    "attached_pic": 0
    "tags": {
    "language": "jpn",
    "title": "H.264 1080p BD"
    "index": 1,
    "codec_name": "flac",
    "codec_long_name": "FLAC (Free Lossless Audio Codec)",
    "codec_type": "audio",
    "codec_time_base": "1/48000",
    "codec_tag_string": "[0][0][0][0]",
    "codec_tag": "0x0000",
    "sample_fmt": "s32",
    "sample_rate": "48000",
    "channels": 2,
    "channel_layout": "stereo",
    "bits_per_sample": 0,
    "r_frame_rate": "0/0",
    "avg_frame_rate": "0/0",
    "time_base": "1/1000",
    "start_pts": 0,
    "start_time": "0.000000",
    "disposition": {
    "default": 1,
    "dub": 0,
    "original": 0,
    "comment": 0,
    "lyrics": 0,
    "karaoke": 0,
    "forced": 0,
    "hearing_impaired": 0,
    "visual_impaired": 0,
    "clean_effects": 0,
    "attached_pic": 0
    "tags": {
    "language": "jpn",
    "title": "Main: FLAC 2.0 24-bit"
    "index": 2,
    "codec_name": "ac3",
    "codec_long_name": "ATSC A/52A (AC-3)",
    "codec_type": "audio",
    "codec_time_base": "1/48000",
    "codec_tag_string": "[0][0][0][0]",
    "codec_tag": "0x0000",
    "sample_fmt": "fltp",
    "sample_rate": "48000",
    "channels": 2,
    "channel_layout": "stereo",
    "bits_per_sample": 0,
    "dmix_mode": "-1",
    "ltrt_cmixlev": "-1.000000",
    "ltrt_surmixlev": "-1.000000",
    "loro_cmixlev": "-1.000000",
    "loro_surmixlev": "-1.000000",
    "r_frame_rate": "0/0",
    "avg_frame_rate": "0/0",
    "time_base": "1/1000",
    "start_pts": 0,
    "start_time": "0.000000",
    "bit_rate": "192000",
    "disposition": {
    "default": 0,
    "dub": 0,
    "original": 0,
    "comment": 1,
    "lyrics": 0,
    "karaoke": 0,
    "forced": 0,
    "hearing_impaired": 0,
    "visual_impaired": 0,
    "clean_effects": 0,
    "attached_pic": 0
    "tags": {
    "language": "jpn",
    "title": "Commentary: AC3 2.0 192Kbps"
    "index": 3,
    "codec_name": "ssa",
    "codec_long_name": "SSA (SubStation Alpha) subtitle",
    "codec_type": "subtitle",
    "codec_time_base": "1/1000",
    "codec_tag_string": "[0][0][0][0]",
    "codec_tag": "0x0000",
    "r_frame_rate": "0/0",
    "avg_frame_rate": "0/0",
    "time_base": "1/1000",
    "start_pts": 0,
    "start_time": "0.000000",
    "duration_ts": 1540096,
    "duration": "1540.096000",
    "disposition": {
    "default": 1,
    "dub": 0,
    "original": 0,
    "comment": 0,
    "lyrics": 0,
    "karaoke": 0,
    "forced": 0,
    "hearing_impaired": 0,
    "visual_impaired": 0,
    "clean_effects": 0,
    "attached_pic": 0
    "tags": {
    "language": "eng",
    "title": "Styled Subtitles"
    "index": 4,
    "codec_type": "attachment",
    "codec_time_base": "0/1",
    "codec_tag_string": "[0][0][0][0]",
    "codec_tag": "0x0000",
    "r_frame_rate": "0/0",
    "avg_frame_rate": "0/0",
    "time_base": "1/90000",
    "start_pts": 0,
    "start_time": "0.000000",
    "duration_ts": 138608640,
    "duration": "1540.096000",
    "disposition": {
    "default": 0,
    "dub": 0,
    "original": 0,
    "comment": 0,
    "lyrics": 0,
    "karaoke": 0,
    "forced": 0,
    "hearing_impaired": 0,
    "visual_impaired": 0,
    "clean_effects": 0,
    "attached_pic": 0
    "tags": {
    "filename": "Ameretto-Condensed Bold.ttf",
    "mimetype": "application/x-truetype-font"
    "index": 5,
    "codec_type": "attachment",
    "codec_time_base": "0/1",
    "codec_tag_string": "[0][0][0][0]",
    "codec_tag": "0x0000",
    "r_frame_rate": "0/0",
    "avg_frame_rate": "0/0",
    "time_base": "1/90000",
    "start_pts": 0,
    "start_time": "0.000000",
    "duration_ts": 138608640,
    "duration": "1540.096000",
    "disposition": {
    "default": 0,
    "dub": 0,
    "original": 0,
    "comment": 0,
    "lyrics": 0,
    "karaoke": 0,
    "forced": 0,
    "hearing_impaired": 0,
    "visual_impaired": 0,
    "clean_effects": 0,
    "attached_pic": 0
    "tags": {
    "filename": "Ameretto-Condensed Normal.ttf",
    "mimetype": "application/x-truetype-font"
    "index": 6,
    "codec_type": "attachment",
    "codec_time_base": "0/1",
    "codec_tag_string": "[0][0][0][0]",
    "codec_tag": "0x0000",
    "r_frame_rate": "0/0",
    "avg_frame_rate": "0/0",
    "time_base": "1/90000",
    "start_pts": 0,
    "start_time": "0.000000",
    "duration_ts": 138608640,
    "duration": "1540.096000",
    "disposition": {
    "default": 0,
    "dub": 0,
    "original": 0,
    "comment": 0,
    "lyrics": 0,
    "karaoke": 0,
    "forced": 0,
    "hearing_impaired": 0,
    "visual_impaired": 0,
    "clean_effects": 0,
    "attached_pic": 0
    "tags": {
    "filename": "DFGKB-MadokaTitleS.ttf",
    "mimetype": "application/x-truetype-font"
    "index": 7,
    "codec_type": "attachment",
    "codec_time_base": "0/1",
    "codec_tag_string": "[0][0][0][0]",
    "codec_tag": "0x0000",
    "r_frame_rate": "0/0",
    "avg_frame_rate": "0/0",
    "time_base": "1/90000",
    "start_pts": 0,
    "start_time": "0.000000",
    "duration_ts": 138608640,
    "duration": "1540.096000",
    "disposition": {
    "default": 0,
    "dub": 0,
    "original": 0,
    "comment": 0,
    "lyrics": 0,
    "karaoke": 0,
    "forced": 0,
    "hearing_impaired": 0,
    "visual_impaired": 0,
    "clean_effects": 0,
    "attached_pic": 0
    "tags": {
    "filename": "DFGMinchoP-W5-En.ttf",
    "mimetype": "application/x-truetype-font"
    "index": 8,
    "codec_type": "attachment",
    "codec_time_base": "0/1",
    "codec_tag_string": "[0][0][0][0]",
    "codec_tag": "0x0000",
    "r_frame_rate": "0/0",
    "avg_frame_rate": "0/0",
    "time_base": "1/90000",
    "start_pts": 0,
    "start_time": "0.000000",
    "duration_ts": 138608640,
    "duration": "1540.096000",
    "disposition": {
    "default": 0,
    "dub": 0,
    "original": 0,
    "comment": 0,
    "lyrics": 0,
    "karaoke": 0,
    "forced": 0,
    "hearing_impaired": 0,
    "visual_impaired": 0,
    "clean_effects": 0,
    "attached_pic": 0
    "tags": {
    "filename": "DFPGothW5-Madoka.ttf",
    "mimetype": "application/x-truetype-font"
    "index": 9,
    "codec_type": "attachment",
    "codec_time_base": "0/1",
    "codec_tag_string": "[0][0][0][0]",
    "codec_tag": "0x0000",
    "r_frame_rate": "0/0",
    "avg_frame_rate": "0/0",
    "time_base": "1/90000",
    "start_pts": 0,
    "start_time": "0.000000",
    "duration_ts": 138608640,
    "duration": "1540.096000",
    "disposition": {
    "default": 0,
    "dub": 0,
    "original": 0,
    "comment": 0,
    "lyrics": 0,
    "karaoke": 0,
    "forced": 0,
    "hearing_impaired": 0,
    "visual_impaired": 0,
    "clean_effects": 0,
    "attached_pic": 0
    "tags": {
    "filename": "DFPSHT-W5-Madoka.ttf",
    "mimetype": "application/x-truetype-font"
    "index": 10,
    "codec_type": "attachment",
    "codec_time_base": "0/1",
    "codec_tag_string": "[0][0][0][0]",
    "codec_tag": "0x0000",
    "r_frame_rate": "0/0",
    "avg_frame_rate": "0/0",
    "time_base": "1/90000",
    "start_pts": 0,
    "start_time": "0.000000",
    "duration_ts": 138608640,
    "duration": "1540.096000",
    "disposition": {
    "default": 0,
    "dub": 0,
    "original": 0,
    "comment": 0,
    "lyrics": 0,
    "karaoke": 0,
    "forced": 0,
    "hearing_impaired": 0,
    "visual_impaired": 0,
    "clean_effects": 0,
    "attached_pic": 0
    "tags": {
    "filename": "DFSNGyoSho-CP.ttf",
    "mimetype": "application/x-truetype-font"
    "index": 11,
    "codec_type": "attachment",
    "codec_time_base": "0/1",
    "codec_tag_string": "[0][0][0][0]",
    "codec_tag": "0x0000",
    "r_frame_rate": "0/0",
    "avg_frame_rate": "0/0",
    "time_base": "1/90000",
    "start_pts": 0,
    "start_time": "0.000000",
    "duration_ts": 138608640,
    "duration": "1540.096000",
    "disposition": {
    "default": 0,
    "dub": 0,
    "original": 0,
    "comment": 0,
    "lyrics": 0,
    "karaoke": 0,
    "forced": 0,
    "hearing_impaired": 0,
    "visual_impaired": 0,
    "clean_effects": 0,
    "attached_pic": 0
    "tags": {
    "filename": "FOT-HummingStdEn-B.OTF",
    "mimetype": "application/x-truetype-font"
    "index": 12,
    "codec_type": "attachment",
    "codec_time_base": "0/1",
    "codec_tag_string": "[0][0][0][0]",
    "codec_tag": "0x0000",
    "r_frame_rate": "0/0",
    "avg_frame_rate": "0/0",
    "time_base": "1/90000",
    "start_pts": 0,
    "start_time": "0.000000",
    "duration_ts": 138608640,
    "duration": "1540.096000",
    "disposition": {
    "default": 0,
    "dub": 0,
    "original": 0,
    "comment": 0,
    "lyrics": 0,
    "karaoke": 0,
    "forced": 0,
    "hearing_impaired": 0,
    "visual_impaired": 0,
    "clean_effects": 0,
    "attached_pic": 0
    "tags": {
    "filename": "IwaOMinPro-Bd-Fate.ttf",
    "mimetype": "application/x-truetype-font"
    "index": 13,
    "codec_type": "attachment",
    "codec_time_base": "0/1",
    "codec_tag_string": "[0][0][0][0]",
    "codec_tag": "0x0000",
    "r_frame_rate": "0/0",
    "avg_frame_rate": "0/0",
    "time_base": "1/90000",
    "start_pts": 0,
    "start_time": "0.000000",
    "duration_ts": 138608640,
    "duration": "1540.096000",
    "disposition": {
    "default": 0,
    "dub": 0,
    "original": 0,
    "comment": 0,
    "lyrics": 0,
    "karaoke": 0,
    "forced": 0,
    "hearing_impaired": 0,
    "visual_impaired": 0,
    "clean_effects": 0,
    "attached_pic": 0
    "tags": {
    "filename": "MadokaLetters.ttf",
    "mimetype": "application/x-truetype-font"
    "index": 14,
    "codec_type": "attachment",
    "codec_time_base": "0/1",
    "codec_tag_string": "[0][0][0][0]",
    "codec_tag": "0x0000",
    "r_frame_rate": "0/0",
    "avg_frame_rate": "0/0",
    "time_base": "1/90000",
    "start_pts": 0,
    "start_time": "0.000000",
    "duration_ts": 138608640,
    "duration": "1540.096000",
    "disposition": {
    "default": 0,
    "dub": 0,
    "original": 0,
    "comment": 0,
    "lyrics": 0,
    "karaoke": 0,
    "forced": 0,
    "hearing_impaired": 0,
    "visual_impaired": 0,
    "clean_effects": 0,
    "attached_pic": 0
    "tags": {
    "filename": "Mixage_Bk_BT_Bold.ttf",
    "mimetype": "application/x-truetype-font"
    "index": 15,
    "codec_type": "attachment",
    "codec_time_base": "0/1",
    "codec_tag_string": "[0][0][0][0]",
    "codec_tag": "0x0000",
    "r_frame_rate": "0/0",
    "avg_frame_rate": "0/0",
    "time_base": "1/90000",
    "start_pts": 0,
    "start_time": "0.000000",
    "duration_ts": 138608640,
    "duration": "1540.096000",
    "disposition": {
    "default": 0,
    "dub": 0,
    "original": 0,
    "comment": 0,
    "lyrics": 0,
    "karaoke": 0,
    "forced": 0,
    "hearing_impaired": 0,
    "visual_impaired": 0,
    "clean_effects": 0,
    "attached_pic": 0
    "tags": {
    "filename": "Mixage_Bk_BT_Bold_Italic.TTF",
    "mimetype": "application/x-truetype-font"
    "index": 16,
    "codec_type": "attachment",
    "codec_time_base": "0/1",
    "codec_tag_string": "[0][0][0][0]",
    "codec_tag": "0x0000",
    "r_frame_rate": "0/0",
    "avg_frame_rate": "0/0",
    "time_base": "1/90000",
    "start_pts": 0,
    "start_time": "0.000000",
    "duration_ts": 138608640,
    "duration": "1540.096000",
    "disposition": {
    "default": 0,
    "dub": 0,
    "original": 0,
    "comment": 0,
    "lyrics": 0,
    "karaoke": 0,
    "forced": 0,
    "hearing_impaired": 0,
    "visual_impaired": 0,
    "clean_effects": 0,
    "attached_pic": 0
    "tags": {
    "filename": "VDLogoMaru-Ultra-P-Madoka.ttf",
    "mimetype": "application/x-truetype-font"
    "format": {
    "filename": "s01e11.mkv",
    "nb_streams": 17,
    "nb_programs": 0,
    "format_name": "matroska,webm",
    "format_long_name": "Matroska / WebM",
    "start_time": "0.000000",
    "duration": "1540.096000",
    "size": "2728227879",
    "bit_rate": "14171728",
    "probe_score": 100,
    "tags": {
    "title": "Puella Magi Madoka Magica BD - 11: The one thing I have left to guide me",
    "encoder": "libebml v1.2.2 + libmatroska v1.3.0",
    "creation_time": "2012-12-24 06:51:06"
    Here's my mpv config (note that I tried several vo options, none worked):
    [default]
    channels=5.1
    vo=opengl,opengl-hq,xv,wayland
    The mpv output when playing the file is something like this:
    sircmpwn@homura /m/s/V/T/Madoka Magica> mpv s01e11.mkv
    Playing: s01e11.mkv
    Detected file format: Matroska
    Clip info:
    TITLE: Puella Magi Madoka Magica BD - 11: The one thing I have left to guide me
    [stream] Video (+) --vid=1 'H.264 1080p BD' (h264)
    [stream] Audio (+) --aid=1 --alang=jpn (*) 'Main: FLAC 2.0 24-bit' (flac)
    [stream] Audio --aid=2 --alang=jpn 'Commentary: AC3 2.0 192Kbps' (ac3)
    [stream] Subs (+) --sid=1 --slang=eng (*) 'Styled Subtitles' (ass)
    Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [lavc:h264]
    Selected audio codec: FLAC (Free Lossless Audio Codec) [lavc:flac]
    AO: [pulse] 48000Hz stereo 2ch s32
    VO: [opengl] 1920x1080 => 1920x1080 420p10
    [ffmpeg/audio] flac: invalid sync code
    [ffmpeg/audio] flac: invalid frame header
    [ffmpeg/audio] flac: decode_frame() failed
    AV: 00:00:00 / 00:25:40 (0%) A-V: 0.001
    [ffmpeg/audio] flac: qlevel -10 not supported, maybe buggy stream
    [ffmpeg/audio] flac: decode_frame() failed
    AV: 00:00:00 / 00:25:40 (0%) A-V: 0.001
    [ffmpeg/audio] flac: invalid subframe padding
    [ffmpeg/audio] flac: decode_frame() failed
    AV: 00:00:00 / 00:25:40 (0%) A-V: 0.162 Late: 1
    [ffmpeg/audio] flac: invalid sync code
    [ffmpeg/audio] flac: invalid frame header
    [ffmpeg/audio] flac: decode_frame() failed
    AV: 00:00:00 / 00:25:40 (0%) A-V: 0.362 Late: 2
    [ffmpeg/audio] flac: invalid sync code
    [ffmpeg/audio] flac: invalid frame header
    [ffmpeg/audio] flac: decode_frame() failed
    AV: 00:00:00 / 00:25:40 (0%) A-V: 0.946 Late: 3
    [ffmpeg/audio] flac: invalid subframe padding
    [ffmpeg/audio] flac: decode_frame() failed
    AV: 00:00:00 / 00:25:40 (0%) A-V: 1.000 Late: 4
    [ffmpeg/audio] flac: invalid coding type
    [ffmpeg/audio] flac: decode_frame() failed
    AV: 00:00:00 / 00:25:40 (0%) A-V: 1.234 Late: 5
    [ffmpeg/audio] flac: invalid sync code
    [ffmpeg/audio] flac: invalid frame header
    [ffmpeg/audio] flac: decode_frame() failed
    AV: 00:00:00 / 00:25:40 (0%) A-V: 1.318 Late: 6
    [ffmpeg/audio] flac: invalid sync code
    [ffmpeg/audio] flac: invalid frame header
    [ffmpeg/audio] flac: decode_frame() failed
    AV: 00:00:00 / 00:25:40 (0%) A-V: 1.296 Late: 8
    [ffmpeg/audio] flac: invalid sync code
    [ffmpeg/audio] flac: invalid frame header
    [ffmpeg/audio] flac: decode_frame() failed
    AV: 00:00:00 / 00:25:40 (0%) A-V: 1.323 Late: 9
    [ffmpeg/audio] flac: qlevel -4 not supported, maybe buggy stream
    [ffmpeg/audio] flac: decode_frame() failed
    AV: 00:00:00 / 00:25:40 (0%) A-V: 1.370 Late: 10
    [ffmpeg/audio] flac: invalid rice order: 15 blocksize 4096
    [ffmpeg/audio] flac: decode_frame() failed
    AV: 00:00:00 / 00:25:40 (0%) A-V: 1.529 Late: 11
    [ffmpeg/audio] flac: invalid sync code
    [ffmpeg/audio] flac: invalid frame header
    [ffmpeg/audio] flac: decode_frame() failed
    AV: 00:00:00 / 00:25:40 (0%) A-V: 2.107 ct: 0.079 Late: 20
    My system is fully up-to-date. It plays fine on mplayer and on vlc, but has similar problems on xbmc.
    Last edited by SirCmpwn (2014-05-10 18:02:59)

    SirCmpwn wrote:Recompiling ffmpeg didn't help, but switching to extra/ffmpeg did. I'll adjust the flags via abs and install it with the things I like enabled.
    I'm glad to hear that you got it working! Best of luck on the ABS recompile.
    All the best,
    -HG

  • [Solved]Gnome : libgnomevfs-WARNING**: Unable to create ~/.gnome2

    Hello everybody!
    I've a very strange problem
    When I want to open an application as a root it doesn't work.
    For example when I try to edit a file with Gedit by using this command :
    sudo gedit /etc/udev/rules.d/00-myrules.rules
    (yes I know that editing a root file with Gedit is the evil ^^), the terminal says :
    libgnomevfs-WARNING **: Unable to create ~/.gnome2 directory: Aucun fichier ou dossier de ce type
    Impossible de créer un répertoire de configuration GNOME par utilisateur « /home/root/.gnome2/ » : Aucun fichier ou dossier de ce type
    That's very annoying, can someone help me please ?
    Thank you
    Last edited by iznogoud (2008-06-28 09:37:43)

    solved the problem by editing the file /etc/passwd.
    root's file was located at /home/root instead of /root

  • [SOLVED] Low battery warning form acpi

    Hello!
    I hope you could help me out, as I am stuck.
    I am trying to automate pm-utils stuff on my laptop, that I have until now been doing by hand with CLI. I installed acpid and I really like how it works as it is very easy and clean to add event handling for closing laptop lid etc.
    But I was unable to use /etc/acpi/handler.sh to detect low battery warning. Only event that is received under "battery" is when the AC adapter is plugged in or battery is removed/inserted, but not when battery is low. 
    I tried to find more info on this, but discovered only that it is supposedly possible to configure alarm level in /proc/acpi/battery/BAT1/alarm, but that file seams to be depreciated and it's replacement (?) /sys/class/power_supply/BAT1/alarm contains a number resulting in about 3% charge, that should have been sufficient for at least writing to log file if any event was received from the battery, but nothing was. (And anyway, I don't know how to configure it using this file, as I am not allowed to write to it and it gets overwriten by something.)
    So I could really use some pointers on why the acpi event for low battery doesn't get generated (or why I am missing it) or what alternatives I have.
    I really would not like to run a cron job for checking battery level, as the acpi event method seams much more beautiful to me and would allow me to sleep better.
    Thanks a lot!
    Last edited by beatle (2012-01-06 01:20:29)

    /dev/zero wrote:No worries :-) If you can think of any ways to improve the script, I'd be interested to know. It isn't perfect because output from "acpi -b" is unpredictable.
    I did adapt your script a bit to suite my needs (Thanks for showing how to write deamon scripts! I haven't thought that it is so straightforward and beauty full.) , but I wouldn't say I improved it as I am basically illiterate in bash.
    For now I deal with the output of "acbi -b" by searching for the "NN%" (with grep, as I know not of a better way) - remaining percent of battery charge - in it, as I suspect this sub string  would allays appear in "acbi -b" output even when the 'remaining time' part is unpredictable (haven't checked it though!).
    Also, my laptop is usually on mute so I changed the text-to-speech warning to a i3-nagbar popping up. (And along the way learned how to control spawned processes in bash! I love just GNU/Linux!).
    /usr/sbin/battery_monitor_loop
    #! /bin/bash
    SLEEP_TIME=5 # Default time between checks.
    SAFE_PERCENT=30 # Still safe at this level.
    DANGER_PERCENT=15 # Warn when battery at this level.
    CRITICAL_PERCENT=5 # Hibernate when battery at this level.
    NAGBAR_PID=0
    export DISPLAY=:0.0
    function launchNagBar
    i3-nagbar -m 'Battery low!' -b 'Hibernate!' 'pm-hibernate' >/dev/null 2>&1 &
    NAGBAR_PID=$!
    function killNagBar
    if [[ $NAGBAR_PID -ne 0 ]]; then
    ps -p $NAGBAR_PID | grep "i3-nagbar"
    if [[ $? -eq 0 ]]; then
    kill $NAGBAR_PID
    fi
    NAGBAR_PID=0
    fi
    while [ true ]; do
    killNagBar
    if [[ -n $(acpi -b | grep -i discharging) ]]; then
    rem_bat=$(acpi -b | grep -Eo "[0-9]+%" | grep -Eo "[0-9]+")
    if [[ $rem_bat -gt $SAFE_PERCENT ]]; then
    SLEEP_TIME=10
    else
    SLEEP_TIME=5
    if [[ $rem_bat -le $DANGER_PERCENT ]]; then
    SLEEP_TIME=2
    launchNagBar
    fi
    if [[ $rem_bat -le $CRITICAL_PERCENT ]]; then
    SLEEP_TIME=1
    pm-hibernate
    fi
    fi
    else
    SLEEP_TIME=10
    fi
    sleep ${SLEEP_TIME}m
    done
    Hm, and just now I got an idea, that, in order to avoid the unpredictable "acpi -b" I could use the acpi information form /sys/class/power_supply/BAT1/* directly as I already have a deamon running. Will try that out.
    Last edited by beatle (2012-01-06 18:17:41)

  • [solved] Yaourt + Pacmatic warning message on system update

    I've recently installed Pacmatic and I use Yaourt aswell, so I edited my yaourtrc so that the PacmanBin was pointing to pacmatic.
    But when I run a 'yaourt -Syu' and there isn't any news, I get the following message:
    Warning: stale installation, rerun with '-Syu'
    The upgrade otherwise runs perfectly and when there is news I don't get the warning at all. If I run 'pacmatic -Syu' I don't get the message when there is no news.
    Should I be worried? Is there anything else I need to do?
    Last edited by fastfret79 (2009-10-18 22:27:15)

    An update today fixed this - so marking as solved

  • [Solved] mpv drops frames intermittently

    I'm using openbox with compton as my compositor. My graphics card is an ATI 5450M and I use it with the open source driver. I seem to be having a very weird problem in which mpv (or mplayer, for that matter) skips frames while playing. It's not a whole lot of frames, usually something like ~4-8 frames in a minute. Sometimes it's more, sometimes it's less. The interval at which it happens is not particularly consistent either, but it happens for every video (HD or not doesn't make a difference). The video plays smoothly, and then all of a sudden, it drops 4 frames. It's very grating on the eyes when this happens.
    It doesn't happen in vlc. I know that the easiest thing to do is to use vlc instead of mpv, but I like mpv a lot and would like to use it. It doesn't matter what output type I set. vdpau, opengl, opengl-hq all cause frame drops.
    My compton conf is here (https://github.com/genghizkhan91/dotfil … omptonconf). Another point is to be noted that tinkering with the compton conf didn't change much. This conf led to the smallest number of frames being droppped.
    Any ideas?
    Last edited by genghizkhan91 (2014-03-30 23:58:22)

    kokoko3k wrote:
    * Do you already tried to disable compton?
    * Maybe your screen refresh rate is close to the video one? (24hz - 24p content?)
    * Did you tried to increase the video player cache to (say) 4MB?
    * Any info in the mpv console output when the frames are being dropped?
    * Does mpv uses frameskip by default (in mplayer the -frameskip option is... optional)? maybe you can invert that...
    Tackling your points one by one
    I've tried disabling compton, but it gives me slightly more frame drops as a result.
    My screen refresh rate is 60 Hz.
    I've increased the cache to 4 MB, and it doesn't seem to help either
    An example of the console output whenever I play something (Notice the "Late" in the second last line):
    Playing: 'Nadia' - Shankar Tucker ft. Jaunita John.mp4
    Detected file format: QuickTime / MOV (libavformat)
    Clip info:
    major_brand: mp42
    minor_version: 0
    compatible_brands: isommp42
    creation_time: 2013-09-17 15:16:24
    [stream] Video (+) --vid=1 (*) (h264)
    [stream] Audio (+) --aid=1 --alang=und (*) (aac)
    Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [lavc:h264]
    Selected audio codec: AAC (Advanced Audio Coding) [lavc:aac]
    AO: [alsa] 48000Hz stereo 2ch floatp
    VO: [vdpau] 1280x720 => 1280x720 420p
    [vo/vdpau] Compositing window manager detected. Assuming timing info is inaccurate.
    AV: 00:00:10 / 00:03:30 (4%) A-V: 0.000 Late: 3
    Exiting... (Quit)
    I've tried disabling frameskip, but to no avail
    Last edited by genghizkhan91 (2014-03-30 11:47:09)

  • [SOLVED] Chromuim: Gtk-WARNING **: cannot open display:

    I've just tried to install chromium, but the program doesn't start.
    From terminal I recieve this:
    [7183:7183:4023157347:FATAL:chrome/browser/browser_main.cc(537)] Check failed: profile. Cannot get default profile.
    Abortito
    trying as root:
    [federico@giunta-desktop ~]$ su
    Password:
    [root@giunta-desktop federico]# chromium
    No protocol specified
    (chromium:7209): Gtk-WARNING **: cannot open display: :0
    How can I fix this problem?
    Last edited by FeDiX 91 (2010-09-02 16:47:46)

    FeDiX 91 wrote:
    i found a sort of fix to this problem, but I have to repeat it ever time i launch the app...
    This is the link: [lnk]http://ubuntuforums.org/archive/index.php/t-166863.html[/lnk]
    another question which han nothing to do whith this... are there some shortcuts in this site for html codes? thanks
    Using xhost+ creates automatically a security problem for Xorg, do NOT do that.

  • [Solved] mpv / mpv-git errors

    Today started getting this error when using mpv-git to play media files
    mpv: error while loading shared libraries: libSDL2-2.0.so.0: cannot open shared object file: No such file or directory
    Tried installing mpv, but get this error when attempting to play media files
    mpv: error while loading shared libraries: libass.so.4: cannot open shared object file: No such file or directory
    Last edited by flipper T (2013-10-26 20:29:33)

    Please open a bug report.
    I'll see if I can compile mpv-git.
    Edit: Nope:
    Checking for SSA/ASS support ... yes
    Checking for libass OSD support ... yes
    Checking for ENCA ... no
    Checking for zlib ...
    Error: Unable to find development files for zlib.
    Check "config.log" if you do not understand why it failed.
    ==> ERROR: A failure occurred in build().
    Aborting...
    The part of configl.log about zlib:
    ============ Checking for zlib ============
    #include <zlib.h>
    int main(void) { inflate(0, Z_NO_FLUSH); return 0; }
    cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -g -pipe /tmp/mpv-configure-7236-19380/tmp.c -I. -D_GNU_SOURCE -I/usr/include/samba-4.0 -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/samba-4.0 -I/usr/include/quvi-0.9 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -pthread -I/usr/include/alsa -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/freetype2 -lncurses -lsmbclient -lquvi-0.9 -lwayland-client -lwayland-cursor -lxkbcommon -lXext -lX11 -lpthread -lrt -lXss -lXv -lvdpau -lva-x11 -lva -lXinerama -lXxf86vm -lcaca -lmng -lz -ljpeg -lGL -ldl -lwayland-egl -lwayland-client -lGL -lEGL -pthread -lSDL2 -lpulse -lportaudio -lasound -lm -lpthread -ljack -lpthread -lrt -lasound -lbluray -ldvdread -lcdio_paranoia -lcdio_cdda -lcdio -lm -lass -o /tmp/mpv-configure-7236-19380/tmp -lz
    /usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libSDL2.so: undefined reference to `SDL_UDEV_Init'
    /usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libSDL2.so: undefined reference to `SDL_UDEV_Quit'
    /usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libSDL2.so: undefined reference to `SDL_UDEV_DelCallback'
    /usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libSDL2.so: undefined reference to `SDL_UDEV_AddCallback'
    /usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libSDL2.so: undefined reference to `SDL_UDEV_Poll'
    /usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libSDL2.so: undefined reference to `SDL_UDEV_Scan'
    collect2: error: ld returned 1 exit status
    Last edited by karol (2013-10-25 13:05:47)

  • [SOLVED] Pacman -Syu Warning and Error

    I want to update my system, but the first weird thing I notice after pacman -Syu is this warning message:
    warning: dependency cycle detected:
    warning: util-linux will be installed before its udev dependency
    And then, when checking for conflicts, pacman throws this about some existing Xorg files:
    (100/100) checking for file conflicts [######################] 100%
    error: failed to commit transaction (conflicting files)
    xorg-xmessage: /usr/bin/xmessage exists in filesystem
    xorg-xmessage: /usr/share/X11/app-defaults/Xmessage exists in filesystem
    xorg-xmessage: /usr/share/X11/app-defaults/Xmessage-color exists in filesystem
    xorg-xmessage: /usr/share/man/man1/xmessage.1.gz exists in filesystem
    Errors occurred, no packages were upgraded.
    Is it safe to force the install with a pacman -Syuf? I prefer to ask for your advice before I end breaking something...
    Last edited by isacdaavid (2012-03-25 17:49:24)

    Thanks! All those files belonged to an orphan and now extinct package called xorg-apps.
    pacman -Runs xorg-apps fixed the problem.

  • Message by mpv and ffplay when playing certain flac files

    When playing certain flac files with mpv or ffplay, I experience colored messages which might be warnings or errors in the terminal. I don't hear that something is wrong with the audio and therefore I ignored it for a long time. But I'm a bit curious why this message occures because the files are converted from CDs with the flac tool itself. The output I am talking about looks like this (in orange) when playing with mpv:
    [ffmpeg] NULL: sample/frame number mismatch in adjacent frames
    And it looks like this when playing with ffplay (in cyan and orange):
    [flac @ 0x7f73e0001760] sample/frame number mismatch in adjacent frames
    When decoding with the flac utility, I don't see any messages. Does anybody know, where this behavior comes from? Might it be a good idea to rip and reencode the audio again or can I safely ignore these messages?
    Last edited by Rachus (2015-03-14 16:59:26)

    Thanks for your answer!
    karol wrote:Are you using mpv and ffmpeg from the repos?
    Yes, they are the vanilla packages from the repos.
    karol wrote:Have you tried playing these files on another, non-Arch, system?
    Well, I just updated an old Gentoo (which took some time) and experience the same messages with these files. Interestingly, when I fastforward, the message does not appear (on both systems).
    karol wrote:Google shows these messages are pretty common, but since nothing seems to be broken, I don't think you need to worry.
    Yes, I also tried to search these messages on Google. But I did not understand most of it. It's just that I could not understand why a file that was encoded by flac itself produce errors/warnings or anything like that when playing and just make sure that nothing is broken.

  • PLW warning?

    The warning is highlighted at the bold:
    create or replace procedure portal_pro IS lv_count number;
    BEGIN
      SELECT COUNT(*)
      INTO lv_count
      FROM portal_log
      WHERE TRUNC(logtime) = TRUNC(sysdate);
      IF lv_count > 0 THEN
        UPDATE portal_log
        SET counter = counter + 1
    WHERE TRUNC(logtime) = TRUNC(sysdate);
      ELSE
        INSERT
        INTO portal_log(logtime,   counter)
        VALUES(sysdate,   1);
      END IF;
    END
    portal_log
    ===========
    logtime       DATE
    counter       NUMBERI got two warnings for this procedure (above). I need help in solving this 2 warning (below) .
    PLW 07204
    PLW 07202
    Can anyone help me on this issue?

    Can you expalin..?
    SQL> create table portal_log(logtime date,counter number);
    Table created.
    SQL> create or replace procedure portal_pro IS
      2   lv_count number;
      3   BEGIN
      4    SELECT COUNT(*)
      5    INTO lv_count
      6    FROM portal_log
      7    WHERE TRUNC(logtime) = TRUNC(sysdate);
      8    IF lv_count > 0 THEN
      9      UPDATE portal_log
    10      SET counter = counter + 1
    11      WHERE TRUNC(logtime) = TRUNC(sysdate);
    12    ELSE
    13     INSERT INTO portal_log(logtime,counter)
    14     VALUES(sysdate,   1);
    15    END IF;
    16   END;
    17  /
    Procedure created.Message was edited by:
    jeneesh
    I think you can use merge..
    SQL>  merge into portal_log p
      2   using (select sysdate dt from dual) s
      3   on (TRUNC(p.logtime) =trunc(s.dt))
      4   when matched then
      5     UPDATE SET counter = counter + 1
      6   when not matched then
      7      INSERT (logtime,counter)
      8     VALUES(sysdate,   1)
      9  /
    1 row merged.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Swfdec 0.6.8 + gstreamer0.10-ffmpeg using system FFmpeg = good enough

    I got down to only one 32 bit program on my 64 bit install -- Flash. Having dropped Skype and Lightscribe, it started to seem silly to have 50+ duplicate libraries for something I don't use often. I wanted a solution that isn't a Grease Monkey script, so this leaves swfdec and Gnash.
    I don't like the newer swfdec; It's brutal on the CPU, I don't want two copies of FFmpeg on my system (gstreamer0.10-ffmpeg and my subversion build), and it doesn't have an OSS backend. Gnash, even with the GL driver, looks too blocky and is far behind swfdec in functionality.
    The last version of swfdec that I knew of that worked good enough was 0.6.8, and it can use OSS unpatched. I also found the Gentoo patches for gstreamer0.10-ffmpeg. The combination turns out to work fairly well. The CPU usage is way down, but is still nowhere near as good as Flash 10.
    This is the PKGBUILD for gstreamer0.10-ffmpeg. It's designed for very new versions of FFmpeg. The one I tested against is less than a day old. As always I removed the e-mail addresses from the forum post. Credit goes to JGC and AndyRTR for the original three PKGBUILDS. I'm not putting this in AUR because I expect it break frequently:
    pkgname=gstreamer0.10-system-ffmpeg
    pkgver=0.10.5
    pkgrel=1
    pkgdesc="Gstreamer FFmpeg Plugin"
    arch=(i686 x86_64)
    license=('GPL')
    depends=('gstreamer0.10-base>=0.10.21' 'bzip2')
    makedepends=('pkgconfig')
    provides=('gstreamer0.10-ffmpeg')
    conflicts=('gstreamer0.10-ffmpeg')
    url="http://www.gstreamer.net"
    groups=('gstreamer0.10-plugins')
    source=(http://gstreamer.freedesktop.org/src/gst-ffmpeg/gst-ffmpeg-${pkgver}.tar.bz2 \
    http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/media-plugins/gst-plugins-ffmpeg/files/0.10.5/system-ffmpeg-warning.patch \
    http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/media-plugins/gst-plugins-ffmpeg/files/0.10.5/lavc.patch \
    http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/media-plugins/gst-plugins-ffmpeg/files/0.10.5/offset.patch)
    md5sums=('1ff579945eafcfddab420b734c3a0c92' \
    '843de68f93d56cdeb8cb754c906fa34d' \
    '2f5caa982a5f297aa8e89c60560f9313' \
    'e61a1a4908706610274739b285321935')
    build() {
    sed -i -e 's,gst-ffmpeg-0.10.4,gst-ffmpeg-0.10.5,' ./lavc.patch
    sed -i -e 's,gst-ffmpeg-0.10.4,gst-ffmpeg-0.10.5,' ./offset.patch
    cd ${startdir}/src/gst-ffmpeg-${pkgver}
    patch -Np1 -i ${startdir}/src/lavc.patch || return 1
    patch -Np1 -i ${startdir}/src/offset.patch || return 1
    patch -Np1 -i ${startdir}/src/system-ffmpeg-warning.patch || return 1
    sed -i \
    -e 's,ffmpeg/avformat.h,libavformat/avformat.h,' \
    -e 's,ffmpeg/avcodec.h,libavcodec/avcodec.h,' \
    -e 's,ffmpeg/swscale.h,libswscale/swscale.h,' \
    -e 's,postproc/postprocess.h,libpostproc/postprocess.h,'\
    ext/ffmpeg/gst* \
    ext/libpostproc/gstpostproc.c \
    || die "404. No files found."
    unset CFLAGS
    unset CXXFLAGS
    ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-system-ffmpeg || return 1
    make || return 1
    make DESTDIR=${startdir}/pkg install || return 1
    rm -f ${startdir}/pkg/usr/lib/gstreamer-0.10/*.{l,}a
    swfdec 0.6.8 with OSS enabled as the backend:
    pkgname=swfdec
    pkgver=0.6.8
    pkgrel=1
    pkgdesc="free library for decoding and rendering Flash animations"
    arch=('i686' 'x86_64')
    url="http://swfdec.freedesktop.org"
    license=('LGPL')
    depends=('alsa-lib>=1.0.17a' 'liboil>=0.3.15' 'gtk2>=2.14.4-1' 'libsoup>=2.24.1-1')
    makedepends=('pkgconfig' 'gstreamer0.10-ffmpeg')
    optdepends=('gstreamer0.10-base: required for various audio and video formats'
    'gstreamer0.10-ffmpeg: most common audio/video format for internet flash')
    source=(http://swfdec.freedesktop.org/download/swfdec/0.6/${pkgname}-${pkgver}.tar.gz)
    md5sums=('740caf52068556ffe151703342fb634b')
    options=('!libtool' '!emptydirs')
    build() {
    cd ${startdir}/src/${pkgname}-${pkgver}
    ./configure --prefix=/usr --disable-static --enable-gtk \
    --enable-gstreamer --enable-soup --with-audio=oss
    make || return 1
    make DESTDIR=${startdir}/pkg install
    swfdec-mozilla:
    pkgname=swfdec-mozilla
    pkgver=0.6.0
    pkgrel=1
    pkgdesc="free plugin for Mozilla browsers that uses the Swfdec library for playing SWF files"
    arch=('i686' 'x86_64')
    url="http://swfdec.freedesktop.org"
    license=('LGPL')
    depends=("swfdec>=$pkgver")
    source=(http://swfdec.freedesktop.org/download/swfdec-mozilla/0.6/${pkgname}-${pkgver}.tar.gz)
    options=('!libtool')
    md5sums=('dc0fb84b5e5c7540ae1231eb04109f0e')
    build() {
    cd ${startdir}/src/${pkgname}-${pkgver}
    ./configure --prefix=/usr --disable-static --with-plugin-dir=/usr/lib/mozilla/plugins/
    make || return 1
    make DESTDIR=${startdir}/pkg install
    Updated to distinguish this package from gstreamer0.10-ffmpeg.
    Last edited by skottish (2008-11-15 08:12:02)

    Is the gstreamer0.10-ffmpeg package in extra still an issue? Maybe I don't know what I'm talking about but if it didn't use "the system's ffmpeg" I would expect it to come with an entire copy of ffmpeg. However all I see is:
    [connor@connors-laptop gstreamer-0.10]$ pacman -Ql gstreamer0.10-ffmpeg
    gstreamer0.10-ffmpeg /usr/
    gstreamer0.10-ffmpeg /usr/lib/
    gstreamer0.10-ffmpeg /usr/lib/gstreamer-0.10/
    gstreamer0.10-ffmpeg /usr/lib/gstreamer-0.10/libgstffmpeg.so
    gstreamer0.10-ffmpeg /usr/lib/gstreamer-0.10/libgstffmpegscale.so
    gstreamer0.10-ffmpeg /usr/lib/gstreamer-0.10/libgstpostproc.so
    Is the current package built against the system ffmpeg or not?

  • Some issues after switching from 686 to x86_64

    Hi all,
    after switching from i686 to x86_64 using this link I am now facing some minor issues with some packages. I already activated the multilib repository but some problems remain. I checked the binaries in /usr/bin for 32 bit executables as described in the above link and there are 177 "bad" binaries left. I thought all of these were not executable, but surprisingly wine was. Strange!
    ffmpeg is another 32 bit executable and not runnable. So I tried to reinstall it, but that failed:
    > pacman -S ffmpeg
    warning: ffmpeg-1:2.6.1-1 is up to date -- reinstalling
    resolving dependencies...
    looking for conflicting packages...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: ffmpeg-compat: requires libx264.so=144-32
    libx264 is installed and didn't want to be reinstalled either:
    > pacman -S libx264
    warning: libx264-2:144.20150223-1 is up to date -- reinstalling
    resolving dependencies...
    looking for conflicting packages...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: ffmpeg: requires libx264.so=144-32
    :: ffmpeg-compat: requires libx264.so=144-32
    Can someone give me a hint, what's the best way to solve this problem?
    Thanks in advance, Zmann

    I think the first issue you will run in to is that the interface for an old P4 hdd will probably not be the same as a new computer.  Besides that, it will probably be vastly slower than what comes with a new computer.  I think that is not the best idea.
    The only wat to really "trasition" between two archtectures that I know of is to copy configuration files over and have pacman dump a list of explicitly installed packages from the main repos.  Then use that information to reinstall all those packages.

  • The iPod "iPod" could not be restored because it is busy

    My 20g ipod started giving me trouble a few weeks ago after I loaded some post-Christmas purchases. It wouldn't load the last few songs, and it was half-empty, so capacity wasn't an issue.
    I next tried to restore the iPod, but my mac mini then seized up, and the restart hung, so I had to do a hard restart.
    Upon restart, the iPod was obviously now corrupted, with only a half-completed restore, so I tried again.
    This time, and every time since, I get the following error message: The iPod "iPod" could not be restored because it is busy
    So, I next followed the 5 R's, to no avail.
    Disk Utility gives me the error Disk Erase failed Disk Erase failed with the error: Input/Output error
    I also tried security erase, and while it starts with the overwrite, it eventually kicks out of the process with another I/O error.
    Today, I downloaded iTunes 7.6 with the hope that it would fix this issue, as it has been surfacing in discussions pretty commonly. I thought this was reasonable, because of some difficulties with iTunes after the release of the iPhone were solved upon the next release of iTunes.
    Unfortunately, I am facing the exact same situation.
    There is one additional step I was able to take by trial and error, and one further step I am considering.
    When I originally searched this topic, I came upon a "diagnostic mode" fix that's supposed to be accessed only by the iPod nano.
    Using this mode, I was able to run several tests, and ram checks out, and one of the two disk tests come back fine.
    Since I don't know what the alphabet test results mean, this was about all I was able to gather.
    I attemmpted to use the diagnostic mode reset, but the problem continued.
    My final thought, aside from waiting for a further iTunes update, was to dig out a third-party disk utility I have here somewhere and see if that will erase the iPod.
    Any suggestions out there?

    I was able to solve this by (warning, this will void your warranty) taking the iPod apart, very carefully. Being careful not to separate the cables inside, place a folded business card on the hard disk, and place the metal half back on.
    Do a Google search if you don't believe me.
    Oh, and for the gent from Apple that removed the post containing URL with pictures of this fix, I do NOT receive any cash, complensation, self esteem or other recompense or good feeling from posting this fix, or directing people to search for it.

Maybe you are looking for

  • How to connect my apple devices to each other

    My apple gadgets has problem connecting each other, i am upset in my iphone 5 and ipod nano 7th gen connecting to each other in macbook pro.. can you give me an advice to solve this problem...

  • My apple id and password doe not work on icloud

    My apple id and password works fine on everything else i do!!!! but it wont let me sign into i cloud!!!!! very ****** off!!! please help

  • How do I stop scrolbars in a DIV in Netscape

    Hi I have a containing DIV which displays fine in Firefox and IE, but when it's dynamic data extends too low, scrollbars appear within the DIV (only in Netscape). What do I put in the CSS to stop this? Cheers Shaun

  • How to change content filtering level 101

    I am not saavy when it comes to phone technology. I am trying to change the content filtering level on my Motorola  so I will be able to download apps, when I try to download I get a message stating the content filtering level won't allow me to downl

  • Connect to Server/username & password

    I am trying to upload files to a web site. I was instructed to create a new network place (a Windows function) and I am trying to do the equivalent on the Mac. If I connect to a server, I can enter the URL, but I never get asked nor do I see how I ca