
Recherche avancée
Autres articles (52)
-
Problèmes fréquents
10 mars 2010, parPHP et safe_mode activé
Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (5078)
-
Embed a Youtube with a MP4 File as poster
29 août 2021, par adamplI want to embed a youtube video with a 10 second silent looping MP4 file as the poster.


Currently, I am using the Wordpress video shortcode with my MP4 as the poster source, it works on some browsers but not all. Can anyone help ? I would prefer to find a pure HTML solution separate to the wordpress shortcode as I will need to get this to work on other CMSs.


[video src="https://www.youtube.com/watch?v=[videoID]" poster=<video autoplay="autoplay" loop="loop" muted="muted" playsinline="playsinline">
 <source src="/wp-content-directory/intro.mp4" type="video/mp4">
</source></video>]



What i have found is to get a looping MP4 work on all browsers, I have to use this tag with the autoplay loop muted and playsinline


<video autoplay="autoplay" loop="loop" muted="muted" playsinline="playsinline">
<source src="/directory/intro.mp4" type="video/mp4">
</source></video>



-
Using ffmpeg to build a streaming server to stream static media files (broadcast behaviour)
15 février 2018, par MiDaaI’ve read some online articles and SO questions, most of them are about streaming MY video to SERVER like youtube or switch.
This is about a project of interest, here are what it should do.
- Work on a Linux server
- Serve media(preferably multiple format like mp4 mkv) files to client through rtp protocol maybe ?
- Server could set a specific time to start the streaming or end it
- Server could pause and resume the streaming(?)
- Multiple clients connect and play the stream at same time(sounds like a basic feature)
After some research, I found that ffmpeg is a great open-source candidate for such a project but as a newbie in this area, I’m having a tough time understanding how this whole thing work.
As this(ffmpeg doc) states, it looks like just a one liner command. But I don’t find anything fit my feature listed above.
Can ffmpeg be used to achieve those ? If not appriciate any suggesstion on where I should be looking at.
EDIT :
- Target devices : iPad,iPhone, Android phones should be able to watch the stream using a web browser(assume a modern browser)
-
Which command line and version do I need to reproduce those properties ?
26 décembre 2015, par ZurechtweiserI have a file for which ffmpeg gave those properties :
...
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'TEST.MOV':
Metadata:
major_brand : qt
minor_version : 0
compatible_brands: qt
creation_time : 2015-12-26 07:45:26
Duration: 00:00:02.75, start: 0.000000, bitrate: 4935 kb/s
Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuvj420p(pc), 1280x720 [SAR 1:1 DAR 16:9], 4775 kb/s, 59.94 fps, 59.94 tbr, 180k tbn, 119.88 tbc (default)
Metadata:
creation_time : 2015-12-26 07:45:26
handler_name : Ambarella AVC
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 64 kb/s (default)
Metadata:
creation_time : 2015-12-26 07:45:26
handler_name : Ambarella AACWhich command line and version do I need to reproduce those properties ?
I tried
ffmpeg -i "test.mp4" -s 1280x720 -vcodec libx264 -c:a libvo_aacenc -q:a 3 -r 59.94 -b:v 4935k -b:a 64k -ac 1 -ar 48000 TEST2.MOV
But it’s not the same.
Goal is simple : my actioncam has a hdmi-output. I want to watch movies next to my own footage using my actioncam when I am abroad. Goal is to make the actioncam think, it was it’s own footage to play it back. Currently I only get ’invalid’.