Announcement

  •  » Off topic
  •  » Playing *.mp4 with HTML5

#1 2016-10-05 18:29:03

kuzco
Member
2013-09-17
65

Playing *.mp4 with HTML5

Hello,
I am using piwigo 2.8.2 to show all my fotos and movies (mp4) - so far so good.

Additionally I want to setup a website to view my recordings (mp4) of my IP cameras with html5. It seems that mp4 is not always mp4.
I believe Plex will not work, because I could net syn manually by CMD, etc. so I will create the index.html via schedule.

For a test I have created an index.html:

Code:

<!DOCTYPE html> 
<html> 
<body> 
<video poster=".\thumbs_s\2016_09_18_08_41_48_P9180790.jpg" width="400" controls>
  <source src="2016_09_18_08_41_48_P9180790.mp4" type="video/mp4">
</video>
<video poster=".\thumbs_s\01_20161005105039.jpg" width="400" controls>
  <source src="01_20161005105039.mp4" type="video/mp4">
</video>
</body> 
</html>

The first video can be seen local and also remotely, the second one only local. Mime type mp4 is already implemented (IIS on windows).

Have checked with mediainfo the mp4-file:
1. file:
MPEG-4 (Base Media):25.2 MiB, 41 s 440ms
Overall bit rate model: variable
Overall bit rate: 5 142 kb/s
First video stream: 4 923 kb/s, 1920*1080 (16:9), at 29.970 (30000/1001) FPS, AVC (Main@L4) (CABAC / 1Ref Frames)

2. file:
MPEG-4 (Base Media / Version 2):34.2 MiB, 43 s 120ms
Overall bit rate: 6 348 kb/s
First video stream: English, 6 320 kb/s, 2560*1440 (16:9), at 25.000 FPS, AVC (High@L5.1) (CABAC / 1Ref Frames)

Where is the difference ?

Many thanks
k

Offline

 

#2 2017-08-29 04:18:49

nd89vn
Member
2017-08-29
2

Re: Playing *.mp4 with HTML5

Is it Possible for .mp3 or .wma??

thanks

Offline

 

#3 2017-08-31 05:35:15

executive
Member
2017-08-16
1233

Offline

 
  •  » Off topic
  •  » Playing *.mp4 with HTML5

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact