
Recherche avancée
Autres articles (32)
-
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...) -
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
Sur d’autres sites (6475)
-
Putting quotes round a string in C# [duplicate]
9 décembre 2014, par ADAMPOKE111This question already has an answer here :
-
Escape double quotes in string
5 answers
I need help putting two quotes round to strings in this line of code.
System.Diagnostics.Process.Start("CMD.exe", "\"/C ffmpeg -loop 1 -i input.png -i " + value + " -acodec libvo_aacenc -vcodec h264 -shortest " + value + ".mp4\"");
I am trying to pass two custom arguments to ffmpeg in CMD.exe, how ever if the file has spaces it fails and does nothing.
The way to fix this is to put two quotes around it like " + value + ", but that brings up a bunch of errors.
I’ve tried things like"\"" + value + "\""
but it just brings up a ton of errors. -
Escape double quotes in string
-
C# Problem Reading Console Output to string
25 septembre 2012, par MoreThanChaosi want to launch ffmpeg from my app and retrive all console output that ffmpeg produces. Thing seems obvious, i followed many forum threads/articles like this one but i have problem, though i follow all information included there I seem to end up in dead end.
String that should contain output from ffmpeg is always empty. I've tried to see where is the problem so i made simple c# console application that only lists all execution parameters that are passed to ffmpeg, just to check if problem is caused by ffmpeg itself. In that case everything work as expected.
I also did preview console window of my app. When i launch ffmpeg i see all the output in console but the function that should recieve that output for further processing reports that string was empty. When my param-listing app is launched the only thing I see is the expected report from function that gets output.
So my question is what to do to get ffmpeg output as i intended at first place.
Thanks in advance
MTH -
Display a specific string in each frame with ffmpeg
22 septembre 2020, par RobycI'm creating a video from a set of images like this


ffmpeg -f concat -safe 0 -r 1 -i video_file.txt -crf 0 video_file.mkv



where video_file.txt contains the filepath of the images, which looks like this :


file '/path/to/image1.tif'
 duration 0.5
 file_packet_metadata name=image1_name
 file '/path/to/image2.tif'
 duration 0.5
 file_packet_metadata name=image2_name
 ...



Concat reads all the lines starting with file '...' and correctly creates the output video.


I want that for each frame a specific string appears on screen, e.g. the filename or part of it.


I tried different options but none worked :


- 

- adding
-vf drawtext=textfile='path/to/frame.txt
to the ffmpeg command
- 

- where frame.txt contains in each line the text I want for each frame.
- This fails because the entire text in the file is displayed over each frame.






- adding
-vf drawtext=text=%{metadata\\:name}
to read the metadata name=image1_name in video_file.txt source here
- 

- this simply displays the string 'name' in the output
- I tried metadata\:name, metadata:name, and metadata:name












How can I display a specific string for each frame ?


- adding