Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Linux, Mac OS X, & Co
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 26th January 2005, 10:27   #1  |  Link
Sujao
Registered User
 
Sujao's Avatar
 
Join Date: Jan 2005
Location: Germany
Posts: 32
two questions about AC3 editing

Hi everyone,

the last weeks I have been searching the net for a possibility to reduce the bitrate of AC3 streams in linux. Do you know something? I quite desperate as I will have to face a 1.2GB audiostream for two audiostreams with 5.1 sound in a DVD rip.

Another question I have is: How can I merge several AC3 files together into one big ac3 stream? I tried doing it with:

Code:
cat file2.ac3 >> file1.ac3
This works during playback just fine, but when I search while being in the part of the second file I get CRC errors and the playback aborts.

Everything will be put into a matroska container, so if matroska offers an option on merging them together automatically that would be just fine.

Oh and I preferably need a console solution, since I am writing a script for ripping DVDs into matroska.
__________________
There are no passengers on earth, we are all the crew
Sujao is offline   Reply With Quote
Old 27th January 2005, 13:48   #2  |  Link
Sujao
Registered User
 
Sujao's Avatar
 
Join Date: Jan 2005
Location: Germany
Posts: 32
I finally found a possibility on how to reduce the bitrate of an ac3 stream. It is pretty easy with ffmpeg...if you know how.

Code:
ffmpeg -i input.ac3 -ab 256 output.ac3
256 ist the target bitrate.

The problem is that the volume is lowered significantly. I think its the same problem windows users have with BeSweet and ac3enc.dll.

So a new problem arises: How to raise the volume after reencoding? And I still dont know how to merge different ac3-streams.
__________________
There are no passengers on earth, we are all the crew

Last edited by Sujao; 27th January 2005 at 13:51.
Sujao is offline   Reply With Quote
Old 30th January 2005, 06:53   #3  |  Link
six6
"HTML is not allowed"
 
Join Date: Jan 2003
Location: In Adamantine Chains and penal Fire
Posts: 67
If you feel it's ok going from ac3 -> wav...

a52dec -o wav file.ac3 > file.wav
then join streams, normalize, etc, then go back to ac3 with ffmpeg.

Good luck on your project!
six6 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 16:05.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.