Recherche avancée

Médias (3)

Mot : - Tags -/pdf

Autres articles (85)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

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

Sur d’autres sites (10653)

  • How can I generate a master HLS playlist with 1-4 video streams of different resolutions ?

    25 mars 2019, par toastedDeli

    I’m programmatically generating ffmpeg command line tool commands and running them with system() in c.

    All of the commands I run are to transcode a single input RTMP stream into 1-4 (depending on input size) output resolutions.

    my commands have the form :

    ffmpeg -i <input rtmp="rtmp" /> /
    <transcode options="options" 1="1"> -hls_list_size 6 <output> /
    <transcode options="options" 2="2"> -hls_list_size 6 <output> /
    <transcode options="options" 3="3"> -hls_list_size 6 <output> /
    <transcode options="options" 4="4"> -hls_list_size 6 <output>
    </output></transcode></output></transcode></output></transcode></output></transcode>

    with different amounts of depending on the input resolution.

    I have tried adding -master_pl_name master.m3u8 -master_pl_publish_rate 30

    to the end to generate a master playlist but this doesn’t seem to work.

  • Master playlist generate points to only one resolution among multiple

    25 avril 2019, par Parthib Dutta

    I am trying to convert one mp4 movie to multiple bitrate HLS . The individual resolutions are generating fine with their own playlists . But the master playlist includes only one resolution .

    ffmpeg -hide_banner -re -i video.mp4 -master_pl_name master.m3u8    ^
     -vf scale=w=640:h=-2 -c:a aac -ar 48000 -c:v h264 -profile:v main -crf 20 -sc_threshold 0 -g 48 -keyint_min 48 -hls_time 4   -b:v 800k -maxrate 856k -bufsize 1200k -b:a 96k -hls_segment_filename D:\xampp\htdocs\streaming-demo\360p_%%03d.ts  D:\xampp\htdocs\streaming-demo\360p_%v.m3u8 ^
     -vf scale=w=842:h=-2 -c:a aac -ar 48000 -c:v h264 -profile:v main -crf 20 -sc_threshold 0 -g 48 -keyint_min 48 -hls_time 4  -b:v 1400k -maxrate 1498k -bufsize 2100k -b:a 128k -hls_segment_filename D:\xampp\htdocs\streaming-demo\480p_%%03d.ts  D:\xampp\htdocs\streaming-demo\480p_%v.m3u8 ^
     -vf scale=w=1280:h=-2 -c:a aac -ar 48000 -c:v h264 -profile:v main -crf 20 -sc_threshold 0 -g 48 -keyint_min 48 -hls_time 4  -b:v 2800k -maxrate 2996k -bufsize 4200k -b:a 128k -hls_segment_filename D:\xampp\htdocs\streaming-demo\720p_%%03d.ts  D:\xampp\htdocs\streaming-demo\720p_%v.m3u8 ^
     -vf scale=w=1920:h=-2 -c:a aac -ar 48000 -c:v h264 -profile:v main -crf 20 -sc_threshold 0 -g 48 -keyint_min 48 -hls_time 4  -b:v 5000k -maxrate 5350k -bufsize 7500k -b:a 192k -hls_segment_filename D:\xampp\htdocs\streaming-demo\1080p_%%03d.ts  D:\xampp\htdocs\streaming-demo\1080p_%v.m3u8

    It include only the 360p resolution playlist link .

  • Creating live hls playlist with FFmpeg using chunk size mp4 files

    4 mai 2019, par rustin peter

    I have a program coded in python that will downloads and output h264 video and audio files every 6 seconds.
    Each h264 video audio is a 10 second segment.
    so basically, every 6 seconds new video.h264 and auio.h264 file replaces with video.h264 and auio.h264 file

    My goal here is to create a hls playlist with these downloaded h264 files

    I am using ffmpeg to transcode these h264 files and convert them into hls playlist but there is a problem here.
    The playlist stops once after the first h264 video finishes. m3u8 is not fetching the next .ts which is created by ffmpeg. How do i make the hls playlist keeps on playing the .ts files and works like a live streaming ?

    ffmpeg -i video.h264 -i audio.h264  -loglevel info  -c:v libx264  -c:a aac -ac 1 -strict -2   -r 25 -crf 23  -profile:v baseline  -preset:v  ultrafast   -maxrate 2048k   -bufsize 2048k    -pix_fmt  yuv420p  -s 720x576   -flags -global_header -hls_time 10 -hls_list_size 6 -hls_wrap 10 -start_number 1  test.m3u8