Recherche avancée

Médias (91)

Autres articles (85)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (7904)

  • Autogenerate HTML5 tags from YouTube-DL

    13 novembre 2015, par Terence Eden

    I’m using youtube-dl to download videos I’ve stored on YouTube. It gives me the ability to download various formats, thumbnails, and subtitles.

    Is there any way I can automatically generate an HTML5 <video></video> snippet from the downloaded files ?

    For example, I’d like the end result to be .txt file containing :

    <video poster="file-160.jpg">
      <source src="file-135.mp4" type="video/mp4; codecs=mp4a.40.2, avc1.42001E">
      <source src="file-43.webm" type="video/webm; codecs=vorbis, vp8.0">
      ...
      <track kind="subtitles" src="file-160.en.srt">
    </track></source></source></video>

    At the moment, I have a file list like :

    • file-135.mp4
    • file-18.mp4
    • file-134.mp4
    • file-160.mp4
    • file-43.webm
    • file-5.flv
    • file-36.3gp
    • file-17.3gp
    • file-160.jpg
    • file-160.en.srt

    I can run some Python/Ruby/bash over them to generate the <source src="..."></source>code>, but the problem is, I don't know what codecs each of those videos are, so I can't generate the <code>; codecs= portion.

    Using avconv or ffmpeg I can get the codecs, but not in a suitable format for embedding into HTML.

    I’m wary of asking "what tool should I use" - but is there any way to get avconv/ffmpeg/youtube-dl to spit out the codec information in a format I can put into an HTML5 tag ?

    Or, is there a way to get YouTube-DL only to spit out HTML5 compatible files with known codecs ?

  • Evolution #3591 (Nouveau) : Edition d’articles et rubriques dans l’espace privé

    13 novembre 2015, par Julien PORIAU

    Bonjour,

    Serait-il possible de repenser l’affichage de l’édition d’un article ? Ou proposer un affichage différent, plus ergonomique ?

    Je m’explique :

    J’ai des articles qui avoisine les 70.000 caractères avec plus de 25 images et parfois plus. Sincèrement, même avec la préférence "grand écran", je trouve que l’on utilise pas bien l’espace dans l’édition d’un article et que l’on peut mieux faire. J’ai des articles avec un scroll à n’en plus finir, tout cela à cause d’images qui s’empilent les une sous les autres sur une colonne. Et quand vient le moment de les insérer au corps de l’article, bonjour le casse tête pour les atteindre et les copier/coller dans le champ texte.

    Peut-être suis je le seul a trouver cela ennuyeux ou que je suis passé à coté d’une préférence/plugins qui réagit à se "problème", mais je le signal tout de même. :)

  • Rebuilding Website for sharing videos

    22 novembre 2015, par Léo Le Gall

    Some friends and I run a sport forum with a decent user base. A lot of users wanted the ability to share video clips of their tricks. We didn’t really think anyone would use a video website that we made, so I built a really simple one just to see if the users would really use it. I hosted the video site on a $10 VPS, and it got blown away. The site was literally garbage, it was not visually appealing and the performance was just sad. Just as expected really, since this was just a test site. Since our test project was a success, we want to create a new and more polished site for the videos.

    The website is really simple, and probably not optimized in any way at the moment. I will try to explain in details what the website does. The user uploads some video files in format X, the website combines them and converts (using ffmpeg) the final video to mp4(so it can be served with a html5 video player). The users gets a link (example.com/randomvideo) where he can see the video through a html5 player serving the mp4 file(just default html5, nothing fancy). The videos only contains highlights, and the final video is always under 1 minute, most are around 30 seconds.

    Currently everything happens on the same server, both the video processing and the video serving. I can try to show how it works :

    1. User uploads some videos
    2. Servers stores the videos in a new random folder
    3. Combine videos and convert to mp4 (ffmpeg)
    4. Move final video(random name) to directory containing processed videos
    5. Store the name of the video file in the database (for website to serve it)
    6. Delete directory used to process the videos

    I want to rebuild the website’s architecture to make it able to scale and handle heavy load. I have never done this before and I am currently making a plan how to do this. My plan is at the moment :

    1. Seperate servers for processing videos and viewing videos (all VPS in the start)
    2. Utilize content delivery network for serving static files
    3. Utilize load balancers both for servers proccesing and serving

    I don’t really know what I should do with database(s). Can I do with one database or should use more ? They do not need to store sensitive information, since the auth in done through an API. They only need store information about the videos. I have experience with postgresql, mysql and redis, but I am not limited to those. What would you recommend in terms of scaleability ?

    I will appriciate all the feedback I can get regarding my plan and what to do about databases. I know this might be a bit vague, so please ask me if I have forgotten anything imporant. Thanks for reading.