ffmpeg -i http://example.com/stream -c:v libx264 -crf 18 output.mp4
ffmpeg -f youtube -o outlander_s01e03.mp4 https://www.youtube.com/watch?v=[VIDEO_ID] outlander s01e03 ffmpeg
For more complex operations, such as converting between formats, trimming videos, or extracting audio, FFmpeg has many options. ffmpeg -i http://example
Many high-definition releases of Outlander use the MKV container, which can hold multiple audio tracks and subtitle streams. To convert "The Way Out" to MP4 while keeping the subtitles, use a command that converts the subtitles to the MP4-compatible mov_text format: ffmpeg -i "Outlander.S01E03.The.Way.Out.mkv" -map 0 -c:v copy -c:a aac -c:s mov_text "Outlander.S01E03.mp4" such as converting between formats