totem displays "Unable to play the file" dialog for a video it can play

Bug #2021523 reported by Roland Dreier
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gstreamer1.0 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I have an MP4 video file from a GoPro camera, and when I try to play it with totem, it displays a "Unable to play the file" dialog complaining about missing gstreamer elements (see attachment); totem prints the following on stderr:

** Message: 11:46:33.328: Missing plugin: gstreamer|1.0|totem|meta/x-gst-fourcc-fdsc decoder|decoder-meta/x-gst-fourcc-fdsc (meta/x-gst-fourcc-fdsc decoder)
** Message: 11:46:33.329: Missing plugin: gstreamer|1.0|totem|meta/x-gst-fourcc-gpmd decoder|decoder-meta/x-gst-fourcc-gpmd (meta/x-gst-fourcc-gpmd decoder)
** Message: 11:46:33.329: Missing plugin: gstreamer|1.0|totem|GStreamer element vaapipostproc|element-vaapipostproc (GStreamer element vaapipostproc)

(totem:574404): GStreamer-CRITICAL **: 11:46:33.330:
Trying to dispose element queue0, but it is in READY instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.

If I click "cancel" to dismiss the dialog, then totem plays the video just fine. mediainfo shows the following for the video file in question:

General
Count : 332
Count of stream of this kind : 1
Kind of stream : General
Kind of stream : General
Stream identifier : 0
Count of video streams : 1
OtherCount : 3
Video_Format_List : AVC
Video_Format_WithHint_List : AVC
Codecs Video : AVC
Video_Language_List : English
Other_Format_List : QuickTime TC / /
Other_Format_WithHint_List : QuickTime TC / /
Other_Codec_List : QuickTime TC / /
Other_Language_List : English / /
Complete name : /home/roland/Pictures/GoPro-Hero8/2023/05/09/GH010165.MP4
Folder name : /home/roland/Pictures/GoPro-Hero8/2023/05/09
File name extension : GH010165.MP4
File name : GH010165
File extension : MP4
Format : MPEG-4
Format : MPEG-4
Format/Extensions usually used : braw mov mp4 m4v m4a m4b m4p m4r 3ga 3gpa 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma ismt f4a f4b f4v
Commercial name : MPEG-4
Format profile : Base Media / Version 1
Internet media type : video/mp4
Codec ID : mp41
Codec ID : mp41 (mp41)
Codec ID/Url : http://www.apple.com/quicktime/download/standalone.html
CodecID_Compatible : mp41
File size : 2198334022
File size : 2.05 GiB
File size : 2 GiB
File size : 2.0 GiB
File size : 2.05 GiB
File size : 2.047 GiB
Duration : 2624622
Duration : 43 min 44 s
Duration : 43 min 44 s 622 ms
Duration : 43 min 44 s
Duration : 00:43:44.622
Duration : 00:02:54;27
Duration : 00:43:44.622 (00:02:54;27)
Overall bit rate mode : VBR
Overall bit rate mode : Variable
Overall bit rate : 6700650
Overall bit rate : 6 701 kb/s
Frame rate : 29.970
Frame rate : 29.970 FPS
Frame count : 5243
Stream size : 10434366
Stream size : 9.95 MiB (0%)
Stream size : 10 MiB
Stream size : 10.0 MiB
Stream size : 9.95 MiB
Stream size : 9.951 MiB
Stream size : 9.95 MiB (0%)
Proportion of this stream : 0.00475
HeaderSize : 20
DataSize : 2198094760
FooterSize : 239242
IsStreamable : No
Encoded date : UTC 2023-05-09 14:37:22
Tagged date : UTC 2023-05-09 14:37:22
File last modification date : UTC 2023-05-09 15:21:08
File last modification date (local) : 2023-05-09 08:21:08
xyz : +37.3846-122.0751/

Video
Count : 382
Count of stream of this kind : 1
Kind of stream : Video
Kind of stream : Video
Stream identifier : 0
StreamOrder : 0
ID : 1
ID : 1
Format : AVC
Format : AVC
Format/Info : Advanced Video Codec
Format/Url : http://developers.videolan.org/x264.html
Commercial name : AVC
Format profile : <email address hidden>
Format settings : CABAC / 2 Ref Frames
Format settings, CABAC : Yes
Format settings, CABAC : Yes
Format settings, Reference frames : 2
Format settings, Reference frames : 2 frames
Format settings, GOP : M=1, N=10
Internet media type : video/H264
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 174941
Duration : 2 min 54 s
Duration : 2 min 54 s 941 ms
Duration : 2 min 54 s
Duration : 00:02:54.941
Duration : 00:02:54;27
Duration : 00:02:54.941 (00:02:54;27)
Bit rate mode : VBR
Bit rate mode : Variable
Bit rate : 100000000
Bit rate : 100.0 Mb/s
Width : 3840
Width : 3 840 pixels
Height : 2160
Height : 2 160 pixels
Sampled_Width : 3840
Sampled_Height : 2160
Pixel aspect ratio : 1.000
Display aspect ratio : 1.778
Display aspect ratio : 16:9
Rotation : 0.000
Frame rate mode : CFR
Frame rate mode : Constant
Frame rate : 29.970
Frame rate : 29.970 (30000/1001) FPS
FrameRate_Num : 30000
FrameRate_Den : 1001
Frame count : 5243
Color space : YUV
Chroma subsampling : 4:2:0
Chroma subsampling : 4:2:0
Bit depth : 8
Bit depth : 8 bits
Scan type : Progressive
Scan type : Progressive
Bits/(Pixel*Frame) : 0.402
Delay_Settings : DropFrame=No / 24HourMax=Yes / IsVisual=Yes
Delay_DropFrame : No
Delay, origin : Container
Delay, origin : Container
Stream size : 2187899656
Stream size : 2.04 GiB (100%)
Stream size : 2 GiB
Stream size : 2.0 GiB
Stream size : 2.04 GiB
Stream size : 2.038 GiB
Stream size : 2.04 GiB (100%)
Proportion of this stream : 0.99525
Title : GoPro AVC
Language : en
Language : English
Language : English
Language : en
Language : eng
Language : en
Encoded date : UTC 2023-05-09 14:37:22
Tagged date : UTC 2023-05-09 14:37:22
Buffer size : 40000000 / 40000000
colour_description_present : Yes
colour_description_present_Source : Container / Stream
Color range : Limited
colour_range_Source : Container
colour_range_Original : Full
colour_range_Original_Source : Stream
Color primaries : BT.709
colour_primaries_Source : Container / Stream
Transfer characteristics : BT.709
transfer_characteristics_Source : Container / Stream
Matrix coefficients : BT.709
matrix_coefficients_Source : Container / Stream
Codec configuration box : avcC

Other #1
Count : 193
Count of stream of this kind : 3
Kind of stream : Other
Kind of stream : Other
Stream identifier : 0
Stream identifier : 1
StreamOrder : 1
ID : 2
ID : 2
Type : Time code
Format : QuickTime TC
Format : QuickTime TC
Commercial name : QuickTime TC
Duration : 174941
Duration : 2 min 54 s
Duration : 2 min 54 s 941 ms
Duration : 2 min 54 s
Duration : 00:02:54.941
Duration : 00:02:54;27
Duration : 00:02:54.941 (00:02:54;27)
Bit rate mode : CBR
Bit rate mode : Constant
Frame rate : 29.970
Frame rate : 29.970 (30000/1001) FPS
FrameRate_Num : 30000
FrameRate_Den : 1001
Title : GoPro TCD
Language : en
Language : English
Language : English
Language : en
Language : eng
Language : en
Encoded date : UTC 2023-05-09 14:37:22
Tagged date : UTC 2023-05-09 14:37:22

Other #2
Count : 191
Count of stream of this kind : 3
Kind of stream : Other
Kind of stream : Other
Stream identifier : 1
Stream identifier : 2
Type : meta
Duration : 2624622
Duration : 43 min 44 s
Duration : 43 min 44 s 622 ms
Duration : 43 min 44 s
Duration : 00:43:44.622
Duration : 00:43:44.622
Source duration : 174975
Source duration : 2 min 54 s
Source duration : 2 min 54 s 975 ms
Source duration : 2 min 54 s
Source duration : 00:02:54.975
Source duration : 00:02:54.975
Bit rate mode : CBR
Bit rate mode : Constant
Frame count : 5244
Source frame count : 5244
Delay_DropFrame : No / No
Delay, origin : Container / Container
Delay, origin : Container / Container
Stream size : 10026528
Stream size : 9.56 MiB
Stream size : 10 MiB
Stream size : 9.6 MiB
Stream size : 9.56 MiB
Stream size : 9.562 MiB
Source stream size : 10026528
Source stream size : 9.56 MiB
Source stream size : 10 MiB
Source stream size : 9.6 MiB
Source stream size : 9.56 MiB
Source stream size : 9.562 MiB

Other #3
Count : 192
Count of stream of this kind : 3
Kind of stream : Other
Kind of stream : Other
Stream identifier : 2
Stream identifier : 3
Type : meta
Duration : 0
Duration : 00:00:00.000
Duration : 00:00:00.000
Bit rate mode : VBR
Bit rate mode : Variable
Frame count : 10489
mdhd_Duration : 174941

ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: libgstreamer1.0-0 1.22.2-1
ProcVersionSignature: Ubuntu 6.2.0-20.20-generic 6.2.6
Uname: Linux 6.2.0-20-generic x86_64
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Mon May 29 11:44:40 2023
InstallationDate: Installed on 2023-04-28 (31 days ago)
InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Release amd64 (20230418)
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=tmux-256color
 XDG_RUNTIME_DIR=<set>
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: gstreamer1.0
UpgradeStatus: No upgrade log present (probably fresh install)
XorgLog: Error: [Errno 2] No such file or directory: '/var/log/Xorg.0.log'

Revision history for this message
Roland Dreier (roland.dreier) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gstreamer1.0 (Ubuntu):
status: New → Confirmed
Revision history for this message
Chris Branic (cbranic-k) wrote :

Ubuntu 23.04, X11
Codec H.265 / HEVC
Container ISO MP4/M4A
running totem from command line gives below errors.
** Message: 23:18:54.268: Missing plugin: gstreamer|1.0|totem|meta/x-gst-fourcc-fdsc decoder|decoder-meta/x-gst-fourcc-fdsc (meta/x-gst-fourcc-fdsc decoder)
** Message: 23:18:54.268: Missing plugin: gstreamer|1.0|totem|meta/x-gst-fourcc-gpmd decoder|decoder-meta/x-gst-fourcc-gpmd (meta/x-gst-fourcc-gpmd decoder)

occasionally get the string of errors below:
(totem:7570): GStreamer-CRITICAL **: 23:21:16.422: gst_buffer_get_meta: assertion 'buffer != NULL' failed
(totem:7570): GStreamer-CRITICAL **: 23:21:16.678: gst_buffer_get_meta: assertion 'buffer != NULL' failed

Sometimes if I hit the cancel button in the Totem Dialog box it will play but typically I have to press the pause / play button several times. Also some of the time the video is very choppy. Most of the time when i let it search Ubuntu Software it does not find anything but the video will play without having to pause / unpause.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.