• 《国家人文历史》往期杂志汇总 2019-04-22
  • 一师一团土地确权登记颁证工作全面展开 2019-04-14
  • 德州扑克赌场披“俱乐部”外衣 打竞技旗号难掩赌博实质 2019-04-12
  • 自治区党委召开常委(扩大)会议 陈全国主持 2019-04-12
  • 17年来首次!塔利班组织宣布停火3天 与阿富汗民众自拍 2019-04-04
  • 2022年冬奥会筹备进行时 2019-04-03
  • 人家80年前就造航母,我们现在才造航母,基础不一样。 2019-04-03
  • 葡萄牙首都上演城市节狂欢 2019-04-01
  • RED EARTH红地球展现自我丝绒唇膏全新发布 2019-03-24
  • 龙船礼 有讲究 百岁龙 抖精神 2019-03-17
  • 新加坡航空将开通 全球最长商业航线 2019-03-17
  • 传说中的自由飞“翔” 当厕所被狂风吹上天 2019-03-12
  • 导游强迫交易获刑 曾辱骂威胁强迫游客消费上万元--旅游频道 2019-03-09
  • 北京正式推出租赁型职工集体宿舍 每间居住人数不超8人 2019-03-09
  • 美元短线拉升 随后回吐涨幅 2019-03-07
  • Welcome to

    Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

     

    Go Back   Doom9's Forum > General > Audio encoding

    Reply
     
    Thread Tools Search this Thread Display Modes
    Old 10th March 2019, 21:21   #1  |  Link
    Registered User
     
    Join Date: Oct 2009
    Posts: 30
    Decoding 3.1 AC3 with AZID or FFmpeg and piping it

    I need to convert AC3 3.1 (C L R BC) to WAV and then to AAC. eac3to is useless because it requires -simple for 3.1, and this produces FL FR SL SR. FFmpeg does the job. It decodes to 16-bit by default, I don't know which other option to use. And I didn't find if it supports stdout. AZID does, but with the options shown it delivers FL FR SL SR. Also, when piping to QAAC, I get 2.0.
    Code:
    FOR %%A IN (*.ac3) DO AZID -d3/2 -ol,c,r,s -F wav24 "%%A" - | QAAC - -o "%%~nA.m4a
    Masutin is offline   Reply With Quote
    Old 11th March 2019, 03:00   #2  |  Link
    SuperVirus
     
    filler56789's Avatar
     
    Join Date: Jun 2012
    Location: Antarctic Japan
    Posts: 839
    That's not 3.1, it's 3(/0)/1.

    The channel-layout 3/1 is supported in AAC.

    With qaac, you'll need to specify the correct channel-mask
    (decimal value = 263, hexadecimal value = 0x0107).

    Also, make sure FFmpeg (or something else) outputs the uncompressed stream in the WAVE_FORMAT_EXTENSIBLE format.
    filler56789 is offline   Reply With Quote
    Old 11th March 2019, 03:04   #3  |  Link
    Moderator
     
    tebasuna51's Avatar
     
    Join Date: Feb 2005
    Location: Spain
    Posts: 5,487
    Quote:
    FOR %%A in (*.ac3) DO EAC3TO "%%A" stdout.wav | QAAC -o "%%~nA.m4a" -
    work for me without problems, not need -simple and MediaInfo show the m4a like the AC3 3/1.0 input:

    Channel layout: C L R Cb
    __________________
    BeHappy, AviSynth audio transcoder, in Doom9 forums. NicAudio, BassAudio, audio decoders.
    tebasuna51 is offline   Reply With Quote
    Old 12th March 2019, 02:30   #4  |  Link
    Registered User
     
    Join Date: Oct 2009
    Posts: 30
    In eac3to without -simple, with my AC3 3/1 (C L R Cb) I get "Not available input file format" (The format of the source file could not be detected). By running -test I find that Sonic Audio Decoder is missing. What else can cause the error?
    Masutin is offline   Reply With Quote
    Old 12th March 2019, 09:37   #5  |  Link
    Moderator
     
    tebasuna51's Avatar
     
    Join Date: Feb 2005
    Location: Spain
    Posts: 5,487
    Please upload the full log.

    The Sonic Audio Decoder is not needed at all.

    If eac3to show "Not available input file format" maybe that input file is corrupt, but I don't understand how the -simple parameter can make any difference.
    __________________
    BeHappy, AviSynth audio transcoder, in Doom9 forums. NicAudio, BassAudio, audio decoders.
    tebasuna51 is offline   Reply With Quote
    Old 15th March 2019, 11:47   #6  |  Link
    Registered User
     
    Join Date: Oct 2009
    Posts: 30
    Thanks! Sorry! The sample AC3 that eac3to couldn't handle without -simple was shortest possible, 32ms. It works with a longer one! Case closed. eac3to rules!
    Masutin is offline   Reply With Quote
    Reply


    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT +1. The time now is 10:12.


    Powered by vBulletin® Version 3.8.11
    Copyright ©2000 - 2019, vBulletin Solutions Inc.
  • 《国家人文历史》往期杂志汇总 2019-04-22
  • 一师一团土地确权登记颁证工作全面展开 2019-04-14
  • 德州扑克赌场披“俱乐部”外衣 打竞技旗号难掩赌博实质 2019-04-12
  • 自治区党委召开常委(扩大)会议 陈全国主持 2019-04-12
  • 17年来首次!塔利班组织宣布停火3天 与阿富汗民众自拍 2019-04-04
  • 2022年冬奥会筹备进行时 2019-04-03
  • 人家80年前就造航母,我们现在才造航母,基础不一样。 2019-04-03
  • 葡萄牙首都上演城市节狂欢 2019-04-01
  • RED EARTH红地球展现自我丝绒唇膏全新发布 2019-03-24
  • 龙船礼 有讲究 百岁龙 抖精神 2019-03-17
  • 新加坡航空将开通 全球最长商业航线 2019-03-17
  • 传说中的自由飞“翔” 当厕所被狂风吹上天 2019-03-12
  • 导游强迫交易获刑 曾辱骂威胁强迫游客消费上万元--旅游频道 2019-03-09
  • 北京正式推出租赁型职工集体宿舍 每间居住人数不超8人 2019-03-09
  • 美元短线拉升 随后回吐涨幅 2019-03-07
  • 重庆福彩欢乐生肖开奖 桥头竞彩北单店 时时彩十大信誉的平台 竞彩足球比分直播网 3d立体画 重庆时时彩杀号 十一运夺金破解 胜平负计算器让球胜平负足球 北京赛车pk10冠军走势 体彩p5走势图带连线专业版 无锡体育彩票销售网点 香港六合彩白小姐图库 海南南国彩票论坛 北京pk10赛车直播开奖 刮刮乐套路表情包合集 福建36选7走势图