Quantcast Audio Codecs: AC3 Decoding/Encoding with FFmpeg - digitalFAQ.com Forums [Archives]
  #1  
04-05-2004, 11:32 AM
tickey tickey is offline
Free Member
 
Join Date: Dec 2003
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Like most I was very impressed with the ffmpeggui for ac3 2 channel encoding. Fast, great quality and works on my DVD player without problems.
Unfortunately ffmpeggui does not support ac3 decoding, which ffmpeg can handle.
Avalon was kind enough to implement this feature in his builds.
http://forum.doom9.org/showthread.php?s=&threadid=73629
Now that DspGuru has re-implemented ac3 encoding in BeSweet, this testing is less important.
However people might want to do it from the ffmpeg.exe.

Some test results
AC3 2.0 channel@X_bitrate to AC3 2.0 channel@X_bitrate-pass
AC3 5.1 channel@X_bitrate to AC3 5.1 channel@X_bitrate-pass
AC3 2.0 channel@X_bitrate to mp2 2 channel@X_bitrate-pass
AC3 5.1 channel@X_bitrate to mp2 2 channel@X_bitrate-fail: appends 3x2 channels end to end
mp3/avi 2 channel@X_bitrate to AC3 2.0 channel@X_bitrate-pass
mp3/avi 2 channel@X_bitrate to mp2 2 channel@X_bitrate-pass

I couldn't sort out the ac3 5.1 channel to mp2 (for svcd/vcd people).
If someone has the command line for this that works, please post.
Myself I use the AC3 5.1 channel@X_bitrate to AC3 5.1 channel@X_bitrate for reducing the size of my ac3 for my KDVD(3 short/2 long movies/dvd)

Just as a short comparison I tested AC3 5.1 channel@X_bitrate to AC3 5.1 channel@X_bitrate on the new BeSweet on a short/fixed 10 min ac3 file.
BeSweet:82 secs
FFMpeg:approx. 60 secs


Special thanks to Avalon for enabling this great feature in ffmpeg.
Sample cli
Code:
path\ffmpeg.exe -ab 256 -ar 48000 -ac 6 -acodec ac3 -i path\input.ac3 path\output.ac3
Transodes an ac3 5.1 @xbitrate to ac3 5.1 @ 256 kbps
It is also being discussed here.
http://forum.doom9.org/showthread.ph...0&pagenumber=2
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
04-05-2004, 11:51 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
A nice to hear that DSPGuru implementatet a new version of AC3enc in his besweet .... but whats about the mentioned Volume bug?? Still avaiable even when doing a Auto-Max-Gain ??

That FFmpeg GUI I also used one time but there wasn't a Auto-Max-Option ... maybe someone should list the parameters of ffmpeg.exe build so we can at least use it via command line like mencoder.
Does there exist a page where the parameters are listed .... I would apriciate it!
Reply With Quote
  #3  
04-05-2004, 12:00 PM
tickey tickey is offline
Free Member
 
Join Date: Dec 2003
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
http://ffmpeg.sourceforge.net/ffmpeg-doc.html
gives some info.
The problem with ffmeggui is it doesn't decode ac3
Avalons build enables that.
On the BeSweet in the Azid 1 box I select LFE to LFE @ 0db, and gain 0db.
I set this as I basically want no processing other than lower bitrate.
If I don't set these the BeSweet GUI will add LFE to L/R @ -3db and Dynamic Compression -normal when I leave the Azid 1 box all by itself
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
FFMPEG: built-in libavcodec/libavformat CODECS kwag Video Encoding and Conversion 38 05-07-2004 11:22 AM
FFMPEG: FFMPEG status on MPEG-2 encoding bilu Video Encoding and Conversion 3 01-31-2004 06:18 AM
Audio Codecs: LSAMP (leon's simple audio mastering program) jorel Audio Conversion 0 11-18-2003 11:10 PM
FFMPEG: Encoding Audio: toolame,mp2enc or ffmpeg Razorblade2000 Video Encoding and Conversion 0 10-18-2003 03:04 PM
Audio Codecs: Huge codecs archive on the net Dialhot Audio Conversion 1 09-09-2003 10:34 AM

Thread Tools



 
All times are GMT -5. The time now is 10:31 AM  —  vBulletin © Jelsoft Enterprises Ltd