Codewave Software Forums Forum Index Codewave Software Forums
Codewave Software - Java done right
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Transcoding with ffmpeg

 
Post new topic   Reply to topic    Codewave Software Forums Forum Index -> General Information
View previous topic :: View next topic  
Author Message
mdescher
Site Admin


Joined: 05 May 2006
Posts: 1268
Location: Rastatt, Germany

PostPosted: Sun Oct 18, 2009 1:31 am    Post subject: Transcoding with ffmpeg Reply with quote

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
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Codewave Software Forums Forum Index -> General Information All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group