Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Can't encode ac3 to ogg (Read 4749 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

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.

 

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?

Can't encode ac3 to ogg

Reply #4
Yes, if you're really good at hex editing...

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.

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

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.

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!