User Tools

Site Tools


ffmpeg:video:ts_files

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ffmpeg:video:ts_files [2025/03/23 12:12] peterffmpeg:video:ts_files [2025/03/23 17:10] (current) peter
Line 21: Line 21:
 # Converts the video to x264, and audio to Vorbis. # Converts the video to x264, and audio to Vorbis.
 ffmpeg -i "input.ts" -c:v libx264 0.mkv ffmpeg -i "input.ts" -c:v libx264 0.mkv
 +
 +# Copies the video as is, mpeg2video, and also copies the audio and subtitles as is.
 +ffmpeg -i "input.ts" -map 0 -c copy 0.mkv
 +
  
 fi fi
 </code> </code>
  
-        + 
 +---- 
 + 
 +<code bash> 
 +ffmpeg -i "0.mkv" -c:v libx264 -profile:v high -level:v 4.2 -b:v 8M -r 30 -s 1920x1080 -c:a aac -b:a 384k -ar 48000 -preset slow -f mp4 1.mp4 
 +ffmpeg -i "0.mkv" -c:v libx264 -profile:v high -level:v 4.2 -b:v 8M -r 30 -s 1920x1080 -channel_layout:a:0 "5.1(side)" -c:a aac -ac 6 -b:a 384k -ar 48000 -preset slow -f mp4 1.mp4 
 +ffmpeg -i "0.mkv" -c:v libx264 -profile:v high -level:v 4.2 -b:v 8M -r 30 -s 1920x1080 -channel_layout:a:0 "5.1(side)" -c:a aac -ac 6 -b:a 384k -ar 48000 -preset slow -f mp4 1.mkv 
 +ffmpeg -i "0.mkv" -c:v libx265 -profile:v high -level:v 4.2 -b:v 8M -r 30 -s 1920x1080 -channel_layout:a:0 "5.1(side)" -c:a aac -ac 6 -b:a 384k -ar 48000 -preset slow -f mp4 1.mkv 
 +ffmpeg -i "0.mkv" -c:v libx265 -profile:v high -pix_fmt yuv420p10le -level:v 4.2 -b:v 8M -r 30 -s 1920x1080 -channel_layout:a:0 "5.1(side)" -c:a aac -ac 6 -b:a 384k -ar 48000 -preset slow -f mp4 1.mkv 
 +ffmpeg -i "0.mkv" -c:v libx265 -profile:v main10 -pix_fmt yuv420p10le -level:v 4.2 -b:v 8M -r 30 -s 1920x1080 -channel_layout:a:0 "5.1(side)" -c:a aac -ac 6 -b:a 384k -ar 48000 -preset slow -f mp4 1.mkv 
 +ffmpeg -i "0.mkv" -c:v libx265 -crf 23 -profile:v main10 -pix_fmt yuv420p10le -level:v 4.2 -b:v 8M -r 30 -s 1920x1080 -channel_layout:a:0 "5.1(side)" -c:a aac -ac 6 -b:a 384k -ar 48000 -preset slow -f mp4 1.mkv 
 +ffmpeg -i "0.mkv" -c:v libx265 -crf 23 -profile:v main10 -pix_fmt yuv420p10le -level:v 4.2 -b:v 8M -r 30 -s 1920x1080 -channel_layout:a:0 "5.1(side)" -c:a aac -ac 6 -b:a 384k -ar 48000 -preset slow -f mp4 1.mp4 
 +ffmpeg -i "0.mkv" -c:v libx265 -crf 23 -profile:v main -pix_fmt yuv420p10le -level:v 4.2 -b:v 8M -r 30 -s 1920x1080 -channel_layout:a:0 "5.1(side)" -c:a aac -ac 6 -b:a 384k -ar 48000 -preset slow -f mp4 1.mkv 
 +ffmpeg -i "0.mkv" -c:v libx265 -crf 23 -profile:v main -pix_fmt yuv420p10le -level:v 4.2 -b:v 8M -r 30 -s 1920x1080 -channel_layout:a:0 "5.1(side)" -c:a aac -ac 6 -b:a 384k -ar 48000 -preset slow -f matroska 1.mkv 
 +ffmpeg -i "0" -c:v libx265 -crf 23 -profile:v main10 -pix_fmt yuv420p10le -level:v 4.2 -b:v 8M -r 30 -s 1920x1080 -channel_layout:a:0 "5.1(side)" -c:a aac -ac 6 -b:a 384k -ar 48000 -preset slow -f matroska 1.mkv 
 + 
 +ffmpeg -i "0.mkv" -c:v libx264 -profile:v high -level:v 4.2 -b:v 8M -r 30 -s 1920x1080 -channel_layout:a:0 "5.1(side)" -c:a aac -ac 6 -b:a 384k -ar 48000 -preset slow -f mp4 1.mp4 
 +ffmpeg -i "0.mkv" -c:v libx264 -profile:v high -level:v 4.2 -b:v 8M -r 30 -s 1920x1080 -channel_layout:a:0 "5.1(side)" -c:a aac -ac 6 -b:a 384k -ar 48000 -preset slow -f mp4 1.mkv 
 +ffmpeg -i "0.mkv" -c:v libx264 -profile:v high -level:v 4.2 -b:v 8M -r 30 -s 1920x1080 -channel_layout:a:0 "5.1(side)" -c:a aac -ac 6 -b:a 384k -ar 48000 -preset slow -f matroska 1.mkv 
 +ffmpeg -i "0.mkv" -c:v libx264 -profile:v high -level:v 4.2 -b:v 8M -r 30 -s 1920x1080 -channel_layout:a:0 "5.1(side)" -c:a aac -ac 6 -b:a 384k -ar 48000 -preset slow -f matroska 1.mkv 
 +ffmpeg -i "0.mkv" -c:v libx265 -profile:v main10 -level:v 4.2 -b:v 8M -r 30 -vf scale=1920x1080:flags=lanczos -channel_layout:a:0 "5.1(side)" -c:a aac -ac 6 -b:a 384k -ar 48000 -preset slow -f matroska 1.mkv 
 +ffmpeg -i "0.mkv" -c:v libx265 -profile:v main10 -pix_fmt yuv420p10le -level:v 4.2 -b:v 8M -r 30 -vf scale=1920x1080:flags=lanczos -channel_layout:a:0 "5.1(side)" -c:a aac -ac 6 -b:a 384k -ar 48000 -preset slow -f matroska "1.mkv" 
 + 
 +ffmpeg -i "0.mkv" -c:v libx265 -b:v 5000k -bufsize 5000k -maxrate 5000k -crf 23 -profile:v main10 -b:v 8M -r 30 -c:a aac -b:a 384k -ar 48000 -preset slow "1.mkv" 
 + 
 + 
 + 
 + 
 +</code> 
ffmpeg/video/ts_files.1742731950.txt.gz · Last modified: 2025/03/23 12:12 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki