Recherche avancée

Médias (2)

Mot : - Tags -/kml

Autres articles (73)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

Sur d’autres sites (4443)

  • Java library for converting MP4 to MPEG-2 TS in memory ?

    30 avril 2014, par Lane

    SO...

    I have a Java FX application that runs an embedded HTTP Live Streaming server for video playback using the Media class (NOT live streaming, video on demand). The video playback consists of multiple files that are actually storing a collection of RTP packets. When my HttpHandler is called to handle the get request for the files (entries in the .m3u8 index file), I plan on...

    • Loading the file into memory
    • Creating a byte array of the RAW H264 packets
    • Convert (wrap ?) the RAW H264 to a MPEG-2 TS (ffmpeg -i video.h264 video.ts)
    • Write the MPEG-2 TS contents to the response body so that it can be played

    ...one of my requirements is that I am not able to create local files, even temp ones. So I cannot create a .h264 file, use ffmpeg to create a .ts file, read the ts file and then write the contents to the response body.

    As far as I can tell, Xuggler does not work with streams and JCodec is slow. I am fairly confident that I can dig into and understand the MPEG-2 TS format and simply convert the RAW H264 into the appropriate format, but this seems like a lot of needless work that should have been done before.

    Anyone know of a simple way to convert RAW H264 to MPEG-2 TS ? Or MP4 to MPEG-2 TS ? I can use MP4Parser to create the MP4 data in memory quickly, I just need a java library that can generate MPEG-2 TS data, thanks !

  • video hosting with PHP api or PHP script for social network project

    17 avril 2014, par al404IT

    I have a project for a small social network where user can upload their videos, video should not be longer than 1 or 2 minutes but they need to be private and related to user that uploaded.

    Since uploaded video may be in many different format I have two options :

    • upload video and use ffmpeg to process them, can i find any PHP script that does that ? PROS I have my files on my server and I'm not dependent from third party CONS I guess is a real intensive task and I may need a quite good noting plan since the beginning of this project

    • use a video hosting service that provide API to upload and process video, i actually find vzaar.com that may seems to do what I need. PROS Scalable CONS I rely on third party for my contents

    since the project is a small social network it may be interesting this too opusphp.com, but i never user or read about

    can Vimeo PRO suite my needs ? Other suggestions ?
    In future it may be necessary to add a basic video editing function to trim uploaded video setting starting and ending point

  • Converting a YUV file to .mp4 using ffmpeg for a beginner

    11 mars 2014, par GreenGodot

    I'm a newbie when it comes to linux and ffmpeg but I need to use Evalvid to stream a video file. I want to stream a file for around 500 seconds. My plan is to download one of the videos from here :

    http://media.xiph.org/

    For this example I downloaded a video of Big Buck Bunny (in this case the 480p version). it came in an xz which I used unxz on, getting me a .y4m file which I used ffmpeg to convert to a YUV file.

    ffmpeg -i big_buck_bunny_480p24.y4m bbb.yuv

    My problem is right here, I try to use examples from this site but they don't work. What is the exact command to convert it to a .mp4 file using ffmpeg or are their easier alternatives to use ?

    I have tried :

    ffmpeg -f rawvideo -s:v 1920x1080 -r 25 -i bbb.yuv -c:v libx264 output.mp4

    and this starts the conversion process but after 5 minutes I get an invalid buffer value error and the output is a mess of colours.