Closed (fixed)
Project:
Media Field
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
12 Aug 2007 at 22:48 UTC
Updated:
26 Jun 2008 at 20:50 UTC
Jump to comment: Most recent file
It would be nice if Media Field had an option to automatically convert a non-mp3 audio file to mp3 after it has been uploaded. This functionality would be similar to what the FlashVideo module does for videos.
The two new configuration options are:
I've got a patch here that takes care of this.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | convert.patch | 5.1 KB | colan |
| convert_to_mp3.patch | 4.87 KB | colan |
Comments
Comment #1
colanNeeded to change the name of the codec from "mp3" to "libmp3lame".
Comment #2
c_kais commentedMy installation of ffmpeg required that I actually use the name "mp3" for codec instead of "libmp3lame". It would not work with "libmp3lame".
Comment #3
lainel commentedWhere do I insert the code?
Somewhere inside the audio.module?
Comment #4
vm commentedmultimedia.inc though I suggest using a patching program and not doing this by hand.
Comment #5
vm commentedaccidentally altered category
Comment #6
a_c_m commentedTo my mind this is expanding the scope of the module out a little far, things like this are better left to modules designed to do it e.g. media mover. However i think it might make a nice add on module?
I am however open to persuasive argument :)
Comment #7
colana_c_m: I'm going to have to agree with you on this one. I set it up this way originally because other options (Media Mover) weren't ready for prime time yet.
Comment #8
a_c_m commentedOk, closing - Mediamover rocks !