0
조금 혼란스러워서 h.264로 인코딩 된 두 개의 .mp4 파일이 있습니다.HTML5 비디오 (사파리)
| #Safari | Video 1 | Video 2 | | Windows | Failed | Played | | OSX | Played | Played |
내 코드
<video width="550" height="400" controls>
<source src="test/charlie.mp4" type="video/mp4" />
<source src="test/charlie.ogv" type="video/ogg" />
Nope.
</video>
비디오 1
Status: HTTP/1.1 200 OK Date: Wed, 27 Jun 2012 09:19:02 GMT Server: Apache/2.2.22 (Debian) Last-Modified: Wed, 27 Jun 2012 08:06:41 GMT ETag: "aff04e8-49c7f3-4c36fb1f12640" Accept-Ranges: bytes Content-Length: 4835315 Connection: close Content-Type: video/mp4
비디오 2
Status: HTTP/1.1 200 OK Date: Wed, 27 Jun 2012 09:18:37 GMT Server: Apache/2.2.22 (Debian) Last-Modified: Mon, 28 Dec 2009 05:06:33 GMT ETag: "aff04eb-45de48-47bc2de762840" Accept-Ranges: bytes Content-Length: 4578888 Connection: close Content-Type: video/mp4
내가 비디오 1 사용하고있는는 FFmpeg 명령은
입니다ffmpeg -y -i input.avi -vcodec libx264 -r 24 -preset medium -crf 20 -bufsize 20M -acodec libfaac -ac 2 -ar 44100 -ab 128k out.mp4
누구나 이런 종류의 행동을 보았습니까?
어떤 행동을 나타내고 있습니까? –
osx에서는 재생되지만 windows는 재생되지 않음 (동일한 파일, 동일한 코드, 동일한 브라우저) –
동영상 태그에서 오류 이벤트를 확인 했습니까? 예를 들어 여기를 참조하십시오. http://stackoverflow.com/questions/2741493/how -do-you-detect-html5-video-events –