Recherche avancée

Médias (21)

Mot : - Tags -/Nine Inch Nails

Autres articles (105)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • 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.

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

Sur d’autres sites (7117)

  • FFMPEG Adding intro video and scaling it to the original video

    10 octobre 2019, par Questions

    I have one intro video of fixed resolution, 1920x1080, and main videos with different resolutions. I could merge the videos using the following command

    ffmpeg -i intro.mp4 -i main.mp4 -i intro.mp4 -filter_complex " \
    [0:v]scale=640x352,setsar=sar=16/9[intro]; \
    [1:v]scale=640x352,setsar=sar=16/9[video]; \
    [2:v]scale=640x352,setsar=sar=16/9[outro]; \
    [intro][video][outro]concat=n=3[output]; \
    [0:a][1:a] acrossfade=d=1 [audio]" \
    -vcodec libx264 -map "[output]" -map "[audio]" "main__.mp4"

    This works perfectly if I specify the scales manually. But this doesn’t work for portrait videos which has resolution of 640x352 with rotation of -90 degrees, when I check them with ffprobe.

    Is there a way to scale the intro video dynamically to match the dimensions of the main video ? It’s fine if the intro video’s aspect ratio is distorted, and just retain the main video’s size.

  • How to add srt embedded subtitles from source video, to ouput hls playlist video ?

    2 mars 2023, par iarwain8a

    I have a source video "video.mkv" that has srt embedded subtitles, and I want to encode that file into an HLS playlist that is compatible with html5 video player.

    


    So far I got this :&#xA;ffmpeg -i <path> -map 0:s:1 -c:s:1 srt -f webvtt <hlsdir>/1subs.vtt -c:a aac_mf -b:a 128k -c:v copy -hls_time 7 -hls_list_size 0 -hls_segment_filename <hlsdir>/segment%d.ts <hlsdir>/playlist.m3u8 -loglevel debug</hlsdir></hlsdir></hlsdir></path>&#xA;What this line does, is extract and encode the subtitles at the same time, leaving them in the output folder, also it encodes the audio of the video to aac, and leaves the codec of the video as is.

    &#xA;

    I tried a bunch of different commands with ffmpeg to no avail, a bunch of different errors came up.&#xA;I want to, in the same line, instead of just extracting the subtitles, to also be able to add them to the hls playlist, which I couldn't do.

    &#xA;

  • Converting MP3 to Video with Single/Multiple images as video with PHPVideoToolkit

    8 février 2015, par Wasim

    Just started using PHPVideoToolkit and I’m looking to take an MP3 and convert it to a video. I want to have a single image as the video with the audio playing.

    On the Google Code page https://code.google.com/p/phpvideotoolkit/ it says it can assemble a video stream from a set of separate video images so I know it’s possible but I cannot figure out how from the GitHub documentation.

    The documentation found in the documentation directory of the repository appear to be empty.

    Help is much appreciated