Totem:"GStreamer encountered a general stream error." on .flv and .mp4 files

Bug #1373978 reported by Numan Demirdöğen
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
gstreamer1.0 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

If a .flv or .mp4 file is played with Totem, Totem shows an error saying "GStreamer encountered a general stream error.".

Steps to produce:
1- Open a video file, which has an extension .flv or .mp4, with Totem.

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: libgstreamer1.0-0 1.4.2-1
ProcVersionSignature: Ubuntu 3.16.0-17.23-generic 3.16.3
Uname: Linux 3.16.0-17-generic x86_64
ApportVersion: 2.14.7-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Sep 25 17:33:36 2014
InstallationDate: Installed on 2014-02-27 (209 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140224)
SourcePackage: gstreamer1.0
UpgradeStatus: Upgraded to utopic on 2014-09-08 (16 days ago)

Revision history for this message
Numan Demirdöğen (if.gnu.linux) wrote :
Revision history for this message
Numan Demirdöğen (if.gnu.linux) wrote :

Attached backtrace of Totem.

Revision history for this message
Numan Demirdöğen (if.gnu.linux) wrote :

Attached strace of Totem.

Revision history for this message
Iain Lane (laney) wrote : Re: [Bug 1373978] [NEW] Totem:"GStreamer encountered a general stream error." on .flv and .mp4 files

On Thu, Sep 25, 2014 at 02:42:27PM -0000, if.gnu.linux wrote:
> Public bug reported:
>
> If a .flv or .mp4 file is played with Totem, Totem shows an error saying
> "GStreamer encountered a general stream error.".
> https://bugs.launchpad.net/ubuntu/+source/gstreamer1.0/+bug/1373978/+subscriptions

Could you please attach an example file and the output of running "dpkg
-l *gstreamer*" in a terminal?

They work for me.

--
Iain Lane [ <email address hidden> ]
Debian Developer [ <email address hidden> ]
Ubuntu Developer [ <email address hidden> ]

Revision history for this message
Numan Demirdöğen (if.gnu.linux) wrote :

Output of dpkg -l *gstreamer* was attached as dpkg-gstreamer.txt.

Revision history for this message
Numan Demirdöğen (if.gnu.linux) wrote :

An example file was added as example.mp4

Revision history for this message
Numan Demirdöğen (if.gnu.linux) wrote :

Is there anything I can do to solve problem or to further trace it?

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
Éric Piel (pieleric) wrote :

I got the same problem, on Ubuntu 15.04. It seems to be related to filetype: Some filetypes still open fine (eg, .avi), but .mp4 and .mkv fail.

It turned out that _removing_ gstreamer1.0-vaapi solved the problem.
sudo apt-get remove gstreamer1.0-vaapi

Note: my graphic card is a "Intel Corporation Haswell-ULT".

Revision history for this message
Éric Piel (pieleric) wrote :

Actually, it seems the same problem as described in bug #1373978.

Without gstreamer1.0-vaapi:

$ gst-launch-1.0 filesrc location=00072282.jpg ! decodebin ! imagefreeze ! videoconvert ! autovideosink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

With gstreamer1.0-vaapi:
$ gst-launch-1.0 filesrc location=00072282.jpg ! decodebin ! imagefreeze ! videoconvert ! autovideosink
Setting pipeline to PAUSED ...
libva info: VA-API version 0.37.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_37
libva info: va_openDriver() returns 0
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstJpegDec:jpegdec0: No valid frames decoded before end of stream
Additional debug info:
gstvideodecoder.c(1070): gst_video_decoder_sink_event_default (): /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstJpegDec:jpegdec0:
no valid frames found
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

Revision history for this message
Éric Piel (pieleric) wrote :

Sorry, I meant it is similar as bug #1397597.

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.