「Ffmpeg」の版間の差分

提供:onayami
(ページの作成:「<pre> For FFmpeg with Constant Bitrate Encoding (CBR): ffmpeg -i video.mp4 -vn \ -acodec libmp3lame -ac 2 -ab 160k -ar 48000 \ audio.mp3 or if you want to use Variable Bitrate Encoding (VBR): ffmpeg -i video.mp4 -vn \ -acodec libmp3lame -ac 2 -qscale:a 4 -ar 48000 \ audio.mp3 The VBR example has a target bitrate of 165 Kbit/s with a bitrate range of 140...185. </pre>」)
 
編集の要約なし
18行目: 18行目:
The VBR example has a target bitrate of 165 Kbit/s with a bitrate range of 140...185.
The VBR example has a target bitrate of 165 Kbit/s with a bitrate range of 140...185.


python3 -m pip install -U yt-dlp
yt-dlp -F --progress "https://www.youtube.com/watch?v=xxxxxxxxx"
</pre>
</pre>

2025年6月7日 (土) 21:49時点における版





For FFmpeg with Constant Bitrate Encoding (CBR):

ffmpeg -i video.mp4 -vn \
       -acodec libmp3lame -ac 2 -ab 160k -ar 48000 \
        audio.mp3

or if you want to use Variable Bitrate Encoding (VBR):

ffmpeg -i video.mp4 -vn \
       -acodec libmp3lame -ac 2 -qscale:a 4 -ar 48000 \
        audio.mp3

The VBR example has a target bitrate of 165 Kbit/s with a bitrate range of 140...185.


python3 -m pip install -U yt-dlp
yt-dlp -F --progress "https://www.youtube.com/watch?v=xxxxxxxxx"