After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 583487 - automatic missing codec search
automatic missing codec search
Status: RESOLVED FIXED
Product: pitivi
Classification: Other
Component: General
Git
Other Linux
: Normal enhancement
: 0.13.1
Assigned To: Pitivi maintainers
Pitivi maintainers
Depends on:
Blocks:
 
 
Reported: 2009-05-21 18:46 UTC by Jean-François Fortin Tam
Modified: 2009-05-25 07:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix (1.55 KB, patch)
2009-05-23 10:47 UTC, Alessandro Decina
committed Details | Review

Description Jean-François Fortin Tam 2009-05-21 18:46:47 UTC
Just like totem does, it would be nice if PiTiVi could plug into the codec manager thing to offer installing codecs if the user lacks some of them.
Comment 1 Edward Hervey 2009-05-22 08:20:06 UTC
We do have missing-codec support. Did you try an unsupported file and it didn't pop up the missing-codec distribution system ?
Comment 2 Jean-François Fortin Tam 2009-05-22 13:57:06 UTC
No, the automatic codec discovery thing doesn't seem to work at all, according to user testimonials yesterday and the testing I just did (removing gst plugins bad/ugly and importing an mp3 file). All that pitivi will do is spit the usual:

"URI :/home/jeff/foobar.mp3
Problème :Impossible de déterminer la durée du fichier.
Informations supplémentaires :Cette séquence semble être codée dans un format qui n'accepte pas l'accès aléatoire."
Comment 3 Alessandro Decina 2009-05-23 10:47:25 UTC
Created attachment 135229 [details] [review]
fix
Comment 4 Edward Hervey 2009-05-24 09:57:15 UTC
commit a35296da01913969a163f0b614df122104c28d6b
Author: Alessandro Decina <alessandro.d@gmail.com>
Date:   Sat May 23 12:44:42 2009 +0200

    Workaround to make the missing-plugin API work when using decodebin2.
    
    Decodebin2 commits its state change to PAUSED before posting missing-plugin
    messages. The workaround consists in manually popping messages off the bus
    before doing our internal check for missing plugins.
    Fixes #583487.

Comment 5 Jean-François Fortin Tam 2009-05-24 20:55:59 UTC
Tried with today's pitivi on jaunty after removing the bad/ugly plugins, and I still don't get a codec install popup. I just get the same pitivi error:

URI:/home/jeff/Musique/Pulse.mp3
Problem:Could not establish the duration of the file.
Extra information:This clip seems to be in a format which cannot be accessed in a random fashion.
Comment 6 Edward Hervey 2009-05-25 05:36:28 UTC
Jeff, could you provide us with a GST_DEBUG=2 PITIVI_DEBUG=5 debug log ?
Comment 7 Alessandro Decina 2009-05-25 07:40:35 UTC
You're seeing a different issue. A decoder is being plugged (ffmpeg?) but it fails to answer a DURATION query.
Comment 8 Edward Hervey 2009-05-25 07:59:48 UTC
ok, so it is fixed. Re-closing bug :)