{"action":"closed","issue":{"url":"https://api.github.com/repos/mpv-player/mpv/issues/2848","repository_url":"https://api.github.com/repos/mpv-player/mpv","labels_url":"https://api.github.com/repos/mpv-player/mpv/issues/2848/labels{/name}","comments_url":"https://api.github.com/repos/mpv-player/mpv/issues/2848/comments","events_url":"https://api.github.com/repos/mpv-player/mpv/issues/2848/events","html_url":"https://github.com/mpv-player/mpv/issues/2848","id":135049888,"number":2848,"title":"non zero return code when using --stream-dump","user":{"login":"remitamine","id":10879694,"avatar_url":"https://avatars.githubusercontent.com/u/10879694?v=3","gravatar_id":"","url":"https://api.github.com/users/remitamine","html_url":"https://github.com/remitamine","followers_url":"https://api.github.com/users/remitamine/followers","following_url":"https://api.github.com/users/remitamine/following{/other_user}","gists_url":"https://api.github.com/users/remitamine/gists{/gist_id}","starred_url":"https://api.github.com/users/remitamine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remitamine/subscriptions","organizations_url":"https://api.github.com/users/remitamine/orgs","repos_url":"https://api.github.com/users/remitamine/repos","events_url":"https://api.github.com/users/remitamine/events{/privacy}","received_events_url":"https://api.github.com/users/remitamine/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-20T08:40:44Z","updated_at":"2016-03-26T19:14:30Z","closed_at":"2016-03-26T19:14:30Z","body":"```\r\nmpv --msg-level=all=v --stream-dump 'test.mp4' 'http://www.youtube.com/watch?v=BaW_jenozKc'\r\n[cplayer] Command line options: '--msg-level=all=v' '--stream-dump' 'test.mp4' 'http://www.youtube.com/watch?v=BaW_jenozKc'\r\n[cplayer] mpv 0.15.0 (C) 2000-2016 mpv/MPlayer/mplayer2 projects\r\n[cplayer]  built on Mon Jan 18 09:01:10 CET 2016\r\n[cplayer] ffmpeg library versions:\r\n[cplayer]    libavutil       54.31.100\r\n[cplayer]    libavcodec      56.60.100\r\n[cplayer]    libavformat     56.40.101\r\n[cplayer]    libswscale      3.1.101\r\n[cplayer]    libavfilter     5.40.101\r\n[cplayer]    libswresample   1.2.101\r\n[cplayer] ffmpeg version: 2.8.6\r\n[cplayer] \r\n[cplayer] Configuration: ./waf configure --prefix=/usr --confdir=/etc/mpv --enable-zsh-comp --enable-libmpv-shared --enable-cdda\r\n[cplayer] List of enabled features: alsa asm atomics audio-input av-pix-fmt-mmal av-version-info avcodec-chroma-pos-api avframe-metadata avframe-skip-samples build-date c11-tls caca cdda cplayer debug-build dlopen drm dvbin dvdnav dvdread egl-drm egl-helpers egl-x11 enca encoding fchmod gbm gbm.h gl gl-wayland gl-x11 glibc-thread-name glob iconv jack jpeg lcms2 libass libass-osd libav libavdevice libavfilter libbluray libdl libguess libm libmpv-shared librt libsmbclient libswresample libv4l2 linux-fstatfs lua nanosleep optimize oss-audio oss-audio-native posix posix-or-mingw posix-spawn pthreads pulse resampler rubberband shm sse4-intrinsics stdatomic subprocess termios tv tv-v4l2 vaapi vaapi-egl vaapi-glx vaapi-hwaccel vaapi-wayland vaapi-x-egl vaapi-x11 vdpau vdpau-gl-x11 vdpau-hwaccel videodev vt.h wayland x11 xext xinerama xrandr xss xv zlib zsh-comp\r\n[global] config path: '' -> '/home/amine/.config/mpv'\r\n[global] config path: 'mpv.conf' -> '/home/amine/.config/mpv/mpv.conf'\r\n[global] config path: 'config' -/-> '/home/amine/.config/mpv/config'\r\n[global] config path: 'mpv.conf' -/-> '/home/amine/.mpv/mpv.conf'\r\n[global] config path: 'config' -/-> '/home/amine/.mpv/config'\r\n[global] config path: 'mpv.conf' -/-> '/etc/mpv/mpv.conf'\r\n[global] config path: 'config' -/-> '/etc/mpv/config'\r\n[cplayer] Reading config file /home/amine/.config/mpv/mpv.conf\r\n[cplayer] Setting option 'vo' = 'vdpau' (flags = 4)\r\n[cplayer] Setting option 'hwdec' = 'vdpau' (flags = 4)\r\n[cplayer] Setting option 'softvol' = 'yes' (flags = 4)\r\n[cplayer] Setting option 'sub-codepage' = 'utf-8:cp1256' (flags = 4)\r\n[cplayer] Setting option 'slang' = 'ar,en' (flags = 4)\r\n[cplayer] Setting option 'msg-level' = 'all=v' (flags = 8)\r\n[cplayer] Setting option 'stream-dump' = 'test.mp4' (flags = 8)\r\n[global] config path: 'input.conf' -/-> '/home/amine/.config/mpv/input.conf'\r\n[global] config path: 'input.conf' -/-> '/home/amine/.mpv/input.conf'\r\n[global] config path: 'input.conf' -/-> '/etc/mpv/input.conf'\r\n[input] Falling back on default (hardcoded) input config\r\n[osc] Loading script @osc.lua...\r\n[global] config path: 'scripts' -/-> '/home/amine/.config/mpv/scripts'\r\n[global] config path: 'scripts' -/-> '/home/amine/.mpv/scripts'\r\n[global] config path: 'scripts' -/-> '/etc/mpv/scripts'\r\n[osc] loading mp.defaults\r\n[osc] loading @osc.lua\r\n[global] config path: 'lua-settings/osc.conf' -/-> '/home/amine/.config/mpv/lua-settings/osc.conf'\r\n[global] config path: 'lua-settings/osc.conf' -/-> '/home/amine/.mpv/lua-settings/osc.conf'\r\n[global] config path: 'lua-settings/osc.conf' -/-> '/etc/mpv/lua-settings/osc.conf'\r\n[osc] lua-settings/osc.conf not found. \r\n[cplayer] Run command: define-section, flags=0, args=[showhide, mouse_move script-binding osc/__keybinding1\r\n[cplayer] mouse_leave script-binding osc/__keybinding2\r\n[cplayer] , force]\r\n[cplayer] Run command: enable-section, flags=0, args=[showhide, allow-hide-cursor+allow-vo-dragging]\r\n[cplayer] Run command: define-section, flags=0, args=[input, mouse_btn0 script-binding osc/__keybinding3\r\n[cplayer] shift+mouse_btn0 script-binding osc/__keybinding4\r\n[cplayer] mouse_btn2 script-binding osc/__keybinding5\r\n[cplayer] mouse_btn0_dbl ignore\r\n[cplayer] shift+mouse_btn0_dbl ignore\r\n[cplayer] mouse_btn2_dbl ignore\r\n[cplayer] del script-binding osc/__keybinding6\r\n[cplayer] , force]\r\n[cplayer] Run command: enable-section, flags=0, args=[input, ]\r\n[cplayer] Done loading @osc.lua.\r\n[ytdl_hook] Loading script @ytdl_hook.lua...\r\n[global] config path: 'scripts' -/-> '/home/amine/.config/mpv/scripts'\r\n[global] config path: 'scripts' -/-> '/home/amine/.mpv/scripts'\r\n[global] config path: 'scripts' -/-> '/etc/mpv/scripts'\r\n[ytdl_hook] loading mp.defaults\r\n[cplayer] Run command: disable-section, flags=0, args=[input]\r\n[ytdl_hook] loading @ytdl_hook.lua\r\n[cplayer] Run command: hook-add, flags=0, args=[on_load, 1, 10]\r\n[cplayer] Done loading @ytdl_hook.lua.\r\n[global] config path: 'scripts' -/-> '/home/amine/.config/mpv/scripts'\r\n[global] config path: 'scripts' -/-> '/home/amine/.mpv/scripts'\r\n[global] config path: 'scripts' -/-> '/etc/mpv/scripts'\r\n[global] config path: 'watch_later' -> '/home/amine/.config/mpv/watch_later'\r\nPlaying: http://www.youtube.com/watch?v=BaW_jenozKc\r\n[cplayer] Running hook: ytdl_hook/on_load\r\n[global] config path: 'youtube-dl' -/-> '/home/amine/.config/mpv/youtube-dl'\r\n[global] config path: 'youtube-dl' -/-> '/home/amine/.mpv/youtube-dl'\r\n[global] config path: 'youtube-dl' -/-> '/etc/mpv/youtube-dl'\r\n[ytdl_hook] youtube-dl succeeded! \r\n[cplayer] Set property string: file-local-options/user-agent='Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/20.0 (Chrome)'\r\n[cplayer] Set property string: stream-open-filename='https://r9---sn-hgn7zn7r.googlevideo.com/videoplayback?lmt=1387961818043059&fexp=9416126%2C9418581%2C9419452%2C9420452%2C9422596%2C9423661%2C9423662%2C9424861%2C9425965%2C9427713%2C9428644%2C9428702%2C9428731%2C9428856%2C9428941%2C9429086%2C9429141&sver=3&upn=Fw4ansFd3gE&expire=1455979197&key=yt6&nh=IgpwcjAzLm1yczAyKgkxMjcuMC4wLjE&source=youtube&requiressl=yes&mime=video%2Fmp4&pl=17&ratebypass=yes&signature=6056F22751A702173AF704190CE8B65306F88A7B.224880DE03DCFB0D6634EEA2C57991685CEBE184&itag=22&sparams=dur%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cnh%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&initcwndbps=611250&id=o-APgKM0_LJPxZDt6l8WWEy3F7CoNEX6kQtfZHgue3M1AR&ipbits=0&mm=31&mn=sn-hgn7zn7r&ms=au&mt=1455957520&mv=m&dur=9.891&ip=105.110.94.36'\r\n[cplayer] Set property string: file-local-options/force-media-title='youtube-dl test video \"'/\\ä↭������'\r\n[cplayer] Run command: hook-ack, flags=0, args=[on_load]\r\n[ffmpeg] Opening https://r9---sn-hgn7zn7r.googlevideo.com/videoplayback?lmt=1387961818043059&fexp=9416126%2C9418581%2C9419452%2C9420452%2C9422596%2C9423661%2C9423662%2C9424861%2C9425965%2C9427713%2C9428644%2C9428702%2C9428731%2C9428856%2C9428941%2C9429086%2C9429141&sver=3&upn=Fw4ansFd3gE&expire=1455979197&key=yt6&nh=IgpwcjAzLm1yczAyKgkxMjcuMC4wLjE&source=youtube&requiressl=yes&mime=video%2Fmp4&pl=17&ratebypass=yes&signature=6056F22751A702173AF704190CE8B65306F88A7B.224880DE03DCFB0D6634EEA2C57991685CEBE184&itag=22&sparams=dur%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cnh%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&initcwndbps=611250&id=o-APgKM0_LJPxZDt6l8WWEy3F7CoNEX6kQtfZHgue3M1AR&ipbits=0&mm=31&mn=sn-hgn7zn7r&ms=au&mt=1455957520&mv=m&dur=9.891&ip=105.110.94.36\r\n[ffmpeg] Mime-type: 'video/mp4'\r\n[ffmpeg] Stream opened successfully.\r\nDumping 1600794/1600794...\r\n[cplayer] finished playback, loading failed (reason 4)\r\n\r\n\r\nExiting... (Errors when loading file)\r\n[osc] Exiting...\r\n[ytdl_hook] Exiting...\r\n```"}}