Skip to main content

Topic: Can't encode ac3 to ogg (Read 3932 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
Can't encode ac3 to ogg
Hi

I had 2 ac3 files which I joined together using the following script in cmd:

copy audio1.ac3 + audio2.ac3 /b

Now when I try to encode the new audio1.ac3 it gives me an error halfway through the encoding process?

Is there a fix or a way around this problem?

Ax

  • john33
  • [*][*][*][*][*]
  • Developer
Can't encode ac3 to ogg
Reply #1
I would guess that ac3 doesn't accomodate file chaining in that manner. However, ogg vorbis does, so why don't you just transcode the separate files and then chain the ogg files as you're trying to do with the ac3 files.
John
----------------------------------------------------------------
My compiles and utilities are at http://www.rarewares.org/

  • riggits
  • [*][*][*]
Can't encode ac3 to ogg
Reply #2
Quote
Hi

I had 2 ac3 files which I joined together using the following script in cmd:

copy audio1.ac3 + audio2.ac3 /b

Now when I try to encode the new audio1.ac3 it gives me an error halfway through the encoding process?

Is there a fix or a way around this problem?

Ax
[a href="index.php?act=findpost&pid=325034"][{POST_SNAPBACK}][/a]


You concatenated two files, each with their own header information..... 
An easy way to do it right:  use foobar2000, select both files and convert with Single File Output.

Can't encode ac3 to ogg
Reply #3
I deleted the original 2 ac3 files, is it possible to extract them again from the 1 ac3 file I have now?

  • rjamorim
  • [*][*][*][*][*]
Can't encode ac3 to ogg
Reply #4
Yes, if you're really good at hex editing...
Get up-to-date binaries of Lame, AAC, Vorbis and much more at RareWares:
http://www.rarewares.org

  • Gambit
  • [*][*][*][*][*]
  • Developer
Can't encode ac3 to ogg
Reply #5
I was bored, so I wrote this:
http://www.burrrn.net/stuff/AC3.exe

Select the joined file and click "Split". If successful, you will get the original two files.

It's just my modified AC3 test application, but it should work. It's pretty simple, it scans the file and splits from the frame that has a different bitrate/samplerate/channels number.
  • Last Edit: 11 September, 2005, 11:35:28 PM by Gambit
Burrrn - http://www.burrrn.net/
MPEG Audio Collection - http://mac.sourceforge.net/

Can't encode ac3 to ogg
Reply #6
Thanks for that program.

I tried it and it does not seem to find the join.  So I clicked "scan" instead and it gave the following results:



Does this mean that it could not find the join?

Thanks again

Ax

  • Gambit
  • [*][*][*][*][*]
  • Developer
Can't encode ac3 to ogg
Reply #7
Quote
Thanks for that program.

I tried it and it does not seem to find the join.  So I clicked "scan" instead and it gave the following results:

Sorry, you will have to split it manually. Try decoding the file and split at the position where you get the error. You can use BeSplit, or I can upload a modified version of my tool that can split manually.
  • Last Edit: 18 September, 2005, 11:43:47 AM by Gambit
Burrrn - http://www.burrrn.net/
MPEG Audio Collection - http://mac.sourceforge.net/

Can't encode ac3 to ogg
Reply #8
Please can you upload a modified version of your program!

But don't do it if its gonna take to long.  If its a simple thing for you to do then excellent!