openshot.developers team mailing list archive
-
openshot.developers team
-
Mailing list archive
-
Message #00507
[Bug 442761] Re: Installing from ppa kills video playback in totem and vlc
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.
--
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.
References