Installing from ppa kills video playback in totem and vlc

Bug #442761 reported by Pablo Marchant
130
This bug affects 21 people
Affects Status Importance Assigned to Milestone
OpenShot Video Editor
Fix Released
High
Jonathan Thomas

Bug Description

Running version 0.9.43, and confirmed by another person at ubuntuforums. It seems openshot renders totem and vlc unusable in karmic when installed through the ppa.

I don't know if it's of much use, but these are the errors given by totem and vlc:

Totem:
#######################################################
0:00:11.417782488 5943 0x973b080 ERROR totem bacon-video-widget-gst-0.10.c:357:bvw_error_msg: message = Internal data stream error.
0:00:11.417861848 5943 0x973b080 ERROR totem bacon-video-widget-gst-0.10.c:359:bvw_error_msg: domain = 3025 (gst-stream-error-quark)
0:00:11.417879448 5943 0x973b080 ERROR totem bacon-video-widget-gst-0.10.c:360:bvw_error_msg: code = 1
0:00:11.417893888 5943 0x973b080 ERROR totem bacon-video-widget-gst-0.10.c:361:bvw_error_msg: debug = gstavidemux.c(4443): gst_avi_demux_loop (): /GstPlayBin2:play/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstAviDemux:avidemux0:
streaming stopped, reason not-negotiated
0:00:11.417928928 5943 0x973b080 ERROR totem bacon-video-widget-gst-0.10.c:362:bvw_error_msg: source = <avidemux0>
0:00:11.417968128 5943 0x973b080 ERROR totem bacon-video-widget-gst-0.10.c:363:bvw_error_msg: uri = file:///home/pablo/V%C3%ADdeos/Rurouni%20Kenshin%20(TV)%20%5B01%20-%2095%5D%20%5BComplete%5D/Rurouni%20Kenshin%20-%2001%20-%20Wandering%20Samurai.avi
** Message: Error: Internal data stream error.
gstavidemux.c(4443): gst_avi_demux_loop (): /GstPlayBin2:play/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstAviDemux:avidemux0:
streaming stopped, reason not-negotiated
#######################################################
On the gui side, totem shows a dialog with the "Internal data stream error." message, and doesn't play anything.

VLC:
#######################################################
[0xb7c08d80] avcodec decoder error: cannot open codec (MS MPEG-4 Video v3)
[0xb7c08d80] main decoder error: no suitable decoder module for fourcc `DIV3'.
VLC probably does not support this sound or video format.
#######################################################
However, vlc manages to play the sound of the file.

Revision history for this message
Saneless (saneless) wrote :

I'm the other person..

Narrowed it down to libmlt and other mlt packages that Openshot wants to install. mlt packages want to remove libavcodec52 and libavformat52 and install libavcodec-extra-52 and libavformat-extra-52 in their place. Once those two extra packages are installed, the stream errors return. I'm not sure what the difference is, but "extra" seems to be less than accurate.

Revision history for this message
Pablo Marchant (pamarca) wrote :

As seen here:

http://www.omgubuntu.co.uk/2009/09/oepnshot-ppa-video-editor-linux.html

This problem seems to have already been noticed by Jonathan Thomas.

Revision history for this message
John McDougall (sysadmin-mcdougallshome) wrote :

This also happened to me, but I am running Ubuntu Jaunty 9.04.

I get this error when running Totem in a terminal:

/var/lib/python-support/python2.6/gdata/tlslite/utils/cryptomath.py:9: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha

and I get this error from VLC:

[00000419] avcodec decoder error: cannot open codec (MPEG-4 Video)
[00000419] main decoder error: no suitable decoder module for fourcc `mp4v'.
VLC probably does not support this sound or video format.

John

TJ (tj)
Changed in openshot:
status: New → In Progress
importance: Undecided → High
assignee: nobody → TJ (intuitivenipple)
Revision history for this message
TJ (tj) wrote :

We are aware of this and are working to solve it. It requires us to repackage our recent ffmpeg snapshots.

We originally met it in bug #439452 "Unnecessary removal of other packages when OpenShot dependencies installed".

The reason for the removal of packages is two-fold.

First, OpenShot through MLT depends on very recent versions of the ffmpeg core libraries (libavcodec, libavutils, libavformat, etc.).

Second, the existing Debian/Ubuntu ffmpeg packages come in two versions:
 1. unrestricted (does not contain several key codecs that *may* be subject to legal issues in some jurisdictions)
 2. restricted (contains the codecs that may be subject to legal issues in some jurisdictions)

This came about because ffmpeg contains some codecs that are potentially legally encumbered (patents, etc.) in some but not all jurisdictions. Therefore the Debian project maintainers decided to split out the potentially legally restricted components into a separate source package.
Subsequently the package names have been changed a couple of times (adding stripped then unstripped then extra into the names) . The naming scheme in Jaunty (unstripped) is different to Karmic (extra).

Trying to keep up with all this packaging nightmare whilst publishing up-to-date ffmpeg is the root-cause of the current issues.

The "ffmpeg-debian" source package is the "unrestricted" package - it has key codecs missing and its binary packages are in the 'Main' pocket. It generates the "ffmpeg" binary, debug, -dev, and unrestricted library packages (libavcodec52, etc.).

The "ffmpeg" source package generates just the 'restricted' binary library packages (libavcodec-unstripped-52 or libavcodec-extra-52, etc.) and is in the 'Multiverse' pocket. For Jaunty the package names contain the word "-unstripped-" and on Karmic the word "-extra-".

OpenShot via MLT requires and therefore depends on the potentially restricted packages (the -unstripped- or -extra- packages) to ensure key codecs are available.

As a result the ffmpeg library packages I maintain Conflict/Replace the 'unrestricted' packages. This will cause the 'unrestricted' packages to be removed and replaced by the restricted '-unstripped-" or "-extra-" packages.

The implication here is that two separate source packages are used but they manage to maintain the *same* Application Binary Interface (ABI) for both sets of libraries.

This means we need to maintain two separate and yet ABI-identical source packages for ffmpeg, not the single (restricted) version as we have been doing.

Revision history for this message
TJ (tj) wrote :

To complete the confusion I should have mentioned that whereas in Jaunty the source packages are "ffmpeg-debian" (unrestricted) and "ffmpeg" (restricted), in Karmic they are "ffmpeg" (unrestricted) and "ffmpeg-extra" (restricted).

Revision history for this message
Helen McCall (wildnfree) wrote :

I thought I would add a bit information which I think might be relevant to understanding this issue.

I am running a backport of VLC version 1.1.0 which is more up to date than the Karmic version (1.0.2)

VLC 1.1.0 runs perfectly on my jaunty 64bit alongside OpenShot which I have both the ppa build 0.9.43 and the bzr (wizard builds) running. The problem being that I can't remember how I installed 1.1.0 (git - Yellow Bastard) because the one I have installed in Apt/Aynaptic is the karmic backport 1.0.2 !

Helen

Revision history for this message
Marktrix (markgerlach) wrote :

I use Ubuntu 9.04 and the 0.9.9a Version of VLC, i got Sound but no Videoplayback.

The Totem-Player makes nothing, for Solution i use the MPlayer with X11 and it works

Revision history for this message
Marktrix (markgerlach) wrote :

http://ubuntuforums.org/showpost.php?p=8046291&postcount=2

After some deinstalling of ffmpeg and other things (VLC, DVD:RIP, GStreamer) and
reinstalling it works again

Revision history for this message
YannUbuntu (yannubuntu) wrote :

I have this bug with Jaunty 32bits: Openshot installed with PPA made my VLC 0.9.9a and Totem 2.26.1 unable to read AVI .

So I desinstalled all the PPA packages and reinstalled the normal versions of those packages. Then VLC and TOTEM can read again the AVI.

I then tried to installed Openshot via the DEB: no problem.

Revision history for this message
Yug (hugolpz) wrote :
Revision history for this message
Narcis Garcia (narcisgarcia) wrote :

Please, don't provide ffmpeg, libavcodecXX and libavformatXX in the Jaunty repository. This cause the difficult task to downgrade that package and reinstall blender, dvd.slideshow, ffmpeg, ffmpeg2theora, gstreamer, kdenlive, a lot of libs., melt, mozilla-plugin-vlc, openshot, qdvdauthor, synfigstudio, videotrans, vlc, vlc-nox, winff, etc.

Revision history for this message
Narcis Garcia (narcisgarcia) wrote :

The problem is for libpostprocXX, libswscaleXX, libavcodecXX and libavformatXX packages.

Revision history for this message
Giorgia91 (giorgiark) wrote :

This bug affects also Karmic 64 bit.

Revision history for this message
Anonymouse (anonymouse2048) wrote :

I originally had this problem too; I fixed it by removing the OpenShot PPA from the list (This applies to both the experimental and the old one), uninstalling openshot, mlt and libavcodec-xxx, then reinstalling libavcodec. I then added the experimental PPA and installed openshot again. It works perfectly.

Karmic 64-bit.

Revision history for this message
Martin G Miller (mgmiller) wrote :

I have now done a clean install of karmic 64 bit and have added the "new and improved" ppa. It did change one pulseaudio package from the default to another one in the repository. I googled around a bit and found that the package it changed to is one that makes pulse audio more stable and is recommended for any pulseaudio problems. Many people wondered why it wasn't the default to begin with, so I figured it was safe to try.

I did not have any audio problems with the default package.

I installed from the ppa and OpenShot now seems to work pretty well in 64 bit Karmic. I have not had any problems with audio using the new pulseaudio package and totem and vlc work as expected.

Good job all around.

Looking forward to using OpenShot for my Thanksgiving videos.

Revision history for this message
Brett Alton (brett-alton-deactivatedaccount) wrote :

Ubuntu 9.10, up-to-date

$ totem movie.avi
** Message: Error: Internal data stream error.
gstavidemux.c(4443): gst_avi_demux_loop (): /GstPlayBin2:play/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstAviDemux:avidemux0:
streaming stopped, reason not-negotiated

Revision history for this message
Olivier Girard (eolinwen) wrote :

Hellà Brett Alton
It seems that you have a bug with gstreamer and the pipeline which have a problem is gstavidemux. His role is to "demuxiplexer" some avi streams. Openshot doesn't use gstreamer.Sorry. Be carefull with gstreamer0.10-plugins-bad. i have found that on a comment in a blog entrie :
"So, to finish this problem we have to uninstall the package gstreamer0.10-plugins-bad (only this). Now openshot, totem, brasero, empathy, etc, work well!"
I hope that 's help you.

Revision history for this message
Martin G Miller (mgmiller) wrote :

I have ubuntu-restricted-extras installed which includes gstreamer0.10-plugins-bad. I am running the 64 bit OS and I have no problems with avi's at all. Does Brett Alton have the ubuntu-restricted-extras package installed? The other main package for avis is from w32codecs (or w64codecs) in the medibuntu repository. Those are the first 2 packages I install on new builds.

Revision history for this message
Olivier Girard (eolinwen) wrote : Re: [Openshot.developers] [Bug 442761] Re: Installing from ppa kills video playback in totem and vlc
Download full text (3.8 KiB)

Yes but i'm sure that''s not win32codecs. The terminal output tell us where
is the problem. It's gstavidemux. In fact the real name is avidemux and it's
a part of gstreamer but which one ,gstreamer packages are numerous.
Thanks

2009/11/26 Martin G Miller <email address hidden>

> I have ubuntu-restricted-extras installed which includes gstreamer0.10
> -plugins-bad. I am running the 64 bit OS and I have no problems with
> avi's at all. Does Brett Alton have the ubuntu-restricted-extras
> package installed? The other main package for avis is from w32codecs
> (or w64codecs) in the medibuntu repository. Those are the first 2
> packages I install on new builds.
>
> --
> Installing from ppa kills video playback in totem and vlc
> https://bugs.launchpad.net/bugs/442761
> You received this bug notification because you are a member of OpenShot
> Developers, which is subscribed to OpenShot Video Editor.
>
> Status in OpenShot Video Editor: In Progress
>
> Bug description:
> Running version 0.9.43, and confirmed by another person at ubuntuforums. It
> seems openshot renders totem and vlc unusable in karmic when installed
> through the ppa.
>
> I don't know if it's of much use, but these are the errors given by totem
> and vlc:
>
> Totem:
> #######################################################
> 0:00:11.417782488 5943 0x973b080 ERROR totem
> bacon-video-widget-gst-0.10.c:357:bvw_error_msg: message = Internal data
> stream error.
> 0:00:11.417861848 5943 0x973b080 ERROR totem
> bacon-video-widget-gst-0.10.c:359:bvw_error_msg: domain = 3025
> (gst-stream-error-quark)
> 0:00:11.417879448 5943 0x973b080 ERROR totem
> bacon-video-widget-gst-0.10.c:360:bvw_error_msg: code = 1
> 0:00:11.417893888 5943 0x973b080 ERROR totem
> bacon-video-widget-gst-0.10.c:361:bvw_error_msg: debug =
> gstavidemux.c(4443): gst_avi_demux_loop ():
> /GstPlayBin2:play/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstAviDemux:avidemux0:
> streaming stopped, reason not-negotiated
> 0:00:11.417928928 5943 0x973b080 ERROR totem
> bacon-video-widget-gst-0.10.c:362:bvw_error_msg: source = <avidemux0>
> 0:00:11.417968128 5943 0x973b080 ERROR totem
> bacon-video-widget-gst-0.10.c:363:bvw_error_msg: uri =
> file:///home/pablo/V%C3%ADdeos/Rurouni%20Kenshin%20(TV)%20%5B01%20-%2095%5D%20%5BComplete%5D/Rurouni%20Kenshin%20-%2001%20-%20Wandering%20Samurai.avi
> ** Message: Error: Internal data stream error.
> gstavidemux.c(4443): gst_avi_demux_loop ():
> /GstPlayBin2:play/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstAviDemux:avidemux0:
> streaming stopped, reason not-negotiated
> #######################################################
> On the gui side, totem shows a dialog with the "Internal data stream
> error." message, and doesn't play anything.
>
> VLC:
> #######################################################
> [0xb7c08d80] avcodec decoder error: cannot open codec (MS MPEG-4 Video v3)
> [0xb7c08d80] main decoder error: no suitable decoder module for fourcc
> `DIV3'.
> VLC probably does not support this sound or video format.
> #########...

Read more...

Revision history for this message
Vanessa Lee (vanessax) wrote :

I'm using Jaunty 9.04 64 bit and I'm getting this same problem after installing Openshot.

I tried uninstalling gstreamer0.10-plugins-bad but then I get this error:

** Message: don't know how to handle audio/mpeg, mpegversion=(int)4, framed=(boolean)true, codec_data=(buffer)1190, rate=(int)48000, channels=(int)2
** Message: Error: GStreamer encountered a general stream error.
qtdemux.c(2041): gst_qtdemux_loop (): /GstPlayBin:play/GstDecodeBin:decodebin0/GstQTDemux:qtdemux0:
streaming stopped, reason not-negotiated

Revision history for this message
FC Truter (fc-truter) wrote :

Just saying I installed openshot using the PPA on Karmic 9.10 32 bit and it worked flawlessly out of the box! Thanks for a great product!

Revision history for this message
Jonathan Thomas (jonoomph) wrote :
Download full text (3.4 KiB)

When installing from a PPA, please be sure to use the Experimental PPA:
http://www.openshotvideo.com/2009/11/openshot-ppa-new-experimental-ppa.html.
I will be removing the old PPA soon, since it only causes problems.

On Sun, Nov 29, 2009 at 1:18 AM, FC Truter <email address hidden> wrote:

> Just saying I installed openshot using the PPA on Karmic 9.10 32 bit and
> it worked flawlessly out of the box! Thanks for a great product!
>
> --
> Installing from ppa kills video playback in totem and vlc
> https://bugs.launchpad.net/bugs/442761
> You received this bug notification because you are a member of OpenShot
> Developers, which is subscribed to OpenShot Video Editor.
>
> Status in OpenShot Video Editor: In Progress
>
> Bug description:
> Running version 0.9.43, and confirmed by another person at ubuntuforums. It
> seems openshot renders totem and vlc unusable in karmic when installed
> through the ppa.
>
> I don't know if it's of much use, but these are the errors given by totem
> and vlc:
>
> Totem:
> #######################################################
> 0:00:11.417782488 5943 0x973b080 ERROR totem
> bacon-video-widget-gst-0.10.c:357:bvw_error_msg: message = Internal data
> stream error.
> 0:00:11.417861848 5943 0x973b080 ERROR totem
> bacon-video-widget-gst-0.10.c:359:bvw_error_msg: domain = 3025
> (gst-stream-error-quark)
> 0:00:11.417879448 5943 0x973b080 ERROR totem
> bacon-video-widget-gst-0.10.c:360:bvw_error_msg: code = 1
> 0:00:11.417893888 5943 0x973b080 ERROR totem
> bacon-video-widget-gst-0.10.c:361:bvw_error_msg: debug =
> gstavidemux.c(4443): gst_avi_demux_loop ():
> /GstPlayBin2:play/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstAviDemux:avidemux0:
> streaming stopped, reason not-negotiated
> 0:00:11.417928928 5943 0x973b080 ERROR totem
> bacon-video-widget-gst-0.10.c:362:bvw_error_msg: source = <avidemux0>
> 0:00:11.417968128 5943 0x973b080 ERROR totem
> bacon-video-widget-gst-0.10.c:363:bvw_error_msg: uri =
> file:///home/pablo/V%C3%ADdeos/Rurouni%20Kenshin%20(TV)%20%5B01%20-%2095%5D%20%5BComplete%5D/Rurouni%20Kenshin%20-%2001%20-%20Wandering%20Samurai.avi
> ** Message: Error: Internal data stream error.
> gstavidemux.c(4443): gst_avi_demux_loop ():
> /GstPlayBin2:play/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstAviDemux:avidemux0:
> streaming stopped, reason not-negotiated
> #######################################################
> On the gui side, totem shows a dialog with the "Internal data stream
> error." message, and doesn't play anything.
>
> VLC:
> #######################################################
> [0xb7c08d80] avcodec decoder error: cannot open codec (MS MPEG-4 Video v3)
> [0xb7c08d80] main decoder error: no suitable decoder module for fourcc
> `DIV3'.
> VLC probably does not support this sound or video format.
> #######################################################
> However, vlc manages to play the sound of the file.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openshot.developers<https://launchpad.net/%7Eop...

Read more...

Revision history for this message
Ben VB (benvb) wrote :

Just so it's still out there, I'm still asked to uninstall stuff. I have the PPAs for VLC, WinFF, and Medibuntu also active, which may be where the issue lies - I remember reading something in your blog post (#22) about the OpenShot PPA possibly not working with ffmpeg/etc. not from the standard Ubuntu repository.

Revision history for this message
Mattias Ohlsson (mattias-oh) wrote :

Hi!

I just reinstalled Karmic and used the following ppas to install OpenShot:

deb http://ppa.launchpad.net/jonoomph/openshot-edge/ubuntu karmic main
deb-src http://ppa.launchpad.net/jonoomph/openshot-edge/ubuntu karmic main

Then this bug didn't happen. Booth totem and vlc seems to be working fine.

Revision history for this message
Kyle Robertson (kyle-robertson) wrote :

Yes, thay had changed the PPA a few times. If you uninstall Openshot, then install it from the new PPA, it should work fine.

Revision history for this message
Jonathan Thomas (jonoomph) wrote :

I'm closing this bug, because we have a new PPA which no longer breaks VLC, Totem, and other Ffmpeg apps.

Changed in openshot:
status: In Progress → Fix Released
assignee: TJ (intuitivenipple) → Jonathan Thomas (jonoomph)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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