Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gstreamer fails to open some videos #627

Open
2 tasks done
lajonss opened this issue Apr 9, 2024 · 0 comments
Open
2 tasks done

Gstreamer fails to open some videos #627

lajonss opened this issue Apr 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@lajonss
Copy link

lajonss commented Apr 9, 2024

Device info (please complete the following information)

  • Device: PinePhone Pro
  • Kernel Version : 6.8.0-2-megi-danctnix
  • UI: Phosh

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:

  • I have checked for updates (pacman -Syu) and installed the updates but the problem persisted.
  • I am not using Megi's multiboot image, which is unsupported by the developer.
@lajonss lajonss added the bug Something isn't working label Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant