• 社区 —频道 春城壹网 七彩云南 一网天下 2019-06-15
  • 全国网络举报工作会议 2019-06-15
  • 珍贵!“国宝”林麝现身重庆金佛山 2019-06-11
  • 亚冠前瞻:恒大权健皆不容有失 两将伤情成上港争胜关键 2019-06-09
  • 端午节回归传统习俗 西安市民排队买艾草端午节艾叶-要闻 2019-06-09
  • 湖州唤醒“沉睡”的土地 2019-06-01
  • 在美中国留学生江玥被枪杀案宣判 罪犯获刑25年 2019-05-31
  • 日本大阪6.1级强震4死逾300伤 工厂及店铺恢复运营 2019-05-31
  • 台湾“裤子大王”:百姓三餐不济谈啥“台湾价值” 2019-05-23
  • 韩国釜山海滩变“垃圾场” 清洁工叫苦不堪 2019-05-23
  • 浙江宣讲十九大:之江大地“好声音”“红船”精神入人心 2019-05-19
  • “回天地区”下月开放千套人才公寓 ——凤凰网房产北京 2019-05-13
  • 中国智能手机在东南亚受追捧 2019-04-25
  • 阜阳网络达人“点赞”颍泉绿化提升专项工作 2019-04-23
  • 《国家人文历史》往期杂志汇总 2019-04-22
  • 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: 846
    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,511
    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,511
    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 14:36.


    Powered by vBulletin® Version 3.8.11
    Copyright ©2000 - 2019, vBulletin Solutions Inc.
  • 社区 —频道 春城壹网 七彩云南 一网天下 2019-06-15
  • 全国网络举报工作会议 2019-06-15
  • 珍贵!“国宝”林麝现身重庆金佛山 2019-06-11
  • 亚冠前瞻:恒大权健皆不容有失 两将伤情成上港争胜关键 2019-06-09
  • 端午节回归传统习俗 西安市民排队买艾草端午节艾叶-要闻 2019-06-09
  • 湖州唤醒“沉睡”的土地 2019-06-01
  • 在美中国留学生江玥被枪杀案宣判 罪犯获刑25年 2019-05-31
  • 日本大阪6.1级强震4死逾300伤 工厂及店铺恢复运营 2019-05-31
  • 台湾“裤子大王”:百姓三餐不济谈啥“台湾价值” 2019-05-23
  • 韩国釜山海滩变“垃圾场” 清洁工叫苦不堪 2019-05-23
  • 浙江宣讲十九大:之江大地“好声音”“红船”精神入人心 2019-05-19
  • “回天地区”下月开放千套人才公寓 ——凤凰网房产北京 2019-05-13
  • 中国智能手机在东南亚受追捧 2019-04-25
  • 阜阳网络达人“点赞”颍泉绿化提升专项工作 2019-04-23
  • 《国家人文历史》往期杂志汇总 2019-04-22
  • 幸运日APP下载 开乐彩直播视频 星际争霸虫族兵种图鉴 网上购买彩票 彩金水果拉霸输了几万 重启时时彩龙虎走势图 景德镇顶呱刮头奖 新疆11选5前三走势图百度乐彩 2019年~117跑狗码报 2019魔兽世界还有人玩吗 天天酷跑人物 3d317318期双胆计划 吉林快三形态走势图走势图 快速时时彩软件手机版下载 iphone炉石传说 拳皇98ol火焰流