
Recherche avancée
Autres articles (99)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Les sons
15 mai 2013, par -
Gestion de la ferme
2 mars 2010, parLa ferme est gérée dans son ensemble par des "super admins".
Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
Dans un premier temps il utilise le plugin "Gestion de mutualisation"
Sur d’autres sites (7033)
-
FFMPEG avformat_open_input returns unpopulated Format context
21 avril 2013, par Michael IVI am trying to load avi and flv files programatically with FFMPEG API.The files seem to get loaded because avformat_open_input doesn't return 0 .But when inspecting AVFormatContext variable for every property in the inspector I am getting just "Unable to read memory" .Here is how I do it :
av_register_all();
avcodec_register_all();
AVFormatContext *pFormatCtx=avformat_alloc_context();
if(avformat_open_input(&pFormatCtx,"assest/comp1.avi",NULL,NULL) !=0)
{
printf("%s","Movie load Success");
}else{
printf("%s","Movie load Fail");
}I am using VisualStudio 2010 C++ compiler .Windows 7.
UPDATE :
Ok ,Please discard this question.I found the error.It was a stupid typo in the file directory path.
-
How to remove intelacing effects from videos with ffmpeg
27 mai 2020, par Giovanni OrlandiI have some old interlaced video-files but you will not believe that 
I have not any more CRT Tv and that videos looks very bad on my PC.



I would like to re-encode them with ffmpeg avoiding such double-image effect, 
as you can see in this picture :



https://www.settebello.info/var/interlaced.php



I tried various yadif mode but all of them seam opposite to my needs.



The current video size is 720x416, I could accept a video scaled down to 360x208
but without this mix-frames effects.



Ffmpeg stream Info :



Stream #0:0 : Video : mpeg4 (DX50 / 0x30355844), yuv420p, 720x416 [SAR 1:1 DAR 45:26], 886 kb/s, 25 fps, 25 tbr, 25 tbn, 30k tbc



These are some of my last efforts :



ffmpeg -i movie.avi -ss 120 -t 30 -vf "yadif=0, scale=360x208" -c:v libx264 -preset slow -crf 19 -c:a aac -b:a 256k output.mp4

ffmpeg -i movie.avi -ss 120 -t 30 -vf "yadif=1, scale=360x208" -c:v libx264 -preset slow -crf 19 -c:a aac -b:a 256k output.mp4

ffmpeg -i movie.avi -ss 120 -t 30 -vf "yadif=2, scale=360x208" -c:v libx264 -preset slow -crf 19 -c:a aac -b:a 256k output.mp4




Please help.


-
Python ffmpeg displaying output
31 juillet 2018, par Pawandeep SinghI want to run command
ffmpeg -i movie.mp4 -vf scale=224:224 movie_224.mp4
to resize video using python language.
I have code for it :
import subprocess
sys_cmd = ["ffmpeg", "-i", "movie.mp4", "-vf", "scale=224:224", movie_224.mp4]
subprocess.check_call(sys_cmd, stdout=subprocess.DEVNULL)I don’t know why I am getting std output even if I have given the argument
subprocess.DEVNULL
.