2013-06-29 3 views
1

FFMPEG를 사용하여 비디오를 변환하는 데 걸리는 시간을 어떻게 표시 할 수 있습니까?FFMPEG - 변환 소요 시간 표시

아래 명령을 사용하고 있으며 벤치 마크로 반환 된 시간은 변환을 완료하는 데 걸리는 시간과 정확히 일치하지 않습니다. 어떻게 멋진 도구에서 누락 될 수 있는지 혼란 스럽습니다. 당신이 배쉬를 사용할 수있는 경우

ffmpeg -cpuflags -sse-sse2-sse3-sse3slow-sse4.1-sse4.2+mmx -i E:/MSC/test.flv^
    -benchmark E:/MSC/testmmx.mp4 
+0

해결책을 찾았습니까? –

답변

1

그것은 배쉬와 time

bitbucket.org/svnpenn/a/downloads

을 포함 time 명령

 
time: time [-p] pipeline 
    Report time consumed by pipeline's execution. 

    Execute PIPELINE and print a summary of the real time, user CPU time, 
    and system CPU time spent executing PIPELINE when it terminates. 

$ time ffmpeg -i infile outfile 

real 0m3.682s 
user 0m0.015s 
sys  0m0.000s 

나는 Windows 용 Cygwin에서 제공을 가지고

+0

Tnx for this 그러나 time 또는 -t 명령을 실행할 때 시간을 얻지 못했습니다. 스크립트를 실행 한 후 ffmpeg -cpuflags -sse-sse2-sse3-sse3slow-sse4.1 + sse4가 필요합니다. 2 + mmx -i C : /test1.mkv -benchmark C : /testmmx.mp4 완료 시간에는 비디오 변환 기간이 표시되어야합니다. – dev1234