dreemurrs-embedded / Pine64-Arch

:penguin: Arch Linux ARM for your PinePhone/Pro and PineTab/2
686 stars 105 forks source link

Gstreamer fails to open some videos #627

Open lajonss opened 3 months ago

lajonss commented 3 months ago

Device info (please complete the following information)

Describe the bug Gstreamer-based video players fail to open some videos.

To Reproduce Steps to reproduce the behavior:

  1. Download some video
  2. Convert it to mp4 with ffmpeg
  3. Open the video with clapper on PPP
  4. Error: Internal data stream error
  5. Video is not played

Logfiles and additional information

(com.github.rafostar.Clapper:6364): Clapper-CRITICAL **: 15:55:36.533: Error from element /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstQTDemux:qtdemux0: GStreamer encountered a general stream error.
Internal data stream error.
../gstreamer/subprojects/gst-plugins-good/gst/isomp4/qtdemux.c(7423): gst_qtdemux_loop (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstQTDemux:qtdemux0:
streaming stopped, reason not-negotiated (-4)

Totem displays popup window with text: "An error occurred: Internal data stream error".

Downgrading gstreamer and related packages to 1.24.0-1 resolves the issue.

cd /var/cache/pacman/pkg/
yay -U gstreamer-1.24.0-1-aarch64.pkg.tar.xz gst-plugins-base-libs-1.24.0-1-aarch64.pkg.tar.xz gst-editing-services-1.24.0-1-aarch64.pkg.tar.xz gst-libav-1.24.0-1-aarch64.pkg.tar.xz gst-plugins-bad-libs-1.24.0-1-aarch64.pkg.tar.xz gst-plugins-base-1.24.0-1-aarch64.pkg.tar.xz gst-plugins-good-1.24.0-1-aarch64.pkg.tar.xz gst-plugins-ugly-1.24.0-1-aarch64.pkg.tar.xz gst-python-1.24.0-1-aarch64.pkg.tar.xz gst-plugin-gtk-1.24.0-1-aarch64.pkg.tar.xz gst-plugins-bad-1.24.0-1-aarch64.pkg.tar.xz

ffprobe of test file

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf60.16.100
  Duration: 00:03:13.75, start: 0.000000, bitrate: 4443 kb/s
  Stream #0:0[0x1](eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 2560x1350 [SAR 1:1 DAR 256:135], 4309 kb/s, 23.98 fps, 23.98 tbr, 24k tbn (default)
    Metadata:
      handler_name    : VideoHandler
      vendor_id       : [0][0][0][0]
      encoder         : Lavc60.31.102 libx264
  Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 129 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
      vendor_id       : [0][0][0][0]

Before submitting a bug report, please be sure that you have done the following: