VideoHelp Forum




+ Reply to Thread
Results 1 to 10 of 10
  1. Member
    Join Date
    Dec 2006
    Location
    United States
    Search Comp PM
    I've got a bunch of Ogg Vorbis audio files, and I want to convert them to ac3. I haven't found anything thus far that's able to do it. I'm mostly interested in figuring out what's wrong with (or what I'm doing wrong with) BeSweet, but I'm willing to look at other solutions.

    I started with were ogm files. I batch demuxed them with OGMcleaver. It gave me avi video, two ogg vorbis audio streams, and two srt subtitle streams.

    Here's what happened when I tried to convert the files with BeSweet. The Command Line pops up for about a second, and then nothing. There's no output file, and the log is completely blank. The command line probably shows an error, but it's gone before I can read it.

    I've tried demuxing the audio with VirtualDubMod, but it doesn't help. I've opened the ogg file with audacity, and it appears to be fine so I don't know what's wrong.
    Quote Quote  
  2. Member
    Join Date
    Apr 2007
    Location
    Australia
    Search Comp PM
    Hi.

    Try something like this.
    The pause will halt the batch file and give you time to read.

    Needs https://www.videohelp.com/tools/Aften
    and http://kurtnoise.free.fr/index.php?dir=BeLight/&file=bsn_20070513.zip
    Put them in the BeSweet folder.

    Code:
    for %%a in ("*.ogg") do "C:\VidAud\Besweet\BeSweet.exe" -core( -input "%%~dpna.ogg" -output "%%~na.ac3" ) -ssrc( -rate 48000 ) -bsn( -exe aften.exe -b 256 )
    pause
    Change the path to reflect the location of BeSweet on your PC. Save the two lines of code to a text file. Call it something exciting, like test.bat.
    Put it in with the ogg files & double click on it.
    Quote Quote  
  3. Member
    Join Date
    Dec 2006
    Location
    United States
    Search Comp PM
    Alright. It didn't give me an error message. I still have no idea what's wrong.

    C:\Documents and Settings\my name\Desktop\New Folder (2)\Oggs>"C:\Program Fi
    les\BeLight-0.21\BeSweet.exe" -core( -input "C:\Documents and Settings\April Kro
    ll\Desktop\New Folder (2)\Oggs\zx.tenchi-universe.10.divx5-Audio2.ogg" -output "
    zx.tenchi-universe.10.divx5-Audio2.ac3" ) -ssrc( -rate 48000 ) -bsn( -exe aften.
    exe -b 256 )
    BeSweet v1.5b31 by DSPguru.
    --------------------------
    Using Ogg Vorbis v1.0 dlls (http://www.vorbis.com).

    C:\Documents and Settings\April Kroll\Desktop\New Folder (2)\Oggs>pause
    Press any key to continue . . .
    Last edited by rayden54; 8th Jan 2012 at 22:05.
    Quote Quote  
  4. Member
    Join Date
    Apr 2007
    Location
    Australia
    Search Comp PM
    Hmmm.
    Let's try later ogg codecs.

    The site is Japanese. These are the ones I use.
    http://www.geocities.jp/aoyoume/aotuv/binary/vorbis_dll_aoTuV_b5.61.zip
    Unzip and copy to BeSweet folder, overwriting all.

    Try again.
    p.s. '@echo off' will tidy up the screen output by NOT echoing the command line back at you.

    Code:
    @echo off
    for %%a in ("*.ogg") do "C:\VidAud\Besweet\BeSweet.exe" -core( -input "%%~dpna.ogg" -output "%%~na.ac3" ) -ssrc( -rate 48000 ) -bsn( -exe aften.exe -b 256 ) 
    pause
    Quote Quote  
  5. Member
    Join Date
    Apr 2007
    Location
    Australia
    Search Comp PM
    Using the above batch file I got this result.
    I notice the version for Ogg Vorbis is incorrectly displayed.

    BeSweet v1.5b31 by DSPguru.
    --------------------------
    Using Ogg Vorbis v1.0 dlls (http://www.vorbis.com).
    Using Shibatch.dll v0.25 by Naoki Shibata & DSPguru (shibatch.sourceforge.net).
    Using bsn.dll replacement by dimzon, Build Sep 26 2006, 16:33:50

    [00:00:00:000] +------- BeSweet -----
    [00:00:00:000] | Input : D:\a\coyote.ogg
    [00:00:00:000] | Output: coyote.ac3
    [00:00:00:000] | Floating-Point Process: No
    [00:00:00:000] | Source Sample-Rate: 48.0KHz
    [00:00:00:000] +---------------------

    Aften: A/52 audio encoder
    Version SVN
    (c) 2006-2007 Justin Ruggles, Prakash Punnoor, et al.

    input format: WAVE Signed 16-bit little-endian 48000 Hz stereo
    output format: 48000 Hz stereo (2/0)

    SIMD usage: MMX SSE SSE2 SSE3
    Threads: 4

    progress: 0% | q: 238.4 | bw: 58.0 | bitrate: 256.0 kbps 0:51:435] transcoding ...

    [00:01:16:087] Conversion Completed !
    [00:00:01:000] <-- Transcoding Duration


    Visit DSPguru's Homepage at :
    http://DSPguru.doom9.net/
    Press any key to continue . . .
    Quote Quote  
  6. Member
    Join Date
    Dec 2006
    Location
    United States
    Search Comp PM
    The archive you gave me seems to be invalid or non-existant, I'm not sure which.
    Quote Quote  
  7. Member
    Join Date
    Apr 2007
    Location
    Australia
    Search Comp PM
    Right Click on the link:
    'Save Target As...'
    Quote Quote  
  8. Member
    Join Date
    Dec 2006
    Location
    United States
    Search Comp PM
    I did. It appears to download instantly, and then when I try to open it, it says the archive does not appear valid.
    Quote Quote  
  9. Member
    Join Date
    Apr 2007
    Location
    Australia
    Search Comp PM
    It's probably because I'm looking at it from a different angle. (Down Under. geddit? geddit?)

    Try this.

    vorbis_dll_aotuv_b5.61.zip
    Quote Quote  
  10. Member
    Join Date
    Dec 2006
    Location
    United States
    Search Comp PM
    Yeah I get it.

    Yay!! It worked! Thank you.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!