
Recherche avancée
Autres articles (49)
-
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (9067)
-
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.


-
Nginx can't record live streaming results for medium resolution
1er juillet 2021, par firman alislamiwhen 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 ;


-
add watermark to video with FFMPEG and convert to HLS for all resolution
25 juin 2021, par sinaI'm using this package :
aminyazdanpanah/PHP-FFmpeg-video-streaming
. I try to add a watermark to a video and I am using "hls" after adding a watermark method. The problem is the watermark is apply just for one resolution and the other representations does not work.

For example, I use this method :


$video ->filters() ->watermark('sample.png', [ 'position' => 'relative', 'bottom' => 50, 'right' => 50, ]);

$video->hls() ->setFormat($format) ->autoGenerateRepresentations([144,360,480]) ->save('sample.m3u8');



In this case only the default representation is save (depend on video resolution) and other quality not generate.


Is there a way to add watermark to hls (all quality) ?