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. |
7th March 2011, 21:16 | #1 | Link |
Registered User
Join Date: Mar 2010
Posts: 12
|
Trimming 5.1 FLAC
I need to trim a few sections out of a FLAC audio file for an ordered chapter project. However I can't figure out a good way to do it. Right now I am using MeGUI's HD Stream Extractor to convert the 5.1 stream to FLAC. I have to make the audio into a MKA file. I then use MeGUI's audio with a cut XML to process it, but that seem to convert it to stereo. I can make the changes manually in Sony Sound Forge but that is way to time consuming.
Any ideas how to do this? |
7th March 2011, 21:51 | #2 | Link |
Registered User
Join Date: Aug 2008
Location: The Land Of Dracula (Romania - EU)
Posts: 934
|
try with shntool...
_
__________________
if you ask a question and somebody give you the correct answer don't forget to leave a "thank you" note... Visit The Land Of Dracula (Romania - EU)! |
7th March 2011, 22:36 | #3 | Link | |
Registered User
Join Date: Mar 2010
Posts: 12
|
Quote:
All I really need is a program to take the extracted FLAC file and have it cut out at specified frames and put back together. If I have to calculate the timecodes myself, the current method is easier. |
|
8th March 2011, 02:57 | #4 | Link |
Registered User
Join Date: Mar 2003
Location: Germany
Posts: 43
|
FLAC isn't well supported for direct editing. There are tools that support cut & join of DD and DTS (and their extended derivates or PCM) like eac3to and delaycut.
Though eac3to works with timecodes and delaycut works with milliseconds, it is quite easy to calculate the values with an excel sheet. The reason for those tools not to use framenumbers is, audio does not know the framerate to of a video it may correspond to. If you are working in a 25fps environment, your framelength is 40ms, for 23,976 its 41,708375ms, etc. calculate 1000/framerate. When cutting, keep in mind, most compressed audio formats have a "framelength", too. For DD its 32ms, so you wont be able to cut in the middle of an audio frame. This will most likely introduce small delays when joining and can add up to visible desync. Last edited by -TiLT-; 8th March 2011 at 03:00. |
8th March 2011, 04:20 | #5 | Link |
Registered User
Join Date: Mar 2010
Posts: 12
|
Yeah I know about the frame rate thing, it is included in the cut XML. It works just fine on a stereo FLAC file, but not 5.1. Right now I am calculating the time codes in excel, but the process is not efficient. I have to manually select two sections of audio in 50+ files and remove them.
MeGUI audio cutter lets me insert one file and it does everything in seconds. Any MeGUI users out there know why this doesn't work? Why with the FLAC setting set to "Keep Original Channels" that a 5.1 file becomes stereo? |
8th March 2011, 05:05 | #6 | Link |
interlace this!
Join Date: Jun 2003
Location: i'm in ur transfers, addin noise
Posts: 4,555
|
try reaper. it's free for noncommercial yada yada, has native FLAC support (arbitrary channel counts), and is IMHO better than protools (and faster).
when you're chopped, crossfaded, etc, just right-click the audio and hit "glue", and it'll render it down to a single file for you. there's a small learning curve, but it's well worth it for anything audio.
__________________
sucking the life out of your videos since 2004 |
8th March 2011, 07:35 | #8 | Link | ||
Registered User
Join Date: Mar 2010
Posts: 12
|
Quote:
Quote:
EDIT: Keep in mind that I am still new at this so you might have to explain step by step. Last edited by bob3000000; 8th March 2011 at 07:42. |
||
8th March 2011, 08:56 | #9 | Link | |
Registered User
Join Date: Apr 2008
Posts: 1,181
|
Quote:
I think all of them can be correctly decoded by ffmpeg-based decoders (e.g. ffdshow). |
|
Tags |
eac3to, flac 5.1, megui, ordered chapters |
|
|