Results 1 to 6 of 6

Thread: gst123 fails to play mp4 video file

  1. #1

    Default gst123 fails to play mp4 video file

    Hi,
    my linux box has been upgraded from LEAP 15.2 to LEAP 15.3.

    Eventually I discovered that gst123 fails to view mp4 video file, while totem, ffplay and xine render them fine. By the way, gst123 is able to play audio files (verified with mp3).

    Multimedia stuff is installed from packman repository.

    Starting gst123 with debug activated shows that it switches file extension from .mp4 to .str and thus fails to open that file. Anyway this is only reported as warning.

    HTML Code:
    LANG=C GST_DEBUG=2 gst123 /home/name/Downloads/sample_640x360.mp4 
    0:00:00.039005586 11383 0x5557aacf9ed0 WARN                 basesrc gstbasesrc.c:3600:gst_base_src_start_complete:<source> pad not activated yet
                                                                                                                            
    Playing file:///home/name/Downloads/sample_640x360.mp4
    0:00:00.077812381 11383 0x5557aacf9ed0 WARN                 filesrc gstfilesrc.c:533:gst_file_src_start:<source> error: No such file "/home/name/Downloads/sample_640x360.srt"
    0:00:00.077896430 11383 0x5557aacf9ed0 WARN                 basesrc gstbasesrc.c:3469:gst_base_src_start:<source> error: Failed to start
    
    [...]
    Later it does fail due to not found renderer!

    HTML Code:
    0:00:00.428190119 11383 0x7f5fb00ad850 ERROR                default cogl-gst-video-sink.c:1266:cogl_gst_video_sink_parse_caps:<coglgstvideosink0> could not find a suitable renderer
    But what might be missing? Gstreamer based totem is happy.

    What should I check?

  2. #2

    Default Re: gst123 fails to play mp4 video file

    https://www.rev.com/blog/resources/w...-use-srt-files

    An SRT file or SubRip (.srt) file is one of the most common types of raw closed caption file formats or subtitle formats.

  3. #3

    Default Re: gst123 fails to play mp4 video file

    Thank you. So trying that .srt is just an option and explain why it's reported as warning.

    So, remaining question is, what to check to resolve renderer issue. I forgot to mention that ff renders video and cheese works with USB web cam too.

  4. #4

    Default Re: gst123 fails to play mp4 video file

    Quote Originally Posted by martin_jacobs View Post
    Thank you. So trying that .srt is just an option and explain why it's reported as warning.

    So, remaining question is, what to check to resolve renderer issue. I forgot to mention that ff renders video and cheese works with USB web cam too.
    More info:
    Code:
    gst123 --full-version
    gst123:    0.3.5
    GStreamer: 1.16.2-0
    GTK+:      2.24.32
    GLib:      2.62.6
    Deleting gstreamer cache does not help. But first run after clearing gstreamer cache every application using gstreamer (e.g. totem), show this message once:
    Code:
    (totem:23119): GStreamer-WARNING **: 09:31:06.715: External plugin loader failed. This most likely means that the plugin loader helper binary was not found or could not be run. You might need to set the GST_PLUGIN_SCANNER environment variable if your setup is unusual. This should normally not be required though.
    Conclusion: it's a warning, an external plugin loader seems not to be installed.
    gstreamer cache gets rebuilt and totem starts playing video.

    My setup has NVIDEA graphics card and uses nouveau driver, that runs fine. Packages libvdpau1 and libvdpau_nouveau are in place. But libgstvdpau is not. Might this trigger the issue? No, it does not.

  5. #5

    Default Re: gst123 fails to play mp4 video file

    GStreamer: 1.16.2-0
    No updates? Check what repos you're using. Leap 15.3 has 2 new repos from SLE.

  6. #6

    Default Re: gst123 fails to play mp4 video file

    Quote Originally Posted by Svyatko View Post
    No updates? Check what repos you're using. Leap 15.3 has 2 new repos from SLE.
    My system knows
    Code:
    Update repository with updates from SUSE Linux Enterprise 15
    Update repository with debuginfo for updates from SUSE Linux Enterprise 15
    Is that ok?
    zypper refresh reports
    Unfortunately no hints on https://en.opensuse.org/Package_repositories

    gst123 belongs to package gst123-0.3.5-bp153.1.16.x86_64 which is installed from repository openSUSE-Leap-15.3-Oss.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •