
Recherche avancée
Autres articles (81)
-
Formulaire personnalisable
21 juin 2013, parCette 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. (...) -
Qu’est ce qu’un masque de formulaire
13 juin 2013, parUn masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
Chaque formulaire de publication d’objet peut donc être personnalisé.
Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...) -
Organiser par catégorie
17 mai 2013, parDans 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 (5958)
-
How to enable site on ngnix to restream
19 mars 2020, par Nk nk nki use rtmp+nginx to restream the channels with ffmpeg.
The streaming is enabled for subdomain for example
[hls.tvoti.com][1]
but not for the main domain[tvoti.com][1]
In Nginx site-enabled path i have mentioned that the main domain must be enabled but it doesn’t stream. Here is the config :
server {
listen 80;
#root /var/www/html/;
#index index.php index.html index.htm;
server_name tvoti.com;
location / {
proxy_redirect off;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $host;
proxy_pass http://127.0.0.1:8080;
}
location ~ /\.ht {
deny all;
}
}
server {
listen 80;
server_name hls.tvoti.com;
location / {
add_header Cache-Control no-cache;
# Simple requests
if ($request_method ~* "(GET|POST)") {
add_header "Access-Control-Allow-Origin" "http://tvoti.com";
}
# Preflighted requests
if ($request_method = OPTIONS ) {
add_header "Access-Control-Allow-Origin" "http://tvoti.com";
add_header "Access-Control-Allow-Methods" "GET, POST, OPTIONS, HEAD";
add_header "Access-Control-Allow-Headers" "Authorization, Origin, X-Requested-With, Content-Type, Accept";
return 200;
}
root /etc/nginx/hls;
}
location /supervisor {
proxy_pass http://127.0.0.1:9999/;
}
#error_page 404 /404.html;
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
} -
ffmpeg - why I have three video streams in the output file when I have one video input (one video stream), one logo input
17 juillet 2024, par YazhouHi I'm using ffmpeg to transcode some video files from prores or dv to h264/mov. Also I want to add a logo on it and make some other changes.
The command line I use is


ffmpeg -i input.mov -i logo.png -c:a aac -c:v libx264 -pix_fmt yuv420p -crf 18 -map 0:a? -map 0:v -filter_complex "yadif,[1]scale=iw*1:-1[wm];[0:v:0][wm]overlay=main_w-overlay_w-5:5" -disposition:v:0 default output_h264.mov


And what I got has three video streams. One for the logo,one for the video with logo, and one for original video.


Though I put the default video stream as the one with both video and logo as you can see for
-disposition:v:0 default
, and it's also playing that stream. But when I tried to upload it on Vimeo or Youtube, it uses the wrong stream.


How can I change the command line to let ffmpeg only output one stream ?
And how can I remove the extra streams for the existed outcomes ?


-
FFMPEG - Merge multiple video in to one video, the output video has no audio
26 octobre 2018, par Tan PhamMy input file has 5 video and 1 picture. I want to merge all video to one video, play video at the same time.
The layout of the output video like this :
Im using ffmpeg to merge video. this is my ffmpeg command :
ffmpeg
-i C:\VID\test1.mp4
-i C:\VID\test2.mp4
-i C:\VID\test3.mp4
-i C:\VID\test4.mp4
-i C:\VID\test5.mp4
-i C:\VID\background.jpg
-filter_complex
" nullsrc=size=1280x720 [base];
[0] setpts=PTS-STARTPTS, scale=560x360 [video0];
[1] setpts=PTS-STARTPTS, scale=280x180 [video1];
[2] setpts=PTS-STARTPTS, scale=280x180 [video2];
[3] setpts=PTS-STARTPTS, scale=280x180 [video3];
[4] setpts=PTS-STARTPTS, scale=280x180 [video4];
[5:v] scale=700x700 [image];
[base][video0] overlay=shortest=1 [tmp1];
[tmp1][video1] overlay=shortest=1:y=360 [tmp2];
[tmp2][video2] overlay=shortest=1:x=280:y=360 [tmp3];
[tmp3][video3] overlay=shortest=1:y=540 [tmp4];
[tmp4][video4] overlay=shortest=1:x=280:y=540 [tmp5];
[tmp5][image] overlay=570:10:enable='between(t,0,30)'"
-t 30 -c:v libx264 output.mkvThe output video layout is working fine but no audio in the output video.
I want all audio off each video will be keep on the output video. play audio at the same time together.
I’m using tutorial on this link : Create a mosaic out of several input videos
Thanks for reading