問題タブ [avconv]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
stdin - STDIN 経由で提供された MP3 ファイルのデュレーションを avprobe が判断できないのはなぜですか?
で MP3 ファイルの長さを検索しようとしていますavprobe
。これは機能します(いくつかの奇妙な警告がありますが):
ただし、逆に STDIN 経由でファイルをパイプすると、次のような問題が発生します。
期間は「N/A」と報告されます。STDIN からの読み取り時に期間を把握できないのはなぜですか?
video - avconv でビデオを結合するには?
フォルダーにいくつかのチャンクがあります。
それらをfull.mp4にマージしたい
私は使用しようとしました:
不明な入力形式: 'concat'
不明な入力形式: 'concat'
前の版では、1 つの入力ファイルのみが出力にキャッチされました。
フォルダのすべてのチャンクを完全なビデオにマージする方法は?
私はffmpegなどを使いたくありません。Avconv のみ。
linux - Linuxでperlスクリプトを使用してavconvコマンドを実行する方法
perlスクリプトを使用して、指定された引数で次のコマンドを実行する必要があります
avconv -threads 4 -ss 0.0 -i /path/to/movie.avi output.ts
Linux 環境で perl スクリプトを使用してこのコマンドを実行するにはどうすればよいですか?
ffmpeg - Converting DVD image with subtitles to MKV using avconv
This is the procedure I know to convert a DVD image to another videoformat (v.g. MP4):
- concatenate the
VTS_01_
n.VOB
files insideVIDEO_TS
folder (for n >= 0) into a single VOB file. - use
avconv
orffmpeg
in order to convert that VOB into another format.
So far so good, however now I want to convert the DVD image with the subtitles. As far as I know the MKV format supports subtitles, so it seems an obvious choice. Alternatively I might use any other format with hard subtitles (subtitles as part of the video image).
However, the subtitle encoding in the DVD image is dvdsub
and I get the following error
However, when running avconv -codecs
I get:
And the -c:s copy
switch, while it prevents the command to fail, it does not seem to produce a subtitle that the player can understand.
So, how can I create ass
subtitles from dvdsub
using avconv
?
My VOB file has eight subtitle channels and two audio channels. The Ubuntu video app does not show any subtitles, and only the first audio channel seems to be working, do the DVD image might be broken.
Another file, for a double-layer DVD, displays the Subtitle encoding error, however when using the -c:s copy
switch it further displays:
Thank you in advance for any ideas on how to solve these problems.
(I am using Ubuntu where ffmpeg
is an alias for avconv
. I know it is possible to install the real ffmpeg but so far I have not done so.)
update: commands and console outputs:
commands
output
command
output
command
output omitted.
command
output
Now, for the double-layer: commands
output
command
output
shell - ファイルのデュレーションをミリ秒単位で取得する方法
オーディオ ファイル (.wav) の長さをミリ秒単位で取得しようとしています。
を使用したコマンド ラインをいくつか見たことがありますが、このライブラリは私の Ubuntu バージョンでffmpeg
は非推奨 ( に置き換えられました) であり、何も見つかりませんでした。avconv
実行して期間を取得できますがavconv -i <file>
、で結果を探していmilliseconds
ます。
ios - rtmp から hls へのトランスコーディング
ubuntu 12.04 で rtmp ライブ ストリーミングを hls にトランスコードするために、次の手順を実行しました。
しかし、最後の部分を実行したとき、ストリーミングが開始されず、次のエラーが発生しました:
avconv: 再配置エラー: /usr/local/lib/libavfilter.so.3: シンボル sws_isSupportedEndiannessConversion、バージョン LIBSWSCALE_2 がファイル libswscale.so.2 で定義されていません (リンク時の参照あり)
私は何をすべきですか?
ありがとう。