Recherche avancée

Médias (0)

Mot : - Tags -/configuration

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (40)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

Sur d’autres sites (9023)

  • Nginx can't record live streaming results for medium resolution

    1er juillet 2021, par firman alislami

    when i finished live streaming, the live streaming result file was not recorded for medium resolution...

    


       rtmp {
server {
    listen 1935;
    chunk_size 4096;            
application live {
    live on;
    exec_push /usr/bin/ffmpeg -re -i rtmp://localhost/live/$name 
   -async 1 -vsync -1
    -c:v libx264 -c:a aac -b:v 200k  -b:a 34k  -vf "scale=240:trunc(ow/a/2)*2"  -tune zerolatency -preset superfast -crf 23 -f flv rtmp://localhost/hls/$name_low
    -c:v libx264 -c:a aac -b:v 300k  -b:a 64k  -vf "scale=360:trunc(ow/a/2)*2"  -tune zerolatency -preset superfast -crf 23 -f flv rtmp://localhost/hls/$name_low360
    -c:v libx264 -c:a aac -b:v 800k  -b:a 64k  -vf "scale=480:trunc(ow/a/2)*2"  -tune zerolatency -preset superfast -crf 23 -f flv rtmp://localhost/hls/$name_low480
    -c:v libx264 -c:a aac -b:v 1800k  -b:a 128k -vf "scale=720:trunc(ow/a/2)*2"  -tune zerolat#-acodec  copy -vcodec copy -f flv rtmp://localhost/hls/$name;
}
application hls {
    live on;
    deny play all;
    hls on;
    hls_fragment 4;
    hls_playlist_length 20;
    hls_path /mnt/hls;
    hls_variant _mid BANDWIDTH=1800000,RESOLUTION=1280x720; 
    hls_variant _low480 BANDWIDTH=80000,RESOLUTION=858x480;
    hls_variant _low360 BANDWIDTH=300000,RESOLUTION=480x360;
    hls_variant _low BANDWIDTH=200000,RESOLUTION=352x240; 
    hls_nested on;
        record all;
        record_path /mnt/record/;
        record_unique on;
            exec_record_done ffmpeg -y -i $path -acodec libmp3lame -ar 44100 -ac 1 -vcodec libx264 $dirname/$basename.mp4;
            }
    }
    


    


    }ency -preset superfast -crf 23 -f flv rtmp ://localhost/hls/$name_mid ;
#-c:v libx264 -c:a aac -b:v 1024k -b:a 128k -vf "scale=1080:trunc(ow/a/2)*2" -tune zerolatency -preset superfast -crf 23 -f flv rtmp ://localhost/hls/$name_high
#-c copy -f flv rtmp ://localhost/hls/$name_src ;

    


  • Size of the file even larger after resizing to lower resolution

    8 juillet 2021, par Dejan Ćosić

    I am trying to resize mp4 file with resolution 3840x2160 and 25fps (670MB) to lower resolution 1920x1080.
After this command : ffmpeg -i dfgdfg.mp4 -filter:v scale=1920 :-1 -c:a copy -crf 18 dfgdfg.mp4 2>&1 I have even bigger file : 1.24GB.
To make things even more weird, if I trim small part of this video (28mb) and apply same command, I get, we can say, properly resized video (17mb).
Anyone have idea what's going on here and why resizing on smaller file works better then on large file ?
Just to mention that original video was made using drone and it has 3.91GB and I've resized it to 670MB using some 3rd party software so it's probably that 670MB video is already compressed.

    


  • how to change the resolution FFMPEG live streaming to youtube

    15 juillet 2021, par StudyFromHome

    i use this code to live stream using my VPS in ffmpeg

    


    
#! /bin/bash
#


VBR="2500k"                                   
FPS="60"                                       
QUAL="ultrafast"                                  
YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2"  

SOURCE="/home/rsa-key/2222.mp4"             
KEY="ddf-khyf-dres-ek42-8sss"                                     

ffmpeg \
    -stream_loop -1 -i "$SOURCE" -deinterlace \
    -vcodec libx264 -pix_fmt yuv420p -preset $QUAL -r $FPS -g $(($FPS * 2)) -b:v $VBR \
    -acodec libmp3lame -ar 44100 -threads 6 -qscale 3 -b:a 712000 -bufsize 512k \
    -f flv "$YOUTUBE_URL/$KEY"  



    


    how i change the resolution limit like 480p