View Single Post
Old 28 April 2014, 19:49   #41
pandy71
Registered User
 
Join Date: Jun 2010
Location: PL
Posts: 1,526
I would recomend ffdshow encode (lossless huffyuv is perfect for realtime video capture, also ffmpeg own codec ffv1 http://en.wikipedia.org/wiki/FFV1 can be selected in ffdshow).
Later this can be encoded with padding to 1280x720 with help of the ffmpeg.

Code:
@set x264opts="level=4:qp=16:ipratio=2:colorprim=bt470bg:transfer=bt470bg:colormatrix=bt470bg:fullrange=off:overscan=show:pic-struct:force-cfr=1:aud=1:threads=auto"
@ffmpeg -i %1 -c:v libx264 -preset ultrafast -tune zerolatency -profile:v high -x264opts %x264opts% -x264-params %x264opts% -vf "pad=1280:720:(ow-iw)/2:(oh-ih)/2,setsar=sar=1/1" -af "aresample=resampler=soxr:osr=44100:cutoff=0.95" -strict experimental -c:a aac -b:a 320k -ac 2 -shortest -movflags faststart %1_.mp4
@pause

Last edited by pandy71; 02 July 2014 at 14:18. Reason: VHQ and faster encoding (over 150fps at core duo), sampling rate set to 44.1k (as this one is used by YT)
pandy71 is offline  
AdSense AdSense  
 
Page generated in 0.04801 seconds with 9 queries