mdescher Site Admin

Joined: 05 May 2006 Posts: 1268 Location: Rastatt, Germany
|
Posted: Sun Oct 18, 2009 1:31 am Post subject: Transcoding with ffmpeg |
|
|
MyTunesRSS allows you to configure transcoders to convert audio data of any format to MP3 on-the-fly. This allows the flash player for example to play those file types it normally would not support.
The tutorials showed how to configure lame for transcode mp3 to mp3 (to change the bitrate for example), alac, faad and flac for the correspondig formats.
You can make a much easier setup with ffmpeg only. Here are sample options for a single transcoder configuration with ffmpeg.
| Code: |
Name: ffmpeg
Suffixes: m4a,mp4,mp3,flac,ogg
MP4 Codecs: alac,mp4a
Options: -i {infile} -f s16le -
|
Since ffmpeg supports lots of formats you can of course add more suffixes to add transcoding support for those types. The options are always the same and make ffmpeg transcode the input to raw pcm which is used by lame as input.
With the above setup you have a single option in the web settings for enabling/disabling transcoding for all types/mp4 codecs only. If you like fine grained control you can of course setup the same ffmpeg binary as multiple transcoders with different names and only a single type each.
Michael _________________ MyTunesRSS developer
Codewave Software Support |
|