no audio or video codecs listed

Bug #518552 reported by ptf
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenShot Video Editor
Fix Released
High
Jonathan Thomas

Bug Description

This is a problem in the current development version (1.0.5) *not* 1.0

System: Fedora 12 x86_64

When trying to export video I get no codecs at all in the drop down lists

This is because openshot is trying to run a command such as

    melt noise -consumer avformat vcodec=list

to get the list

However I have the rpmfusion version of mlt 4.10 which installs the command-line utility as mlt-melt consequently the above command fails.

As an aside I get no indication that there was any error listing the codecs

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

Good catch. Sounds like the name of the melt command should be configurable, and probably a bit of error handling needs to be added. Or... maybe if 'melt' is not found, it just defaults to all codecs. Just an idea.

Changed in openshot:
milestone: none → 1.1.0
importance: Undecided → High
Revision history for this message
ptf (paul-flinders) wrote :

I'd be inclined to add it as a preference along with some indication that things had failed.

An alternative would be to check for melt vs mlt-melt as Fedora users are likely to have the latter but then you get into the thorny issue of searching $PATH, and someone somewhere will still complain that they have some other setup that gives the executable a different name.

Is there a way to get this from the mlt library rather than running the command? - I nearly labelled this as a security bug on the grounds that *anything* which runs a sub-process via a shell is a security bug :-)

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

The "melt" command is not configured to use the ./openshot/config.xml file. A warning message is now shown if no formats/codecs are detected. The OpenShot preferences now contains a "melt command" textbox, which allows the user to update the command.

Changed in openshot:
assignee: nobody → Jonathan Thomas (jonoomph)
status: New → Fix Committed
Revision history for this message
Jonathan Thomas (jonoomph) wrote :

I meant to say, "is now configured"

moimael (moimael)
Changed in openshot:
status: Fix Committed → Fix Released
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.