
Recherche avancée
Médias (3)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (97)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne 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 (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (13803)
-
trying to merge 2 video command [duplicate]
4 octobre 2019, par Vikram DulgachThis question already has an answer here :
I am trying to merge 2 video one has audio and in 2nd video i am adding silent track. but everytime i am trying to merge them it shows me these error. I am using 2 command in both ti give me same erro.
String [] merge2video={ "-i", video1,"-i", new video2,"-filter_complex", "[0:v]scale=1280x720,setpts=PTS-STARTPTS[v0];[1:v]scale=1280x720,setpts=PTS-STARTPTS[v1];[v0][0:a][v1][1:a]concat=n=2:v=1:a=1", "-map", "[v]", "-map", "[a]","-preset" ,"ultrafast" ,"-crf" ,"30", sharevideo};
String [] merge2video= "-i", video1,"-i", new video2,"-filter_complex", "[0]setdar=16/9[a] ;[1]setdar=16/9[b] ; [a][b]concat=n=2:v=1:a=1", "-map", "[v]", "-map", "[a]","-preset" ,"ultrafast" ,"-crf" ,"30", sharevideo ;
[swscaler @ 0xee692000] deprecated pixel format used, make sure you did set range correctly
[Parsed_concat_4 @ 0xee9255f0] Input link in1:v0 parameters (size 1280x720, SAR 1647:1648) do not match the corresponding output link in0:v0 parameters (1280x720, SAR 1:1)
[Parsed_concat_4 @ 0xee9255f0] Failed to configure output pad on Parsed_concat_4
Error configuring complex filters.
Invalid argumentHelp to solve there issue if anybody is there thanks in advance. and sorry for bad english
-
Remove frames based off an image with FFmpeg
15 novembre 2020, par VEXEDThe Goal : Take a frame or a reference image and use that to decide what frames to keep/remove from an old screen recording (no audio).


To be slightly more specific, I want to match a specific program that is being used in the screen recording. The program is always full screen and could potentially be identified just by a crop of the top left corner.


The Question : What would be the best way to take an image, in particular a cropped corner of say 100px width and height, and look for the same matching corner in a video ? I would want to output those matches to a new file, that or remove the non-matching frames and create a new file with all the frames that match.


What I Know : I know that duplicate frame removal is very possible, and I already use that for screen recordings.


-filter:v mpdecimate, setpts=N/FRAME_RATE/TB \



The above is being used in my screen recording script to remove duplicate frames.


I'm also aware that you can crop using FFmpeg, but I'm not looking to have actual cropped output. I'm only looking to use a crop to find the portion that matches my reference image or reference frame.


ffmpeg -i in.mp4 -filter:v "crop=out_w:out_h:x:y" out.mp4



The above is a basic crop.


The only reference to finding frames by images is this one. It didn't do what I wanted and just produced dark and distorted output. Though I might be understanding what the aim of that post was incorrectly.


Notes : Thanks in advance for any help, this frame/image matching doesn't have to be done while recording, but can be done in post.


-
Why is ffmpeg choking on this particular PNG file ?
13 novembre 2022, par kohlothI'm trying to make a video out of 4 still images with ffmpeg.


This is the command I am having trouble with getting working at the moment :


ffmpeg -y -loop 1 -framerate 24 -t 3 \
-i ./images/title-card.png -loop 1 -framerate 24 -t 4 \
-i ./images/001.png -loop 1 -framerate 24 -t 4 \
-i ./images/002.png -loop 1 -framerate 24 -t 3 \
-i ./images/003.png -loop 1 -framerate 24 -t 4 \
-filter_complex "[0][1][2][3]concat=n=4:v=1:a=0" \
/tmp/silentVideoTest.mp4



Unfortunately, I get this error :


[Parsed_concat_0 @ 0x5603df1c4080] Input link in1:v0 parameters (size 1024x1024, SAR 0:1) do not match the corresponding output link in0:v0 parameters (1024x1024, SAR 3937:3937)
[Parsed_concat_0 @ 0x5603df1c4080] Failed to configure output pad on Parsed_concat_0
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #3:0



I have no idea what this error means. But if I use a different png for the first image, it works fine. I understand that there is something about the first png that ffmpeg does not like ; the SAR, which I believe is some kind of png metadata bit or something ?


Problem is :


- 

- The error is confusing to me
- I see no option to set the SAR when exporting images from Krita, Pinta, or Photopea.
- I do not know how to view the SAR value of an image, so I can't verify that this is really the problem








Also, whats more is, I've used this command in the past to change an image's SAR (I think) but it seems to only work half the time ?


ffmpeg -i title-card.png -vf setsar=1 title-card-new-sar.png



No idea what the value of setsar should be, so I am using 1.


Would love if someone could tell me how to get it to work. In particular, how do I view the SAR of a PNG file ?


Maybe I am naieve, but shouldn't ffmpeg just be able to accept png images that are the same dimensions, compression, and stitch em together without errors ? i.e. Is there an option just to say "Fix the SAR ?" or "Use the SAR of the first image for all images ?"



Edit : Trying it on some different images, having set the SAR with
ffmpeg -i ./card.png -vf setsar=1 ./card-new-sar.png
, I get a similar error :

[Parsed_concat_0 @ 0x55e7b6b8b640] Input link in2:v0 parameters (size 1024x1024, SAR 2834:2834) do not match the corresponding output link in0:v0 parameters (1024x1024, SAR 1:1)
[Parsed_concat_0 @ 0x55e7b6b8b640] Failed to configure output pad on Parsed_concat_0
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #26:0



ffmpeg still seems to complain that the SARs don't match...but surely, as its a ratio, a SAR of
2834:2834
does match a SAR of1:1
?


Edit : Tried setting the SAR with
ffmpeg -i ./card.png -vf setsar=2834:2834 ./card-new-sar.png
, but now the error is(size 1024x1024, SAR 0:1) do not match the corresponding output link in0:v0 parameters (1024x1024, SAR 2834:2834)
.