You are not logged in.

#1 2022-02-20 19:05:22

Substring
Member
Registered: 2022-02-20
Posts: 13

[SOLVED] h264 problem with GStreamer since ffmpeg5

Hi,

GStreamer seems unable to handle h264 now that ffmpeg5 has been pushed, was working fine with ffmpeg4. The system is up to date. Some information:

$ pacman -Q | grep -E "(gst|gstreamer)"
gst-libav 1.20.0-2
gst-plugins-base 1.20.0-2
gst-plugins-base-libs 1.20.0-2
gst-plugins-good 1.20.0-2
gstreamer 1.20.0-2
$ LANG=C gst-discoverer-1.0 shared/media/nes/video/Castlevania\ II\ -\ Simon\'s\ Quest\ \(USA\).mp4 
Analyzing file:///home/arcade/shared/media/nes/video/Castlevania%20II%20-%20Simon's%20Quest%20(USA).mp4
Done discovering file:///home/arcade/shared/media/nes/video/Castlevania%20II%20-%20Simon's%20Quest%20(USA).mp4
Missing plugins
 (gstreamer|1.0|gst-discoverer-1.0|H.264 (High Profile) decoder|decoder-video/x-h264, level=(string)3, profile=(string)high)

Properties:
  Duration: 0:00:30.047000000
  Seekable: yes
  Live: no
  container #0: Quicktime
    audio #1: MPEG-1 Layer 3 (MP3)
      Stream ID: 39ace8e52766251bfcf3a836db5536839922e7427f074acf2854b72a04fa5773/002
      Language: fr
      Channels: 2 (front-left, front-right)
      Sample rate: 24000
      Depth: 16
      Bitrate: 64004
      Max bitrate: 64004
    video #2: H.264 (High Profile)
      Stream ID: (null)
      Width: 586
      Height: 480
      Depth: 0
      Frame rate: 30/1
      Pixel aspect ratio: 2624/2637
      Interlaced: false
      Bitrate: 0
      Max bitrate: 0

When trying to play the video :

$ LANG=C gst-play-1.0 shared/media/nes/video/Castlevania\ II\ -\ Simon\'s\ Quest\ \(USA\).mp4 
Press 'k' to see a list of keyboard shortcuts.
Now playing /home/arcade/shared/media/nes/video/Castlevania II - Simon's Quest (USA).mp4
WARNING No decoder available for type 'video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)3, profile=(string)high, codec_data=(buffer)0164001effe1001e6764001eacd980943de4fff0a400a4d10000030001000003003c0f162d9a01000668e97892c8b0, width=(int)586, height=(int)480, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)2624/2637'.
WARNING debug information: ../gstreamer/subprojects/gst-plugins-base/gst/playback/gsturidecodebin.c(960): unknown_type_cb (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0

Last edited by Substring (2022-02-22 21:03:12)

Offline

#2 2022-02-22 21:02:36

Substring
Member
Registered: 2022-02-20
Posts: 13

Re: [SOLVED] h264 problem with GStreamer since ffmpeg5

Fixed : had to

rm -r ~/.cache/gstreamer-1.0

which is not explicitely said when updating ...

Offline

Board footer

Powered by FluxBB