A while back YouTube started to use DASH format (Dynamic Adaptive Streaming over HTTP) for 1080p and 480p videos. DASH is an adaptive bitrate streaming technology where a multimedia file is partitioned into one or more segments and delivered to a client using HTTP. Now instead of single multimedia file, there are at least 2 separate files: one with the audio line, the other — video. At the moment FastestTube can’t merge them automatically. However we added the facility to download both audio/video files so you can combine them later into a single one with ffmpeg or similar tools.
Custom filename is not yet supported, therefore both audio/video files are downloaded as "videoplayback". The audio file has the mime-type: "audio/mp4" and therefore should have the file extension: "m4a" or "mp4" but some browsers may require you to add the extension manually.
Once you have downloaded both video and audio files (‘videoplayback.mp4’ and ‘videoplayback.m4a’ respectively), here’s how you can merge them into a single file:
VLC media player allows you to watch the video with an external audio track.
On Windows you need to:
On Mac OS X:
This manual is also available at the VideoLAN wiki.
YouTube uses an uncommon codec called Dash for their audio files and some media players can't play it. You can convert the Dash audio format to a more common format using one of the many online services available like this one or that one.
Otherwise you can always manually convert the Dash audio file to any format with ffmpeg. To do so, you need to know your audio's bitrate, which was shown in the download menu. If you don’t remember the bitrate you can check it by running
ffprobe INPUT_FILE
in the Command Prompt window. Just replace INPUT_FILE with the downloaded audio file name.
Then you need to convert the bitrate from kbit/s to bit/s. To do so just add three zeroes after the bitrate (ex.: 128 kbit/s audio would be 128000 bit/s). Thereafter you need to execute the following command in the Command Prompt window:
ffmpeg -i INPUT_FILE -ab BITRATE -vn OUTPUT_FILE
For some qualities Youtube provides videos only in WebM format. WebM could be converted in MP4 with the following ffmpeg command
ffmpeg -i video.webm -i audio.m4a -c:v libx264 -c:a copy out.mp4Please note that such a conversion may take a very long time.