VideoHelp.com Forum
+ Reply to Thread
Results 1 to 5 of 5
Thread
  1. Member
    Join Date: Jun 2007
    Location: Canada
    Hi Everyone

    Just curious . . .

    what is the difference transcoding a 44,100 mp3 file to an 48,000 ac3 file?

    1. using ffmpeg or besweet i.e. decode -> mp3 then encode -> ac3

    2. using an avs file with either ffmpeg or besweet where the input is considered uncompressed
    decode wav/pcm ? then encode -> ac3

    On the surface it seems that transcoding from an avs "uncompressed" file would be better - and would apply to all compressed audio formats?

    TIA
    Quote Quote  

  2. There shouldn't be any difference.

    On the decode side, FFmpeg (and I assume Besweet too) always first internally decompress the file to raw PCM.
    You cannot re-encode directly from mp3 to ac3.
    Quote Quote  

  3. Member AlanHK's Avatar
    Join Date: Apr 2006
    Location: Hong Kong
    They're all the same, in that they decode/decompress, process (to resample) and reencode.

    However while the decoding will the same, there is a difference in quality of encoding.

    Besweet hasn't got a great rep for its AC3 encoding, and hasn't been updated for many years.

    I like to stream from an AVS file to Aften. This allows me to keep keep exact sync with video if I cut it (with "Trim()"), and there are some simple but powerful audio functions you can use to adjust volume, delay, sampling, downmix, etc. The newish function Soundout() gives you a direct export to AC3 from Avisynth.

    But anything fancy, like noise reduction, I export to wave (Soundout() is one good way) and use Audacity.
    Quote Quote  

  4. Member
    Join Date: Jun 2007
    Location: Canada
    Thanks for the info.

    @AlanHK - Besweet can use Aften - with the updated bsn.dll

    wiseant
    Quote Quote  

  5. Member AlanHK's Avatar
    Join Date: Apr 2006
    Location: Hong Kong
    Originally Posted by wiseant
    Thanks for the info.

    @AlanHK - Besweet can use Aften - with the updated bsn.dll

    wiseant
    As far as I can see, that's just using Besweet to decode and piping it into Aften.
    It's not really integrated into it. Is it in any of the GUIs?

    I just use ffmpeg, like:
    Code:
    for %%I in (%1) do (
    ffmpeg -i "%%I" -ar 48000 -f wav -vn -y - | p:\aften\aften.exe -b 192 - "%%~nI.ac3"
    )
    for just about any audio format. (Or you can use ffmpeg to encode the AC3 if you prefer.)

    or use wavi on an AVS file:
    Code:
    for %%I in (%1) do (
    wavi %%I - | p:\aften\aften.exe -b 128 -s 1 -w 45 -dnorm 27 - "%%~nI.ac3"
    )
    Quote Quote  




Similar Threads

  1. VDub & AviSynth: Errors with ffmpeg and VBR audio streams
    By klischee in forum Software Playing
    Replies: 8
    Last Post: 20th Aug 2011, 19:13
  2. Newbie - ffmpeg args for transcoding 1080p to 720p, etc.
    By awatelet in forum Newbie / General discussions
    Replies: 2
    Last Post: 28th Apr 2011, 13:21
  3. Transcoding photo jpeg (.mov) using avisynth
    By mofofoto in forum Video Conversion
    Replies: 61
    Last Post: 22nd Apr 2009, 19:02
  4. MKVtoolnix stretching and delaying vs. BeSweet transcoding
    By bonanza in forum Video Conversion
    Replies: 1
    Last Post: 2nd May 2008, 18:54
  5. ffmpeg options for PS3 transcoding
    By techid in forum Linux
    Replies: 6
    Last Post: 23rd Jun 2007, 03:40
Search   Contact us   About   Advertise   Forum   RSS Feeds   Statistics   Tools