Received: from mail-qk1-f174.google.com (mail-qk1-f174.google.com [209.85.222.174]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 6277D7814AD for <~alpine/users@lists.alpinelinux.org>; Thu, 31 Mar 2022 06:15:08 +0000 (UTC) Received: by mail-qk1-f174.google.com with SMTP id d65so15496658qke.5 for <~alpine/users@lists.alpinelinux.org>; Wed, 30 Mar 2022 23:15:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=LVhQzjcyHANyl3Ffvrykb27frYiJNFrrS4s9p2+660A=; b=A9PkSB3SWC3G0p5DWPiy0cqMn9UZEmlLkjM0oBhkHbxG7oJDKRP29gr0RgST4yY5RP 3+ZRBr47ReOU2p7R55jb6eeuP5EK8OLIR6Sm6n7MQzfpVqkpnrwor3S1zMvgPNK8rWjK qhyQux1IiO9+QrbHBWoXMnfOGR06rkUqMEoLiM6qd7MNDwXYmYn4P+NOr7IJGxJEh6a8 JtODbe0h3Bzb81MW57iD/imG8BwB6O03BdPloU/Nm5aDMVVFYTnkYM0Jkyt0xspdBr04 bxN0Y6EJgTMIaUZu9/TTdVFjv3+aRmHUYZVq4HdmlEPgw9Uy72OtQhB7+TL8VtEc4V9s 0yeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=LVhQzjcyHANyl3Ffvrykb27frYiJNFrrS4s9p2+660A=; b=KnbBUJCAR+7b0eAqtd3/Jdsw/sbjC+jH1yzz4k31zLQvccmiAbotIZDdbfn9rzrrkx RGe1ybUiCfw+qhPiHGCPlAJIAK7D8fSwhUlqyM74hdSIdv8GanhZ27y7k/wQaPcCfICf 6WLoHs+Qz8cJjz2ujaQeeUKOfyC9uNt//bRiMlklRMf6IEh5igQFJ4QrhHRJcToVfdcL SwFGDcnPMyHNmHmADdZ4KmnzjTF1ve7/lTCP4oB7r5fPgV6EwPK6P+Fdkr49HxR08nxS qoh7x7Bq4k20EfBpFw2dBgzHRqfdmfbNE3/E5FamXAm5rxgnGcE4dYVopVWqP1vUcWtA vi+g== X-Gm-Message-State: AOAM533JtaPIJA0Ji8eImmrNjYr1LAxXEJ71qiNR9LIjbSVQAvCuDBOX 7gr3/54WAaNRlKxFXw/qS3U0NLKU7f2/v5AlUNmzUHTsib8MCQ== X-Google-Smtp-Source: ABdhPJz+cq7/A4pjHWpt4KZy7f69FnWhGepuT71MGHefRYEIxCwi5579JLSIpFKEF2HpRNStliiVn897U1sAbsYeO2U= X-Received: by 2002:a37:64a:0:b0:67d:430e:2a20 with SMTP id 71-20020a37064a000000b0067d430e2a20mr2185313qkg.265.1648707307192; Wed, 30 Mar 2022 23:15:07 -0700 (PDT) MIME-Version: 1.0 From: Samarul Meu Date: Thu, 31 Mar 2022 09:14:07 +0300 Message-ID: Subject: Unable to play video on Alpine To: ~alpine/users@lists.alpinelinux.org Content-Type: multipart/alternative; boundary="00000000000062450d05db7d9589" --00000000000062450d05db7d9589 Content-Type: text/plain; charset="UTF-8" Hi to you all! I am struggling with this problem for sometime now. I really can't play videos on my alpine install. In browser I can see youtube videos without problem but when I try to open a video file I get "Segmentation fault" for all players I tried (mpv, mplayer, vlc). Can you please give me a hint? Here are the errors for each of them. I must mention that sound works. I have no problem with it. VLC VLC media player 3.0.16 Vetinari (revision 3.0.13-8-g41878ff4f2) [00007fec7438a9b0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [00007fec74138140] skins2 interface error: cannot instantiate dialogs provider [00007fec74138140] [cli] lua interface: Listening on host "*console". libva info: VA-API version 1.13.0 libva info: Trying to open /usr/lib/dri/i915_drv_video.so libva info: va_openDriver() returns -1 [00007fec74111c00] avcodec decoder: Using OpenGL/VAAPI backend for VDPAU for hardware decoding [h264 @ 0x7fec734446c0] Failed setup for format vdpau: hwaccel initialisation returned error. [00007fec74111c00] avcodec decoder error: existing hardware acceleration cannot be reused Segmentation fault mpv (+) Video --vid=1 (*) (h264 1080x1920 23.976fps) (+) Audio --aid=1 (*) (aac 2ch 48000Hz) [vo/gpu] VT_GETMODE failed: Not a tty [vo/gpu/opengl] Failed to set up VT switcher. Terminal switching will be unavailable. [vo/gpu] Failed to setup EGL. libva info: VA-API version 1.13.0 libva info: Trying to open /usr/lib/dri/i915_drv_video.so libva info: va_openDriver() returns -1 Segmentation fault Mplayer MPlayer 1.4-10.3.1 (C) 2000-2019 MPlayer Team 225 audio & 465 video codecs Playing testing.mp4. libavformat version 58.27.102 (internal) libavformat file format detected. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x560befbe1e40]Protocol name not provided, cannot determine if input is local or a network protocol, buffers and access patterns cannot be configured optimally without knowing the protocol [lavf] stream 0: video (h264), -vid 0 [lavf] stream 1: audio (aac), -aid 0, -alang und VIDEO: [H264] 1080x1920 24bpp 23.976 fps 6009.5 kbps (733.6 kbyte/s) libva info: VA-API version 1.13.0 libva info: Trying to open /usr/lib/dri/i915_drv_video.so libva info: va_openDriver() returns -1 ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family libavcodec version 58.51.100 (internal) Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== Clip info: major_brand: M4V minor_version: 1 compatible_brands: isomavc1mp42 creation_time: 2020-12-09T09:36:22.000000Z Load subtitles in ./ ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders [aac @ 0x560befbff5a0]Multiple frames in a packet. AUDIO: 48000 Hz, 2 ch, floatle, 160.0 kbit/5.21% (ratio: 19999->384000) Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio)) ========================================================================== [AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory [AO_ALSA] alsa-lib: pcm_hw.c:1716:(snd_pcm_hw_open) open '/dev/snd/pcmC0D0p' failed (-77): File descriptor in bad state AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample) Starting playback... [aac @ 0x560befbff5a0]channel element 2.0 is not allocated Movie-Aspect is 0.56:1 - prescaling to correct movie aspect. VO: [vdpau] 1080x1920 => 1080x1920 Planar YV12 Segmentation fault -V: -0.012 ct: 0.000 0/ 0 ??% ??% ??,?% 0 0 Thank you! --00000000000062450d05db7d9589 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hi to you all!<= /p>

I am struggling with this problem for sometime now. I really can't play= =20 videos on my alpine install. In browser I can see youtube videos without problem but when I try to open a video file I get "Segmentation fault= " for all players I tried (mpv, mplayer, vlc).

Can you please give me a hint?

Here are the errors for each of them. I must menti= on that sound works. I have no problem with it.

VLC
VLC media player 3.0.16 V=
etinari (revision 3.0.13-8-g41878ff4f2)
[00007fec7438a9b0] main libvlc: Running vlc with the default interface. Use=
 'cvlc' to use vlc without interface.
[00007fec74138140] skins2 interface error: cannot instantiate dialogs provi=
der
[00007fec74138140] [cli] lua interface: Listening on host "*console&qu=
ot;.
libva info: VA-API version 1.13.0
libva info: Trying to open /usr/lib/dri/i915_drv_video.so
libva info: va_openDriver() returns -1
[00007fec74111c00] avcodec decoder: Using OpenGL/VAAPI backend for VDPAU fo=
r hardware decoding
[h264 @ 0x7fec734446c0] Failed setup for format vdpau: hwaccel initialisati=
on returned error.
[00007fec74111c00] avcodec decoder error: existing hardware acceleration ca=
nnot be reused
Segmentation fault=20
mpv
 (+) Video --vid=3D1 (*) (h264 1080x1920 23.976fps)
 (+) Audio --aid=3D1 (*) (aac 2ch 48000Hz)
[vo/gpu] VT_GETMODE failed: Not a tty
[vo/gpu/opengl] Failed to set up VT switcher. Terminal switching will be un=
available.
[vo/gpu] Failed to setup EGL.
libva info: VA-API version 1.13.0
libva info: Trying to open /usr/lib/dri/i915_drv_video.so
libva info: va_openDriver() returns -1
Segmentation fault
Mplayer
MPlayer 1.4-10.3.1 (C) 2000-2019 MPlayer Team 225 audio & 465 video codecs Playing testing.mp4. libavformat version 58.27.102 (internal) libavformat file format detected. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x560befbe1e40]Protocol name not provided, canno= t determine if input is local or a network protocol, buffers and access pat= terns cannot be configured optimally without knowing the protocol [lavf] stream 0: video (h264), -vid 0 [lavf] stream 1: audio (aac), -aid 0, -alang und VIDEO: [H264] 1080x1920 24bpp 23.976 fps 6009.5 kbps (733.6 kbyte/s) libva info: VA-API version 1.13.0 libva info: Trying to open /usr/lib/dri/i915_drv_video.so libva info: va_openDriver() returns -1 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family libavcodec version 58.51.100 (internal) Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Clip info: major_brand: M4V minor_version: 1 compatible_brands: isomavc1mp42 creation_time: 2020-12-09T09:36:22.000000Z Load subtitles in ./ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders [aac @ 0x560befbff5a0]Multiple frames in a packet. AUDIO: 48000 Hz, 2 ch, floatle, 160.0 kbit/5.21% (ratio: 19999->384000) Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio)= ) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D [AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or= directory [AO_ALSA] alsa-lib: pcm_hw.c:1716:(snd_pcm_hw_open) open '/dev/snd/pcmC= 0D0p' failed (-77): File descriptor in bad state AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample) Starting playback... [aac @ 0x560befbff5a0]channel element 2.0 is not allocated Movie-Aspect is 0.56:1 - prescaling to correct movie aspect. VO: [vdpau] 1080x1920 =3D> 1080x1920 Planar YV12 Segmentation fault -V: -0.012 ct: 0.000 0/ 0 ??% ??% ??,?% 0 0

Thank you!

<= /div> --00000000000062450d05db7d9589--