- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试将 flac 音频文件转换为 alac 音频文件。使用命令 brew install ffmpeg 安装 ffmpeg 后,我在 mac os 终端中使用 ffmpeg 命令。
运行以下命令后
for name in *.flac; do ffmpeg -nostdin -i "$name" -acodec alac "${name%.*}.m4a"; done
Stream mapping:
Stream #0:1 -> #0:0 (mjpeg (native) -> h264 (libx264))
Stream #0:0 -> #0:1 (flac (native) -> alac (native))
[ipod @ 0x7fa5c6800000] Frame rate very high for a muxer not efficiently supporting it.
Please consider specifying a lower framerate, a different muxer or -vsync 2
[libx264 @ 0x7fa5c5804a00] using SAR=1/1
[libx264 @ 0x7fa5c5804a00] MB rate (77760000) > level limit (16711680)
[libx264 @ 0x7fa5c5804a00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x7fa5c5804a00] profile High, level 6.2
[libx264 @ 0x7fa5c5804a00] 264 - core 155 r2917 0a84d98 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[ipod @ 0x7fa5c6800000] Could not find tag for codec h264 in stream #0, codec not currently supported in container
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Error initializing output stream 0:1 --
Conversion failed!
-c:a alac
-acodec alac
最佳答案
我所做的是
for name in *.flac; do ffmpeg -nostdin -i "$name" -c:a alac -c:v copy "${name%.*}.m4a"; done
关于macos - 在流 #0 编解码器中找不到编解码器 h264 的标签(ffmpeg flac 到 alac 转换),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55429909/
关闭。这个问题是opinion-based 。目前不接受答案。 想要改进这个问题吗?更新问题,以便 editing this post 可以用事实和引文来回答它。 . 已关闭 8 年前。 Improv
我首先尝试使用 FFMPEG 将 CAFF 编码为 FLAC,但 iOS SDK 中没有 NSTask。我听说还有另一种使用 libFlac 将 CAFF 转换为 FLAC 的方法,我在 scumvm
当我尝试处理 flac 文件时,我得到了 “没有文件扩展名flac的处理程序” 错误。有没有办法在windows中解决这个问题。 最佳答案 这个答案可能有点晚了,但您需要版本 14.4.1a(可用 h
我管理了“概述教程”:https://cloud.google.com/speech/docs/getting-started 然后我尝试使用我自己的音频文件。我上传了一个采样率为 16000Hz 的
我正在尝试学习如何使用 SFML,但是当我尝试编译我的 C++ 代码时,Xcode 告诉我Command/bin/sh failed with exit code 2。这是我在单击更多信息时遇到的错误
我已经搜索了这方面的文档,但没有找到任何信息。 我在 Windows 10 Insider Build(也是最新的)64 位中使用最新的 FFMPEG nightly build。 我需要知道如何定义
关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。 想改进这个问题?将问题更新为 on-topic对于堆栈溢出。 8年前关闭。 Improve this qu
我发现使用 av_seek_frame() 查找 FLAC 文件并不适用于 ffmpeg。将 FLAC 解码为原始 PCM 工作正常,但一旦我调用了 av_seek_frame(),下一次调用 av_
我正在使用 FFMpeg 转换音频格式,特别是转换为 FLAC。由于某种原因,我无法在元数据中保留专辑封面。 我正在使用的当前命令格式是: ffmpeg -I source.alac -c:v cop
我想检查一个音频文件是否是 MP3 或 FLAC 检查只需要基本的但我想超越简单地检查文件扩展名 os.path.splitext 工作正常,但如果文件没有写入扩展名或有人传递了一个带有假扩展名的文件
我需要将 flac 文件转换为 wav 文件而不更改采样率和位深度。据我所知,更改这些属性可能会使音频失真,那么我如何指定它们不被更改? 此外,有什么方法可以防止元数据写入输出文件吗? 最佳答案 正如
我需要将 flac 文件分割成许多部分。我正在使用 jFLAC 库读取 flac 文件 FLACDecoder decoder = new FLACDecoder(inputStream); 然后我尝
32 位 Windows XP 上的 Qt 5.0.1 QMediaPlayer 只能播放 MP3 和 WAV 文件。我怎样才能扩展它来播放 OGG 和 FLAC 文件呢? 最佳答案 Qt 的多媒体模
我目前正在尝试编写一个 FLAC 到 WAV 转码器作为 C++ 练习,目前我在 FLAC 格式有关位排序的措辞方面遇到了一些困难。 这是讨论排序的(小)部分: All numbers used in
是否有适用于流的 C/C++ FLAC 标记库?无论我在哪里看,我只找到那些对文件有效的。这对我来说有点奇怪——为什么要使用像文件这样的有限的东西而不是更抽象的流。好吧,也许我只是被托管语言的简洁性宠
我使用 audoiRecord 类录制音频。现在我想将音频原始文件转换为 *flac 格式。我接下来将 *raw 文件转换为 wav: private void copyWaveFile(String
我正在开发应使用 Google Voice API 的 iPhone 应用程序,因此我的应用程序应将以 m4a 格式录制的语音转换为 flac。我当然应该使用 libflac,但由于链接器错误,我所有
我想录制语音,然后得到.flac 格式的文件,我可以将录制的声音保存为 flac 吗?如果是 - 怎么做?我试过了,但只有 .caf 可用.. 最佳答案 iOS 不支持 FLAC 检查这个:http:
我正在尝试使用 libSoX API 以编程方式转换内存缓冲区中的音频。例如,它可以很好地改变采样率,但在 PCM 和 FLAC 之间转换时我遇到了一些麻烦。 QByteArray inData =
编辑:我已经更新了下面的代码以类似于我取得的进展。我正在尝试自己编写 .wav header 。截至目前,代码无法正常工作,音频未正确写入文件。该代码不包含任何将其转换为 .flac 文件的尝试。 我
我是一名优秀的程序员,十分优秀!