어떻게 비디오 기간을 가져 와서 echo $ duration과 같은PHP ffmpeg 비디오 길이 가져 오기
과 같이 출력 할 수 있습니까?
ffprobe -i C :
지금까지 내가이 명령을 사용 \는 FFmpeg을 \ bunny.mp4 -show_format | findstr duration
비디오 길이를 찾습니다. 내가 그 시간을 얻을 아래에 인쇄하는 방법을 모르는
...
Unsupported codec with id 0 for input stream 2
Unsupported codec with id 0 for input stream 3
duration=60.095000
:
는 좀 출력을 더한이 있어요.
가능한 복제 [PHP 비디오 지속 시간, 치수 및 크기를 얻는 방법?] (http://stackoverflow.com/questions/4847752/how-to-get-video-duration-dimension-and- size-in-php) – Pete