mpv-player / mpv

🎥 Command line video player
https://mpv.io
Other
28.63k stars 2.92k forks source link

Regression: mpv hangs when switching audio tracks #933

Closed skalinichev closed 10 years ago

skalinichev commented 10 years ago

When trying to switch audio tracks in paused mode, mpv hangs.

This is a regresion caused by: commit 1c0939cb803d2ebec8fda3782dd890ebeb9229f5 Author: wm4 wm4@nowhere Date: Mon Jun 30 18:24:20 2014 +0200 options: fix --gapless-audio default value

It was intended to be set to "weak" (and that was even documented), b
the actual setting was "no".

Steps to reproduce: Open any video file (even with 1 audio track) , press pause, try to switch audio tracks => mpv hangs.

I'm using mpv from master branch, libavutil 53.3.0, libavcodec 55.34.1, libavformat 55.12.0, libswscale 2.1.2, libavresample 1.1.0

Also I've tried different -ao options (alsa and pulse) the result is the same.

ghost commented 10 years ago

Hm, can't reproduce with --ao=alsa.

Can you post a log with -v?

skalinichev commented 10 years ago

Sure. Also I've noticed that this dosn't hapen with -ao=openal. And with -ao=alsa/pulse it doesn't completly hangs, i.e. after waiting ~20 seconds it continue working.

$ mpv -v -ao=alsa '/media/kso/5b2208ea-2f25-4f3f-b1dd-61492b4ac486/Tchaikovsky,Essential ,Complete,Swan Lake ,The Nutcracker, The Sleeping Beauty, R. Bonynge/Tchaikovsky,The Nutcracker/19 The Nutcracker Act II No. 13 Valse des fleurs.mp3' [cplayer] mpv git-a09329b (C) 2000-2014 mpv/MPlayer/mplayer2 projects [cplayer] built on 2014-07-13T09:30:03 [cplayer] libav library versions: [cplayer] libavutil 53.3.0 [cplayer] libavcodec 55.34.1 [cplayer] libavformat 55.12.0 [cplayer] libswscale 2.1.2 [cplayer] libavresample 1.1.0 [cplayer] [global] search dirs: /home/kso/.mpv /home/kso/builds/etc/mpv [global] search dirs: /home/kso/.mpv /home/kso/builds/etc/mpv [global] config file: 'config' [global] -> '/home/kso/.mpv/config' [cplayer] Reading config file /home/kso/.mpv/config [cplayer] Setting option 'vo' = 'opengl-hq' (flags = 4) [cplayer] Setting option 'saturation' = '30' (flags = 4) [global] search dirs: /home/kso/.mpv /home/kso/builds/etc/mpv [global] config file: 'mpv.conf' [cplayer] Setting option 'v' = '' (flags = 8) [cplayer] Setting option 'ao' = 'alsa' (flags = 8) [cplayer] Configuration: ./waf configure --prefix=/home/kso/builds/ --enable-joystick --enable-openal [cplayer] Command line: 'mpv' '-v' '-ao=alsa' '/media/kso/5b2208ea-2f25-4f3f-b1dd-61492b4ac486/Tchaikovsky,Essential ,Complete,Swan Lake ,The Nutcracker, The Sleeping Beauty, R. Bonynge/Tchaikovsky,The Nutcracker/19 The Nutcracker Act II No. 13 Valse des fleurs.mp3' [input] enable section 'default' [global] search dirs: /home/kso/.mpv /home/kso/builds/etc/mpv [global] config path: 'input.conf' -> '(NULL)' [input] Falling back on default (hardcoded) input config [global] search dirs: /home/kso/.mpv /home/kso/builds/etc/mpv [global] config path: 'fonts' -> '(NULL)' [global] search dirs: /home/kso/.mpv /home/kso/builds/etc/mpv [global] config file: 'lua' [global] search dirs: /home/kso/.mpv /home/kso/builds/etc/mpv [global] config path: 'watch_later/153FACF78CD037E8B8FEC88EF853745F' -> '(NULL)' [global] search dirs: /home/kso/.mpv /home/kso/builds/etc/mpv [global] config path: 'watch_later' -> '(NULL)' [global] search dirs: /home/kso/.mpv /home/kso/builds/etc/mpv [global] config path: '19 The Nutcracker Act II No. 13 Valse des fleurs.mp3.conf' -> '(NULL)' [global] search dirs: /home/kso/.mpv /home/kso/builds/etc/mpv [global] config path: 'watch_later/153FACF78CD037E8B8FEC88EF853745F' -> '(NULL)' [global] search dirs: /home/kso/.mpv /home/kso/builds/etc/mpv [global] config path: 'watch_later' -> '(NULL)' [cplayer] Playing: /media/kso/5b2208ea-2f25-4f3f-b1dd-61492b4ac486/Tchaikovsky,Essential ,Complete,Swan Lake ,The Nutcracker, The Sleeping Beauty, R. Bonynge/Tchaikovsky,The Nutcracker/19 The Nutcracker Act II No. 13 Valse des fleurs.mp3 [file] Opened: [file] /media/kso/5b2208ea-2f25-4f3f-b1dd-61492b4ac486/Tchaikovsky,Essential ,Complete,Swan Lake ,The Nutcracker, The Sleeping Beauty, R. Bonynge/Tchaikovsky,The Nutcracker/19 The Nutcracker Act II No. 13 Valse des fleurs.mp3 [demux] Trying demuxer: disc (force-level: normal) [demux] Trying demuxer: edl (force-level: normal) [demux] Trying demuxer: cue (force-level: normal) [demux] Trying demuxer: rawaudio (force-level: normal) [demux] Trying demuxer: rawvideo (force-level: normal) [demux] Trying demuxer: tv (force-level: normal) [demux] Trying demuxer: libass (force-level: normal) [demux] Trying demuxer: mkv (force-level: normal) [demux] Trying demuxer: lavf (force-level: normal) [lavf] Found 'mp3' at score=1 size=4096. [lavf] Found 'mp3' at score=51 size=8192. [libav/demuxer] mp3: max_analyze_duration reached [lavf] avformat_find_stream_info() finished after 229376 bytes. [demux] Detected file format: MP2/3 (MPEG audio layer 2/3) (libavformat) [demux] File tags: [demux] title: 19 The Nutcracker Act II No. 13 Valse des fleurs [demux] artist: Richard Bonynge - National Philharmonic Orchestra [demux] album_artist: Richard Bonynge - National Philharmonic Orchestra [demux] album: Tchaikovsky - The Ballets CD 4 [demux] genre: classical [demux] disc: 1/1 [demux] track: 9/26 [demux] AccurateRipResult: AccurateRip: Accurate (confidence 3) [FF106995] [demux] date: 1974 [lavf] Replaygain tags not found [global] search dirs: /home/kso/.mpv /home/kso/builds/etc/mpv [global] config path: 'subfont.ttf' -> '(NULL)' [global] search dirs: /home/kso/.mpv /home/kso/builds/etc/mpv [global] config path: 'fonts.conf' -> '(NULL)' [libass] Setting up fonts... [libass] Done. [find_subfiles] Load subtitles in /media/kso/5b2208ea-2f25-4f3f-b1dd-61492b4ac486/Tchaikovsky,Essential ,Complete,Swan Lake ,The Nutcracker, The Sleeping Beauty, R. Bonynge/Tchaikovsky,The Nutcracker/ [global] search dirs: /home/kso/.mpv /home/kso/builds/etc/mpv [global] config path: 'sub/' -> '(NULL)' [cplayer] [stream] Audio (+) --aid=1 (mp3) [cplayer] Video: no video [ad] Codec list: [ad] mpg123:mp3 - High-performance decoder using libmpg123 [ad] lavc:mp3 - MP3 (MPEG audio layer 3) [ad] lavc:mp3float (mp3) - MP3 (MPEG audio layer 3) [ad] Opening audio decoder mpg123:mp3 [ad] Selected audio codec: High-performance decoder using libmpg123 [mpg123:mp3] [ad] AUDIO: 44100 Hz, 2 ch, s16 [ad] Building audio filter chain for 44100Hz stereo 2ch s16 -> 0Hz stereo 2ch ??... [af] Audio filter chain: [af] [in] 44100Hz stereo 2ch s16 [af] [out] 44100Hz stereo 2ch s16 [af] [ao] 0Hz stereo 2ch ?? [ao] Trying preferred audio driver 'alsa' [ao/alsa] requested format: 44100 Hz, stereo channels, s16 [ao/alsa] using device: default [ao/alsa] using ALSA version: 1.0.27.2 [ao/alsa] pcm opened in blocking mode [ao/alsa] got buffersize=11025 samples [ao/alsa] got period size 689 [ao/alsa] opened: 44100 Hz/2 channels/16 bps/11025 samples buffer/Signed 16 bit Little Endian [ao/alsa] device buffer: 11025 samples. [ao/alsa] using soft-buffer of 11025 samples. [cplayer] AO: [alsa] 44100Hz stereo 2ch s16 [cplayer] AO: Description: ALSA-0.9.x-1.x audio output [ad] Building audio filter chain for 44100Hz stereo 2ch s16 -> 44100Hz stereo 2ch s16... [af] Audio filter chain: [af] [in] 44100Hz stereo 2ch s16 [af] [out] 44100Hz stereo 2ch s16 [af] [ao] 44100Hz stereo 2ch s16 [cplayer] Starting playback... statusline A: 00:00:01 / 00:06:36 (0%) [ad] Uninit audio filters... [ad] Uninit audio decoder.

Here it hangs, but if you wait a bit (~20 seconds), it'll print

[ao/alsa] uninit: pcm closed [cplayer] Audio: no audio

statusline : 00:00:01 / 00:06:36 (0%)

ghost commented 10 years ago

Hm, and with -v -v -v? (That's probably going to be large.)

skalinichev commented 10 years ago

$ mpv -ao=alsa -v -v -v '/media/kso/5b2208ea-2f25-4f3f-b1dd-61492b4ac486/Tchaikovsky,Essential ,Complete,Swan Lake ,The Nutcracker, The Sleeping Beauty, R. Bonynge/Tchaikovsky,The Nutcracker/19 The Nutcracker Act II No. 13 Valse des fleurs.mp3' [cplayer] mpv git-a09329b (C) 2000-2014 mpv/MPlayer/mplayer2 projects [cplayer] built on 2014-07-13T09:30:03 [cplayer] libav library versions: [cplayer] libavutil 53.3.0 [cplayer] libavcodec 55.34.1 [cplayer] libavformat 55.12.0 [cplayer] libswscale 2.1.2 [cplayer] libavresample 1.1.0 [cplayer] [global] search dirs: /home/kso/.mpv /home/kso/builds/etc/mpv [global] search dirs: /home/kso/.mpv /home/kso/builds/etc/mpv [global] config file: 'config' [global] -> '/home/kso/.mpv/config' [cplayer] Reading config file /home/kso/.mpv/config [cplayer] Setting option 'vo' = 'opengl-hq' (flags = 4) [cplayer] Setting option 'saturation' = '30' (flags = 4) [global] search dirs: /home/kso/.mpv /home/kso/builds/etc/mpv [global] config file: 'mpv.conf' [cplayer] Setting option 'ao' = 'alsa' (flags = 8) [cplayer] Setting option 'v' = '' (flags = 8) [cplayer] Setting option 'v' = '' (flags = 8) [cplayer] Setting option 'v' = '' (flags = 8) [cplayer] Configuration: ./waf configure --prefix=/home/kso/builds/ --enable-joystick --enable-openal [cplayer] Command line: 'mpv' '-ao=alsa' '-v' '-v' '-v' '/media/kso/5b2208ea-2f25-4f3f-b1dd-61492b4ac486/Tchaikovsky,Essential ,Complete,Swan Lake ,The Nutcracker, The Sleeping Beauty, R. Bonynge/Tchaikovsky,The Nutcracker/19 The Nutcracker Act II No. 13 Valse des fleurs.mp3' [input] enable section 'default' [input] active section stack: [input] default 12 [input] add: section='default' key='MOUSE_BTN0' builtin cmd='ignore # don't do anything' location=':1' [input] add: section='default' key='MOUSE_BTN0_DBL' builtin cmd='cycle fullscreen # toggle fullscreen on/off' location=':1' [input] add: section='default' key='MOUSE_BTN2' builtin cmd='cycle pause # toggle pause on/off' location=':1' [input] add: section='default' key='MOUSE_BTN3' builtin cmd='seek 10' location=':1' [input] add: section='default' key='MOUSE_BTN4' builtin cmd='seek -10' location=':1' [input] add: section='default' key='MOUSE_BTN5' builtin cmd='add volume 1' location=':1' [input] add: section='default' key='MOUSE_BTN6' builtin cmd='add volume -1' location=':1' [input] add: section='default' key='AXIS_UP' builtin cmd='seek 10' location=':1' [input] add: section='default' key='AXIS_DOWN' builtin cmd='seek -10' location=':1' [input] add: section='default' key='AXIS_LEFT' builtin cmd='seek 5' location=':1' [input] add: section='default' key='AXIS_RIGHT' builtin cmd='seek -5' location=':1' [input] add: section='default' key='RIGHT' builtin cmd='seek 10' location=':1' [input] add: section='default' key='LEFT' builtin cmd='seek -10' location=':1' [input] add: section='default' key='UP' builtin cmd='seek 60' location=':1' [input] add: section='default' key='DOWN' builtin cmd='seek -60' location=':1' [input] add: section='default' key='Shift+RIGHT' builtin cmd='no-osd seek 1 - exact' location=':1' [input] add: section='default' key='Shift+LEFT' builtin cmd='no-osd seek -1 - exact' location=':1' [input] add: section='default' key='Shift+UP' builtin cmd='no-osd seek 5 - exact' location=':1' [input] add: section='default' key='Shift+DOWN' builtin cmd='no-osd seek -5 - exact' location=':1' [input] add: section='default' key='PGUP' builtin cmd='seek 600' location=':1' [input] add: section='default' key='PGDWN' builtin cmd='seek -600' location=':1' [input] add: section='default' key='+' builtin cmd='add audio-delay 0.100 # this changes audio/video sync' location=':1' [input] add: section='default' key='-' builtin cmd='add audio-delay -0.100' location=':1' [input] add: section='default' key='[' builtin cmd='multiply speed 0.9091 # scale playback speed' location=':1' [input] add: section='default' key=']' builtin cmd='multiply speed 1.1' location=':1' [input] add: section='default' key='{' builtin cmd='multiply speed 0.5' location=':1' [input] add: section='default' key='}' builtin cmd='multiply speed 2.0' location=':1' [input] add: section='default' key='BS' builtin cmd='set speed 1.0 # reset speed to normal' location=':1' [input] add: section='default' key='q' builtin cmd='quit' location=':1' [input] add: section='default' key='Q' builtin cmd='quit_watch_later' location=':1' [input] add: section='encode' key='q' builtin cmd='quit' location=':1' [input] add: section='default' key='ESC' builtin cmd='quit' location=':1' [input] add: section='encode' key='ESC' builtin cmd='quit' location=':1' [input] add: section='default' key='p' builtin cmd='cycle pause # toggle pause/playback mode' location=':1' [input] add: section='default' key='.' builtin cmd='frame_step # advance one frame and pause' location=':1' [input] add: section='default' key=',' builtin cmd='frame_back_step # go back by one frame and pause' location=':1' [input] add: section='default' key='SPACE' builtin cmd='cycle pause' location=':1' [input] add: section='default' key='>' builtin cmd='playlist_next # skip to next file' location=':1' [input] add: section='default' key='ENTER' builtin cmd='playlist_next force # skip to next file or quit' location=':1' [input] add: section='default' key='<' builtin cmd='playlist_prev # skip to previous file' location=':1' [input] add: section='default' key='o' builtin cmd='osd # cycle through OSD mode' location=':1' [input] add: section='default' key='I' builtin cmd='show_text "${filename}" # display filename in osd' location=':1' [input] add: section='default' key='P' builtin cmd='showprogress' location=':1' [input] add: section='default' key='z' builtin cmd='add sub-delay -0.1 # subtract 100 ms delay from subs' location=':1' [input] add: section='default' key='x' builtin cmd='add sub-delay +0.1 # add' location=':1' [input] add: section='default' key='9' builtin cmd='add volume -1' location=':1' [input] add: section='default' key='/' builtin cmd='add volume -1' location=':1' [input] add: section='default' key='0' builtin cmd='add volume 1' location=':1' [input] add: section='default' key='' builtin cmd='add volume 1' location=':1' [input] add: section='default' key='(' builtin cmd='add balance -0.1 # adjust audio balance in favor of left' location=':1' [input] add: section='default' key=')' builtin cmd='add balance 0.1 # right' location=':1' [input] add: section='default' key='m' builtin cmd='cycle mute' location=':1' [input] add: section='default' key='1' builtin cmd='add contrast -1' location=':1' [input] add: section='default' key='2' builtin cmd='add contrast 1' location=':1' [input] add: section='default' key='3' builtin cmd='add brightness -1' location=':1' [input] add: section='default' key='4' builtin cmd='add brightness 1' location=':1' [input] add: section='default' key='5' builtin cmd='add gamma -1' location=':1' [input] add: section='default' key='6' builtin cmd='add gamma 1' location=':1' [input] add: section='default' key='7' builtin cmd='add saturation -1' location=':1' [input] add: section='default' key='8' builtin cmd='add saturation 1' location=':1' [input] add: section='default' key='d' builtin cmd='cycle framedrop # cycle through framedrop modes' location=':1' [input] add: section='default' key='D' builtin cmd='cycle deinterlace' location=':1' [input] add: section='default' key='c' builtin cmd='cycle colormatrix' location=':1' [input] add: section='default' key='r' builtin cmd='add sub-pos -1 # move subtitles up' location=':1' [input] add: section='default' key='t' builtin cmd='add sub-pos +1 # down' location=':1' [input] add: section='default' key='v' builtin cmd='cycle sub-visibility' location=':1' [input] add: section='default' key='V' builtin cmd='cycle ass-vsfilter-aspect-compat' location=':1' [input] add: section='default' key='j' builtin cmd='cycle sub # cycle through subtitles' location=':1' [input] add: section='default' key='J' builtin cmd='cycle sub down # ...backwards' location=':1' [input] add: section='default' key='F' builtin cmd='cycle sub-forced-only' location=':1' [input] add: section='default' key='SHARP' builtin cmd='cycle audio # switch audio streams' location=':1' [input] add: section='default' key='_' builtin cmd='cycle video' location=':1' [input] add: section='default' key='TAB' builtin cmd='cycle program' location=':1' [input] add: section='default' key='T' builtin cmd='cycle ontop # toggle video window ontop of other windows' location=':1' [input] add: section='default' key='f' builtin cmd='cycle fullscreen # toggle fullscreen' location=':1' [input] add: section='default' key='s' builtin cmd='screenshot # take a screenshot' location=':1' [input] add: section='default' key='S' builtin cmd='screenshot video # ...without subtitles' location=':1' [input] add: section='default' key='Alt+s' builtin cmd='screenshot - each-frame # automatically screenshot every frame' location=':1' [input] add: section='default' key='w' builtin cmd='add panscan -0.1 # zoom out with -panscan 0 -fs' location=':1' [input] add: section='default' key='e' builtin cmd='add panscan +0.1 # in' location=':1' [input] add: section='default' key='POWER' builtin cmd='quit' location=':1' [input] add: section='default' key='MENU' builtin cmd='cycle osd' location=':1' [input] add: section='default' key='PLAY' builtin cmd='cycle pause' location=':1' [input] add: section='default' key='PAUSE' builtin cmd='cycle pause' location=':1' [input] add: section='default' key='PLAYPAUSE' builtin cmd='cycle pause' location=':1' [input] add: section='default' key='STOP' builtin cmd='quit' location=':1' [input] add: section='default' key='FORWARD' builtin cmd='seek 60' location=':1' [input] add: section='default' key='REWIND' builtin cmd='seek -60' location=':1' [input] add: section='default' key='NEXT' builtin cmd='playlist_next' location=':1' [input] add: section='default' key='PREV' builtin cmd='playlist_prev' location=':1' [input] add: section='default' key='VOLUME_UP' builtin cmd='add volume 1' location=':1' [input] add: section='default' key='VOLUME_DOWN' builtin cmd='add volume -1' location=':1' [input] add: section='default' key='MUTE' builtin cmd='cycle mute' location=':1' [input] add: section='default' key='CLOSE_WIN' builtin cmd='quit' location=':1' [input] add: section='encode' key='CLOSE_WIN' builtin cmd='quit' location=':1' [input] add: section='default' key='!' builtin cmd='add chapter -1 # skip to previous chapter' location=':1' [input] add: section='default' key='@' builtin cmd='add chapter 1 # next' location=':1' [input] add: section='default' key='E' builtin cmd='cycle edition # next edition' location=':1' [input] add: section='default' key='A' builtin cmd='cycle angle' location=':1' [input] add: section='default' key='U' builtin cmd='stop' location=':1' [input] add: section='default' key='l' builtin cmd='cycle quvi-format 1' location=':1' [input] add: section='default' key='L' builtin cmd='cycle quvi-format -1' location=':1' [input] add: section='default' key='AR_PLAY' builtin cmd='cycle pause' location=':1' [input] add: section='default' key='AR_PLAY_HOLD' builtin cmd='quit' location=':1' [input] add: section='default' key='AR_CENTER' builtin cmd='cycle pause' location=':1' [input] add: section='default' key='AR_CENTER_HOLD' builtin cmd='quit' location=':1' [input] add: section='default' key='AR_NEXT' builtin cmd='seek 10' location=':1' [input] add: section='default' key='AR_NEXT_HOLD' builtin cmd='seek 120' location=':1' [input] add: section='default' key='AR_PREV' builtin cmd='seek -10' location=':1' [input] add: section='default' key='AR_PREV_HOLD' builtin cmd='seek -120' location=':1' [input] add: section='default' key='AR_MENU' builtin cmd='show_progress' location=':1' [input] add: section='default' key='AR_MENU_HOLD' builtin cmd='cycle mute' location=':1' [input] add: section='default' key='AR_VUP' builtin cmd='add volume 1' location=':1' [input] add: section='default' key='AR_VUP_HOLD' builtin cmd='add chapter 1' location=':1' [input] add: section='default' key='AR_VDOWN' builtin cmd='add volume -1' location=':1' [input] add: section='default' key='AR_VDOWN_HOLD' builtin cmd='add chapter -1' location=':1' [input] add: section='default' key='JOY_RIGHT' builtin cmd='seek 10' location=':1' [input] add: section='default' key='JOY_LEFT' builtin cmd='seek -10' location=':1' [input] add: section='default' key='JOY_UP' builtin cmd='seek 60' location=':1' [input] add: section='default' key='JOY_DOWN' builtin cmd='seek -60' location=':1' [input] add: section='default' key='JOY_BTN0' builtin cmd='cycle pause' location=':1' [input] add: section='default' key='JOY_BTN1' builtin cmd='cycle osd' location=':1' [input] add: section='default' key='JOY_BTN2' builtin cmd='add volume 1' location=':1' [input] add: section='default' key='JOY_BTN3' builtin cmd='add volume -1' location=':1' [input] add: section='discnav' key='ENTER' builtin cmd='discnav menu # DISCNAV MENU' location=':1' [input] add: section='discnav-menu' key='UP' builtin cmd='discnav up # DISCNAV UP' location=':1' [input] add: section='discnav-menu' key='DOWN' builtin cmd='discnav down # DISCNAV DOWN' location=':1' [input] add: section='discnav-menu' key='LEFT' builtin cmd='discnav left # DISCNAV LEFT' location=':1' [input] add: section='discnav-menu' key='RIGHT' builtin cmd='discnav right # DISCNAV RIGHT' location=':1' [input] add: section='discnav-menu' key='ENTER' builtin cmd='discnav select # DISCNAV SELECT (ok)' location=':1' [input] add: section='discnav-menu' key='MOUSE_BTN0' builtin cmd='discnav mouse' location=':1' [input] add: section='discnav-menu' key='MOUSE_MOVE' builtin cmd='discnav mouse_move' location=':1' [input] add: section='default' key='h' builtin cmd='cycle tv-channel -1 # previous channel' location=':1' [input] add: section='default' key='k' builtin cmd='cycle tv-channel +1 # next channel' location=':1' [global] search dirs: /home/kso/.mpv /home/kso/builds/etc/mpv [global] config path: 'input.conf' -> '(NULL)' [input] Falling back on default (hardcoded) input config [global] search dirs: /home/kso/.mpv /home/kso/builds/etc/mpv [global] config path: 'fonts' -> '(NULL)' [global] search dirs: /home/kso/.mpv /home/kso/builds/etc/mpv [global] config file: 'lua' [global] search dirs: /home/kso/.mpv /home/kso/builds/etc/mpv [global] config path: 'watch_later/153FACF78CD037E8B8FEC88EF853745F' -> '(NULL)' [global] search dirs: /home/kso/.mpv /home/kso/builds/etc/mpv [global] config path: 'watch_later' -> '(NULL)' [global] search dirs: /home/kso/.mpv /home/kso/builds/etc/mpv [global] config path: '19 The Nutcracker Act II No. 13 Valse des fleurs.mp3.conf' -> '(NULL)' [global] search dirs: /home/kso/.mpv /home/kso/builds/etc/mpv [global] config path: 'watch_later/153FACF78CD037E8B8FEC88EF853745F' -> '(NULL)' [global] search dirs: /home/kso/.mpv /home/kso/builds/etc/mpv [global] config path: 'watch_later' -> '(NULL)' [cplayer] Playing: /media/kso/5b2208ea-2f25-4f3f-b1dd-61492b4ac486/Tchaikovsky,Essential ,Complete,Swan Lake ,The Nutcracker, The Sleeping Beauty, R. Bonynge/Tchaikovsky,The Nutcracker/19 The Nutcracker Act II No. 13 Valse des fleurs.mp3 [file] Opened: [file] /media/kso/5b2208ea-2f25-4f3f-b1dd-61492b4ac486/Tchaikovsky,Essential ,Complete,Swan Lake ,The Nutcracker, The Sleeping Beauty, R. Bonynge/Tchaikovsky,The Nutcracker/19 The Nutcracker Act II No. 13 Valse des fleurs.mp3 [demux] Trying demuxer: disc (force-level: normal) [file] seek to 0x0 [demux] Trying demuxer: edl (force-level: normal) [file] seek to 0x0 [demux] Trying demuxer: cue (force-level: normal) [file] seek to 0x0 [demux] Trying demuxer: rawaudio (force-level: normal) [file] seek to 0x0 [demux] Trying demuxer: rawvideo (force-level: normal) [file] seek to 0x0 [demux] Trying demuxer: tv (force-level: normal) [file] seek to 0x0 [demux] Trying demuxer: libass (force-level: normal) [file] seek to 0x0 [demux] Trying demuxer: mkv (force-level: normal) [file] seek to 0x0 [demux] Trying demuxer: lavf (force-level: normal) [lavf] Found 'mp3' at score=1 size=4096. [lavf] Found 'mp3' at score=51 size=8192. [lavf] 32768=mp_read(0x7f8befb6d050, 0x25b90a0, 32768), pos: 32768, eof:0 [lavf] 32768=mp_read(0x7f8befb6d050, 0x25b90a0, 32768), pos: 65536, eof:0 [lavf] 32768=mp_read(0x7f8befb6d050, 0x25b90a0, 32768), pos: 98304, eof:0 [lavf] 32768=mp_read(0x7f8befb6d050, 0x25b90a0, 32768), pos: 131072, eof:0 [lavf] 32768=mp_read(0x7f8befb6d050, 0x25b90a0, 32768), pos: 163840, eof:0 [lavf] 32768=mp_read(0x7f8befb6d050, 0x25b90a0, 32768), pos: 196608, eof:0 [lavf] 32768=mp_read(0x7f8befb6d050, 0x25b90a0, 32768), pos: 229376, eof:0 [libav/demuxer] mp3: max_analyze_duration reached [lavf] mp_seek(0x7f8befb6d050, 0, 65536) [lavf] mp_seek(0x7f8befb6d050, 0, 65536) [lavf] mp_seek(0x7f8befb6d050, 0, 65536) [lavf] avformat_find_stream_info() finished after 229376 bytes. [demux] Detected file format: MP2/3 (MPEG audio layer 2/3) (libavformat) [demux] File tags: [demux] title: 19 The Nutcracker Act II No. 13 Valse des fleurs [demux] artist: Richard Bonynge - National Philharmonic Orchestra [demux] album_artist: Richard Bonynge - National Philharmonic Orchestra [demux] album: Tchaikovsky - The Ballets CD 4 [demux] genre: classical [demux] disc: 1/1 [demux] track: 9/26 [demux] AccurateRipResult: AccurateRip: Accurate (confidence 3) [FF106995] [demux] date: 1974 [lavf] Replaygain tags not found [libass] Raster: FreeType 2.5.2 [libass] Shaper: FriBidi 0.19.5 (SIMPLE) HarfBuzz-ng 0.9.26 (COMPLEX) [libass] Initialized [global] search dirs: /home/kso/.mpv /home/kso/builds/etc/mpv [global] config path: 'subfont.ttf' -> '(NULL)' [global] search dirs: /home/kso/.mpv /home/kso/builds/etc/mpv [global] config path: 'fonts.conf' -> '(NULL)' [libass] Setting up fonts... [libass] Done. [findsubfiles] Load subtitles in /media/kso/5b2208ea-2f25-4f3f-b1dd-61492b4ac486/Tchaikovsky,Essential ,Complete,Swan Lake ,The Nutcracker, The Sleeping Beauty, R. Bonynge/Tchaikovsky,The Nutcracker/ [global] search dirs: /home/kso/.mpv /home/kso/builds/etc/mpv [global] config path: 'sub/' -> '(NULL)' [cplayer] [stream] Audio (+) --aid=1 (mp3) [cplayer] [cplayer] ** uninit(0x0) [cplayer] Video: no video [ad] Codec list: [ad] mpg123:mp3 - High-performance decoder using libmpg123 [ad] lavc:mp3 - MP3 (MPEG audio layer 3) [ad] lavc:mp3float (mp3) - MP3 (MPEG audio layer 3) [ad] Opening audio decoder mpg123:mp3 [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1044 pts=0.000 pos=3092 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=0.026 pos=4116 [A=1 V=0 S=0] [ad] Selected audio codec: High-performance decoder using libmpg123 [mpg123:mp3] [ad] AUDIO: 44100 Hz, 2 ch, s16 [ad] Building audio filter chain for 44100Hz stereo 2ch s16 -> 0Hz stereo 2ch ??... [af] Audio filter chain: [af] [in] 44100Hz stereo 2ch s16 [af] [out] 44100Hz stereo 2ch s16 [af] [ao] 0Hz stereo 2ch ?? [ao] Trying preferred audio driver 'alsa' [ao/alsa] requested format: 44100 Hz, stereo channels, s16 [ao/alsa] using device: default [ao/alsa] using ALSA version: 1.0.27.2 [ao/alsa] pcm opened in blocking mode [ao/alsa] got buffersize=11025 samples [ao/alsa] got period size 689 [ao/alsa] opened: 44100 Hz/2 channels/16 bps/11025 samples buffer/Signed 16 bit Little Endian [ao/alsa] device buffer: 11025 samples. [ao/alsa] using soft-buffer of 11025 samples. [cplayer] AO: [alsa] 44100Hz stereo 2ch s16 [cplayer] AO: Description: ALSA-0.9.x-1.x audio output [ad] Building audio filter chain for 44100Hz stereo 2ch s16 -> 44100Hz stereo 2ch s16... [af] Audio filter chain: [af] [in] 44100Hz stereo 2ch s16 [af] [out] 44100Hz stereo 2ch s16 [af] [ao] 44100Hz stereo 2ch s16 [cplayer] Starting playback... [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=0.052 pos=5140 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=0.078 pos=6164 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=0.104 pos=7188 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=0.131 pos=8212 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=0.157 pos=9236 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=0.183 pos=10260 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=0.209 pos=11284 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=0.235 pos=12308 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1044 pts=0.261 pos=13332 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=0.287 pos=14356 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=0.313 pos=15380 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=0.340 pos=16404 [A=1 V=0 S=0] [statusline] A: 00:00:00 / 00:06:36 (0%) [ao/alsa] in=15435, space=11025 r=11024 flags=0 aw=0 full=0 f=0 [ao/alsa] in=4411, space=1677 r=1378 flags=0 aw=0 full=0 f=0 [ao/alsa] in=3033, space=299 r=0 flags=0 aw=0 full=1 f=0 [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=0.366 pos=17428 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=0.392 pos=18452 [A=1 V=0 S=0] [statusline] A: 00:00:00 / 00:06:36 (0%) [ao/alsa] in=4709, space=299 r=0 flags=0 aw=0 full=1 f=0 [ao/alsa] in=4709, space=4972 r=4134 flags=0 aw=0 full=0 f=0 [ao/alsa] in=575, space=838 r=0 flags=0 aw=1 full=0 f=0 [ao/alsa] buffer inactive. [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=0.418 pos=19476 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=0.444 pos=20500 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=0.470 pos=21524 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=0.496 pos=22548 [A=1 V=0 S=0] [statusline] A: 00:00:00 / 00:06:36 (0%) [ao/alsa] in=5248, space=838 r=689 flags=0 aw=0 full=0 f=0 [ao/alsa] in=4559, space=149 r=0 flags=0 aw=0 full=1 f=0 [ao/alsa] in=4559, space=4501 r=4134 flags=0 aw=0 full=0 f=0 [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1044 pts=0.522 pos=23572 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=0.549 pos=24596 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=0.575 pos=25620 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=0.601 pos=26644 [A=1 V=0 S=0] [statusline] A: 00:00:00 / 00:06:36 (0%) [ao/alsa] in=4777, space=367 r=0 flags=0 aw=0 full=1 f=0 [statusline] A: 00:00:00 / 00:06:36 (0%) [ao/alsa] in=4777, space=4719 r=4134 flags=0 aw=0 full=0 f=0 [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=0.627 pos=27668 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=0.653 pos=28692 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=0.679 pos=29716 [A=1 V=0 S=0] [ao/alsa] in=4995, space=585 r=0 flags=0 aw=0 full=1 f=0 [statusline] A: 00:00:00 / 00:06:36 (0%) [ao/alsa] in=4995, space=4873 r=4823 flags=0 aw=0 full=0 f=0 [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=0.705 pos=30740 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=0.731 pos=31764 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=0.758 pos=32788 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1044 pts=0.784 pos=33812 [A=1 V=0 S=0] [statusline] A: 00:00:00 / 00:06:36 (0%) [ao/alsa] in=4460, space=50 r=0 flags=0 aw=0 full=1 f=0 [ao/alsa] in=4460, space=4330 r=4134 flags=0 aw=0 full=0 f=0 [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=0.810 pos=34836 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=0.836 pos=35860 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=0.862 pos=36884 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=0.888 pos=37908 [A=1 V=0 S=0] [statusline] A: 00:00:00 / 00:06:36 (0%) [ao/alsa] in=4606, space=196 r=0 flags=0 aw=0 full=1 f=0 [ao/alsa] in=4606, space=5004 r=4134 flags=0 aw=0 full=0 f=0 [ao/alsa] in=472, space=870 r=0 flags=0 aw=1 full=0 f=0 [ao/alsa] buffer inactive. [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=0.914 pos=38932 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=0.940 pos=39956 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=0.967 pos=40980 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=0.993 pos=42004 [A=1 V=0 S=0] [statusline] A: 00:00:00 / 00:06:36 (0%) [ao/alsa] in=5280, space=870 r=689 flags=0 aw=0 full=0 f=0 [statusline] A: 00:00:00 / 00:06:36 (0%) [ao/alsa] in=4591, space=181 r=0 flags=0 aw=0 full=1 f=0 [ao/alsa] in=4591, space=4501 r=4134 flags=0 aw=0 full=0 f=0 [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=1.019 pos=43028 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1044 pts=1.045 pos=44052 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=1.071 pos=45076 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=1.097 pos=46100 [A=1 V=0 S=0] [ao/alsa] in=4777, space=367 r=0 flags=0 aw=0 full=1 f=0 [statusline] A: 00:00:00 / 00:06:36 (0%) [ao/alsa] in=4777, space=4663 r=4134 flags=0 aw=0 full=0 f=0 [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=1.123 pos=47124 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=1.149 pos=48148 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=1.176 pos=49172 [A=1 V=0 S=0] [ao/alsa] in=4939, space=529 r=0 flags=0 aw=0 full=1 f=0 [statusline] A: 00:00:00 / 00:06:36 (0%) [ao/alsa] in=4939, space=4857 r=4823 flags=0 aw=0 full=0 f=0 [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=1.202 pos=50196 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=1.228 pos=51220 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=1.254 pos=52244 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1044 pts=1.280 pos=54292 [A=1 V=0 S=0] [ao/alsa] in=4444, space=34 r=0 flags=0 aw=0 full=1 f=0 [statusline] A: 00:00:00 / 00:06:36 (0%) [ao/alsa] in=4444, space=4402 r=4134 flags=0 aw=0 full=0 f=0 [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=1.306 pos=55316 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=1.332 pos=56340 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=1.358 pos=57364 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=1.384 pos=58388 [A=1 V=0 S=0] [ao/alsa] in=4678, space=268 r=0 flags=0 aw=0 full=1 f=0 [statusline] A: 00:00:00 / 00:06:36 (0%) [ao/alsa] in=4678, space=4580 r=4134 flags=0 aw=0 full=0 f=0 [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=1.411 pos=59412 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=1.437 pos=60436 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=1.463 pos=61460 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=1.489 pos=62484 [A=1 V=0 S=0] [statusline] A: 00:00:00 / 00:06:36 (0%) [ao/alsa] in=4856, space=446 r=0 flags=0 aw=0 full=1 f=0 [statusline] A: 00:00:00 / 00:06:36 (0%) [ao/alsa] in=4856, space=4806 r=4134 flags=0 aw=0 full=0 f=0 [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=1.515 pos=63508 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1044 pts=1.541 pos=64532 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=1.567 pos=65556 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=1.593 pos=66580 [A=1 V=0 S=0] [ao/alsa] in=5082, space=672 r=0 flags=0 aw=0 full=1 f=0 [statusline] A: 00:00:00 / 00:06:36 (0%) [ao/alsa] in=5082, space=5024 r=4823 flags=0 aw=0 full=0 f=0 [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=1.620 pos=67604 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=1.646 pos=68628 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=1.672 pos=69652 [A=1 V=0 S=0] [ao/alsa] in=4611, space=201 r=0 flags=0 aw=0 full=1 f=0 [statusline] A: 00:00:01 / 00:06:36 (0%) [ao/alsa] in=4611, space=5265 r=4134 flags=0 aw=0 full=0 f=0 [ao/alsa] in=477, space=1131 r=0 flags=0 aw=1 full=0 f=0 [ao/alsa] buffer inactive. [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=1.698 pos=70676 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=1.724 pos=71700 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=1.750 pos=72724 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=1.776 pos=73748 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1044 pts=1.802 pos=74772 [A=1 V=0 S=0] [statusline] A: 00:00:01 / 00:06:36 (0%) [ao/alsa] in=5541, space=1131 r=689 flags=0 aw=0 full=0 f=0 [ao/alsa] in=4852, space=442 r=0 flags=0 aw=0 full=1 f=0 [ao/alsa] in=4852, space=4785 r=4134 flags=0 aw=0 full=0 f=0 [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=1.829 pos=75796 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=1.855 pos=76820 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=1.881 pos=77844 [A=1 V=0 S=0] [lavf] ds_get_packets (audio) called [lavf] DEMUX: Append packet to audio, len=1045 pts=1.907 pos=78868 [A=1 V=0 S=0] [ao/alsa] in=5061, space=651 r=0 flags=0 aw=0 full=1 f=0 [statusline] A: 00:00:01 / 00:06:36 (0%) [input] key code=0x20 'SPACE' [input] key 'SPACE' -> 'cycle pause' in 'default' statusline A: 00:00:01 / 00:06:36 (0%) [ao/alsa] buffer inactive. statusline A: 00:00:01 / 00:06:36 (0%) [input] key code=0x23 'SHARP' [input] key 'SHARP' -> 'cycle audio # switch audio streams' in 'default' [cplayer] [cplayer] *\ uninit(0x402) [ad] Uninit audio filters... [ad] Uninit audio decoder.

Here it hangs.

[ao/alsa] buffer inactive. [ao/alsa] uninit: pcm closed
[cplayer]
[cplayer] *\ uninit(0x0) [cplayer] Audio: no audio

statusline : 00:00:01 / 00:06:36 (0%)

skalinichev commented 10 years ago

Also here is the backtrace taken while mpv being in unresponsive state:

(gdb) thread apply all bt

Thread 3 (Thread 0x7fffe5237700 (LWP 27617)):

0 pthread_cond_wait@@GLIBC_2.3.2 ()

at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:143

1 0x00007ffff732af00 in pa_threaded_mainloop_wait ()

from /usr/lib/x86_64-linux-gnu/libpulse.so.0

2 0x00007fffe5a3d2c4 in pulse_wait_operation ()

from /usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so

3 0x00007fffe5a3bbe2 in ?? ()

from /usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so

4 0x00007ffff4af47d4 in ?? ()

from /usr/lib/x86_64-linux-gnu/libasound.so.2

5 0x0000000000426875 in drain (ao=0xb99290)

at ../audio/out/ao_alsa.c:551

6 0x000000000042dd20 in playthread (arg=0xb99290)

at ../audio/out/push.c:302

7 0x00007ffff28dd0ca in start_thread (arg=0x7fffe5237700)

at pthread_create.c:312

8 0x00007ffff2611ffd in clone ()

at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fffe5a38700 (LWP 27616)):

0 0x00007ffff2606d5d in poll ()

at ../sysdeps/unix/syscall-template.S:81

1 0x00007ffff732a8c1 in ?? ()

from /usr/lib/x86_64-linux-gnu/libpulse.so.0

2 0x00007ffff731c16c in pa_mainloop_poll ()

from /usr/lib/x86_64-linux-gnu/libpulse.so.0

3 0x00007ffff731c7de in pa_mainloop_iterate ()

from /usr/lib/x86_64-linux-gnu/libpulse.so.0

4 0x00007ffff731c890 in pa_mainloop_run ()

from /usr/lib/x86_64-linux-gnu/libpulse.so.0

5 0x00007ffff732a873 in ?? ()

from /usr/lib/x86_64-linux-gnu/libpulse.so.0

6 0x00007ffff1eea178 in ?? ()

from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-5.0.so

7 0x00007ffff28dd0ca in start_thread (arg=0x7fffe5a38700)

at pthread_create.c:312

8 0x00007ffff2611ffd in clone ()

at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7ffff7eb6900 (LWP 27612)):

0 pthread_cond_wait@@GLIBC_2.3.2 ()

at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185

1 0x000000000042d420 in drain (ao=0xb99290) at ../audio/out/push.c:153

2 0x0000000000424e60 in ao_drain (ao=0xb99290)

at ../audio/out/ao.c:328

3 0x000000000047b5bb in uninit_player (mpctx=0x780120, mask=1026)

at ../player/loadfile.c:175

4 0x000000000047c980 in mp_switch_track_n (mpctx=0x780120, order=0,

type=STREAM_AUDIO, track=0x0) at ../player/loadfile.c:535

5 0x000000000047224b in property_switch_track (

prop=0x52a190 <mp_properties+1488>, action=4, arg=0x7fffffffd700, 
mpctx=0x780120, order=0, type=STREAM_AUDIO)
at ../player/command.c:1485

6 0x0000000000472866 in mp_property_audio (ctx=0x780120,

prop=0x52a190 <mp_properties+1488>, action=4, arg=0x7fffffffd700)
at ../player/command.c:1589

7 0x0000000000464ea0 in do_action (

prop_list=0x529bc0 <mp_properties>, name=0x7fffffffd2b0 "aid", 
action=4, arg=0x7fffffffd700, ctx=0x780120)
at ../options/m_property.c:116

8 0x000000000046522e in m_property_do (log=0x781040,

prop_list=0x529bc0 <mp_properties>, in_name=0x52988a "aid", 
action=4, arg=0x7fffffffd700, ctx=0x780120)
at ../options/m_property.c:169

---Type to continue, or q to quit---

9 0x000000000047586b in mp_property_do (name=0x52988a "aid",

action=4, val=0x7fffffffd700, ctx=0x780120)
at ../player/command.c:2831

10 0x00000000004755f8 in mp_property_alias (ctx=0x780120,

prop=0x52a7a8 <mp_properties+3048>, action=4, arg=0x7fffffffd700)
at ../player/command.c:2577

11 0x0000000000464ea0 in do_action (

prop_list=0x529bc0 <mp_properties>, name=0x7fffffffd520 "audio", 
action=4, arg=0x7fffffffd700, ctx=0x780120)
at ../options/m_property.c:116

12 0x000000000046522e in m_property_do (log=0x781040,

prop_list=0x529bc0 <mp_properties>, in_name=0x822bc0 "audio", 
action=4, arg=0x7fffffffd700, ctx=0x780120)
at ../options/m_property.c:169

13 0x000000000047586b in mp_property_do (name=0x822bc0 "audio",

action=4, val=0x7fffffffd700, ctx=0x780120)
at ../player/command.c:2831

14 0x0000000000477658 in run_command (mpctx=0x780120, cmd=0x817ed0)

at ../player/command.c:3429

15 0x0000000000485212 in handle_input_and_seek_coalesce (

mpctx=0x780120) at ../player/playloop.c:712

16 0x0000000000487291 in run_playloop (mpctx=0x780120)

---Type to continue, or q to quit--- at ../player/playloop.c:1285

17 0x000000000047f3cf in play_current_file (mpctx=0x780120)

at ../player/loadfile.c:1259

18 0x000000000047fa16 in mp_play_files (mpctx=0x780120)

at ../player/loadfile.c:1391

19 0x0000000000480de0 in mpv_main (argc=3, argv=0x7fffffffdc78)

at ../player/main.c:530

20 0x00000000004fe458 in main (argc=3, argv=0x7fffffffdc78)

at ../player/main_fn.c:13

(gdb)

ghost commented 10 years ago

Pushed something to git master. Since I have no idea what's actually going on, it might not fix it.

skalinichev commented 10 years ago

Cool, now it works, thanks! :)