Announcement

#1 2015-07-28 18:10:25

jdd
Member
Toulouse (France)
2009-12-19
111

Video and html5

Hello

This message is related to Piwigo, because I try to manage the charlie's content plugin (and I'm very late on this respect).

The plugin allows, among other things, using flv files and it's what I do for my own gallery. But I would like to get rid of any flash version, so go to html5. I know there are several plugins in piwigo to manage html5, so I may simply use them.

But the main problem is that html5 *video* is not very well implemented in many devices. So I would like to know how you manage this problem.

In short, I make my videos on my linux computer and upload them as Piwigo galleries. AFAIK it needs at least two file formats for html5 to be read everywhere (mp4 and ogg or webm). This double the need of disk space and upload bandwidth.

Do you use html5 video? with what plugin? what video/audio format (I need a pretty good one, specially for sound, 192kb/s is a minimum?

Do you have file examples (in piwigo or out)?

On the beginning, can you read this basic site:

http://lesgazelles.fr/index.php?n=Site.VideosGazelles

thanks
jdd

Last edited by jdd (2015-07-28 18:11:18)

Offline

 

#2 2015-07-29 16:55:53

xbgmsharp
Member
1970-01-01
215

Re: Video and html5

Hi,

You can use VideoJS http://piwigo.org/ext/extension_view.php?eid=610
As an alternative, you can use jplayer http://piwigo.org/ext/extension_view.php?eid=594

The VideoJS Wiki provide some details on how to make you video HTML5 compatible.
https://github.com/xbgmsharp/piwigo-vid … t-you-know

To see what the plugin looks like, you can check http://www.videojs.com/.

Offline

 

#3 2015-07-29 17:41:09

jdd
Member
Toulouse (France)
2009-12-19
111

Re: Video and html5

yes, I know.

my problem is that the video files are not always played. The goal is to have them readable on any device. For computers there are always solutions, but for mobile phones it's more difficult.

So what I ask is: can you read the video on the indicated page?

the link you wrote, have at least one interesting feature: the --optimize (with mp4file), because owncloud, for example do not play well good mp4, may be because this, to be verified
thanks
jdd

Offline

 

#4 2015-07-31 17:04:15

xbgmsharp
Member
1970-01-01
215

Re: Video and html5

To play you video on all device you need to have a compatible format.
So far H264 and AAC is the most common and supported format.
If the video does not play the format is wrong. A MP4 file does not mean you have a valid video and audio codec.
Use MediaInfo to check the video details as mention in the wiki page.
If you think you file is supported and should you can always create an issue the VideoJS plugin and we can take a look at it.

Offline

 

#5 2015-07-31 19:11:27

jdd
Member
Toulouse (France)
2009-12-19
111

Re: Video and html5

xbgmsharp wrote:

To play you video on all device you need to have a compatible format.
So far H264 and AAC is the most common and supported format.
If the video does not play the format is wrong. A MP4 file does not mean you have a valid video and audio codec.
Use MediaInfo to check the video details as mention in the wiki page.
If you think you file is supported and should you can always create an issue the VideoJS plugin and we can take a look at it.

it's not the plugin fault, it build a perfectly correct html5page :-)

in fact I used (now) the command lines described in the links published here an the result seems a bit better than mine.

With my configuration, I had to provide mp4 *and* ogv files. With the new setup, looks like mp4 is fitting more browsers. Still there are so many browsers around, I would like to see what the reader here can say. Having only one file would be a great enhancement :-)
thanks
jdd

Offline

 

#6 2015-08-13 12:04:23

imbrecostel
Member
2015-07-31
2

Re: Video and html5

Me Too

Offline

 

#7 2015-08-13 13:11:45

flop25
Piwigo Team
2006-07-06
6965

Re: Video and html5

imbrecostel wrote:

Me Too

your message is not helpfull and may be interpreted as a spam
Please update your message with more information about your environnement etc or it will be deleted


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#8 2015-08-21 09:45:19

jdd
Member
Toulouse (France)
2009-12-19
111

Re: Video and html5

xbgmsharp wrote:

Hi,

You can use VideoJS http://piwigo.org/ext/extension_view.php?eid=610
As an alternative, you can use jplayer http://piwigo.org/ext/extension_view.php?eid=594

The VideoJS Wiki provide some details on how to make you video HTML5 compatible.
https://github.com/xbgmsharp/piwigo-vid … t-you-know

To see what the plugin looks like, you can check http://www.videojs.com/.

Hello,

I still have problem, some videos made with the indicated handbrake link works, but not all: this code:

Code:

HandBrakeCLI --optimize --encoder x264 --x264-profile high -i $a  -o html5/$b.mp4

as you can see it's pretty simple :-), but may be it lacks some option?

looks here:

http://dodin.org/~piwigo/testplayers/testhtml5.html

not a plugin, just simple raw html5. Why is the first video working and not the second one ?

thanks
jdd

Offline

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2019 · Contact