Received: from mail-qt1-f176.google.com (mail-qt1-f176.google.com [209.85.160.176]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 238FE7814D7 for <~alpine/users@lists.alpinelinux.org>; Thu, 31 Mar 2022 07:17:45 +0000 (UTC) Received: by mail-qt1-f176.google.com with SMTP id s11so20714332qtc.3 for <~alpine/users@lists.alpinelinux.org>; Thu, 31 Mar 2022 00:17:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=TO4cF0sx6B9LyJHobXfv9NOPLzySqpNOt3AKRft+UJQ=; b=hIIacju3LZ7A+HPxOEEm2T9hNb4s3gfn/309p3VrwJLQLMkCBM7ZkvYsSti6VpGQcO K/L5r+mdRdlCpG0NYPjnYWeSJltEOR28eEfjcgWwwuiV0OBAzrpY9Wxij3SFJfPE7qlD OnjpD7Y5ejmJh2hyNTlSABurU3pAHDMztMbGIkz/aKy5DWdFOB0fSsbQw9V56UgXD1xG hrHQIad8Fx6lTyLP/zjx15HKo+w2K+anit51Vw9W8Tjzn+k4egiV5al5d6wf4i5p1XoL K3ie8kpTrgJfIRr7/cpxnf0gK44xr5ZLzmv74XWIrfTvcQdl1SXB7qFvAAVNap0SNLMr oiHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=TO4cF0sx6B9LyJHobXfv9NOPLzySqpNOt3AKRft+UJQ=; b=ZpcAosS1ZfO3xotB66DLOrjBvbZ5tW8yROVtgfoRDi+smY5SaeRMYx45PW1rND24El P7sYw25qEXxTKlxZTpSzSEZ6YYiGaQcuCvyaxGzeO1Xe/jgu6ce0VMsNqChH/G8AnSva VbVMOouq6wTwqo2hQ7960ZdLCnaa6NG9dn122EHCvdHYVvg2Xt2NPT2URMRb2ystB1eS m76JNp0pDomkqOKPEzzASSJCBZ45IBDVtFUhM/uAXKgpMv4lBVhoGIYJAL6zWRVh/YsX 5WYXN/l6eJtqMK7qAUevbm5oP73EDdzhrg2/l4wyZ5jBlHiluXrr6FmK0ChiOWmMqzQu 9/oA== X-Gm-Message-State: AOAM531eWvxcA2EzSYYa4Rrt4QW9oBQ5dVkrwH3/jXhOFugp/W34136l 4QNFcJLzp+toNilf2HV5NujKe2PS4zL2GLVdML0xzfuVHRtKBA== X-Google-Smtp-Source: ABdhPJz6SLE9GDF+SKb0Qz5H2OiOVjc6BLqCMcTTm2oIf+JkMDIBESLEbmkmTSSyG+2sXQpVyLFV94rnyC0dhzVd2sc= X-Received: by 2002:ac8:764a:0:b0:2e1:bb5e:5ff3 with SMTP id i10-20020ac8764a000000b002e1bb5e5ff3mr3013557qtr.255.1648711064454; Thu, 31 Mar 2022 00:17:44 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Samarul Meu Date: Thu, 31 Mar 2022 10:16:43 +0300 Message-ID: Subject: Re: Unable to play video on Alpine To: ~alpine/users@lists.alpinelinux.org Content-Type: multipart/alternative; boundary="00000000000055891e05db7e75b7" --00000000000055891e05db7e75b7 Content-Type: text/plain; charset="UTF-8" So, after a lot of struggle I can play video by disabling DRI with Option "DRI" "False". On Thu, Mar 31, 2022 at 9:14 AM Samarul Meu wrote: > 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! > --00000000000055891e05db7e75b7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

So, after a lot of st= ruggle I can play video by disabling DRI with Optio= n "DRI" "False".


On Thu, Mar 31, = 2022 at 9:14 AM Samarul Meu <sa= marul.meu@gmail.com> wrote:

Hi to you all!

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 gi= ve me a hint?

Here are the errors for each of them. I must mention th= at 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 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 1080x1=
920 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!

--00000000000055891e05db7e75b7--