Forum topic: audio support

hi, i'm starting work on a site where users need to be able to upload both audio & video. for video, both OpenPackage Video and FlashVideo seem great. for audio, as far as defaults, at any rate, i don't like the Audio module, mainly because (1) it's totally geared towards music, not recordings of language (what i'm involved with), and (2) it doesn't transcode the audio.

so i wondered, would FlashVideo or OP Video be as good for audio as for video? i tried uploading a WAV file with FlashVideo, and it rejected the extension. (maybe there's an easy way to change this with modifying the module's code, haven't looked into it yet.) with OP Video, on the other hand, the WAV file was uploaded perfectly and transcoded to a FLV video.

still, though, the problem is that what results after this is a big 320 * 240 video that's black throughout because really it's only audio.

it would be cool if the OpenPackage Video module could detect audio and then change the size of the player. or, it would be cool if the Audio module added ffmpeg transcoding support.

-edward

well, i just discovered that if i set the Video Width to 320 and the height to 0, then it works quite nicely for audio, so one solution i guess is to have two different fields, one for audio and one for video, where the player is sized differently in each. (shouldn't say "video upload" in the former case, then.)

I hadn't tried using audio-only files before. I few files that have passed through our transcoding service have been images - they also work!

Ultimately I intend for OpenPackage Video to be broken up into many modules and handle both audio and video.

In the meantime, I hope you have found a solution that works for you.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <h1> <h2> <h3> <h4> <b>
  • Lines and paragraphs break automatically.
  • Internal paths in double quotes, written as "internal:node/99", for example, are replaced with the appropriate absolute URL or relative path.
  • Web page addresses and e-mail addresses turn into links automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options