shiftger.blogg.se

Ffmpeg resize crop
Ffmpeg resize crop











ffmpeg resize crop

But conversion is truly fast on my Intel HD530. Oh and btw just tried out new 2.5 Beta 1. So I just need to find the scaling after cropping. vf "hwdownload,format=nv12,setpts=PTS+1800/TB,subtitles='.MCEBuddy Version and Type (32bit or 64bit):ĮDIT: Sorry, just found the Cropping flag and audio normalize flags in the expert settings. * `-hwaccel cuvid -resize 1200x300` - resize (forces the size)įfmpeg -ss 1800.

ffmpeg resize crop ffmpeg resize crop

* `-hwaccel cuvid -crop 0x0x200x200` - faster way to crop top x bottom x left x right * `minterpolate=fps=60:mi_mode=blend` * output 60 fps interpolate blending (this can cause problems, avoid sometimes) * `-f matroska * | vlc -` * output as matroska, pipe to VLC * `-c:v h264_nvenc -preset slow -b:v 8M` * hardware accelerated encoding 8000 kb/s for 720p/60 (for 1080p use `16M`) * `subtitles=input.srt:force_style='FontName='TiresiasScreenfont',Fontsize=32,Outline=2,MarginL=50,MarginV=30,Alignment=1'` * subtitles * `scale=(iw sar)max(1280/(iw sar)\,720/ih):ihmax(1280/(iw*sar)\,720/ih), crop=1280:720` * crops the video to 1280x720, (exteremely high impact on performance!) Use crop and resize cuvid below for better performance. * `hwdownload,format=nv12` * downloads the hardware accelerated frame to memory for the video filter (required by cuvid) * `hwaccel cuvid -c:v h264_cuvid` * makes the hardware accelerated decoding (h264 only) Center alignment is bad because you need to always re-adjust eyes to the position where the subtitles start, left alignment makes the first character always in same place.) (Aligned always to left second row, so that starting point is always the same. What it does: Allows streaming content to Chrome Cast with my idea of subtitles through VLC.įor me I want subtitles with Tiresias screen font used in Finnish YLE 90s.













Ffmpeg resize crop