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!
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 <samarul.meu@gmail.com> 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!>