Recherche avancée

Médias (0)

Mot : - Tags -/navigation

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

Autres articles (52)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • 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

Sur d’autres sites (9354)

  • how to scale video using ffmpeg with -filter_complex

    7 juillet 2020, par JuraganFilm

    im trying to encode my video with watermark and subtitles , i and i have this codes that work for watermark and subtitles

    


    ffmpeg -hide_banner -i $video -i $TITLE.ass -loop 1 -i $WATERMARK -loop 1 -i $LOGO -filter_complex "[${videomap}]drawtext=text='${TEXT}':fontfile=/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf:y=h-line_h-100:x=w-(t-${MARQUE})*w/15:y='10':enable='lt(mod(t\,1000)\,100)':fontcolor=orange:fontsize=${FONT}:shadowx=${SHADOWX}:shadowy=${SHADOWY},ass=$TITLE.ass[FID1];[FID1][2:v]overlay=10:${WATERMARKPOSITION}:repeatlast=0:enable='between(t,300,600)'[FID3];[3:v]fade=in:st=1200:d=1.6:alpha=1,fade=out:st=107998:d=1.6:alpha=1[FID6];[FID3][FID6]overlay=10:5:repeatlast=0:enable='between(t,1200,187922)'" -c:v libx264 -x264-params "no-deblock=0:ref=2:weightp=2:chroma_qp_offset=0:keyint=50:keyint_min=5:bframes=3:b_pyramid=1:b-adapt=2:subme=7:b_bias=0:direct=1:weightb=1:open_gop=0:scenecut=40::threads=7:lookahead_threads=1" -b:v 500k -minrate 500k -maxrate 600k -bufsize 1200k -pix_fmt yuv420p -preset ultrafast -profile:v baseline -level:v 3.0 -c:a copy -vf "scale=trunc(oh*a/2)*2:480:flags=bicubic" -use_editlist 0 -movflags faststart -metadata title="${INFOVID} - Visit us @ ${WEBSITE}" -strict -2 -f mp4 -y "${output}/$TITLE-480p.mp4"


    


    and now im trying to scale the video to 480p quality , i've tried using

    


    -vf "scale=trunc(oh*a/2)*2:480"


    


    and also add :flags=bicubic but still i got error .

    


    how to scale video with -filter_complex from those code above ?

    


    thank you before !

    


  • Live Streaming WebM with Wowza Server

    2 décembre 2010, par noreply@blogger.com (John Luther)

    Guest blogger Charlie Good is CTO and co-founder of Wowza Media Systems

    As a company, we at Wowza move fast and like to tinker. When WebM was announced in May, we saw it as a promising new approach to HTML5 video and decided to do an experiment with live WebM streaming over http.

    Adding WebM VP8 video and Vorbis audio to the other encoding formats that our server supported was easy (we designed the Wowza server to be codec-agnostic). We then created a WebMfile and implemented WebM HTTP streaming.

    We originally created the demo as a proof-of-concept for the IBC show in September, 2010 but have made it available to watch on our web site.

    The file is streamed live (more precisely, "pseudo-live") over http using the Wowza server-side publishing API (PDF). The result is very impressive ; playback starts fast and the VP8 image quality is fantastic.

    You will need a WebM-enabled browser or VLC media player 1.1.5 to view the live stream.

    If you’re interested in keeping up with Wowza’s WebM progress, visit Wowza Labs or drop us a note at info@wowzamedia.com.

  • Cannot open connection tcp ://localhost:1935 when to set up custom RTMP stream

    8 janvier 2021, par showkey

    My simple network is as following :

    


    192.168.31.52 is my local pc 
192.168.31.251 is an ip camera.


    


    I can open the stream rtsp://192.168.31.251/cam/realmonitor?channel=1&subtype=0 with SMPlayer.
    
Build my nginx for customizing RTMP stream this way.

    


    sudo apt update
sudo apt install build-essential git
sudo apt install libpcre3-dev libssl-dev zlib1g-dev 
git clone https://github.com/arut/nginx-rtmp-module.git
git clone https://github.com/nginx/nginx.git
cd nginx
./auto/configure --add-module=../nginx-rtmp-module
make
sudo make install


    


    Set config file for nginx :

    


    sudo vim /usr/local/nginx/conf/nginx.conf
rtmp { 
    server { 
        listen 1935; 
        application live { 
            live on; 
            interleave on;
 
            hls on; 
            hls_path /tmp/hls; 
            hls_fragment 15s; 
        } 
    } 
} 


    


    Then set permission for nginx :

    


    mkdir /tmp/hls
sudo chmod -R 755  /tmp/hls
sudo chown -R www-data:www-data  /tmp/hls


    


    Edit index.html in /tmp/hls.

    


    <p>test for nginx</p>&#xA;

    &#xA;

    Both 127.0.0.1/index.html and 192.168.31.52/index.html can open the /tmp/hls/index.html.

    &#xA;

    Now open port 1935 on my network :

    &#xA;

    sudo firewall-cmd --zone=public --add-port=1935/tcp --permanent&#xA;sudo firewall-cmd --reload &#xA;sudo firewall-cmd --list-ports | grep 1935&#xA;1935/tcp&#xA;

    &#xA;

    Start nginx :

    &#xA;

    sudo systemctl start nginx&#xA;

    &#xA;

    Up stream the rtsp stream from ip camera—192.168.31.251 to local pc —192.168.31.52.

    &#xA;

    input="rtsp://192.168.31.251/cam/realmonitor?channel=1&amp;subtype=0"&#xA;output="rtmp://192.168.31.52:1935/live/sample"&#xA;ffmpeg -i $input -acodec aac -strict experimental -ar 44100 -ac 2 -b:a 96k -r 25 -b:v 500k -s 640*480 -f flv $output&#xA;

    &#xA;

    It encounter the following errors :

    &#xA;

    [tcp @ 0x59fb700] Connection to tcp://192.168.31.52:1935 failed: Connection refused&#xA;[rtmp @ 0x59fc5c0] Cannot open connection tcp://192.168.31.52:1935&#xA;rtmp://192.168.31.52:1935/live/sample: Connection refused&#xA;

    &#xA;

    How can fix it ?

    &#xA;